LibreOffice Module sw (master) 1
|
Fieldmark with a drop down button (e.g. this button opens the date picker for a date field) More...
#include <bookmark.hxx>
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 | |
SwPosition & | GetMarkPos () const override |
const OUString & | GetName () const override |
SwPosition & | GetOtherMarkPos () const override |
SwPosition & | GetMarkStart () const override |
SwPosition & | GetMarkEnd () 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 SwPosition & | GetMarkPos () const =0 |
virtual const SwPosition & | GetOtherMarkPos () const =0 |
virtual const SwPosition & | GetMarkStart () const =0 |
virtual const SwPosition & | GetMarkEnd () 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< FormFieldButton > | m_pButton |
Protected Attributes inherited from sw::mark::MarkBase | |
std::optional< SwPosition > | m_oPos1 |
std::optional< SwPosition > | m_oPos2 |
OUString | m_aName |
unotools::WeakReference< SwXBookmark > | m_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) |
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.
sw::mark::FieldmarkWithDropDownButton::FieldmarkWithDropDownButton | ( | const SwPaM & | rPaM | ) |
Definition at line 745 of file core/crsr/bookmark.cxx.
|
override |
Definition at line 751 of file core/crsr/bookmark.cxx.
References VclPtr< class reference_type >::disposeAndClear(), and m_pButton.
void sw::mark::FieldmarkWithDropDownButton::LaunchPopup | ( | ) |
Definition at line 762 of file core/crsr/bookmark.cxx.
References m_pButton.
|
virtual |
Reimplemented in sw::mark::DropDownFieldmark.
Definition at line 756 of file core/crsr/bookmark.cxx.
References VclPtr< class reference_type >::disposeAndClear(), and m_pButton.
Referenced by sw::mark::MarkManager::ClearFieldActivation(), and sw::mark::DropDownFieldmark::RemoveButton().
|
pure virtual |
Implemented in sw::mark::DropDownFieldmark, and sw::mark::DateFieldmark.
Referenced by sw::mark::MarkManager::NotifyCursorUpdate().
|
protected |
Definition at line 290 of file core/inc/bookmark.hxx.
Referenced by LaunchPopup(), RemoveButton(), sw::mark::DropDownFieldmark::SetPortionPaintArea(), sw::mark::DateFieldmark::SetPortionPaintAreaEnd(), sw::mark::DropDownFieldmark::ShowButton(), sw::mark::DateFieldmark::ShowButton(), and ~FieldmarkWithDropDownButton().