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

#include <bookmrk.hxx>

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

Public Member Functions

 Fieldmark (const SwPaM &rPaM)
 
virtual OUString GetFieldname () const override
 
virtual OUString GetFieldHelptext () const override
 
virtual IFieldmark::parameter_map_tGetParameters () override
 
virtual const IFieldmark::parameter_map_tGetParameters () const override
 
virtual void SetFieldname (const OUString &aFieldname) override
 
virtual void SetFieldHelptext (const OUString &aFieldHelptext) override
 
virtual void ReleaseDoc (SwDoc &)=0
 
void SetMarkStartPos (const SwPosition &rNewStartPos)
 
void SetMarkEndPos (const SwPosition &rNewEndPos)
 
virtual void Invalidate () override
 
virtual OUString ToString () const override
 
virtual void dumpAsXml (xmlTextWriterPtr pWriter) const override
 
- Public Member Functions inherited from sw::BroadcastingModify
virtual void CallSwClientNotify (const SfxHint &rHint) const override
 
- Public Member Functions inherited from SwModify
 SwModify ()
 
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::unique_ptr< sw::ModifyChangedHintCheckRegistration (const SfxPoolItem *pOldValue)
 
void CheckRegistrationFormat (SwFormat &rOld)
 
const SwModifyGetRegisteredIn () const
 
SwModifyGetRegisteredIn ()
 
void EndListeningAll ()
 
void StartListeningToSameModifyAs (const SwClient &)
 
- Public Member Functions inherited from sw::WriterListener
bool IsLast () 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
virtual SwPositionGetMarkPos () const override
 
virtual const OUString & GetName () const override
 
virtual SwPositionGetOtherMarkPos () const override
 
virtual SwPositionGetMarkStart () const override
 
virtual SwPositionGetMarkEnd () const override
 
virtual bool IsCoveringPosition (const SwPosition &rPos) const override
 
virtual 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
 
void Swap ()
 
virtual void InitDoc (SwDoc &, sw::mark::InsertMode, SwPosition const *)
 
virtual ~MarkBase () override
 
const css::uno::WeakReference< css::text::XTextContent > & GetXBookmark () const
 
void SetXBookmark (css::uno::Reference< css::text::XTextContent > 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
 
- Protected Member Functions inherited from SwClient
 SwClient (SwModify *pToRegisterIn)
 
SwModifyGetRegisteredInNonConst () const
 
- Protected Member Functions inherited from sw::WriterListener
 WriterListener ()
 
virtual ~WriterListener () COVERITY_NOEXCEPT_FALSE
 
- Protected Member Functions inherited from sw::mark::MarkBase
virtual void SwClientNotify (const SwModify &, const SfxHint &) override
 
 MarkBase (const SwPaM &rPaM, const OUString &rName)
 
- Static Protected Member Functions inherited from sw::mark::MarkBase
static OUString GenerateNewName (std::u16string_view rPrefix)
 
- Protected Attributes inherited from sw::mark::MarkBase
std::unique_ptr< SwPositionm_pPos1
 
std::unique_ptr< SwPositionm_pPos2
 
OUString m_aName
 
css::uno::WeakReference< css::text::XTextContent > m_wXBookmark
 

Detailed Description

Definition at line 200 of file bookmrk.hxx.

Constructor & Destructor Documentation

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

Member Function Documentation

void sw::mark::Fieldmark::dumpAsXml ( xmlTextWriterPtr  pWriter) const
overridevirtual
virtual OUString sw::mark::Fieldmark::GetFieldHelptext ( ) const
inlineoverridevirtual

Implements sw::mark::IFieldmark.

Definition at line 209 of file bookmrk.hxx.

References m_aFieldHelptext.

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

Implements sw::mark::IFieldmark.

Definition at line 207 of file bookmrk.hxx.

References m_aFieldname.

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

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

Implements sw::mark::IFieldmark.

Definition at line 215 of file bookmrk.hxx.

References m_vParams.

void sw::mark::Fieldmark::Invalidate ( )
overridevirtual
virtual void sw::mark::Fieldmark::ReleaseDoc ( SwDoc )
pure virtual
virtual void sw::mark::Fieldmark::SetFieldHelptext ( const OUString &  aFieldHelptext)
inlineoverridevirtual

Implements sw::mark::IFieldmark.

Definition at line 220 of file bookmrk.hxx.

References m_aFieldHelptext.

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

Implements sw::mark::IFieldmark.

Definition at line 218 of file bookmrk.hxx.

References m_aFieldname.

void sw::mark::Fieldmark::SetMarkEndPos ( const SwPosition rNewEndPos)
void sw::mark::Fieldmark::SetMarkStartPos ( const SwPosition rNewStartPos)
OUString sw::mark::Fieldmark::ToString ( ) const
overridevirtual

Member Data Documentation

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

Definition at line 234 of file bookmrk.hxx.

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

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

Definition at line 233 of file bookmrk.hxx.

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

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

Definition at line 235 of file bookmrk.hxx.

Referenced by dumpAsXml(), and GetParameters().


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