LibreOffice Module editeng (master) 1
|
#include <escapementitem.hxx>
Public Member Functions | |
SvxEscapementItem (const sal_uInt16 nId) | |
SvxEscapementItem (const SvxEscapement eEscape, const sal_uInt16 nId) | |
SvxEscapementItem (const short nEsc, const sal_uInt8 nProp, const sal_uInt16 nId) | |
virtual bool | operator== (const SfxPoolItem &) const override |
virtual bool | GetPresentation (SfxItemPresentation ePres, MapUnit eCoreMetric, MapUnit ePresMetric, OUString &rText, const IntlWrapper &) 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 SvxEscapementItem * | Clone (SfxItemPool *pPool=nullptr) const override |
void | SetEscapement (const SvxEscapement eNew) |
SvxEscapement | GetEscapement () const |
short & | GetEsc () |
short | GetEsc () const |
sal_uInt8 & | GetProportionalHeight () |
sal_uInt8 | GetProportionalHeight () const |
virtual sal_uInt16 | GetValueCount () const override |
virtual sal_uInt16 | GetEnumValue () const override |
virtual void | SetEnumValue (sal_uInt16 nNewVal) override |
Public Member Functions inherited from SfxEnumItemInterface | |
virtual bool | operator== (const SfxPoolItem &rItem) const override |
virtual bool | GetPresentation (SfxItemPresentation, MapUnit, MapUnit, OUString &rText, const IntlWrapper &) const override |
virtual bool | QueryValue (css::uno::Any &rVal, sal_uInt8=0) const override |
virtual bool | PutValue (const css::uno::Any &rVal, sal_uInt8) override |
virtual sal_uInt16 | GetValueCount () const=0 |
virtual sal_uInt16 | GetEnumValue () const=0 |
virtual void | SetEnumValue (sal_uInt16 nValue)=0 |
virtual bool | HasBoolValue () const |
virtual bool | GetBoolValue () const |
virtual void | SetBoolValue (bool bValue) |
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 () |
static OUString | GetValueTextByPos (sal_uInt16 nPos) |
Private Attributes | |
short | nEsc |
sal_uInt8 | nProp |
Additional Inherited Members | |
Public Types inherited from SfxPoolItem | |
typedef std::vector< SfxPoolItem * >::const_iterator | lookup_iterator |
Protected Member Functions inherited from SfxEnumItemInterface | |
SfxEnumItemInterface (sal_uInt16 which) | |
SfxEnumItemInterface (const SfxEnumItemInterface &)=default | |
Protected Member Functions inherited from SfxPoolItem | |
SfxPoolItem (sal_uInt16 nWhich=0) | |
SfxPoolItem (const SfxPoolItem &rCopy) | |
Definition at line 40 of file escapementitem.hxx.
|
explicit |
Definition at line 1798 of file textitem.cxx.
References nId.
Referenced by Clone(), and CreateDefault().
SvxEscapementItem::SvxEscapementItem | ( | const SvxEscapement | eEscape, |
const sal_uInt16 | nId | ||
) |
Definition at line 1807 of file textitem.cxx.
References DFLT_ESC_PROP, nEsc, nId, nProp, and SetEscapement().
SvxEscapementItem::SvxEscapementItem | ( | const short | nEsc, |
const sal_uInt8 | nProp, | ||
const sal_uInt16 | nId | ||
) |
Definition at line 1818 of file textitem.cxx.
References nId.
|
overridevirtual |
Implements SfxPoolItem.
Definition at line 1836 of file textitem.cxx.
References SvxEscapementItem().
|
static |
Definition at line 102 of file textitem.cxx.
References SvxEscapementItem().
|
overridevirtual |
Implements SfxEnumItemInterface.
Definition at line 1881 of file textitem.cxx.
References nEsc, Off, Subscript, and Superscript.
Referenced by GetPresentation().
|
inline |
Definition at line 83 of file escapementitem.hxx.
Referenced by CreateFont(), and SvxRTFParser::ReadAttr().
|
inline |
Definition at line 84 of file escapementitem.hxx.
|
inline |
Definition at line 81 of file escapementitem.hxx.
References SfxEnumItemInterface::GetEnumValue().
|
overridevirtual |
Reimplemented from SfxEnumItemInterface.
Definition at line 1847 of file textitem.cxx.
References DFLT_ESC_AUTO_SUB, DFLT_ESC_AUTO_SUPER, EditResId(), GetEnumValue(), GetValueTextByPos(), and nEsc.
|
inline |
Definition at line 86 of file escapementitem.hxx.
Referenced by CreateFont(), and SvxRTFParser::ReadAttr().
|
inline |
Definition at line 87 of file escapementitem.hxx.
|
overridevirtual |
|
static |
Definition at line 1867 of file textitem.cxx.
References EditResId(), End, nPos, and SAL_N_ELEMENTS.
Referenced by GetPresentation().
|
overridevirtual |
Reimplemented from SfxEnumItemInterface.
Definition at line 1828 of file textitem.cxx.
|
overridevirtual |
Reimplemented from SfxEnumItemInterface.
Definition at line 1914 of file textitem.cxx.
References Any2Bool(), DFLT_ESC_AUTO_SUB, DFLT_ESC_AUTO_SUPER, MAX_ESC_POS, MID_AUTO_ESC, MID_ESC, MID_ESC_HEIGHT, nEsc, and nProp.
|
overridevirtual |
Reimplemented from SfxEnumItemInterface.
Definition at line 1896 of file textitem.cxx.
References DFLT_ESC_AUTO_SUB, DFLT_ESC_AUTO_SUPER, MID_AUTO_ESC, MID_ESC, MID_ESC_HEIGHT, nEsc, and nProp.
|
overridevirtual |
Implements SfxEnumItemInterface.
Definition at line 1891 of file textitem.cxx.
References SetEscapement().
|
inline |
Definition at line 65 of file escapementitem.hxx.
References DFLT_ESC_AUTO_SUB, DFLT_ESC_AUTO_SUPER, DFLT_ESC_PROP, Off, and Superscript.
Referenced by SetEnumValue(), and SvxEscapementItem().
|
private |
Definition at line 42 of file escapementitem.hxx.
Referenced by GetEnumValue(), GetPresentation(), operator==(), PutValue(), QueryValue(), and SvxEscapementItem().
|
private |
Definition at line 43 of file escapementitem.hxx.
Referenced by operator==(), PutValue(), QueryValue(), and SvxEscapementItem().