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

gutter margin - for page styles More...

#include <lrspitem.hxx>

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

Public Member Functions

tools::Long GetRightGutterMargin () const
 
 SvxGutterRightMarginItem (const sal_uInt16 nId)
 
 SvxGutterRightMarginItem (SvxGutterRightMarginItem const &)=default
 
virtual bool operator== (const SfxPoolItem &) 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
 
virtual bool GetPresentation (SfxItemPresentation ePres, MapUnit eCoreMetric, MapUnit ePresMetric, OUString &rText, const IntlWrapper &) const override
 
virtual SvxGutterRightMarginItemClone (SfxItemPool *pPool=nullptr) const override
 
virtual void ScaleMetrics (tools::Long nMult, tools::Long nDiv) override
 
virtual bool HasMetrics () const override
 
void dumpAsXml (xmlTextWriterPtr pWriter) const override
 
virtual boost::property_tree::ptree dumpAsJSON () 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 Attributes

tools::Long m_nRightGutterMargin = 0
 The amount of extra space added to the right margin, on mirrored pages. 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

gutter margin - for page styles

Definition at line 250 of file lrspitem.hxx.

Constructor & Destructor Documentation

◆ SvxGutterRightMarginItem() [1/2]

SvxGutterRightMarginItem::SvxGutterRightMarginItem ( const sal_uInt16  nId)
explicit

Definition at line 1385 of file frmitems.cxx.

References nId.

Referenced by Clone().

◆ SvxGutterRightMarginItem() [2/2]

SvxGutterRightMarginItem::SvxGutterRightMarginItem ( SvxGutterRightMarginItem const &  )
default

Member Function Documentation

◆ Clone()

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

Implements SfxPoolItem.

Definition at line 1441 of file frmitems.cxx.

References SvxGutterRightMarginItem().

◆ dumpAsJSON()

boost::property_tree::ptree SvxGutterRightMarginItem::dumpAsJSON ( ) const
overridevirtual

Reimplemented from SfxPoolItem.

Definition at line 1477 of file frmitems.cxx.

References SfxPoolItem::dumpAsJSON().

◆ dumpAsXml()

void SvxGutterRightMarginItem::dumpAsXml ( xmlTextWriterPtr  pWriter) const
overridevirtual

Reimplemented from SfxPoolItem.

Definition at line 1468 of file frmitems.cxx.

References m_nRightGutterMargin, and SfxPoolItem::Which().

◆ GetPresentation()

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

Reimplemented from SfxPoolItem.

Definition at line 1446 of file frmitems.cxx.

◆ GetRightGutterMargin()

tools::Long SvxGutterRightMarginItem::GetRightGutterMargin ( ) const
inline

Definition at line 257 of file lrspitem.hxx.

Referenced by operator==().

◆ HasMetrics()

bool SvxGutterRightMarginItem::HasMetrics ( ) const
overridevirtual

Reimplemented from SfxPoolItem.

Definition at line 1463 of file frmitems.cxx.

◆ operator==()

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

Implements SfxPoolItem.

Definition at line 1432 of file frmitems.cxx.

References GetRightGutterMargin(), and m_nRightGutterMargin.

◆ PutValue()

bool SvxGutterRightMarginItem::PutValue ( const css::uno::Any &  rVal,
sal_uInt8  nMemberId 
)
overridevirtual

Reimplemented from SfxPoolItem.

Definition at line 1411 of file frmitems.cxx.

◆ QueryValue()

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

Reimplemented from SfxPoolItem.

Definition at line 1390 of file frmitems.cxx.

◆ ScaleMetrics()

void SvxGutterRightMarginItem::ScaleMetrics ( tools::Long  nMult,
tools::Long  nDiv 
)
overridevirtual

Reimplemented from SfxPoolItem.

Definition at line 1458 of file frmitems.cxx.

Member Data Documentation

◆ m_nRightGutterMargin

tools::Long SvxGutterRightMarginItem::m_nRightGutterMargin = 0
private

The amount of extra space added to the right margin, on mirrored pages.

Definition at line 254 of file lrspitem.hxx.

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


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