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

#include <bookmark.hxx>

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

Public Member Functions

 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)
 
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
 

Private Attributes

tools::SvRef< SwServerObjectm_aRefObj
 

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

Detailed Description

Definition at line 136 of file core/inc/bookmark.hxx.

Constructor & Destructor Documentation

◆ DdeBookmark()

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

Definition at line 385 of file core/crsr/bookmark.cxx.

References u.

◆ ~DdeBookmark()

sw::mark::DdeBookmark::~DdeBookmark ( )
override

Member Function Documentation

◆ DeregisterFromDoc()

void sw::mark::DdeBookmark::DeregisterFromDoc ( SwDoc rDoc)
virtual

◆ GetRefObject() [1/2]

SwServerObject * sw::mark::DdeBookmark::GetRefObject ( )
inline

Definition at line 143 of file core/inc/bookmark.hxx.

References tools::SvRef< typename T >::get(), and m_aRefObj.

◆ GetRefObject() [2/2]

const SwServerObject * sw::mark::DdeBookmark::GetRefObject ( ) const
inline

◆ IsServer()

bool sw::mark::DdeBookmark::IsServer ( ) const
inline

Definition at line 145 of file core/inc/bookmark.hxx.

References tools::SvRef< typename T >::is(), and m_aRefObj.

◆ SetRefObject()

void sw::mark::DdeBookmark::SetRefObject ( SwServerObject pObj)

Member Data Documentation

◆ m_aRefObj

tools::SvRef<SwServerObject> sw::mark::DdeBookmark::m_aRefObj
private

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