LibreOffice Module editeng (master) 1
|
#include <ulspitem.hxx>
Public Member Functions | |
SvxULSpaceItem (const sal_uInt16 nId) | |
SvxULSpaceItem (const sal_uInt16 nUp, const sal_uInt16 nLow, const sal_uInt16 nId) | |
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 SvxULSpaceItem * | Clone (SfxItemPool *pPool=nullptr) const override |
virtual void | ScaleMetrics (tools::Long nMult, tools::Long nDiv) override |
virtual bool | HasMetrics () const override |
void | SetUpper (const sal_uInt16 nU, const sal_uInt16 nProp=100) |
void | SetLower (const sal_uInt16 nL, const sal_uInt16 nProp=100) |
void | SetUpperValue (const sal_uInt16 nU) |
void | SetLowerValue (const sal_uInt16 nL) |
void | SetContextValue (const bool bC) |
void | SetPropUpper (const sal_uInt16 nU) |
void | SetPropLower (const sal_uInt16 nL) |
sal_uInt16 | GetUpper () const |
sal_uInt16 | GetLower () const |
bool | GetContext () const |
sal_uInt16 | GetPropUpper () const |
sal_uInt16 | GetPropLower () const |
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 |
Static Public Member Functions | |
static SfxPoolItem * | CreateDefault () |
Private Attributes | |
sal_uInt16 | nUpper |
sal_uInt16 | nLower |
bool | bContext |
sal_uInt16 | nPropUpper |
sal_uInt16 | nPropLower |
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 35 of file ulspitem.hxx.
|
explicit |
Definition at line 1664 of file frmitems.cxx.
References nId.
Referenced by Clone(), and CreateDefault().
SvxULSpaceItem::SvxULSpaceItem | ( | const sal_uInt16 | nUp, |
const sal_uInt16 | nLow, | ||
const sal_uInt16 | nId | ||
) |
Definition at line 1675 of file frmitems.cxx.
References nId.
|
overridevirtual |
|
static |
Definition at line 92 of file frmitems.cxx.
References SvxULSpaceItem().
|
overridevirtual |
Reimplemented from SfxPoolItem.
Definition at line 1880 of file frmitems.cxx.
References SfxPoolItem::dumpAsJSON(), GetLower(), GetMetricText(), and GetUpper().
|
overridevirtual |
Reimplemented from SfxPoolItem.
Definition at line 1868 of file frmitems.cxx.
References bContext, nLower, nPropLower, nPropUpper, nUpper, and SfxPoolItem::Which().
|
inline |
Definition at line 74 of file ulspitem.hxx.
|
inline |
Definition at line 73 of file ulspitem.hxx.
Referenced by ImpEditEngine::CalcVertLineSpacing(), ConvertItem(), dumpAsJSON(), and ImpEditEngine::Paint().
|
overridevirtual |
Reimplemented from SfxPoolItem.
Definition at line 1793 of file frmitems.cxx.
References cpDelim, EditResId(), unicode::formatPercent(), GetMetricId(), GetMetricText(), Application::GetSettings(), nLower, nPropLower, nPropUpper, and nUpper.
|
inline |
Definition at line 76 of file ulspitem.hxx.
|
inline |
Definition at line 75 of file ulspitem.hxx.
|
inline |
Definition at line 72 of file ulspitem.hxx.
Referenced by ConvertItem(), and dumpAsJSON().
|
overridevirtual |
Reimplemented from SfxPoolItem.
Definition at line 1862 of file frmitems.cxx.
|
overridevirtual |
Implements SfxPoolItem.
Definition at line 1776 of file frmitems.cxx.
References bContext, nLower, nPropLower, nPropUpper, and nUpper.
|
overridevirtual |
Reimplemented from SfxPoolItem.
Definition at line 1714 of file frmitems.cxx.
References CONVERT_TWIPS, MID_CTX_MARGIN, MID_LO_MARGIN, MID_LO_REL_MARGIN, MID_UP_MARGIN, MID_UP_REL_MARGIN, o3tl::mm100, nPropLower, nPropUpper, SetContextValue(), SetLower(), SetUpper(), and o3tl::toTwips().
|
overridevirtual |
Reimplemented from SfxPoolItem.
Definition at line 1687 of file frmitems.cxx.
References bContext, CONVERT_TWIPS, convertTwipToMm100(), MID_CTX_MARGIN, MID_LO_MARGIN, MID_LO_REL_MARGIN, MID_UP_MARGIN, MID_UP_REL_MARGIN, nLower, nPropLower, nPropUpper, and nUpper.
|
overridevirtual |
Reimplemented from SfxPoolItem.
Definition at line 1855 of file frmitems.cxx.
References nLower, nUpper, and BigInt::Scale().
|
inline |
Definition at line 68 of file ulspitem.hxx.
Referenced by PutValue().
|
inline |
Definition at line 86 of file ulspitem.hxx.
References nLower, and nPropLower.
Referenced by ConvertItem(), EditHTMLParser::ImpSetStyleSheet(), PutValue(), and SvxRTFParser::ReadAttr().
|
inline |
Definition at line 67 of file ulspitem.hxx.
|
inline |
Definition at line 70 of file ulspitem.hxx.
|
inline |
Definition at line 69 of file ulspitem.hxx.
|
inline |
Definition at line 82 of file ulspitem.hxx.
References nPropUpper, and nUpper.
Referenced by ConvertItem(), EditHTMLParser::ImpSetStyleSheet(), PutValue(), and SvxRTFParser::ReadAttr().
|
inline |
Definition at line 66 of file ulspitem.hxx.
|
private |
Definition at line 39 of file ulspitem.hxx.
Referenced by dumpAsXml(), operator==(), and QueryValue().
|
private |
Definition at line 38 of file ulspitem.hxx.
Referenced by dumpAsXml(), GetPresentation(), operator==(), QueryValue(), ScaleMetrics(), and SetLower().
|
private |
Definition at line 40 of file ulspitem.hxx.
Referenced by dumpAsXml(), GetPresentation(), operator==(), PutValue(), QueryValue(), and SetLower().
|
private |
Definition at line 40 of file ulspitem.hxx.
Referenced by dumpAsXml(), GetPresentation(), operator==(), PutValue(), QueryValue(), and SetUpper().
|
private |
Definition at line 37 of file ulspitem.hxx.
Referenced by dumpAsXml(), GetPresentation(), operator==(), QueryValue(), ScaleMetrics(), and SetUpper().