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

#include <bookmrk.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 *const pDoc)
 
virtual ~DdeBookmark () override
 
- 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 ()
 
virtual OUString ToString () const override
 
virtual void dumpAsXml (xmlTextWriterPtr pWriter) const override
 
void Swap ()
 
virtual void InitDoc (SwDoc *const, sw::mark::InsertMode, SwPosition const *)
 
virtual ~MarkBase () override
 
const css::uno::WeakReference< css::text::XTextContent > & GetXBookmark () const
 
void SetXBookmark (css::uno::Reference< css::text::XTextContent > const &xBkmk)
 
- 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 ()
 

Private Attributes

tools::SvRef< SwServerObjectm_aRefObj
 

Additional Inherited Members

- 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)
 
- 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
 
- Static Protected Member Functions inherited from sw::mark::MarkBase
static OUString GenerateNewName (const OUString &rPrefix)
 
- 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
 

Detailed Description

Definition at line 140 of file bookmrk.hxx.

Constructor & Destructor Documentation

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

Definition at line 348 of file bookmrk.cxx.

sw::mark::DdeBookmark::~DdeBookmark ( )
overridevirtual

Member Function Documentation

void sw::mark::DdeBookmark::DeregisterFromDoc ( SwDoc *const  pDoc)
virtual
const SwServerObject* sw::mark::DdeBookmark::GetRefObject ( ) const
inline
SwServerObject* sw::mark::DdeBookmark::GetRefObject ( )
inline

Definition at line 147 of file bookmrk.hxx.

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

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

Definition at line 149 of file bookmrk.hxx.

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

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

Member Data Documentation

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

Definition at line 157 of file bookmrk.hxx.

Referenced by DeregisterFromDoc(), GetRefObject(), IsServer(), SetRefObject(), and ~DdeBookmark().


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