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

#include <fltshell.hxx>

Inheritance diagram for SwFltAnchor:
[legend]
Collaboration diagram for SwFltAnchor:
[legend]

Public Member Functions

 SwFltAnchor (SwFrameFormat *pFlyFormat)
 
 SwFltAnchor (const SwFltAnchor &)
 
virtual ~SwFltAnchor () override
 
virtual bool operator== (const SfxPoolItem &) const override
 
virtual SwFltAnchorClone (SfxItemPool *=nullptr) const override
 
void SetFrameFormat (SwFrameFormat *_pFrameFormat)
 
const SwFrameFormatGetFrameFormat () const
 
SwFrameFormatGetFrameFormat ()
 
- 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
 

Private Attributes

SwFrameFormatm_pFrameFormat
 
std::unique_ptr< SwFltAnchorListenerm_pListener
 

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)
 

Detailed Description

Definition at line 166 of file fltshell.hxx.

Constructor & Destructor Documentation

◆ SwFltAnchor() [1/2]

SwFltAnchor::SwFltAnchor ( SwFrameFormat pFlyFormat)

Definition at line 851 of file fltshell.cxx.

References m_pFrameFormat, and m_pListener.

Referenced by Clone().

◆ SwFltAnchor() [2/2]

SwFltAnchor::SwFltAnchor ( const SwFltAnchor rCpy)

Definition at line 858 of file fltshell.cxx.

References m_pFrameFormat, and m_pListener.

◆ ~SwFltAnchor()

SwFltAnchor::~SwFltAnchor ( )
overridevirtual

Definition at line 865 of file fltshell.cxx.

Member Function Documentation

◆ Clone()

SwFltAnchor * SwFltAnchor::Clone ( SfxItemPool = nullptr) const
overridevirtual

Implements SfxPoolItem.

Definition at line 881 of file fltshell.cxx.

References SwFltAnchor().

◆ GetFrameFormat() [1/2]

SwFrameFormat * SwFltAnchor::GetFrameFormat ( )
inline

Definition at line 181 of file fltshell.hxx.

◆ GetFrameFormat() [2/2]

const SwFrameFormat * SwFltAnchor::GetFrameFormat ( ) const
inline

Definition at line 180 of file fltshell.hxx.

◆ operator==()

bool SwFltAnchor::operator== ( const SfxPoolItem rItem) const
overridevirtual

Implements SfxPoolItem.

Definition at line 875 of file fltshell.cxx.

References m_pFrameFormat, and SfxPoolItem::operator==().

◆ SetFrameFormat()

void SwFltAnchor::SetFrameFormat ( SwFrameFormat _pFrameFormat)

Definition at line 869 of file fltshell.cxx.

References m_pFrameFormat.

Referenced by SwFltAnchorListener::Notify().

Member Data Documentation

◆ m_pFrameFormat

SwFrameFormat* SwFltAnchor::m_pFrameFormat
private

Definition at line 168 of file fltshell.hxx.

Referenced by operator==(), SetFrameFormat(), and SwFltAnchor().

◆ m_pListener

std::unique_ptr<SwFltAnchorListener> SwFltAnchor::m_pListener
private

Definition at line 169 of file fltshell.hxx.

Referenced by SwFltAnchor().


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