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

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

SwTextFlyCntm_pTextAttr
 
SwFrameFormatm_pFormat
 My Fly/DrawFrame-format. More...
 

Friends

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
overridevirtual

Implements SfxPoolItem.

Definition at line 54 of file atrflyin.cxx.

References m_pFormat, and SwFormatFlyCnt().

◆ dumpAsXml()

void SwFormatFlyCnt::dumpAsXml ( xmlTextWriterPtr  pWriter) const
overridevirtual

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
inline

◆ GetTextFlyCnt()

const SwTextFlyCnt * SwFormatFlyCnt::GetTextFlyCnt ( ) const
inline

Definition at line 49 of file fmtflcnt.hxx.

◆ operator=()

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

◆ operator==()

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

"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)
inline

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
friend

Definition at line 34 of file fmtflcnt.hxx.

Member Data Documentation

◆ m_pFormat

SwFrameFormat* SwFormatFlyCnt::m_pFormat
private

My Fly/DrawFrame-format.

Definition at line 36 of file fmtflcnt.hxx.

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

◆ m_pTextAttr

SwTextFlyCnt* SwFormatFlyCnt::m_pTextAttr
private

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: