LibreOffice Module sw (master) 1
|
SwTextAttr subclass that tracks the location of the wrapped SwFormatLineBreak. More...
#include <textlinebreak.hxx>
Public Member Functions | |
SwTextLineBreak (SwFormatLineBreak &rAttr, sal_Int32 nStart) | |
~SwTextLineBreak () override | |
const SwTextNode & | GetTextNode () const |
void | SetTextNode (SwTextNode *pNew) |
void | dumpAsXml (xmlTextWriterPtr pWriter) const 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 |
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 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 Attributes inherited from SwTextAttr | |
SwpHints * | m_pHints = nullptr |
SwTextAttr subclass that tracks the location of the wrapped SwFormatLineBreak.
This text attribute doesn't have an end: it's specified on a new line character of an SwTextNode.
Definition at line 31 of file textlinebreak.hxx.
SwTextLineBreak::SwTextLineBreak | ( | SwFormatLineBreak & | rAttr, |
sal_Int32 | nStart | ||
) |
Definition at line 107 of file attrlinebreak.cxx.
References SwTextAttr::SetHasDummyChar(), and SwFormatLineBreak::SetTextLineBreak().
|
override |
Definition at line 115 of file attrlinebreak.cxx.
|
overridevirtual |
Reimplemented from SwTextAttr.
Definition at line 117 of file attrlinebreak.cxx.
References SwTextAttr::dumpAsXml(), SwNode::GetIndex(), and m_pTextNode.
const SwTextNode & SwTextLineBreak::GetTextNode | ( | ) | const |
Definition at line 135 of file attrlinebreak.cxx.
References m_pTextNode.
Referenced by SwFormatLineBreak::GetAnchor().
void SwTextLineBreak::SetTextNode | ( | SwTextNode * | pNew | ) |
Definition at line 133 of file attrlinebreak.cxx.
References m_pTextNode.
|
private |
Definition at line 33 of file textlinebreak.hxx.
Referenced by dumpAsXml(), GetTextNode(), and SetTextNode().