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_tGetParameters () override
 
const IFieldmark::parameter_map_tGetParameters () 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::IFieldmark
virtual OUString GetFieldname () const =0
 
virtual OUString GetFieldHelptext () const =0
 
virtual parameter_map_tGetParameters ()=0
 
virtual const parameter_map_tGetParameters () const =0
 
virtual void SetFieldname (const OUString &rFieldname)=0
 
virtual void SetFieldHelptext (const OUString &rFieldHelptext)=0
 
virtual void Invalidate ()=0
 
virtual OUString GetContent () const
 
virtual void ReplaceContent (const OUString &)
 
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
 
- Public Member Functions inherited from sw::BroadcastingModify
virtual void CallSwClientNotify (const SfxHint &rHint) const override
 
- Public Member Functions inherited from SwModify
 SwModify ()
 
virtual void CallSwClientNotify (const SfxHint &rHint) const
 
virtual ~SwModify () override
 
void Add (SwClient *pDepend)
 
SwClientRemove (SwClient *pDepend)
 
bool HasWriterListeners () const
 
bool HasOnlyOneListener () const
 
virtual bool GetInfo (SfxPoolItem &) const override
 
void LockModify ()
 
void UnlockModify ()
 
bool IsModifyLocked () const
 
- Public Member Functions inherited from SwClient
 SwClient ()
 
 SwClient (SwClient &&) noexcept
 
virtual ~SwClient () override
 
std::optional< sw::ModifyChangedHintCheckRegistration (const SfxPoolItem *pOldValue)
 
void CheckRegistrationFormat (SwFormat &rOld)
 
const SwModifyGetRegisteredIn () const
 
SwModifyGetRegisteredIn ()
 
void EndListeningAll ()
 
void StartListeningToSameModifyAs (const SwClient &)
 
virtual bool GetInfo (SfxPoolItem &) const
 
- Public Member Functions inherited from sw::WriterListener
bool IsLast () const
 
virtual const SwCellFrameDynCastCellFrame () const
 
virtual const SwTabFrameDynCastTabFrame () const
 
virtual const SwRowFrameDynCastRowFrame () const
 
virtual const SwTableDynCastTable () const
 
- Public Member Functions inherited from sw::BroadcasterMixin
 BroadcasterMixin ()=default
 
 BroadcasterMixin (BroadcasterMixin const &)=default
 
BroadcasterMixinoperator= (const BroadcasterMixin &)
 
SvtBroadcasterGetNotifier ()
 
- 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)
 

Private Attributes

OUString m_aFieldname
 
OUString m_aFieldHelptext
 
IFieldmark::parameter_map_t m_vParams
 

Additional Inherited Members

- Public Types inherited from sw::mark::IFieldmark
typedef std::map< OUString, css::uno::Any > parameter_map_t
 
- Protected Member Functions inherited from sw::mark::IFieldmark
 IFieldmark ()=default
 
- Protected Member Functions inherited from sw::mark::IMark
 IMark ()=default
 
virtual void SwClientNotify (const SwModify &, const SfxHint &rHint) override
 
- Protected Member Functions inherited from SwClient
 SwClient (SwModify *pToRegisterIn)
 
SwModifyGetRegisteredInNonConst () const
 
virtual void SwClientNotify (const SwModify &, const SfxHint &rHint) override
 
- Protected Member Functions inherited from sw::WriterListener
 WriterListener ()
 
virtual ~WriterListener () COVERITY_NOEXCEPT_FALSE
 
virtual void SwClientNotify (const SwModify &, const SfxHint &rHint)=0
 
- Protected Member Functions inherited from sw::mark::MarkBase
void SwClientNotify (const SwModify &, const SfxHint &) override
 
 MarkBase (const SwPaM &rPaM, OUString aName)
 
- 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 200 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
inlineoverridevirtual

Implements sw::mark::IFieldmark.

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

References m_aFieldHelptext.

◆ GetFieldname()

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

Implements sw::mark::IFieldmark.

Definition at line 207 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
inlineoverridevirtual

Implements sw::mark::IFieldmark.

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

References m_vParams.

◆ GetParameters() [2/2]

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

◆ Invalidate()

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

◆ ReleaseDoc()

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

◆ SetFieldHelptext()

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

Implements sw::mark::IFieldmark.

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

References m_aFieldHelptext.

◆ SetFieldname()

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

Implements sw::mark::IFieldmark.

Definition at line 218 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 233 of file core/inc/bookmark.hxx.

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

◆ m_aFieldname

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

Definition at line 232 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 234 of file core/inc/bookmark.hxx.

Referenced by dumpAsXml(), and GetParameters().


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