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

Format of a fly content. More...

#include <fmtflcnt.hxx>

Inheritance diagram for SwFormatFlyCnt:
Collaboration diagram for SwFormatFlyCnt:

Public Member Functions

 SwFormatFlyCnt (SwFrameFormat *pFrameFormat)
virtual bool operator== (const SfxPoolItem &) const override
 "Pure virtual methods" of SfxPoolItem. More...
virtual SwFormatFlyCntClone (SfxItemPool *pPool=nullptr) const override
SwFrameFormatGetFrameFormat () const
void SetFlyFormat (SwFrameFormat *pNew=nullptr)
 For Undo: delete the FlyFrameFormat "logically"; it is kept in Undo-object. More...
const SwTextFlyCntGetTextFlyCnt () const
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 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 Member Functions

SwFormatFlyCntoperator= (const SwFormatFlyCnt &rFlyCnt)=delete

Private Attributes

 My Fly/DrawFrame-format. More...


class SwTextFlyCnt

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

Format of a fly content.

A pool item that is attached to the placeholder character of an as-character frame. (TextFrame, etc.)

Definition at line 32 of file fmtflcnt.hxx.

Constructor & Destructor Documentation

◆ SwFormatFlyCnt()

SwFormatFlyCnt::SwFormatFlyCnt ( SwFrameFormat pFrameFormat)

Definition at line 39 of file atrflyin.cxx.

Referenced by Clone().

Member Function Documentation

◆ Clone()

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

Implements SfxPoolItem.

Definition at line 54 of file atrflyin.cxx.

References m_pFormat, and SwFormatFlyCnt().

◆ dumpAsXml()

void SwFormatFlyCnt::dumpAsXml ( xmlTextWriterPtr  pWriter) const

Reimplemented from SfxPoolItem.

Definition at line 59 of file atrflyin.cxx.

References SfxPoolItem::dumpAsXml(), m_pFormat, and m_pTextAttr.

Referenced by SwTextAttr::dumpAsXml().

◆ GetFrameFormat()

SwFrameFormat * SwFormatFlyCnt::GetFrameFormat ( ) const

◆ GetTextFlyCnt()

const SwTextFlyCnt * SwFormatFlyCnt::GetTextFlyCnt ( ) const

Definition at line 49 of file fmtflcnt.hxx.

◆ operator=()

SwFormatFlyCnt & SwFormatFlyCnt::operator= ( const SwFormatFlyCnt rFlyCnt)

◆ operator==()

bool SwFormatFlyCnt::operator== ( const SfxPoolItem rAttr) const

"Pure virtual methods" of SfxPoolItem.

Implements SfxPoolItem.

Definition at line 46 of file atrflyin.cxx.

References GetFrameFormat(), SwTextAttr::GetStart(), m_pFormat, and m_pTextAttr.

◆ SetFlyFormat()

void SwFormatFlyCnt::SetFlyFormat ( SwFrameFormat pNew = nullptr)

For Undo: delete the FlyFrameFormat "logically"; it is kept in Undo-object.

Definition at line 47 of file fmtflcnt.hxx.

Friends And Related Function Documentation

◆ SwTextFlyCnt

friend class SwTextFlyCnt

Definition at line 34 of file fmtflcnt.hxx.

Member Data Documentation

◆ m_pFormat

SwFrameFormat* SwFormatFlyCnt::m_pFormat

My Fly/DrawFrame-format.

Definition at line 36 of file fmtflcnt.hxx.

Referenced by Clone(), dumpAsXml(), and operator==().

◆ m_pTextAttr

SwTextFlyCnt* SwFormatFlyCnt::m_pTextAttr

Definition at line 35 of file fmtflcnt.hxx.

Referenced by dumpAsXml(), operator==(), and SwTextFlyCnt::SwTextFlyCnt().

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