LibreOffice Module sw (master)  1
Public Member Functions | Private Attributes | List of all members
SwTextRefMark Class Reference

#include <txtrfmrk.hxx>

Inheritance diagram for SwTextRefMark:
[legend]
Collaboration diagram for SwTextRefMark:
[legend]

Public Member Functions

 SwTextRefMark (SwFormatRefMark &rAttr, sal_Int32 const nStart, sal_Int32 const *const pEnd=nullptr)
 
virtual const sal_Int32 * GetEnd () const override
 end position More...
 
virtual void SetEnd (sal_Int32) override
 
const SwTextNodeGetTextNode () const
 
void ChgTextNode (SwTextNode *pNew)
 
- Public Member Functions inherited from SwTextAttrEnd
 SwTextAttrEnd (SfxPoolItem &rAttr, sal_Int32 nStart, sal_Int32 nEnd)
 
- Public Member Functions inherited from SwTextAttr
void SetStart (sal_Int32 n)
 start position More...
 
sal_Int32 GetStart () const
 
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 SfxPoolItemGetAttr () const
 
SfxPoolItemGetAttr ()
 
sal_uInt16 Which () const
 
bool operator== (const SwTextAttr &) const
 
const SwFormatCharFormatGetCharFormat () const
 
const SwFormatAutoFormatGetAutoFormat () const
 
const SwFormatFieldGetFormatField () const
 
const SwFormatFootnoteGetFootnote () const
 
const SwFormatFlyCntGetFlyCnt () const
 
const SwTOXMarkGetTOXMark () const
 
const SwFormatRefMarkGetRefMark () const
 
const SwFormatINetFormatGetINetFormat () const
 
const SwFormatRubyGetRuby () const
 
void dumpAsXml (xmlTextWriterPtr pWriter) const
 

Private Attributes

SwTextNodem_pTextNode
 
sal_Int32 * m_pEnd
 

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
SwpHintsm_pHints = nullptr
 

Detailed Description

Definition at line 27 of file txtrfmrk.hxx.

Constructor & Destructor Documentation

SwTextRefMark::SwTextRefMark ( SwFormatRefMark rAttr,
sal_Int32 const  nStart,
sal_Int32 const *const  pEnd = nullptr 
)

Member Function Documentation

void SwTextRefMark::ChgTextNode ( SwTextNode pNew)
inline

Definition at line 41 of file txtrfmrk.hxx.

const sal_Int32 * SwTextRefMark::GetEnd ( ) const
overridevirtual

end position

Reimplemented from SwTextAttrEnd.

Definition at line 98 of file atrref.cxx.

References m_pEnd.

const SwTextNode & SwTextRefMark::GetTextNode ( ) const
inline
void SwTextRefMark::SetEnd ( sal_Int32  n)
overridevirtual

Reimplemented from SwTextAttrEnd.

Definition at line 103 of file atrref.cxx.

References SwpHints::EndPosChanged(), m_pEnd, and SwTextAttr::m_pHints.

Member Data Documentation

sal_Int32* SwTextRefMark::m_pEnd
private

Definition at line 30 of file txtrfmrk.hxx.

Referenced by GetEnd(), SetEnd(), and SwTextRefMark().

SwTextNode* SwTextRefMark::m_pTextNode
private

Definition at line 29 of file txtrfmrk.hxx.

Referenced by GetTextNode().


The documentation for this class was generated from the following files: