LibreOffice Module svx (master) 1
Public Member Functions | Friends | List of all members
SvxGridItem Class Reference

#include <optgrid.hxx>

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

Public Member Functions

 SvxGridItem (TypedWhichId< SvxGridItem > _nWhich)
 
virtual SvxGridItemClone (SfxItemPool *pPool=nullptr) const override
 
virtual bool operator== (const SfxPoolItem &) const override
 
virtual bool GetPresentation (SfxItemPresentation ePres, MapUnit eCoreMetric, MapUnit ePresMetric, OUString &rText, const IntlWrapper &) const override
 
- Public Member Functions inherited from SvxOptionsGrid
 SvxOptionsGrid ()
 
void SetFieldDrawX (sal_uInt32 nSet)
 
void SetFieldDivisionX (sal_uInt32 nSet)
 
void SetFieldDrawY (sal_uInt32 nSet)
 
void SetFieldDivisionY (sal_uInt32 nSet)
 
void SetFieldSnapX (sal_uInt32 nSet)
 
void SetFieldSnapY (sal_uInt32 nSet)
 
void SetUseGridSnap (bool bSet)
 
void SetSynchronize (bool bSet)
 
void SetGridVisible (bool bSet)
 
void SetEqualGrid (bool bSet)
 
sal_uInt32 GetFieldDrawX () const
 
sal_uInt32 GetFieldDivisionX () const
 
sal_uInt32 GetFieldDrawY () const
 
sal_uInt32 GetFieldDivisionY () const
 
sal_uInt32 GetFieldSnapX () const
 
sal_uInt32 GetFieldSnapY () const
 
bool GetUseGridSnap () const
 
bool GetSynchronize () const
 
bool GetGridVisible () const
 
bool GetEqualGrid () 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
 
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
 

Friends

class SvxGridTabPage
 

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)
 
- Protected Attributes inherited from SvxOptionsGrid
sal_uInt32 nFldDrawX
 
sal_uInt32 nFldDivisionX
 
sal_uInt32 nFldDrawY
 
sal_uInt32 nFldDivisionY
 
sal_uInt32 nFldSnapX
 
sal_uInt32 nFldSnapY
 
bool bUseGridsnap:1
 
bool bSynchronize:1
 
bool bGridVisible:1
 
bool bEqualGrid: 1
 

Detailed Description

Definition at line 71 of file optgrid.hxx.

Constructor & Destructor Documentation

◆ SvxGridItem()

SvxGridItem::SvxGridItem ( TypedWhichId< SvxGridItem _nWhich)
inline

Definition at line 77 of file optgrid.hxx.

Referenced by Clone().

Member Function Documentation

◆ Clone()

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

Implements SfxPoolItem.

Definition at line 54 of file optgrid.cxx.

References SvxGridItem().

◆ GetPresentation()

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

Reimplemented from SfxPoolItem.

Definition at line 77 of file optgrid.cxx.

◆ operator==()

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

Friends And Related Function Documentation

◆ SvxGridTabPage

friend class SvxGridTabPage
friend

Definition at line 74 of file optgrid.hxx.


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