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

#include <fmtsrnd.hxx>

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

Public Member Functions

 SwFormatSurround (css::text::WrapTextMode eNew=css::text::WrapTextMode_PARALLEL)
 
virtual bool operator== (const SfxPoolItem &) const override
 
virtual SfxPoolItemClone (SfxItemPool *pPool=nullptr) const override
 
virtual sal_uInt16 GetValueCount () 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
 
virtual bool PutValue (const css::uno::Any &rVal, sal_uInt8 nMemberId) override
 
css::text::WrapTextMode GetSurround () const
 
bool IsAnchorOnly () const
 
bool IsContour () const
 
bool IsOutside () const
 
void SetSurround (css::text::WrapTextMode eNew)
 
void SetAnchorOnly (bool bNew)
 
void SetContour (bool bNew)
 
void SetOutside (bool bNew)
 
void dumpAsXml (xmlTextWriterPtr pWriter) const override
 
- Public Member Functions inherited from SfxEnumItem< css::text::WrapTextMode >
css::text::WrapTextMode GetValue () const
 
void SetValue (css::text::WrapTextMode nTheValue)
 
virtual sal_uInt16 GetEnumValue () const override
 
virtual void SetEnumValue (sal_uInt16 nTheValue) override
 
virtual bool operator== (SfxPoolItem const &other) const override
 
- Public Member Functions inherited from SfxEnumItemInterface
virtual bool HasBoolValue () const
 
virtual bool GetBoolValue () const
 
virtual void SetBoolValue (bool bValue)
 
- 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 void ScaleMetrics (long lMult, long lDiv)
 
virtual bool HasMetrics () const
 
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 bool IsVoidItem () const
 

Private Attributes

bool bAnchorOnly:1
 
bool bContour:1
 
bool bOutside:1
 

Additional Inherited Members

- Protected Member Functions inherited from SfxEnumItem< css::text::WrapTextMode >
 SfxEnumItem (sal_uInt16 const nWhich, css::text::WrapTextMode const nValue)
 
 SfxEnumItem (const SfxEnumItem &)=default
 
- Protected Member Functions inherited from SfxEnumItemInterface
 SfxEnumItemInterface (sal_uInt16 which)
 
 SfxEnumItemInterface (const SfxEnumItemInterface &)=default
 
- Protected Member Functions inherited from SfxPoolItem
 SfxPoolItem (sal_uInt16 nWhich=0)
 
 SfxPoolItem (const SfxPoolItem &rCopy)
 

Detailed Description

Definition at line 31 of file fmtsrnd.hxx.

Constructor & Destructor Documentation

SwFormatSurround::SwFormatSurround ( css::text::WrapTextMode  eNew = css::text::WrapTextMode_PARALLEL)

Definition at line 1164 of file atrfrm.cxx.

References bAnchorOnly, bContour, and bOutside.

Referenced by Clone().

Member Function Documentation

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

Implements SfxPoolItem.

Definition at line 1179 of file atrfrm.cxx.

References SwFormatSurround().

void SwFormatSurround::dumpAsXml ( xmlTextWriterPtr  pWriter) const
overridevirtual
bool SwFormatSurround::GetPresentation ( SfxItemPresentation  ePres,
MapUnit  eCoreMetric,
MapUnit  ePresMetric,
OUString &  rText,
const IntlWrapper rIntl 
) const
overridevirtual

Reimplemented from SfxEnumItemInterface.

Definition at line 297 of file attrdesc.cxx.

References GetValue, and SwResId().

Referenced by dumpAsXml().

css::text::WrapTextMode SwFormatSurround::GetSurround ( ) const
inline
sal_uInt16 SwFormatSurround::GetValueCount ( ) const
overridevirtual

Implements SfxEnumItemInterface.

Definition at line 1184 of file atrfrm.cxx.

bool SwFormatSurround::IsAnchorOnly ( ) const
inline
bool SwFormatSurround::IsContour ( ) const
inline
bool SwFormatSurround::IsOutside ( ) const
inline

Definition at line 54 of file fmtsrnd.hxx.

Referenced by SwContourCache::ContourRect(), QueryValue(), and SwWrapTabPage::Reset().

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

Reimplemented from SfxEnumItemInterface.

Definition at line 1170 of file atrfrm.cxx.

References bAnchorOnly, bContour, bOutside, and SfxEnumItem< css::text::WrapTextMode >::GetValue().

bool SwFormatSurround::PutValue ( const css::uno::Any &  rVal,
sal_uInt8  nMemberId 
)
overridevirtual
bool SwFormatSurround::QueryValue ( css::uno::Any &  rVal,
sal_uInt8  nMemberId = 0 
) const
overridevirtual
void SwFormatSurround::SetAnchorOnly ( bool  bNew)
inline
void SwFormatSurround::SetContour ( bool  bNew)
inline
void SwFormatSurround::SetOutside ( bool  bNew)
inline
void SwFormatSurround::SetSurround ( css::text::WrapTextMode  eNew)
inline

Member Data Documentation

bool SwFormatSurround::bAnchorOnly
private

Definition at line 33 of file fmtsrnd.hxx.

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

bool SwFormatSurround::bContour
private

Definition at line 34 of file fmtsrnd.hxx.

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

bool SwFormatSurround::bOutside
private

Definition at line 35 of file fmtsrnd.hxx.

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


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