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

#include <bookmark.hxx>

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

Public Member Functions

 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

OUString m_aFieldname
 
OUString m_aFieldHelptext
 
IFieldmark::parameter_map_t m_vParams
 

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 201 of file core/inc/bookmark.hxx.

Constructor & Destructor Documentation

◆ Fieldmark()

sw::mark::Fieldmark::Fieldmark ( const SwPaM rPaM)

Member Function Documentation

◆ dumpAsXml()

void sw::mark::Fieldmark::dumpAsXml ( xmlTextWriterPtr  pWriter) const
overridevirtual

◆ GetFieldHelptext()

OUString sw::mark::Fieldmark::GetFieldHelptext ( ) const
inlineoverride

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

References m_aFieldHelptext.

◆ GetFieldname()

OUString sw::mark::Fieldmark::GetFieldname ( ) const
inlineoverride

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

References m_aFieldname.

Referenced by sw::mark::MarkManager::LOKUpdateActiveField().

◆ GetParameters() [1/2]

const IFieldmark::parameter_map_t * sw::mark::Fieldmark::GetParameters ( ) const
inlineoverride

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

References m_vParams.

◆ GetParameters() [2/2]

IFieldmark::parameter_map_t * sw::mark::Fieldmark::GetParameters ( )
inlineoverride

◆ Invalidate()

void sw::mark::Fieldmark::Invalidate ( )
override

◆ ReleaseDoc()

virtual void sw::mark::Fieldmark::ReleaseDoc ( SwDoc )
pure virtual

◆ SetFieldHelptext()

void sw::mark::Fieldmark::SetFieldHelptext ( const OUString &  aFieldHelptext)
inlineoverride

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

References m_aFieldHelptext.

◆ SetFieldname()

void sw::mark::Fieldmark::SetFieldname ( const OUString &  aFieldname)
inlineoverride

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

References m_aFieldname.

◆ SetMarkStartPos()

void sw::mark::Fieldmark::SetMarkStartPos ( const SwPosition rNewStartPos)

◆ ToString()

OUString sw::mark::Fieldmark::ToString ( ) const
overridevirtual

Member Data Documentation

◆ m_aFieldHelptext

OUString sw::mark::Fieldmark::m_aFieldHelptext
private

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

Referenced by dumpAsXml(), GetFieldHelptext(), and SetFieldHelptext().

◆ m_aFieldname

OUString sw::mark::Fieldmark::m_aFieldname
private

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

Referenced by dumpAsXml(), GetFieldname(), SetFieldname(), and ToString().

◆ m_vParams

IFieldmark::parameter_map_t sw::mark::Fieldmark::m_vParams
private

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

Referenced by dumpAsXml(), and GetParameters().


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