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:
[legend]
Collaboration diagram for SwFormatRefMark:
[legend]

Public Member Functions

 SwFormatRefMark (OUString aText)
 
 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 SwClientNotify (const SwModify &, const SfxHint &) override
 
void InvalidateRefMark ()
 
const SwTextRefMarkGetTextRefMark () const
 
OUString & GetRefName ()
 
const OUString & GetRefName () const
 
unotools::WeakReference< SwXReferenceMark > const & GetXRefMark () const
 
void SetXRefMark (rtl::Reference< SwXReferenceMark > 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
 
T & StaticWhichCast (TypedWhichId< T > nId)
 
const T & StaticWhichCast (TypedWhichId< T > nId) const
 
T * DynamicWhichCast (TypedWhichId< T > nId)
 
const T * DynamicWhichCast (TypedWhichId< T > nId) const
 
virtual bool operator== (const SfxPoolItem &) const=0
 
bool operator!= (const SfxPoolItem &rItem) const
 
virtual bool operator< (const SfxPoolItem &) const
 
virtual bool IsSortable () const
 
virtual bool HasLookup () const
 
virtual lookup_iterator Lookup (lookup_iterator, lookup_iterator end) const
 
virtual bool GetPresentation (SfxItemPresentation ePresentation, MapUnit eCoreMetric, MapUnit ePresentationMetric, OUString &rText, const IntlWrapper &rIntlWrapper) const
 
virtual void ScaleMetrics (tools::Long lMult, tools::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)
 
virtual SfxPoolItemClone (SfxItemPool *pPool=nullptr) const=0
 
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 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 ()
 

Private Member Functions

SwFormatRefMarkoperator= (const SwFormatRefMark &rRefMark)=delete
 

Private Attributes

SwTextRefMarkm_pTextAttr
 
OUString m_aRefName
 
unotools::WeakReference< SwXReferenceMarkm_wXReferenceMark
 

Friends

class SwTextRefMark
 

Additional Inherited Members

- Public Types inherited from SfxPoolItem
typedef std::vector< SfxPoolItem * >::const_iterator lookup_iterator
 
- Protected Member Functions inherited from SfxPoolItem
 SfxPoolItem (sal_uInt16 nWhich=0)
 
 SfxPoolItem (const SfxPoolItem &rCopy)
 
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
 

Detailed Description

Definition at line 35 of file fmtrfmrk.hxx.

Constructor & Destructor Documentation

◆ SwFormatRefMark() [1/2]

SwFormatRefMark::SwFormatRefMark ( OUString  aText)

Definition at line 32 of file atrref.cxx.

References aName.

Referenced by Clone().

◆ SwFormatRefMark() [2/2]

SwFormatRefMark::SwFormatRefMark ( const SwFormatRefMark rRefMark)

Definition at line 40 of file atrref.cxx.

◆ ~SwFormatRefMark()

SwFormatRefMark::~SwFormatRefMark ( )
overridevirtual

Definition at line 28 of file atrref.cxx.

Member Function Documentation

◆ Clone()

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

Implements SfxPoolItem.

Definition at line 57 of file atrref.cxx.

References SwFormatRefMark().

◆ GetRefName() [1/2]

OUString & SwFormatRefMark::GetRefName ( )
inline

◆ GetRefName() [2/2]

const OUString & SwFormatRefMark::GetRefName ( ) const
inline

Definition at line 64 of file fmtrfmrk.hxx.

◆ GetTextRefMark()

const SwTextRefMark * SwFormatRefMark::GetTextRefMark ( ) const
inline

Definition at line 61 of file fmtrfmrk.hxx.

Referenced by SwGetRefFieldType::FindAnchor().

◆ GetXRefMark()

unotools::WeakReference< SwXReferenceMark > const & SwFormatRefMark::GetXRefMark ( ) const
inline

Definition at line 66 of file fmtrfmrk.hxx.

Referenced by SwXReferenceMark::CreateXReferenceMark().

◆ InvalidateRefMark()

void SwFormatRefMark::InvalidateRefMark ( )

◆ operator=()

SwFormatRefMark & SwFormatRefMark::operator= ( const SwFormatRefMark rRefMark)
privatedelete

◆ operator==()

bool SwFormatRefMark::operator== ( const SfxPoolItem rAttr) const
overridevirtual

"Pure virtual methods" of SfxPoolItem.

Implements SfxPoolItem.

Definition at line 51 of file atrref.cxx.

References m_aRefName.

◆ SetXRefMark()

void SwFormatRefMark::SetXRefMark ( rtl::Reference< SwXReferenceMark > const &  xMark)

Definition at line 48 of file atrref.cxx.

References m_wXReferenceMark.

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

◆ SwClientNotify()

void SwFormatRefMark::SwClientNotify ( const SwModify ,
const SfxHint rHint 
)
overridevirtual

Friends And Related Function Documentation

◆ SwTextRefMark

friend class SwTextRefMark
friend

Definition at line 39 of file fmtrfmrk.hxx.

Member Data Documentation

◆ m_aRefName

OUString SwFormatRefMark::m_aRefName
private

Definition at line 43 of file fmtrfmrk.hxx.

Referenced by operator==().

◆ m_pTextAttr

SwTextRefMark* SwFormatRefMark::m_pTextAttr
private

Definition at line 40 of file fmtrfmrk.hxx.

Referenced by SwTextRefMark::SwTextRefMark().

◆ m_wXReferenceMark

unotools::WeakReference<SwXReferenceMark> SwFormatRefMark::m_wXReferenceMark
private

Definition at line 45 of file fmtrfmrk.hxx.

Referenced by SetXRefMark().


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