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

Fieldmark with a drop down button (e.g. this button opens the date picker for a date field) More...

#include <bookmark.hxx>

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

Public Member Functions

 FieldmarkWithDropDownButton (const SwPaM &rPaM)
 
 ~FieldmarkWithDropDownButton () override
 
virtual void ShowButton (SwEditWin *pEditWin)=0
 
virtual void RemoveButton ()
 
void LaunchPopup ()
 
- Public Member Functions inherited from sw::mark::NonTextFieldmark
 NonTextFieldmark (const SwPaM &rPaM)
 
void InitDoc (SwDoc &io_rDoc, sw::mark::InsertMode eMode, SwPosition const *pSepPos) override
 
void ReleaseDoc (SwDoc &rDoc) 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
 

Protected Attributes

VclPtr< FormFieldButtonm_pButton
 
- Protected Attributes inherited from sw::mark::MarkBase
std::optional< SwPositionm_oPos1
 
std::optional< SwPositionm_oPos2
 
OUString m_aName
 
unotools::WeakReference< SwXBookmarkm_wXBookmark
 

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)
 

Detailed Description

Fieldmark with a drop down button (e.g. this button opens the date picker for a date field)

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

Constructor & Destructor Documentation

◆ FieldmarkWithDropDownButton()

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

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

◆ ~FieldmarkWithDropDownButton()

sw::mark::FieldmarkWithDropDownButton::~FieldmarkWithDropDownButton ( )
override

Member Function Documentation

◆ LaunchPopup()

void sw::mark::FieldmarkWithDropDownButton::LaunchPopup ( )

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

References m_pButton.

◆ RemoveButton()

void sw::mark::FieldmarkWithDropDownButton::RemoveButton ( )
virtual

◆ ShowButton()

virtual void sw::mark::FieldmarkWithDropDownButton::ShowButton ( SwEditWin pEditWin)
pure virtual

Member Data Documentation

◆ m_pButton

VclPtr<FormFieldButton> sw::mark::FieldmarkWithDropDownButton::m_pButton
protected

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