LibreOffice Module sw (master) 1
|
#include <crossrefbookmark.hxx>
Public Member Functions | |
CrossRefBookmark (const SwPaM &rPaM, const vcl::KeyCode &rCode, const OUString &rName, std::u16string_view rPrefix) | |
virtual SwPosition & | GetOtherMarkPos () const override |
virtual SwPosition & | GetMarkStart () const override |
virtual SwPosition & | GetMarkEnd () const override |
virtual bool | IsExpanded () const override |
virtual void | SetMarkPos (const SwPosition &rNewPos) override |
virtual void | SetOtherMarkPos (const SwPosition &) override |
virtual void | ClearOtherMarkPos () override |
Public Member Functions inherited from sw::mark::Bookmark | |
Bookmark (const SwPaM &rPaM, const vcl::KeyCode &rCode, const OUString &rName) | |
void | InitDoc (SwDoc &io_Doc, sw::mark::InsertMode eMode, SwPosition const *pSepPos) override |
void | DeregisterFromDoc (SwDoc &io_rDoc) override |
auto | InvalidateFrames () -> void override |
const OUString & | GetShortName () const override |
const vcl::KeyCode & | GetKeyCode () const override |
void | SetShortName (const OUString &rShortName) override |
void | SetKeyCode (const vcl::KeyCode &rCode) override |
bool | IsHidden () const override |
const OUString & | GetHideCondition () const override |
void | Hide (bool rHide) override |
void | SetHideCondition (const OUString &rHideCondition) override |
::sfx2::IXmlIdRegistry & | GetRegistry () override |
bool | IsInClipboard () const override |
bool | IsInUndo () const override |
bool | IsInContent () const override |
void | sendLOKDeleteCallback () |
css::uno::Reference< css::rdf::XMetadatable > | MakeUnoObject () override |
virtual const OUString & | GetShortName () const =0 |
virtual const vcl::KeyCode & | GetKeyCode () const =0 |
virtual void | SetShortName (const OUString &)=0 |
virtual void | SetKeyCode (const vcl::KeyCode &)=0 |
virtual bool | IsHidden () const =0 |
virtual const OUString & | GetHideCondition () const =0 |
virtual void | Hide (bool hide)=0 |
virtual void | SetHideCondition (const OUString &)=0 |
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 |
Public Member Functions inherited from sw::mark::DdeBookmark | |
DdeBookmark (const SwPaM &rPaM) | |
const SwServerObject * | GetRefObject () const |
SwServerObject * | GetRefObject () |
bool | IsServer () const |
void | SetRefObject (SwServerObject *pObj) |
virtual void | DeregisterFromDoc (SwDoc &rDoc) |
~DdeBookmark () 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) |
Additional Inherited Members | |
Protected Member Functions inherited from sw::mark::IBookmark | |
IBookmark ()=default | |
Protected Member Functions inherited from sw::mark::IMark | |
IMark ()=default | |
Protected Member Functions inherited from sw::mark::MarkBase | |
void | SwClientNotify (const SwModify &, const SfxHint &) override |
MarkBase (const SwPaM &rPaM, OUString aName) | |
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 32 of file crossrefbookmark.hxx.
sw::mark::CrossRefBookmark::CrossRefBookmark | ( | const SwPaM & | rPaM, |
const vcl::KeyCode & | rCode, | ||
const OUString & | rName, | ||
std::u16string_view | rPrefix | ||
) |
Definition at line 36 of file crossrefbookmark.cxx.
References sw::mark::MarkBase::GenerateNewName(), IDocumentMarkAccess::IsLegalPaMForCrossRefHeadingBookmark(), sw::mark::MarkBase::m_aName, sw::mark::MarkBase::m_oPos2, and Start.
|
inlineoverridevirtual |
Reimplemented from sw::mark::MarkBase.
Definition at line 57 of file crossrefbookmark.hxx.
|
inlineoverridevirtual |
Reimplemented from sw::mark::MarkBase.
Definition at line 45 of file crossrefbookmark.hxx.
|
inlineoverridevirtual |
Reimplemented from sw::mark::MarkBase.
Definition at line 43 of file crossrefbookmark.hxx.
|
overridevirtual |
Reimplemented from sw::mark::MarkBase.
Definition at line 63 of file crossrefbookmark.cxx.
|
inlineoverridevirtual |
Reimplemented from sw::mark::MarkBase.
Definition at line 47 of file crossrefbookmark.hxx.
|
overridevirtual |
Reimplemented from sw::mark::MarkBase.
Definition at line 52 of file crossrefbookmark.cxx.
References SwPosition::GetContentIndex(), SwPosition::GetNode(), SwNode::GetTextNode(), and sw::mark::MarkBase::SetMarkPos().
|
inlineoverridevirtual |
Reimplemented from sw::mark::MarkBase.
Definition at line 51 of file crossrefbookmark.hxx.