|
LibreOffice Module svx (master) 1
|
#include <algitem.hxx>
Public Member Functions | |
| SvxMarginItem (const TypedWhichId< SvxMarginItem > nId) | |
| SvxMarginItem (sal_Int16 nLeft, sal_Int16 nTop, sal_Int16 nRight, sal_Int16 nBottom, const TypedWhichId< SvxMarginItem > nId) | |
| virtual bool | GetPresentation (SfxItemPresentation ePres, MapUnit eCoreMetric, MapUnit ePresMetric, OUString &rText, const IntlWrapper &) const override |
| virtual bool | operator== (const SfxPoolItem &) const override |
| virtual SvxMarginItem * | 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 |
| sal_Int16 | GetLeftMargin () const |
| void | SetLeftMargin (sal_Int16 nLeft) |
| sal_Int16 | GetTopMargin () const |
| void | SetTopMargin (sal_Int16 nTop) |
| sal_Int16 | GetRightMargin () const |
| void | SetRightMargin (sal_Int16 nRight) |
| sal_Int16 | GetBottomMargin () const |
| void | SetBottomMargin (sal_Int16 nBottom) |
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 | |
| sal_Int16 | nLeftMargin |
| sal_Int16 | nTopMargin |
| sal_Int16 | nRightMargin |
| sal_Int16 | nBottomMargin |
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 62 of file algitem.hxx.
| SvxMarginItem::SvxMarginItem | ( | const TypedWhichId< SvxMarginItem > | nId | ) |
Definition at line 144 of file algitem.cxx.
References nBottomMargin, nId, nLeftMargin, nRightMargin, and nTopMargin.
Referenced by Clone(), and CreateDefault().
| SvxMarginItem::SvxMarginItem | ( | sal_Int16 | nLeft, |
| sal_Int16 | nTop, | ||
| sal_Int16 | nRight, | ||
| sal_Int16 | nBottom, | ||
| const TypedWhichId< SvxMarginItem > | nId | ||
| ) |
Definition at line 156 of file algitem.cxx.
References nBottomMargin, nId, nLeftMargin, nRightMargin, and nTopMargin.
|
overridevirtual |
Implements SfxPoolItem.
Definition at line 229 of file algitem.cxx.
References SvxMarginItem().
Referenced by AutoFormatBase::SetMargin().
|
static |
Definition at line 37 of file algitem.cxx.
References SvxMarginItem().
|
inline |
Definition at line 92 of file algitem.hxx.
References nBottomMargin.
Referenced by legacy::SvxMargin::Store().
|
inline |
Definition at line 86 of file algitem.hxx.
References nLeftMargin.
Referenced by legacy::SvxMargin::Store().
|
overridevirtual |
Reimplemented from SfxPoolItem.
Definition at line 171 of file algitem.cxx.
References cpDelim, EditResId(), GetMetricId(), GetMetricText(), nBottomMargin, nLeftMargin, nRightMargin, nTopMargin, and SvxResId().
|
inline |
Definition at line 90 of file algitem.hxx.
References nRightMargin.
Referenced by legacy::SvxMargin::Store().
|
inline |
Definition at line 88 of file algitem.hxx.
References nTopMargin.
Referenced by legacy::SvxMargin::Store().
|
overridevirtual |
Implements SfxPoolItem.
Definition at line 219 of file algitem.cxx.
References nBottomMargin, nLeftMargin, nRightMargin, and nTopMargin.
|
overridevirtual |
Reimplemented from SfxPoolItem.
Definition at line 261 of file algitem.cxx.
References CONVERT_TWIPS, convertTwipToMm100(), MID_MARGIN_L_MARGIN, MID_MARGIN_LO_MARGIN, MID_MARGIN_R_MARGIN, MID_MARGIN_UP_MARGIN, o3tl::mm100, nBottomMargin, nLeftMargin, nRightMargin, nTopMargin, and o3tl::toTwips().
|
overridevirtual |
Reimplemented from SfxPoolItem.
Definition at line 234 of file algitem.cxx.
References CONVERT_TWIPS, convertTwipToMm100(), MID_MARGIN_L_MARGIN, MID_MARGIN_LO_MARGIN, MID_MARGIN_R_MARGIN, MID_MARGIN_UP_MARGIN, nBottomMargin, nLeftMargin, nRightMargin, and nTopMargin.
| void SvxMarginItem::SetBottomMargin | ( | sal_Int16 | nBottom | ) |
Definition at line 309 of file algitem.cxx.
References nBottomMargin.
Referenced by legacy::SvxMargin::Create().
| void SvxMarginItem::SetLeftMargin | ( | sal_Int16 | nLeft | ) |
Definition at line 291 of file algitem.cxx.
References nLeftMargin.
Referenced by legacy::SvxMargin::Create().
| void SvxMarginItem::SetRightMargin | ( | sal_Int16 | nRight | ) |
Definition at line 303 of file algitem.cxx.
References nRightMargin.
Referenced by legacy::SvxMargin::Create().
| void SvxMarginItem::SetTopMargin | ( | sal_Int16 | nTop | ) |
Definition at line 297 of file algitem.cxx.
References nTopMargin.
Referenced by legacy::SvxMargin::Create().
|
private |
Definition at line 67 of file algitem.hxx.
Referenced by GetPresentation(), operator==(), PutValue(), QueryValue(), and SetBottomMargin().
|
private |
Definition at line 64 of file algitem.hxx.
Referenced by GetPresentation(), operator==(), PutValue(), QueryValue(), and SetLeftMargin().
|
private |
Definition at line 66 of file algitem.hxx.
Referenced by GetPresentation(), operator==(), PutValue(), QueryValue(), and SetRightMargin().
|
private |
Definition at line 65 of file algitem.hxx.
Referenced by GetPresentation(), operator==(), PutValue(), QueryValue(), and SetTopMargin().