LibreOffice Module sw (master) 1
|
#include <txtatr.hxx>
Public Member Functions | |
SwTextCharFormat (SwFormatCharFormat &rAttr, sal_Int32 nStart, sal_Int32 nEnd) | |
virtual | ~SwTextCharFormat () override |
void | TriggerNodeUpdate (const sw::LegacyModifyHint &) |
bool | GetInfo (SfxPoolItem const &rInfo) const |
void | ChgTextNode (SwTextNode *pNew) |
void | SetSortNumber (sal_uInt16 nSortNumber) |
sal_uInt16 | GetSortNumber () 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 |
Private Attributes | |
SwTextNode * | m_pTextNode |
sal_uInt16 | m_nSortNumber |
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 SwTextAttrEnd | |
sal_Int32 | m_nEnd |
Protected Attributes inherited from SwTextAttr | |
SwpHints * | m_pHints = nullptr |
Definition at line 33 of file txtatr.hxx.
SwTextCharFormat::SwTextCharFormat | ( | SwFormatCharFormat & | rAttr, |
sal_Int32 | nStart, | ||
sal_Int32 | nEnd | ||
) |
Definition at line 37 of file txtatr2.cxx.
References SwFormatCharFormat::m_pTextAttribute, and SwTextAttr::SetCharFormatAttr().
|
overridevirtual |
Definition at line 48 of file txtatr2.cxx.
|
inline |
Definition at line 46 of file txtatr.hxx.
References m_pTextNode.
bool SwTextCharFormat::GetInfo | ( | SfxPoolItem const & | rInfo | ) | const |
Definition at line 71 of file txtatr2.cxx.
References SwNode::GetNodes(), m_pTextNode, RES_AUTOFMT_DOCNODE(), and SfxPoolItem::Which().
Referenced by SwFormatCharFormat::GetInfo().
|
inline |
Definition at line 49 of file txtatr.hxx.
References m_nSortNumber.
Referenced by SwTextNode::RstTextAttr().
|
inline |
Definition at line 48 of file txtatr.hxx.
References m_nSortNumber.
Referenced by lcl_CheckSortNumber(), and SwTextNode::RstTextAttr().
void SwTextCharFormat::TriggerNodeUpdate | ( | const sw::LegacyModifyHint & | rHint | ) |
Definition at line 52 of file txtatr2.cxx.
References SwTextAttrEnd::GetEnd(), SwTextAttr::GetStart(), sw::LegacyModifyHint::GetWhich(), isCHRATR(), m_pTextNode, RES_ATTRSET_CHG(), RES_FMT_CHG(), RES_OBJECTDYING(), SAL_WARN_IF, and SwTextNode::TriggerNodeUpdate().
Referenced by SwFormatCharFormat::SwClientNotify().
|
private |
Definition at line 36 of file txtatr.hxx.
Referenced by GetSortNumber(), and SetSortNumber().
|
private |
Definition at line 35 of file txtatr.hxx.
Referenced by ChgTextNode(), GetInfo(), and TriggerNodeUpdate().