LibreOffice Module svx (master) 1
|
This item is used as a transport medium for a number formatter. More...
#include <numinf.hxx>
Public Member Functions | |
SvxNumberInfoItem (const TypedWhichId< SvxNumberInfoItem > nId) | |
SvxNumberInfoItem (SvNumberFormatter *pNumFormatter, const TypedWhichId< SvxNumberInfoItem > nId) | |
SvxNumberInfoItem (SvNumberFormatter *pNumFormatter, OUString aVal, const TypedWhichId< SvxNumberInfoItem > nId) | |
SvxNumberInfoItem (SvNumberFormatter *pNumFormatter, const double &rVal, const TypedWhichId< SvxNumberInfoItem > nId) | |
SvxNumberInfoItem (SvNumberFormatter *pNumFormatter, const double &rVal, OUString aValueStr, const TypedWhichId< SvxNumberInfoItem > nId) | |
SvxNumberInfoItem (const SvxNumberInfoItem &) | |
virtual | ~SvxNumberInfoItem () override |
virtual bool | operator== (const SfxPoolItem &) const override |
virtual SvxNumberInfoItem * | Clone (SfxItemPool *pPool=nullptr) const override |
virtual bool | GetPresentation (SfxItemPresentation ePres, MapUnit eCoreMetric, MapUnit ePresMetric, OUString &rText, const IntlWrapper &) const override |
SvNumberFormatter * | GetNumberFormatter () const |
const OUString & | GetValueString () const |
double | GetValueDouble () const |
const std::vector< sal_uInt32 > & | GetDelFormats () const |
void | SetDelFormats (std::vector< sal_uInt32 > &&) |
SvxNumberValueType | GetValueType () 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 |
Private Attributes | |
SvNumberFormatter * | pFormatter |
SvxNumberValueType | eValueType |
OUString | aStringVal |
double | nDoubleVal |
std::vector< sal_uInt32 > | mvDelFormats |
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) | |
This item is used as a transport medium for a number formatter.
Definition at line 29 of file numinf.hxx.
SvxNumberInfoItem::SvxNumberInfoItem | ( | const TypedWhichId< SvxNumberInfoItem > | nId | ) |
SvxNumberInfoItem::SvxNumberInfoItem | ( | SvNumberFormatter * | pNumFormatter, |
const TypedWhichId< SvxNumberInfoItem > | nId | ||
) |
Definition at line 34 of file numinf.cxx.
SvxNumberInfoItem::SvxNumberInfoItem | ( | SvNumberFormatter * | pNumFormatter, |
OUString | aVal, | ||
const TypedWhichId< SvxNumberInfoItem > | nId | ||
) |
Definition at line 45 of file numinf.cxx.
SvxNumberInfoItem::SvxNumberInfoItem | ( | SvNumberFormatter * | pNumFormatter, |
const double & | rVal, | ||
const TypedWhichId< SvxNumberInfoItem > | nId | ||
) |
Definition at line 56 of file numinf.cxx.
SvxNumberInfoItem::SvxNumberInfoItem | ( | SvNumberFormatter * | pNumFormatter, |
const double & | rVal, | ||
OUString | aValueStr, | ||
const TypedWhichId< SvxNumberInfoItem > | nId | ||
) |
Definition at line 67 of file numinf.cxx.
SvxNumberInfoItem::SvxNumberInfoItem | ( | const SvxNumberInfoItem & | rItem | ) |
Definition at line 79 of file numinf.cxx.
|
overridevirtual |
Definition at line 90 of file numinf.cxx.
|
overridevirtual |
|
inline |
Definition at line 58 of file numinf.hxx.
|
inline |
Definition at line 54 of file numinf.hxx.
|
overridevirtual |
Reimplemented from SfxPoolItem.
Definition at line 95 of file numinf.cxx.
|
inline |
Definition at line 56 of file numinf.hxx.
|
inline |
Definition at line 55 of file numinf.hxx.
|
inline |
Definition at line 61 of file numinf.hxx.
|
overridevirtual |
Implements SfxPoolItem.
Definition at line 108 of file numinf.cxx.
References aStringVal, eValueType, mvDelFormats, nDoubleVal, and pFormatter.
void SvxNumberInfoItem::SetDelFormats | ( | std::vector< sal_uInt32 > && | aData | ) |
Definition at line 126 of file numinf.cxx.
References aData, and mvDelFormats.
|
private |
Definition at line 66 of file numinf.hxx.
Referenced by operator==().
|
private |
Definition at line 65 of file numinf.hxx.
Referenced by operator==().
|
private |
Definition at line 69 of file numinf.hxx.
Referenced by operator==(), and SetDelFormats().
|
private |
Definition at line 67 of file numinf.hxx.
Referenced by operator==().
|
private |
Definition at line 64 of file numinf.hxx.
Referenced by operator==().