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 <bookmrk.hxx>

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

Public Member Functions

 FieldmarkWithDropDownButton (const SwPaM &rPaM)
 
virtual ~FieldmarkWithDropDownButton () override
 
virtual void ShowButton (SwEditWin *pEditWin)=0
 
void HideButton ()
 
void RemoveButton ()
 
- Public Member Functions inherited from sw::mark::NonTextFieldmark
 NonTextFieldmark (const SwPaM &rPaM)
 
virtual void InitDoc (SwDoc *const io_pDoc, sw::mark::InsertMode eMode, SwPosition const *pSepPos) override
 
virtual void ReleaseDoc (SwDoc *const pDoc) override
 
- Public Member Functions inherited from sw::mark::Fieldmark
 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
 
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 ()
 
void NotifyClients (const SfxPoolItem *pOldValue, const SfxPoolItem *pNewValue)
 
void ModifyBroadcast (const SfxPoolItem *pOldValue, const SfxPoolItem *pNewValue)
 
virtual ~SwModify () override
 
void Add (SwClient *pDepend)
 
SwClientRemove (SwClient *pDepend)
 
bool HasWriterListeners () const
 
virtual bool GetInfo (SfxPoolItem &) const override
 
void LockModify ()
 
void UnlockModify ()
 
void SetInCache (bool bNew)
 
void SetInSwFntCache (bool bNew)
 
void SetInDocDTOR ()
 
bool IsModifyLocked () const
 
bool IsInCache () const
 
bool IsInSwFntCache () const
 
void CheckCaching (const sal_uInt16 nWhich)
 
bool HasOnlyOneListener () const
 
- Public Member Functions inherited from SwClient
 SwClient ()
 
 SwClient (SwClient &&) noexcept
 
virtual ~SwClient () override
 
virtual void SwClientNotify (const SwModify &, const SfxHint &rHint) override
 
std::unique_ptr< sw::ModifyChangedHintCheckRegistration (const SfxPoolItem *pOldValue)
 
virtual void ModifyNotification (const SfxPoolItem *pOldValue, const SfxPoolItem *pNewValue)
 
void SwClientNotifyCall (const SwModify &rModify, const SfxHint &rHint)
 
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 ()
 
void Swap ()
 
virtual ~MarkBase () override
 
const css::uno::WeakReference< css::text::XTextContent > & GetXBookmark () const
 
void SetXBookmark (css::uno::Reference< css::text::XTextContent > const &xBkmk)
 

Protected Attributes

VclPtr< FormFieldButtonm_pButton
 
- 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
 

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 Modify (const SfxPoolItem *pOld, const SfxPoolItem *pNew) override
 
 MarkBase (const SwPaM &rPaM, const OUString &rName)
 
- Static Protected Member Functions inherited from sw::mark::MarkBase
static OUString GenerateNewName (const OUString &rPrefix)
 

Detailed Description

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

Definition at line 273 of file bookmrk.hxx.

Constructor & Destructor Documentation

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

Definition at line 596 of file bookmrk.cxx.

sw::mark::FieldmarkWithDropDownButton::~FieldmarkWithDropDownButton ( )
overridevirtual

Definition at line 602 of file bookmrk.cxx.

References VclPtr< reference_type >::disposeAndClear(), and m_pButton.

Member Function Documentation

void sw::mark::FieldmarkWithDropDownButton::HideButton ( )

Definition at line 607 of file bookmrk.cxx.

References m_pButton, and vcl::Window::Show().

Referenced by SwTextShell::Execute().

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

Member Data Documentation

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

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