LibreOffice Module sw (master) 1
Public Member Functions | List of all members
sw::mark::CrossRefBookmark Class Reference

#include <crossrefbookmark.hxx>

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

Public Member Functions

 CrossRefBookmark (const SwPaM &rPaM, const vcl::KeyCode &rCode, const OUString &rName, std::u16string_view rPrefix)
 
virtual SwPositionGetOtherMarkPos () const override
 
virtual SwPositionGetMarkStart () const override
 
virtual SwPositionGetMarkEnd () 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::KeyCodeGetKeyCode () 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::IXmlIdRegistryGetRegistry () 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::KeyCodeGetKeyCode () 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 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
 
- Public Member Functions inherited from sw::mark::DdeBookmark
 DdeBookmark (const SwPaM &rPaM)
 
const SwServerObjectGetRefObject () const
 
SwServerObjectGetRefObject ()
 
bool IsServer () const
 
void SetRefObject (SwServerObject *pObj)
 
virtual void DeregisterFromDoc (SwDoc &rDoc)
 
 ~DdeBookmark () 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)
 

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< SwPositionm_oPos1
 
std::optional< SwPositionm_oPos2
 
OUString m_aName
 
unotools::WeakReference< SwXBookmarkm_wXBookmark
 

Detailed Description

Definition at line 32 of file crossrefbookmark.hxx.

Constructor & Destructor Documentation

◆ CrossRefBookmark()

sw::mark::CrossRefBookmark::CrossRefBookmark ( const SwPaM rPaM,
const vcl::KeyCode rCode,
const OUString &  rName,
std::u16string_view  rPrefix 
)

Member Function Documentation

◆ ClearOtherMarkPos()

virtual void sw::mark::CrossRefBookmark::ClearOtherMarkPos ( )
inlineoverridevirtual

Reimplemented from sw::mark::MarkBase.

Definition at line 57 of file crossrefbookmark.hxx.

◆ GetMarkEnd()

virtual SwPosition & sw::mark::CrossRefBookmark::GetMarkEnd ( ) const
inlineoverridevirtual

Reimplemented from sw::mark::MarkBase.

Definition at line 45 of file crossrefbookmark.hxx.

◆ GetMarkStart()

virtual SwPosition & sw::mark::CrossRefBookmark::GetMarkStart ( ) const
inlineoverridevirtual

Reimplemented from sw::mark::MarkBase.

Definition at line 43 of file crossrefbookmark.hxx.

◆ GetOtherMarkPos()

SwPosition & sw::mark::CrossRefBookmark::GetOtherMarkPos ( ) const
overridevirtual

Reimplemented from sw::mark::MarkBase.

Definition at line 63 of file crossrefbookmark.cxx.

◆ IsExpanded()

virtual bool sw::mark::CrossRefBookmark::IsExpanded ( ) const
inlineoverridevirtual

Reimplemented from sw::mark::MarkBase.

Definition at line 47 of file crossrefbookmark.hxx.

◆ SetMarkPos()

void sw::mark::CrossRefBookmark::SetMarkPos ( const SwPosition rNewPos)
overridevirtual

◆ SetOtherMarkPos()

virtual void sw::mark::CrossRefBookmark::SetOtherMarkPos ( const SwPosition )
inlineoverridevirtual

Reimplemented from sw::mark::MarkBase.

Definition at line 51 of file crossrefbookmark.hxx.


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