LibreOffice Module sw (master)  1
Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
SwFormatRefMark Class Referencefinal

#include <fmtrfmrk.hxx>

Inheritance diagram for SwFormatRefMark:
Collaboration diagram for SwFormatRefMark:

Public Member Functions

 SwFormatRefMark (const OUString &rText)
 SwFormatRefMark (const SwFormatRefMark &rRefMark)
virtual ~SwFormatRefMark () override
virtual bool operator== (const SfxPoolItem &) const override
 "Pure virtual methods" of SfxPoolItem. More...
virtual SwFormatRefMarkClone (SfxItemPool *pPool=nullptr) const override
virtual void Modify (SfxPoolItem const *pOld, SfxPoolItem const *pNew) override
void InvalidateRefMark ()
const SwTextRefMarkGetTextRefMark () const
OUString & GetRefName ()
const OUString & GetRefName () const
css::uno::WeakReference< css::text::XTextContent > const & GetXRefMark () const
void SetXRefMark (css::uno::Reference< css::text::XTextContent > const &xMark)
- Public Member Functions inherited from SfxPoolItem
void AddRef (sal_uInt32 n=1) const
virtual ~SfxPoolItem ()
void SetWhich (sal_uInt16 nId)
sal_uInt16 Which () const
bool operator!= (const SfxPoolItem &rItem) const
virtual bool operator< (const SfxPoolItem &) const
virtual bool IsSortable () const
virtual bool GetPresentation (SfxItemPresentation ePresentation, MapUnit eCoreMetric, MapUnit ePresentationMetric, OUString &rText, const IntlWrapper &rIntlWrapper) const
virtual void ScaleMetrics (long lMult, long lDiv)
virtual bool HasMetrics () const
virtual bool QueryValue (css::uno::Any &rVal, sal_uInt8 nMemberId=0) const
virtual bool PutValue (const css::uno::Any &rVal, sal_uInt8 nMemberId)
std::unique_ptr< SfxPoolItemCloneSetWhich (sal_uInt16 nNewWhich) const
std::unique_ptr< T > CloneSetWhich (TypedWhichId< T > nId) const
sal_uInt32 GetRefCount () const
SfxItemKind GetKind () const
virtual void dumpAsXml (xmlTextWriterPtr pWriter) const
virtual boost::property_tree::ptree dumpAsJSON () const
virtual bool IsVoidItem () const
- Public Member Functions inherited from SwModify
 SwModify ()
void NotifyClients (const SfxPoolItem *pOldValue, const SfxPoolItem *pNewValue)
void ModifyBroadcast (const SfxPoolItem *pOldValue, const SfxPoolItem *pNewValue)
virtual void CallSwClientNotify (const SfxHint &rHint) const
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 Member Functions

SwFormatRefMarkoperator= (const SwFormatRefMark &rRefMark)=delete

Private Attributes

OUString m_aRefName
css::uno::WeakReference< css::text::XTextContent > m_wXReferenceMark


class SwTextRefMark

Additional Inherited Members

- Protected Member Functions inherited from SfxPoolItem
 SfxPoolItem (sal_uInt16 nWhich=0)
 SfxPoolItem (const SfxPoolItem &rCopy)
- Protected Member Functions inherited from SwClient
 SwClient (SwModify *pToRegisterIn)
SwModifyGetRegisteredInNonConst () const
- Protected Member Functions inherited from sw::WriterListener
 WriterListener ()
virtual ~WriterListener () COVERITY_NOEXCEPT_FALSE

Detailed Description

Definition at line 36 of file fmtrfmrk.hxx.

Constructor & Destructor Documentation

SwFormatRefMark::SwFormatRefMark ( const OUString &  rText)

Definition at line 30 of file atrref.cxx.

Referenced by Clone().

SwFormatRefMark::SwFormatRefMark ( const SwFormatRefMark rRefMark)

Definition at line 38 of file atrref.cxx.

SwFormatRefMark::~SwFormatRefMark ( )

Definition at line 26 of file atrref.cxx.

Member Function Documentation

SwFormatRefMark * SwFormatRefMark::Clone ( SfxItemPool pPool = nullptr) const

Implements SfxPoolItem.

Definition at line 53 of file atrref.cxx.

References SwFormatRefMark().

OUString& SwFormatRefMark::GetRefName ( )
const OUString& SwFormatRefMark::GetRefName ( ) const

Definition at line 67 of file fmtrfmrk.hxx.

const SwTextRefMark* SwFormatRefMark::GetTextRefMark ( ) const

Definition at line 64 of file fmtrfmrk.hxx.

Referenced by SwGetRefFieldType::FindAnchor().

css::uno::WeakReference<css::text::XTextContent> const& SwFormatRefMark::GetXRefMark ( ) const

Definition at line 69 of file fmtrfmrk.hxx.

Referenced by SwXReferenceMark::CreateXReferenceMark().

void SwFormatRefMark::InvalidateRefMark ( )

Definition at line 67 of file atrref.cxx.

References SwModify::NotifyClients(), and RES_REMOVE_UNO_OBJECT().

void SwFormatRefMark::Modify ( SfxPoolItem const *  pOld,
SfxPoolItem const *  pNew 
SwFormatRefMark& SwFormatRefMark::operator= ( const SwFormatRefMark rRefMark)
bool SwFormatRefMark::operator== ( const SfxPoolItem rAttr) const

"Pure virtual methods" of SfxPoolItem.

Implements SfxPoolItem.

Definition at line 47 of file atrref.cxx.

References assert(), and m_aRefName.

void SwFormatRefMark::SetXRefMark ( css::uno::Reference< css::text::XTextContent > const &  xMark)

Definition at line 71 of file fmtrfmrk.hxx.

Referenced by SwXReferenceMark::CreateXReferenceMark(), and Modify().

Friends And Related Function Documentation

friend class SwTextRefMark

Definition at line 41 of file fmtrfmrk.hxx.

Member Data Documentation

OUString SwFormatRefMark::m_aRefName

Definition at line 45 of file fmtrfmrk.hxx.

Referenced by operator==().

SwTextRefMark* SwFormatRefMark::m_pTextAttr

Definition at line 42 of file fmtrfmrk.hxx.

Referenced by SwTextRefMark::SwTextRefMark().

css::uno::WeakReference<css::text::XTextContent> SwFormatRefMark::m_wXReferenceMark

Definition at line 47 of file fmtrfmrk.hxx.

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