LibreOffice Module svx (master)  1
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
SvxColumnItem Class Referencefinal

#include <rulritem.hxx>

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

Public Member Functions

 SvxColumnItem (sal_uInt16 nAct=0)
 
 SvxColumnItem (sal_uInt16 nActCol, sal_uInt16 nLeft, sal_uInt16 nRight)
 
SvxColumnDescriptionoperator[] (sal_uInt16 index)
 
const SvxColumnDescriptionoperator[] (sal_uInt16 index) const
 
SvxColumnDescriptionAt (sal_uInt16 index)
 
SvxColumnDescriptionGetActiveColumnDescription ()
 
sal_uInt16 Count () const
 
void Append (const SvxColumnDescription &rDesc)
 
void SetLeft (long aLeft)
 
void SetRight (long aRight)
 
sal_uInt16 GetActColumn () const
 
bool IsFirstAct () const
 
bool IsLastAct () const
 
long GetLeft () const
 
long GetRight () const
 
bool IsTable () const
 
bool CalcOrtho () const
 
void SetOrtho (bool bVal)
 
bool IsConsistent () 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 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 void dumpAsXml (xmlTextWriterPtr pWriter) const
 
virtual boost::property_tree::ptree dumpAsJSON () const
 
virtual bool IsVoidItem () const
 

Static Public Member Functions

static SfxPoolItemCreateDefault ()
 

Private Member Functions

virtual bool operator== (const SfxPoolItem &) const override
 
virtual bool GetPresentation (SfxItemPresentation ePres, MapUnit eCoreMetric, MapUnit ePresMetric, OUString &rText, const IntlWrapper &) const override
 
virtual SvxColumnItemClone (SfxItemPool *pPool=nullptr) 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
 

Private Attributes

std::vector< SvxColumnDescriptionaColumns
 
long nLeft
 
long nRight
 
sal_uInt16 nActColumn
 
bool bTable
 
bool bOrtho
 

Additional Inherited Members

- Protected Member Functions inherited from SfxPoolItem
 SfxPoolItem (sal_uInt16 nWhich=0)
 
 SfxPoolItem (const SfxPoolItem &rCopy)
 

Detailed Description

Definition at line 143 of file rulritem.hxx.

Constructor & Destructor Documentation

SvxColumnItem::SvxColumnItem ( sal_uInt16  nAct = 0)

Definition at line 406 of file rulritem.cxx.

Referenced by Clone(), and CreateDefault().

SvxColumnItem::SvxColumnItem ( sal_uInt16  nActCol,
sal_uInt16  nLeft,
sal_uInt16  nRight 
)

Definition at line 416 of file rulritem.cxx.

Member Function Documentation

void SvxColumnItem::Append ( const SvxColumnDescription rDesc)

Definition at line 548 of file rulritem.cxx.

References aColumns.

SvxColumnDescription & SvxColumnItem::At ( sal_uInt16  index)

Definition at line 528 of file rulritem.cxx.

References aColumns.

bool SvxColumnItem::CalcOrtho ( ) const

! Wide divider

Definition at line 440 of file rulritem.cxx.

References Count(), DBG_ASSERT, i, and nCount.

SvxColumnItem * SvxColumnItem::Clone ( SfxItemPool pPool = nullptr) const
overrideprivatevirtual

Implements SfxPoolItem.

Definition at line 435 of file rulritem.cxx.

References SvxColumnItem().

sal_uInt16 SvxColumnItem::Count ( ) const

Definition at line 523 of file rulritem.cxx.

References aColumns.

Referenced by CalcOrtho(), IsLastAct(), SvxRuler::MouseMove(), and operator==().

SfxPoolItem * SvxColumnItem::CreateDefault ( )
static

Definition at line 35 of file rulritem.cxx.

References SvxColumnItem().

sal_uInt16 SvxColumnItem::GetActColumn ( ) const
inline

Definition at line 182 of file rulritem.hxx.

Referenced by GetActiveColumnDescription().

SvxColumnDescription & SvxColumnItem::GetActiveColumnDescription ( )

Definition at line 533 of file rulritem.cxx.

References aColumns, and GetActColumn().

long SvxColumnItem::GetLeft ( ) const
inline

Definition at line 185 of file rulritem.hxx.

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

Reimplemented from SfxPoolItem.

Definition at line 425 of file rulritem.cxx.

long SvxColumnItem::GetRight ( ) const
inline

Definition at line 186 of file rulritem.hxx.

bool SvxColumnItem::IsConsistent ( ) const

Definition at line 616 of file rulritem.cxx.

References aColumns, and nActColumn.

Referenced by SvxRulerItem::StateChanged().

bool SvxColumnItem::IsFirstAct ( ) const

Definition at line 564 of file rulritem.cxx.

References nActColumn.

bool SvxColumnItem::IsLastAct ( ) const

Definition at line 569 of file rulritem.cxx.

References Count(), and nActColumn.

bool SvxColumnItem::IsTable ( ) const
inline

Definition at line 187 of file rulritem.hxx.

bool SvxColumnItem::operator== ( const SfxPoolItem rCmp) const
overrideprivatevirtual

Implements SfxPoolItem.

Definition at line 387 of file rulritem.cxx.

References bTable, Count(), i, nActColumn, nCount, nLeft, and nRight.

SvxColumnDescription & SvxColumnItem::operator[] ( sal_uInt16  index)

Definition at line 538 of file rulritem.cxx.

References aColumns.

const SvxColumnDescription & SvxColumnItem::operator[] ( sal_uInt16  index) const

Definition at line 543 of file rulritem.cxx.

References aColumns.

bool SvxColumnItem::PutValue ( const css::uno::Any &  rVal,
sal_uInt8  nMemberId 
)
overrideprivatevirtual

Reimplemented from SfxPoolItem.

Definition at line 487 of file rulritem.cxx.

References bOrtho, bTable, CONVERT_TWIPS, MID_ACTUAL, MID_COLUMNARRAY, MID_LEFT, MID_ORTHO, MID_TABLE, nActColumn, nLeft, and nRight.

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

Reimplemented from SfxPoolItem.

Definition at line 456 of file rulritem.cxx.

References bOrtho, bTable, CONVERT_TWIPS, MID_ACTUAL, MID_COLUMNARRAY, MID_LEFT, MID_ORTHO, MID_TABLE, nActColumn, nLeft, and nRight.

void SvxColumnItem::SetLeft ( long  aLeft)

Definition at line 553 of file rulritem.cxx.

References nLeft.

void SvxColumnItem::SetOrtho ( bool  bVal)

Definition at line 611 of file rulritem.cxx.

References bOrtho.

void SvxColumnItem::SetRight ( long  aRight)

Definition at line 558 of file rulritem.cxx.

References nRight.

Member Data Documentation

std::vector<SvxColumnDescription> SvxColumnItem::aColumns
private

Definition at line 145 of file rulritem.hxx.

Referenced by Append(), At(), Count(), GetActiveColumnDescription(), IsConsistent(), and operator[]().

bool SvxColumnItem::bOrtho
private

Definition at line 152 of file rulritem.hxx.

Referenced by PutValue(), QueryValue(), and SetOrtho().

bool SvxColumnItem::bTable
private

Definition at line 151 of file rulritem.hxx.

Referenced by operator==(), PutValue(), and QueryValue().

sal_uInt16 SvxColumnItem::nActColumn
private

Definition at line 150 of file rulritem.hxx.

Referenced by IsConsistent(), IsFirstAct(), IsLastAct(), operator==(), PutValue(), and QueryValue().

long SvxColumnItem::nLeft
private

Definition at line 147 of file rulritem.hxx.

Referenced by operator==(), PutValue(), QueryValue(), and SetLeft().

long SvxColumnItem::nRight
private

Definition at line 148 of file rulritem.hxx.

Referenced by operator==(), PutValue(), QueryValue(), and SetRight().


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