LibreOffice Module sw (master) 1
Public Member Functions | Private Attributes | List of all members
sw::mark::TextFieldmark Class Referencefinal

#include <bookmark.hxx>

Inheritance diagram for sw::mark::TextFieldmark:
[legend]
Collaboration diagram for sw::mark::TextFieldmark:
[legend]

Public Member Functions

 TextFieldmark (const SwPaM &rPaM, const OUString &rName)
 
 ~TextFieldmark ()
 
void InitDoc (SwDoc &io_rDoc, sw::mark::InsertMode eMode, SwPosition const *pSepPos) override
 
void ReleaseDoc (SwDoc &rDoc) override
 
OUString GetContent () const override
 
void ReplaceContent (const OUString &sNewContent) override
 
- Public Member Functions inherited from sw::mark::Fieldmark
 Fieldmark (const SwPaM &rPaM)
 
OUString GetFieldname () const override
 
OUString GetFieldHelptext () const override
 
IFieldmark::parameter_map_t * GetParameters () override
 
const IFieldmark::parameter_map_t * GetParameters () const override
 
void SetFieldname (const OUString &aFieldname) override
 
void SetFieldHelptext (const OUString &aFieldHelptext) override
 
virtual void ReleaseDoc (SwDoc &)=0
 
void SetMarkStartPos (const SwPosition &rNewStartPos)
 
void Invalidate () override
 
OUString ToString () const override
 
void dumpAsXml (xmlTextWriterPtr pWriter) const override
 
- Public Member Functions inherited from sw::mark::MarkBase
SwPositionGetMarkPos () const override
 
const OUString & GetName () const override
 
SwPositionGetOtherMarkPos () const override
 
SwPositionGetMarkStart () const override
 
SwPositionGetMarkEnd () const override
 
bool IsCoveringPosition (const SwPosition &rPos) const override
 
bool IsExpanded () const override
 
void SetName (const OUString &rName)
 
virtual void SetMarkPos (const SwPosition &rNewPos)
 
virtual void SetOtherMarkPos (const SwPosition &rNewPos)
 
virtual void ClearOtherMarkPos ()
 
virtual auto InvalidateFrames () -> void
 
OUString ToString () const override
 
void dumpAsXml (xmlTextWriterPtr pWriter) const override
 
void Swap ()
 
virtual void InitDoc (SwDoc &, sw::mark::InsertMode, SwPosition const *)
 
 ~MarkBase () override
 
const unotools::WeakReference< SwXBookmark > & GetXBookmark () const
 
void SetXBookmark (rtl::Reference< SwXBookmark > const &xBkmk)
 
virtual const SwPositionGetMarkPos () const =0
 
virtual const SwPositionGetOtherMarkPos () const =0
 
virtual const SwPositionGetMarkStart () const =0
 
virtual const SwPositionGetMarkEnd () const =0
 
virtual const OUString & GetName () const =0
 
virtual bool IsExpanded () const =0
 
virtual bool IsCoveringPosition (const SwPosition &rPos) const =0
 
virtual OUString ToString () const =0
 
virtual void dumpAsXml (xmlTextWriterPtr pWriter) const =0
 

Private Attributes

sw::DocumentContentOperationsManagerm_pDocumentContentOperationsManager
 

Additional Inherited Members

- Protected Member Functions inherited from sw::mark::MarkBase
void SwClientNotify (const SwModify &, const SfxHint &) override
 
 MarkBase (const SwPaM &rPaM, OUString aName)
 
- Protected Member Functions inherited from sw::mark::IMark
 IMark ()=default
 
- Static Protected Member Functions inherited from sw::mark::MarkBase
static OUString GenerateNewName (std::u16string_view rPrefix)
 
- Protected Attributes inherited from sw::mark::MarkBase
std::optional< SwPositionm_oPos1
 
std::optional< SwPositionm_oPos2
 
OUString m_aName
 
unotools::WeakReference< SwXBookmarkm_wXBookmark
 

Detailed Description

Definition at line 238 of file core/inc/bookmark.hxx.

Constructor & Destructor Documentation

◆ TextFieldmark()

sw::mark::TextFieldmark::TextFieldmark ( const SwPaM rPaM,
const OUString &  rName 
)

Definition at line 579 of file core/crsr/bookmark.cxx.

References sw::mark::MarkBase::m_aName.

◆ ~TextFieldmark()

sw::mark::TextFieldmark::~TextFieldmark ( )

Member Function Documentation

◆ GetContent()

OUString sw::mark::TextFieldmark::GetContent ( ) const
override

◆ InitDoc()

void sw::mark::TextFieldmark::InitDoc ( SwDoc io_rDoc,
sw::mark::InsertMode  eMode,
SwPosition const *  pSepPos 
)
overridevirtual

◆ ReleaseDoc()

void sw::mark::TextFieldmark::ReleaseDoc ( SwDoc rDoc)
overridevirtual

◆ ReplaceContent()

void sw::mark::TextFieldmark::ReplaceContent ( const OUString &  sNewContent)
override

Member Data Documentation

◆ m_pDocumentContentOperationsManager

sw::DocumentContentOperationsManager* sw::mark::TextFieldmark::m_pDocumentContentOperationsManager
private

Definition at line 251 of file core/inc/bookmark.hxx.

Referenced by InitDoc(), and ReplaceContent().


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