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

#include <txtfld.hxx>

Inheritance diagram for SwTextField:
Collaboration diagram for SwTextField:

Public Member Functions

 SwTextField (SwFormatField &rAttr, sal_Int32 const nStart, bool const bInClipboard)
virtual ~SwTextField () override
void CopyTextField (SwTextField *pDest) const
void ExpandTextField (const bool bForceNotify=false) const
SwTextNodeGetpTextNode () const
SwTextNodeGetTextNode () const
void ChgTextNode (SwTextNode *pNew)
bool IsFieldInDoc () const
virtual void NotifyContentChange (SwFormatField &rFormatField)
- 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 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 SwFormatLineBreakGetLineBreak () const
const SwFormatContentControlGetContentControl () const
const SwFormatFlyCntGetFlyCnt () const
const SwTOXMarkGetTOXMark () const
const SwFormatRefMarkGetRefMark () const
const SwFormatINetFormatGetINetFormat () const
const SwFormatRubyGetRuby () const
virtual void dumpAsXml (xmlTextWriterPtr pWriter) const

Static Public Member Functions

static void DeleteTextField (const SwTextField &rTextField)
static void GetPamForTextField (const SwTextField &rTextField, std::shared_ptr< SwPaM > &rPamForTextField)
- Static Public Member Functions inherited from SwTextAttr
static void Destroy (SwTextAttr *pToDestroy, SfxItemPool &rPool)
 destroy instance More...

Private Attributes

OUString m_aExpand

Additional Inherited Members

- Protected Member Functions inherited from SwTextAttr
 SwTextAttr (SfxPoolItem &rAttr, sal_Int32 nStart)
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
SwpHintsm_pHints = nullptr

Detailed Description

Definition at line 31 of file txtfld.hxx.

Constructor & Destructor Documentation

◆ SwTextField()

SwTextField::SwTextField ( SwFormatField rAttr,
sal_Int32 const  nStart,
bool const  bInClipboard 

Definition at line 491 of file atrfld.cxx.

References SwTextAttr::SetHasDummyChar(), and SwFormatField::SetTextField().

◆ ~SwTextField()

SwTextField::~SwTextField ( )

Member Function Documentation

◆ ChgTextNode()

void SwTextField::ChgTextNode ( SwTextNode pNew)

◆ CopyTextField()

void SwTextField::CopyTextField ( SwTextField pDest) const

◆ DeleteTextField()

void SwTextField::DeleteTextField ( const SwTextField rTextField)

◆ ExpandTextField()

void SwTextField::ExpandTextField ( const bool  bForceNotify = false) const

◆ GetPamForTextField()

void SwTextField::GetPamForTextField ( const SwTextField rTextField,
std::shared_ptr< SwPaM > &  rPamForTextField 

◆ GetpTextNode()

SwTextNode * SwTextField::GetpTextNode ( ) const

◆ GetTextNode()

SwTextNode & SwTextField::GetTextNode ( ) const

◆ IsFieldInDoc()

bool SwTextField::IsFieldInDoc ( ) const

◆ NotifyContentChange()

void SwTextField::NotifyContentChange ( SwFormatField rFormatField)

Member Data Documentation

◆ m_aExpand

OUString SwTextField::m_aExpand

Definition at line 33 of file txtfld.hxx.

Referenced by ExpandTextField().

◆ m_pTextNode

SwTextNode* SwTextField::m_pTextNode

Definition at line 34 of file txtfld.hxx.

Referenced by CopyTextField(), ExpandTextField(), and NotifyContentChange().

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