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

Connection (text flow) between two FlyFrames. More...

#include <fmtcnct.hxx>

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

Public Member Functions

 SwFormatChain ()
 
 SwFormatChain (const SwFormatChain &rCpy)
 
SwFormatChainoperator= (const SwFormatChain &)
 
virtual bool operator== (const SfxPoolItem &) const override
 "Pure virtual methods" of SfxPoolItem. More...
 
virtual SwFormatChainClone (SfxItemPool *pPool=nullptr) const override
 
virtual bool GetPresentation (SfxItemPresentation ePres, MapUnit eCoreMetric, MapUnit ePresMetric, OUString &rText, const IntlWrapper &rIntl) const override
 
virtual bool QueryValue (css::uno::Any &rVal, sal_uInt8 nMemberId=0) const override
 
SwFlyFrameFormatGetPrev () const
 
SwFlyFrameFormatGetNext () const
 
void SetPrev (SwFlyFrameFormat *pFormat)
 
void SetNext (SwFlyFrameFormat *pFormat)
 
- 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

SwClient m_aPrev
 Previous SwFlyFrameFormat (if existent). More...
 
SwClient m_aNext
 Next SwFlyFrameFormat (if existent). More...
 

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

Connection (text flow) between two FlyFrames.

Definition at line 31 of file fmtcnct.hxx.

Constructor & Destructor Documentation

◆ SwFormatChain() [1/2]

SwFormatChain::SwFormatChain ( )
inline

Definition at line 37 of file fmtcnct.hxx.

Referenced by Clone().

◆ SwFormatChain() [2/2]

SwFormatChain::SwFormatChain ( const SwFormatChain rCpy)

Definition at line 2156 of file atrfrm.cxx.

References GetNext(), GetPrev(), SetNext(), and SetPrev().

Member Function Documentation

◆ Clone()

SwFormatChain * SwFormatChain::Clone ( SfxItemPool pPool = nullptr) const
overridevirtual

Implements SfxPoolItem.

Definition at line 2163 of file atrfrm.cxx.

References GetNext(), GetPrev(), SetNext(), SetPrev(), and SwFormatChain().

◆ GetNext()

SwFlyFrameFormat * SwFormatChain::GetNext ( ) const
inline

◆ GetPresentation()

bool SwFormatChain::GetPresentation ( SfxItemPresentation  ePres,
MapUnit  eCoreMetric,
MapUnit  ePresMetric,
OUString &  rText,
const IntlWrapper rIntl 
) const
overridevirtual

Reimplemented from SfxPoolItem.

Definition at line 590 of file attrdesc.cxx.

References SwFormat::GetName(), GetNext(), GetPrev(), and SwResId().

◆ GetPrev()

SwFlyFrameFormat * SwFormatChain::GetPrev ( ) const
inline

◆ operator=()

SwFormatChain & SwFormatChain::operator= ( const SwFormatChain rCpy)
inline

Definition at line 60 of file fmtcnct.hxx.

References GetNext(), GetPrev(), SetNext(), and SetPrev().

◆ operator==()

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

"Pure virtual methods" of SfxPoolItem.

Implements SfxPoolItem.

Definition at line 2148 of file atrfrm.cxx.

References GetNext(), and GetPrev().

◆ QueryValue()

bool SwFormatChain::QueryValue ( css::uno::Any &  rVal,
sal_uInt8  nMemberId = 0 
) const
overridevirtual

Reimplemented from SfxPoolItem.

Definition at line 2187 of file atrfrm.cxx.

References SwFormat::GetName(), GetNext(), GetPrev(), MID_CHAIN_NEXTNAME, and MID_CHAIN_PREVNAME.

Referenced by SwTextBoxHelper::getProperty().

◆ SetNext()

void SwFormatChain::SetNext ( SwFlyFrameFormat pFormat)

◆ SetPrev()

void SwFormatChain::SetPrev ( SwFlyFrameFormat pFormat)

Member Data Documentation

◆ m_aNext

SwClient SwFormatChain::m_aNext
private

Next SwFlyFrameFormat (if existent).

Definition at line 34 of file fmtcnct.hxx.

Referenced by SetNext().

◆ m_aPrev

SwClient SwFormatChain::m_aPrev
private

Previous SwFlyFrameFormat (if existent).

Definition at line 33 of file fmtcnct.hxx.

Referenced by SetPrev().


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