|
LibreOffice Module sw (master) 1
|
#include <txtatr.hxx>
Public Member Functions | |
| SwTextRuby (SwFormatRuby &rAttr, sal_Int32 nStart, sal_Int32 nEnd) | |
| virtual | ~SwTextRuby () override |
| virtual bool | GetInfo (SfxPoolItem &rInfo) const override |
| SAL_DLLPRIVATE void | InitRuby (SwTextNode &rNode) |
| const SwTextNode & | GetTextNode () const |
| Get and set TextNode pointer. More... | |
| void | ChgTextNode (SwTextNode *pNew) |
| SwCharFormat * | GetCharFormat () |
| const SwCharFormat * | GetCharFormat () const |
Public Member Functions inherited from SwTextAttrEnd | |
| SwTextAttrEnd (SfxPoolItem &rAttr, sal_Int32 nStart, sal_Int32 nEnd) | |
| virtual const sal_Int32 * | GetEnd () const override |
| end position More... | |
| virtual void | SetEnd (sal_Int32) override |
Public Member Functions inherited from SwTextAttr | |
| void | SetStart (sal_Int32 n) |
| start position More... | |
| sal_Int32 | GetStart () const |
| virtual const sal_Int32 * | GetEnd () const |
| end position More... | |
| virtual void | SetEnd (sal_Int32) |
| const sal_Int32 * | End () const |
| sal_Int32 | GetAnyEnd () const |
| end (if available), else start More... | |
| void | SetDontExpand (bool bDontExpand) |
| bool | DontExpand () const |
| bool | IsLockExpandFlag () const |
| bool | IsDontMoveAttr () const |
| bool | IsCharFormatAttr () const |
| bool | IsOverlapAllowedAttr () const |
| bool | IsPriorityAttr () const |
| void | SetPriorityAttr (bool bFlag) |
| bool | IsDontExpandStartAttr () const |
| bool | IsNesting () const |
| bool | HasDummyChar () const |
| bool | IsFormatIgnoreStart () const |
| bool | IsFormatIgnoreEnd () const |
| void | SetFormatIgnoreStart (bool bFlag) |
| void | SetFormatIgnoreEnd (bool bFlag) |
| bool | HasContent () const |
| const SfxPoolItem & | GetAttr () const |
| SfxPoolItem & | GetAttr () |
| sal_uInt16 | Which () const |
| bool | operator== (const SwTextAttr &) const |
| const SwFormatCharFormat & | GetCharFormat () const |
| const SwFormatAutoFormat & | GetAutoFormat () const |
| const SwFormatField & | GetFormatField () const |
| const SwFormatFootnote & | GetFootnote () const |
| const SwFormatLineBreak & | GetLineBreak () const |
| const SwFormatContentControl & | GetContentControl () const |
| const SwFormatFlyCnt & | GetFlyCnt () const |
| const SwTOXMark & | GetTOXMark () const |
| const SwFormatRefMark & | GetRefMark () const |
| const SwFormatINetFormat & | GetINetFormat () const |
| const SwFormatRuby & | GetRuby () const |
| virtual void | dumpAsXml (xmlTextWriterPtr pWriter) const |
Public Member Functions inherited from SwClient | |
| SwClient () | |
| SwClient (SwClient &&) noexcept | |
| virtual | ~SwClient () override |
| std::optional< sw::ModifyChangedHint > | CheckRegistration (const SfxPoolItem *pOldValue) |
| void | CheckRegistrationFormat (SwFormat &rOld) |
| const SwModify * | GetRegisteredIn () const |
| SwModify * | GetRegisteredIn () |
| void | EndListeningAll () |
| void | StartListeningToSameModifyAs (const SwClient &) |
| virtual bool | GetInfo (SfxPoolItem &) const |
Public Member Functions inherited from sw::WriterListener | |
| bool | IsLast () const |
| virtual const SwCellFrame * | DynCastCellFrame () const |
| virtual const SwTabFrame * | DynCastTabFrame () const |
| virtual const SwRowFrame * | DynCastRowFrame () const |
| virtual const SwTable * | DynCastTable () const |
Private Member Functions | |
| virtual void | SwClientNotify (const SwModify &, const SfxHint &) override |
Private Attributes | |
| SwTextNode * | m_pTextNode |
Additional Inherited Members | |
Static Public Member Functions inherited from SwTextAttr | |
| static void | Destroy (SwTextAttr *pToDestroy, SfxItemPool &rPool) |
| destroy instance More... | |
Protected Member Functions inherited from SwTextAttrNesting | |
| SwTextAttrNesting (SfxPoolItem &i_rAttr, const sal_Int32 i_nStart, const sal_Int32 i_nEnd) | |
| virtual | ~SwTextAttrNesting () override |
Protected Member Functions inherited from SwTextAttr | |
| SwTextAttr (SfxPoolItem &rAttr, sal_Int32 nStart) | |
| virtual | ~SwTextAttr () COVERITY_NOEXCEPT_FALSE |
| void | SetLockExpandFlag (bool bFlag) |
| void | SetDontMoveAttr (bool bFlag) |
| void | SetCharFormatAttr (bool bFlag) |
| void | SetOverlapAllowedAttr (bool bFlag) |
| void | SetDontExpandStartAttr (bool bFlag) |
| void | SetNesting (const bool bFlag) |
| void | SetHasDummyChar (const bool bFlag) |
| void | SetHasContent (const bool bFlag) |
Protected Member Functions inherited from SwClient | |
| SwClient (SwModify *pToRegisterIn) | |
| SwModify * | GetRegisteredInNonConst () const |
| virtual void | SwClientNotify (const SwModify &, const SfxHint &rHint) override |
Protected Member Functions inherited from sw::WriterListener | |
| WriterListener () | |
| virtual | ~WriterListener () COVERITY_NOEXCEPT_FALSE |
| virtual void | SwClientNotify (const SwModify &, const SfxHint &rHint)=0 |
Protected Attributes inherited from SwTextAttrEnd | |
| sal_Int32 | m_nEnd |
Protected Attributes inherited from SwTextAttr | |
| SwpHints * | m_pHints = nullptr |
Definition at line 73 of file txtatr.hxx.
| SwTextRuby::SwTextRuby | ( | SwFormatRuby & | rAttr, |
| sal_Int32 | nStart, | ||
| sal_Int32 | nEnd | ||
| ) |
Definition at line 179 of file txtatr2.cxx.
References SwFormatRuby::m_pTextAttr.
|
overridevirtual |
Definition at line 189 of file txtatr2.cxx.
|
inline |
Definition at line 87 of file txtatr.hxx.
Referenced by InitRuby().
| SwCharFormat * SwTextRuby::GetCharFormat | ( | ) |
Definition at line 215 of file txtatr2.cxx.
References SwClient::EndListeningAll(), SwDoc::FindCharFormatByName(), SwFormatRuby::GetCharFormatId(), SwFormatRuby::GetCharFormatName(), SwNode::GetDoc(), SwDoc::getIDocumentState(), SwDoc::GetOle2Link(), SwTextAttr::GetRuby(), SwFormatRuby::GetText(), GetTextNode(), IDocumentState::IsModified(), IsPoolUserFormat(), nId, and RES_POOLCHR_RUBYTEXT.
Referenced by DocxAttributeOutput::StartRuby(), and WW8Ruby::WW8Ruby().
|
inline |
Definition at line 90 of file txtatr.hxx.
References SwTextAttr::GetCharFormat().
|
overridevirtual |
Reimplemented from SwClient.
Definition at line 209 of file txtatr2.cxx.
References SwNode::GetNodes(), m_pTextNode, RES_AUTOFMT_DOCNODE(), and SfxPoolItem::Which().
|
inline |
Get and set TextNode pointer.
Definition at line 94 of file txtatr.hxx.
References m_pTextNode.
Referenced by GetCharFormat().
| void SwTextRuby::InitRuby | ( | SwTextNode & | rNode | ) |
Definition at line 227 of file thints.cxx.
References ChgTextNode(), IDocumentStylePoolAccess::GetCharFormatFromPool(), SwNode::GetDoc(), SwDoc::getIDocumentStylePoolAccess(), and RES_POOLCHR_RUBYTEXT.
Reimplemented from SwClient.
Definition at line 193 of file txtatr2.cxx.
References SwTextAttrEnd::GetEnd(), SfxHint::GetId(), SwTextAttr::GetStart(), sw::LegacyModifyHint::GetWhich(), isCHRATR(), m_pTextNode, RES_ATTRSET_CHG(), RES_FMT_CHG(), RES_OBJECTDYING(), SAL_WARN_IF, and SwTextNode::TriggerNodeUpdate().
|
private |
Definition at line 75 of file txtatr.hxx.
Referenced by GetInfo(), GetTextNode(), and SwClientNotify().