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

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 SfxPoolItemClone (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
 
- Public Member Functions inherited from SfxPoolItem
void AddRef (sal_uInt32 n=1) const
 
virtual ~SfxPoolItem ()
 
void SetWhich (sal_uInt16 nId)
 
sal_uInt16 Which () const
 
bool operator!= (const SfxPoolItem &rItem) const
 
virtual bool operator< (const SfxPoolItem &) const
 
virtual bool IsSortable () const
 
virtual bool GetPresentation (SfxItemPresentation ePresentation, MapUnit eCoreMetric, MapUnit ePresentationMetric, OUString &rText, const IntlWrapper &rIntlWrapper) const
 
virtual void ScaleMetrics (long lMult, 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)
 
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 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

- 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 ( SwFrameFormat pFrameFormat)

Definition at line 39 of file atrflyin.cxx.

Referenced by Clone().

Member Function Documentation

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

Implements SfxPoolItem.

Definition at line 54 of file atrflyin.cxx.

References m_pFormat, and SwFormatFlyCnt().

SwFrameFormat* SwFormatFlyCnt::GetFrameFormat ( ) const
inline
const SwTextFlyCnt* SwFormatFlyCnt::GetTextFlyCnt ( ) const
inline

Definition at line 49 of file fmtflcnt.hxx.

SwFormatFlyCnt& SwFormatFlyCnt::operator= ( const SwFormatFlyCnt rFlyCnt)
privatedelete
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.

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

friend class SwTextFlyCnt
friend

Definition at line 34 of file fmtflcnt.hxx.

Member Data Documentation

SwFrameFormat* SwFormatFlyCnt::m_pFormat
private

My Fly/DrawFrame-format.

Definition at line 36 of file fmtflcnt.hxx.

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

SwTextFlyCnt* SwFormatFlyCnt::m_pTextAttr
private

Definition at line 35 of file fmtflcnt.hxx.

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


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