LibreOffice Module svx (master) 1
|
#include <rulritem.hxx>
Public Member Functions | |
SvxColumnItem (sal_uInt16 nAct=0) | |
SvxColumnItem (sal_uInt16 nActCol, sal_uInt16 nLeft, sal_uInt16 nRight) | |
SvxColumnDescription & | operator[] (sal_uInt16 index) |
const SvxColumnDescription & | operator[] (sal_uInt16 index) const |
SvxColumnDescription & | At (sal_uInt16 index) |
SvxColumnDescription & | GetActiveColumnDescription () |
sal_uInt16 | Count () const |
void | Append (const SvxColumnDescription &rDesc) |
void | SetLeft (tools::Long aLeft) |
void | SetRight (tools::Long aRight) |
sal_uInt16 | GetActColumn () const |
bool | IsFirstAct () const |
bool | IsLastAct () const |
tools::Long | GetLeft () const |
tools::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 |
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 SfxPoolItem * | Clone (SfxItemPool *pPool=nullptr) const=0 |
std::unique_ptr< SfxPoolItem > | CloneSetWhich (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 SfxPoolItem * | CreateDefault () |
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 SvxColumnItem * | Clone (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< SvxColumnDescription > | aColumns |
tools::Long | nLeft |
tools::Long | nRight |
sal_uInt16 | nActColumn |
bool | bTable |
bool | bOrtho |
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) | |
Definition at line 146 of file rulritem.hxx.
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.
void SvxColumnItem::Append | ( | const SvxColumnDescription & | rDesc | ) |
Definition at line 551 of file rulritem.cxx.
References aColumns.
SvxColumnDescription & SvxColumnItem::At | ( | sal_uInt16 | index | ) |
Definition at line 531 of file rulritem.cxx.
bool SvxColumnItem::CalcOrtho | ( | ) | const |
! Wide divider
Definition at line 440 of file rulritem.cxx.
References Count(), DBG_ASSERT, i, and nCount.
|
overrideprivatevirtual |
sal_uInt16 SvxColumnItem::Count | ( | ) | const |
Definition at line 526 of file rulritem.cxx.
References aColumns.
Referenced by CalcOrtho(), IsLastAct(), SvxRuler::MouseMove(), and operator==().
|
static |
Definition at line 35 of file rulritem.cxx.
References SvxColumnItem().
|
inline |
Definition at line 185 of file rulritem.hxx.
Referenced by GetActiveColumnDescription().
SvxColumnDescription & SvxColumnItem::GetActiveColumnDescription | ( | ) |
Definition at line 536 of file rulritem.cxx.
References aColumns, and GetActColumn().
|
inline |
Definition at line 188 of file rulritem.hxx.
|
overrideprivatevirtual |
Reimplemented from SfxPoolItem.
Definition at line 425 of file rulritem.cxx.
|
inline |
Definition at line 189 of file rulritem.hxx.
bool SvxColumnItem::IsConsistent | ( | ) | const |
Definition at line 619 of file rulritem.cxx.
References aColumns, and nActColumn.
Referenced by SvxRulerItem::StateChangedAtToolBoxControl().
bool SvxColumnItem::IsFirstAct | ( | ) | const |
Definition at line 567 of file rulritem.cxx.
References nActColumn.
bool SvxColumnItem::IsLastAct | ( | ) | const |
Definition at line 572 of file rulritem.cxx.
References Count(), and nActColumn.
|
inline |
Definition at line 190 of file rulritem.hxx.
|
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 541 of file rulritem.cxx.
const SvxColumnDescription & SvxColumnItem::operator[] | ( | sal_uInt16 | index | ) | const |
Definition at line 546 of file rulritem.cxx.
|
overrideprivatevirtual |
Reimplemented from SfxPoolItem.
Definition at line 490 of file rulritem.cxx.
References bOrtho, bTable, MID_ACTUAL, MID_COLUMNARRAY, MID_LEFT, MID_ORTHO, MID_TABLE, nActColumn, nLeft, and nRight.
|
overrideprivatevirtual |
Reimplemented from SfxPoolItem.
Definition at line 456 of file rulritem.cxx.
References bOrtho, bTable, MID_ACTUAL, MID_COLUMNARRAY, MID_LEFT, MID_ORTHO, MID_TABLE, nActColumn, nLeft, nRight, SAL_INFO, and SAL_WARN.
void SvxColumnItem::SetLeft | ( | tools::Long | aLeft | ) |
Definition at line 556 of file rulritem.cxx.
void SvxColumnItem::SetOrtho | ( | bool | bVal | ) |
Definition at line 614 of file rulritem.cxx.
References bOrtho.
void SvxColumnItem::SetRight | ( | tools::Long | aRight | ) |
Definition at line 561 of file rulritem.cxx.
|
private |
Definition at line 148 of file rulritem.hxx.
Referenced by Append(), At(), Count(), GetActiveColumnDescription(), IsConsistent(), and operator[]().
|
private |
Definition at line 155 of file rulritem.hxx.
Referenced by PutValue(), QueryValue(), and SetOrtho().
|
private |
Definition at line 154 of file rulritem.hxx.
Referenced by operator==(), PutValue(), and QueryValue().
|
private |
Definition at line 153 of file rulritem.hxx.
Referenced by IsConsistent(), IsFirstAct(), IsLastAct(), operator==(), PutValue(), and QueryValue().
|
private |
Definition at line 150 of file rulritem.hxx.
Referenced by operator==(), PutValue(), QueryValue(), and SetLeft().
|
private |
Definition at line 151 of file rulritem.hxx.
Referenced by operator==(), PutValue(), QueryValue(), and SetRight().