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
 
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::BroadcastingModify
virtual void CallSwClientNotify (const SfxHint &rHint) const override
 
- Public Member Functions inherited from SwModify
 SwModify ()
 
virtual void CallSwClientNotify (const SfxHint &rHint) const
 
virtual ~SwModify () override
 
void Add (SwClient *pDepend)
 
SwClientRemove (SwClient *pDepend)
 
bool HasWriterListeners () const
 
bool HasOnlyOneListener () const
 
virtual bool GetInfo (SfxPoolItem &) const override
 
void LockModify ()
 
void UnlockModify ()
 
bool IsModifyLocked () const
 
- Public Member Functions inherited from SwClient
 SwClient ()
 
 SwClient (SwClient &&) noexcept
 
virtual ~SwClient () override
 
std::optional< sw::ModifyChangedHintCheckRegistration (const SfxPoolItem *pOldValue)
 
void CheckRegistrationFormat (SwFormat &rOld)
 
const SwModifyGetRegisteredIn () const
 
SwModifyGetRegisteredIn ()
 
void EndListeningAll ()
 
void StartListeningToSameModifyAs (const SwClient &)
 
virtual bool GetInfo (SfxPoolItem &) const
 
- Public Member Functions inherited from sw::WriterListener
bool IsLast () const
 
virtual const SwCellFrameDynCastCellFrame () const
 
virtual const SwTabFrameDynCastTabFrame () const
 
virtual const SwRowFrameDynCastRowFrame () const
 
virtual const SwTableDynCastTable () const
 
- Public Member Functions inherited from sw::BroadcasterMixin
 BroadcasterMixin ()=default
 
 BroadcasterMixin (BroadcasterMixin const &)=default
 
BroadcasterMixinoperator= (const BroadcasterMixin &)
 
SvtBroadcasterGetNotifier ()
 
- 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)
 
- Public Member Functions inherited from sfx2::Metadatable
 Metadatable ()
 
virtual ~Metadatable ()
 
css::beans::StringPair GetMetadataReference () const
 
void SetMetadataReference (const css::beans::StringPair &i_rReference)
 
void EnsureMetadataReference ()
 
void RemoveMetadataReference ()
 
void RegisterAsCopyOf (Metadatable const &i_rSource, const bool i_bCopyPrecedesSource=false)
 
std::shared_ptr< MetadatableUndoCreateUndo () const
 
std::shared_ptr< MetadatableUndoCreateUndoForDelete ()
 
void RestoreMetadata (std::shared_ptr< MetadatableUndo > const &i_pUndo)
 
void JoinMetadatable (Metadatable const &i_rOther, const bool i_isMergedEmpty, const bool i_isOtherEmpty)
 
virtual ::sfx2::IXmlIdRegistryGetRegistry ()=0
 
virtual bool IsInClipboard () const=0
 
virtual bool IsInUndo () const=0
 
virtual bool IsInContent () const=0
 
virtual css::uno::Reference< css::rdf::XMetadatable > MakeUnoObject ()=0
 

Additional Inherited Members

- Protected Member Functions inherited from sw::mark::IBookmark
 IBookmark ()=default
 
- Protected Member Functions inherited from sw::mark::IMark
 IMark ()=default
 
virtual void SwClientNotify (const SwModify &, const SfxHint &rHint) override
 
- Protected Member Functions inherited from SwClient
 SwClient (SwModify *pToRegisterIn)
 
SwModifyGetRegisteredInNonConst () const
 
virtual void SwClientNotify (const SwModify &, const SfxHint &rHint) override
 
- Protected Member Functions inherited from sw::WriterListener
 WriterListener ()
 
virtual ~WriterListener () COVERITY_NOEXCEPT_FALSE
 
virtual void SwClientNotify (const SwModify &, const SfxHint &rHint)=0
 
- 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: