LibreOffice Module sw (master) 1
|
#include <fmtrfmrk.hxx>
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 SwFormatRefMark * | Clone (SfxItemPool *pPool=nullptr) const override |
virtual void | SwClientNotify (const SwModify &, const SfxHint &) override |
void | InvalidateRefMark () |
const SwTextRefMark * | GetTextRefMark () const |
OUString & | GetRefName () |
const OUString & | GetRefName () const |
unotools::WeakReference< SwXReferenceMark > const & | GetXRefMark () const |
void | SetXRefMark (rtl::Reference< SwXReferenceMark > const &xMark) |
void | dumpAsXml (xmlTextWriterPtr pWriter) const override |
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 SfxPoolItem * | Clone (SfxItemPool *pPool=nullptr) const=0 |
std::unique_ptr< SfxPoolItem > | CloneSetWhich (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 |
Private Member Functions | |
SwFormatRefMark & | operator= (const SwFormatRefMark &rRefMark)=delete |
Private Attributes | |
SwTextRefMark * | m_pTextAttr |
OUString | m_aRefName |
unotools::WeakReference< SwXReferenceMark > | m_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) | |
Definition at line 35 of file fmtrfmrk.hxx.
SwFormatRefMark::SwFormatRefMark | ( | OUString | aText | ) |
SwFormatRefMark::SwFormatRefMark | ( | const SwFormatRefMark & | rRefMark | ) |
Definition at line 51 of file atrref.cxx.
|
overridevirtual |
Definition at line 39 of file atrref.cxx.
|
overridevirtual |
|
overridevirtual |
Reimplemented from SfxPoolItem.
Definition at line 90 of file atrref.cxx.
References SfxPoolItem::dumpAsXml(), m_aRefName, and m_pTextAttr.
Referenced by SwTextAttr::dumpAsXml().
|
inline |
Definition at line 63 of file fmtrfmrk.hxx.
Referenced by SwTextNode::CopyAttr(), SwTextNode::CopyText(), SwXReferenceMark::Impl::Impl(), SwWW8AttrIter::OutSwFormatRefMark(), SwContentTree::UpdateTracking(), and SwTextRefMark::~SwTextRefMark().
|
inline |
Definition at line 64 of file fmtrfmrk.hxx.
|
inline |
Definition at line 61 of file fmtrfmrk.hxx.
Referenced by SwContentTree::BringEntryToAttention(), SwDoc::DeleteFormatRefMark(), and SwGetRefFieldType::FindAnchor().
|
inline |
Definition at line 66 of file fmtrfmrk.hxx.
Referenced by SwXReferenceMark::CreateXReferenceMark().
void SwFormatRefMark::InvalidateRefMark | ( | ) |
Definition at line 83 of file atrref.cxx.
References RES_REMOVE_UNO_OBJECT().
|
privatedelete |
|
overridevirtual |
"Pure virtual methods" of SfxPoolItem.
Implements SfxPoolItem.
Definition at line 62 of file atrref.cxx.
References m_aRefName.
void SwFormatRefMark::SetXRefMark | ( | rtl::Reference< SwXReferenceMark > const & | xMark | ) |
Definition at line 59 of file atrref.cxx.
References m_wXReferenceMark.
Referenced by SwXReferenceMark::CreateXReferenceMark(), and SwClientNotify().
Definition at line 73 of file atrref.cxx.
References SfxHint::GetId(), RES_REMOVE_UNO_OBJECT(), and SetXRefMark().
|
friend |
Definition at line 39 of file fmtrfmrk.hxx.
|
private |
Definition at line 43 of file fmtrfmrk.hxx.
Referenced by dumpAsXml(), and operator==().
|
private |
Definition at line 40 of file fmtrfmrk.hxx.
Referenced by dumpAsXml(), and SwTextRefMark::SwTextRefMark().
|
private |
Definition at line 45 of file fmtrfmrk.hxx.
Referenced by SetXRefMark().