|
LibreOffice Module editeng (master) 1
|
#include <sizeitem.hxx>
Public Member Functions | |
| SvxSizeItem (const sal_uInt16 nId) | |
| SvxSizeItem (const sal_uInt16 nId, const Size &rSize) | |
| 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 SvxSizeItem * | Clone (SfxItemPool *pPool=nullptr) const override |
| virtual void | ScaleMetrics (tools::Long nMult, tools::Long nDiv) override |
| virtual bool | HasMetrics () const override |
| const Size & | GetSize () const |
| void | SetSize (const Size &rSize) |
| tools::Long | GetWidth () const |
| tools::Long | GetHeight () const |
| void | SetWidth (tools::Long n) |
| void | SetHeight (tools::Long n) |
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 Attributes | |
| Size | m_aSize |
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 33 of file sizeitem.hxx.
|
explicit |
Definition at line 224 of file frmitems.cxx.
References nId.
Referenced by Clone(), and CreateDefault().
| SvxSizeItem::SvxSizeItem | ( | const sal_uInt16 | nId, |
| const Size & | rSize | ||
| ) |
Definition at line 141 of file frmitems.cxx.
|
overridevirtual |
|
static |
Definition at line 90 of file frmitems.cxx.
References SvxSizeItem().
|
inline |
Definition at line 62 of file sizeitem.hxx.
References m_aSize.
|
overridevirtual |
Reimplemented from SfxPoolItem.
Definition at line 243 of file frmitems.cxx.
References cpDelim, EditResId(), GetMetricId(), GetMetricText(), Size::Height(), m_aSize, and Size::Width().
|
inline |
|
inline |
Definition at line 61 of file sizeitem.hxx.
References m_aSize.
|
overridevirtual |
Reimplemented from SfxPoolItem.
Definition at line 284 of file frmitems.cxx.
|
overridevirtual |
Implements SfxPoolItem.
Definition at line 231 of file frmitems.cxx.
|
overridevirtual |
Reimplemented from SfxPoolItem.
Definition at line 174 of file frmitems.cxx.
References CONVERT_TWIPS, m_aSize, MID_SIZE_HEIGHT, MID_SIZE_SIZE, MID_SIZE_WIDTH, o3tl::mm100, Size::setHeight(), Size::setWidth(), and o3tl::toTwips().
|
overridevirtual |
Reimplemented from SfxPoolItem.
Definition at line 150 of file frmitems.cxx.
References CONVERT_TWIPS, convertTwipToMm100(), Size::Height(), m_aSize, MID_SIZE_HEIGHT, MID_SIZE_SIZE, MID_SIZE_WIDTH, and Size::Width().
|
overridevirtual |
Reimplemented from SfxPoolItem.
Definition at line 277 of file frmitems.cxx.
References Size::Height(), m_aSize, BigInt::Scale(), Size::setHeight(), Size::setWidth(), and Size::Width().
|
inline |
Definition at line 64 of file sizeitem.hxx.
|
inline |
Definition at line 59 of file sizeitem.hxx.
References m_aSize.
|
inline |
Definition at line 63 of file sizeitem.hxx.
|
private |
Definition at line 36 of file sizeitem.hxx.
Referenced by GetPresentation(), operator==(), PutValue(), QueryValue(), and ScaleMetrics().