|
LibreOffice Module editeng (master) 1
|
GetTextLeft() - for everything that's applied to a paragraph. More...
#include <lrspitem.hxx>
Public Member Functions | |
| tools::Long | GetLeft (SvxFirstLineIndentItem const &rFirstLine) const |
| get left margin without negative first-line indent More... | |
| sal_uInt16 | GetPropLeft () const |
| void | SetTextLeft (const tools::Long nL, const sal_uInt16 nProp=100) |
| tools::Long | GetTextLeft () const |
| SvxTextLeftMarginItem (const sal_uInt16 nId) | |
| SvxTextLeftMarginItem (const tools::Long nLeft, const sal_uInt16 nId) | |
| SvxTextLeftMarginItem (SvxTextLeftMarginItem 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 SvxTextLeftMarginItem * | 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_nTextLeftMargin = 0 |
| left margin including negative first-line indent More... | |
| sal_uInt16 | m_nPropLeftMargin = 100 |
Friends | |
| class | SvxFirstLineIndentItem |
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) | |
GetTextLeft() - for everything that's applied to a paragraph.
Definition at line 90 of file lrspitem.hxx.
|
explicit |
| SvxTextLeftMarginItem::SvxTextLeftMarginItem | ( | const tools::Long | nLeft, |
| const sal_uInt16 | nId | ||
| ) |
Definition at line 748 of file frmitems.cxx.
References nId.
|
default |
|
overridevirtual |
Implements SfxPoolItem.
Definition at line 833 of file frmitems.cxx.
References SvxTextLeftMarginItem().
|
overridevirtual |
Reimplemented from SfxPoolItem.
Definition at line 901 of file frmitems.cxx.
References SfxPoolItem::dumpAsJSON(), GetMetricText(), and GetTextLeft().
|
overridevirtual |
Reimplemented from SfxPoolItem.
Definition at line 892 of file frmitems.cxx.
References m_nPropLeftMargin, m_nTextLeftMargin, and SfxPoolItem::Which().
| tools::Long SvxTextLeftMarginItem::GetLeft | ( | SvxFirstLineIndentItem const & | rFirstLine | ) | const |
get left margin without negative first-line indent
Definition at line 559 of file frmitems.cxx.
References SvxFirstLineIndentItem::GetTextFirstLineOffset(), and m_nTextLeftMargin.
|
overridevirtual |
Reimplemented from SfxPoolItem.
Definition at line 838 of file frmitems.cxx.
References EditResId(), unicode::formatPercent(), GetMetricId(), GetMetricText(), Application::GetSettings(), m_nPropLeftMargin, and m_nTextLeftMargin.
|
inline |
Definition at line 103 of file lrspitem.hxx.
Referenced by operator==().
| tools::Long SvxTextLeftMarginItem::GetTextLeft | ( | ) | const |
Definition at line 554 of file frmitems.cxx.
References m_nTextLeftMargin.
Referenced by dumpAsJSON(), operator==(), and QueryValue().
|
overridevirtual |
Reimplemented from SfxPoolItem.
Definition at line 887 of file frmitems.cxx.
|
overridevirtual |
Implements SfxPoolItem.
Definition at line 823 of file frmitems.cxx.
References GetPropLeft(), GetTextLeft(), m_nPropLeftMargin, and m_nTextLeftMargin.
|
overridevirtual |
Reimplemented from SfxPoolItem.
Definition at line 785 of file frmitems.cxx.
References CONVERT_TWIPS, m_nPropLeftMargin, MID_L_REL_MARGIN, MID_TXT_LMARGIN, o3tl::mm100, SAL_MAX_UINT16, SetTextLeft(), and o3tl::toTwips().
|
overridevirtual |
Reimplemented from SfxPoolItem.
Definition at line 754 of file frmitems.cxx.
References CONVERT_TWIPS, convertTwipToMm100(), GetTextLeft(), m_nPropLeftMargin, MID_L_REL_MARGIN, and MID_TXT_LMARGIN.
|
overridevirtual |
Reimplemented from SfxPoolItem.
Definition at line 882 of file frmitems.cxx.
References m_nTextLeftMargin, and BigInt::Scale().
| void SvxTextLeftMarginItem::SetTextLeft | ( | const tools::Long | nL, |
| const sal_uInt16 | nProp = 100 |
||
| ) |
Definition at line 533 of file frmitems.cxx.
References m_nPropLeftMargin, and m_nTextLeftMargin.
Referenced by PutValue().
|
friend |
Definition at line 93 of file lrspitem.hxx.
|
private |
Definition at line 96 of file lrspitem.hxx.
Referenced by dumpAsXml(), GetPresentation(), operator==(), PutValue(), QueryValue(), and SetTextLeft().
|
private |
left margin including negative first-line indent
Definition at line 95 of file lrspitem.hxx.
Referenced by dumpAsXml(), GetLeft(), GetPresentation(), GetTextLeft(), operator==(), ScaleMetrics(), and SetTextLeft().