LibreOffice Module sw (master) 1
|
#include <bookmark.hxx>
Public Member Functions | |
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 |
Private Attributes | |
OUString | m_aFieldname |
OUString | m_aFieldHelptext |
IFieldmark::parameter_map_t | m_vParams |
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) |
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 |
Definition at line 201 of file core/inc/bookmark.hxx.
sw::mark::Fieldmark::Fieldmark | ( | const SwPaM & | rPaM | ) |
Definition at line 529 of file core/crsr/bookmark.cxx.
References sw::mark::MarkBase::GetMarkPos(), sw::mark::MarkBase::IsExpanded(), sw::mark::MarkBase::SetOtherMarkPos(), and u.
|
overridevirtual |
Reimplemented from sw::mark::MarkBase.
Definition at line 561 of file core/crsr/bookmark.cxx.
References comphelper::anyToString(), sw::mark::MarkBase::dumpAsXml(), m_aFieldHelptext, m_aFieldname, and m_vParams.
|
inlineoverride |
Definition at line 210 of file core/inc/bookmark.hxx.
References m_aFieldHelptext.
|
inlineoverride |
Definition at line 208 of file core/inc/bookmark.hxx.
References m_aFieldname.
Referenced by sw::mark::MarkManager::LOKUpdateActiveField().
|
inlineoverride |
Definition at line 216 of file core/inc/bookmark.hxx.
References m_vParams.
|
inlineoverride |
Definition at line 213 of file core/inc/bookmark.hxx.
References m_vParams.
Referenced by sw::mark::DropDownFieldmark::AddContent(), sw::mark::DropDownFieldmark::DelContent(), sw::mark::DropDownFieldmark::GetContent(), sw::mark::DateFieldmark::GetCurrentDate(), sw::mark::DateFieldmark::GetDateInCurrentDateFormat(), DropDownFormFieldButton::InitDropdown(), sw::mark::DateFieldmark::InvalidateCurrentDateParam(), sw::mark::CheckboxFieldmark::IsChecked(), sw::mark::DateFieldmark::ParseCurrentDateParam(), sw::mark::DropDownFieldmark::ReplaceContent(), sw::mark::DropDownFieldmark::SendLOKShowMessage(), sw::mark::CheckboxFieldmark::SetChecked(), sw::mark::DateFieldmark::SetCurrentDate(), and sw::mark::TextFieldmark::~TextFieldmark().
|
override |
Definition at line 553 of file core/crsr/bookmark.cxx.
References sw::mark::MarkBase::GetMarkPos(), sw::mark::MarkBase::GetOtherMarkPos(), and SwPaM::InvalidatePaM().
Referenced by sw::mark::DropDownFieldmark::AddContent(), sw::mark::DropDownFieldmark::DelContent(), SwTextShell::Execute(), sw::mark::TextFieldmark::ReplaceContent(), sw::mark::CheckboxFieldmark::ReplaceContent(), and sw::mark::DropDownFieldmark::ReplaceContent().
|
pure virtual |
Implemented in sw::mark::TextFieldmark, sw::mark::NonTextFieldmark, and sw::mark::DateFieldmark.
|
inlineoverride |
Definition at line 221 of file core/inc/bookmark.hxx.
References m_aFieldHelptext.
|
inlineoverride |
Definition at line 219 of file core/inc/bookmark.hxx.
References m_aFieldname.
void sw::mark::Fieldmark::SetMarkStartPos | ( | const SwPosition & | rNewStartPos | ) |
Definition at line 536 of file core/crsr/bookmark.cxx.
References sw::mark::MarkBase::GetMarkPos(), sw::mark::MarkBase::GetOtherMarkPos(), sw::mark::MarkBase::SetMarkPos(), and sw::mark::MarkBase::SetOtherMarkPos().
|
overridevirtual |
Reimplemented from sw::mark::MarkBase.
Definition at line 544 of file core/crsr/bookmark.cxx.
References sw::mark::MarkBase::GetMarkPos(), sw::mark::MarkBase::GetOtherMarkPos(), m_aFieldname, and sw::mark::MarkBase::m_aName.
|
private |
Definition at line 234 of file core/inc/bookmark.hxx.
Referenced by dumpAsXml(), GetFieldHelptext(), and SetFieldHelptext().
|
private |
Definition at line 233 of file core/inc/bookmark.hxx.
Referenced by dumpAsXml(), GetFieldname(), SetFieldname(), and ToString().
|
private |
Definition at line 235 of file core/inc/bookmark.hxx.
Referenced by dumpAsXml(), and GetParameters().