|
LibreOffice Module editeng (master) 1
|
GetLeft() - for everything that's not applied to a paragraph. More...
#include <lrspitem.hxx>
Public Member Functions | |
| void | SetLeft (const tools::Long nL, const sal_uInt16 nProp=100) |
| tools::Long | GetLeft () const |
| sal_uInt16 | GetPropLeft () const |
| SvxLeftMarginItem (const sal_uInt16 nId) | |
| SvxLeftMarginItem (const tools::Long nLeft, const sal_uInt16 nId) | |
| SvxLeftMarginItem (SvxLeftMarginItem const &)=default | |
| 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 SvxLeftMarginItem * | Clone (SfxItemPool *pPool=nullptr) const override |
| virtual void | ScaleMetrics (tools::Long nMult, tools::Long nDiv) override |
| virtual bool | HasMetrics () const override |
| void | dumpAsXml (xmlTextWriterPtr pWriter) const override |
| virtual boost::property_tree::ptree | dumpAsJSON () const override |
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 | |
| tools::Long | m_nLeftMargin = 0 |
| left margin: nothing special More... | |
| sal_uInt16 | m_nPropLeftMargin = 100 |
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) | |
GetLeft() - for everything that's not applied to a paragraph.
Definition at line 50 of file lrspitem.hxx.
|
explicit |
| SvxLeftMarginItem::SvxLeftMarginItem | ( | const tools::Long | nLeft, |
| const sal_uInt16 | nId | ||
| ) |
Definition at line 580 of file frmitems.cxx.
References nId.
|
default |
|
overridevirtual |
Implements SfxPoolItem.
Definition at line 656 of file frmitems.cxx.
References SvxLeftMarginItem().
|
overridevirtual |
Reimplemented from SfxPoolItem.
Definition at line 724 of file frmitems.cxx.
References SfxPoolItem::dumpAsJSON(), GetLeft(), and GetMetricText().
|
overridevirtual |
Reimplemented from SfxPoolItem.
Definition at line 715 of file frmitems.cxx.
References m_nLeftMargin, m_nPropLeftMargin, and SfxPoolItem::Which().
|
inline |
Definition at line 62 of file lrspitem.hxx.
Referenced by dumpAsJSON(), and operator==().
|
overridevirtual |
Reimplemented from SfxPoolItem.
Definition at line 661 of file frmitems.cxx.
References EditResId(), unicode::formatPercent(), GetMetricId(), GetMetricText(), Application::GetSettings(), m_nLeftMargin, and m_nPropLeftMargin.
|
inline |
Definition at line 64 of file lrspitem.hxx.
Referenced by operator==().
|
overridevirtual |
Reimplemented from SfxPoolItem.
Definition at line 710 of file frmitems.cxx.
|
overridevirtual |
Implements SfxPoolItem.
Definition at line 646 of file frmitems.cxx.
References GetLeft(), GetPropLeft(), m_nLeftMargin, and m_nPropLeftMargin.
|
overridevirtual |
Reimplemented from SfxPoolItem.
Definition at line 608 of file frmitems.cxx.
References CONVERT_TWIPS, m_nPropLeftMargin, MID_L_MARGIN, MID_L_REL_MARGIN, o3tl::mm100, SAL_MAX_UINT16, SetLeft(), and o3tl::toTwips().
|
overridevirtual |
Reimplemented from SfxPoolItem.
Definition at line 586 of file frmitems.cxx.
References CONVERT_TWIPS, convertTwipToMm100(), m_nLeftMargin, m_nPropLeftMargin, MID_L_MARGIN, and MID_L_REL_MARGIN.
|
overridevirtual |
Reimplemented from SfxPoolItem.
Definition at line 705 of file frmitems.cxx.
References m_nLeftMargin, and BigInt::Scale().
| void SvxLeftMarginItem::SetLeft | ( | const tools::Long | nL, |
| const sal_uInt16 | nProp = 100 |
||
| ) |
Definition at line 468 of file frmitems.cxx.
References m_nLeftMargin, and m_nPropLeftMargin.
Referenced by PutValue().
|
private |
left margin: nothing special
Definition at line 54 of file lrspitem.hxx.
Referenced by dumpAsXml(), GetPresentation(), operator==(), QueryValue(), ScaleMetrics(), and SetLeft().
|
private |
Definition at line 55 of file lrspitem.hxx.
Referenced by dumpAsXml(), GetPresentation(), operator==(), PutValue(), QueryValue(), and SetLeft().