LibreOffice Module editeng (master) 1
|
#include <adjustitem.hxx>
Public Member Functions | |
SvxAdjustItem (const SvxAdjust eAdjst, 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 sal_uInt16 | GetValueCount () const override |
virtual sal_uInt16 | GetEnumValue () const override |
virtual void | SetEnumValue (sal_uInt16 nNewVal) override |
virtual SvxAdjustItem * | Clone (SfxItemPool *pPool=nullptr) const override |
void | SetOneWord (const SvxAdjust eType) |
void | SetLastBlock (const SvxAdjust eType) |
void | SetAdjust (const SvxAdjust eType) |
SvxAdjust | GetLastBlock () const |
SvxAdjust | GetOneWord () const |
SvxAdjust | GetAdjust () const |
sal_Int8 | GetAsFlags () const |
void | SetAsFlags (sal_Int8 nFlags) |
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 | |
bool | bLeft: 1 |
bool | bRight: 1 |
bool | bCenter: 1 |
bool | bBlock: 1 |
bool | bOneBlock: 1 |
bool | bLastCenter: 1 |
bool | bLastBlock: 1 |
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 35 of file adjustitem.hxx.
SvxAdjustItem::SvxAdjustItem | ( | const SvxAdjust | eAdjst, |
const sal_uInt16 | nId | ||
) |
Definition at line 341 of file paraitem.cxx.
References nId, and SetAdjust().
Referenced by Clone(), and CreateDefault().
|
overridevirtual |
|
static |
Definition at line 57 of file paraitem.cxx.
References Left, and SvxAdjustItem().
|
inline |
Definition at line 108 of file adjustitem.hxx.
References Block, Center, Left, and Right.
Referenced by GetEnumValue(), GetPresentation(), Outliner::ImpCalcBulletArea(), operator==(), QueryValue(), and legacy::SvxAdjust::Store().
|
inline |
Definition at line 121 of file adjustitem.hxx.
Referenced by legacy::SvxAdjust::Store().
|
overridevirtual |
Implements SfxEnumItemInterface.
Definition at line 451 of file paraitem.cxx.
References GetAdjust().
|
inline |
Definition at line 88 of file adjustitem.hxx.
References Block, Center, and Left.
Referenced by QueryValue().
|
inline |
Definition at line 99 of file adjustitem.hxx.
|
overridevirtual |
Reimplemented from SfxEnumItemInterface.
Definition at line 411 of file paraitem.cxx.
References GetAdjust(), and GetValueTextByPos().
|
overridevirtual |
|
static |
Definition at line 436 of file paraitem.cxx.
References BlockLine, EditResId(), nPos, and SAL_N_ELEMENTS.
Referenced by GetPresentation().
|
overridevirtual |
Reimplemented from SfxEnumItemInterface.
Definition at line 349 of file paraitem.cxx.
References bLastBlock, bLastCenter, bOneBlock, and GetAdjust().
|
overridevirtual |
Reimplemented from SfxEnumItemInterface.
Definition at line 377 of file paraitem.cxx.
References Any2Bool(), Block, bOneBlock, Center, Left, MID_EXPAND_SINGLE, MID_LAST_LINE_ADJUST, MID_PARA_ADJUST, SetAdjust(), and SetLastBlock().
|
overridevirtual |
Reimplemented from SfxEnumItemInterface.
Definition at line 360 of file paraitem.cxx.
References bOneBlock, GetAdjust(), GetLastBlock(), MID_EXPAND_SINGLE, MID_LAST_LINE_ADJUST, and MID_PARA_ADJUST.
|
inline |
Definition at line 80 of file adjustitem.hxx.
References Block, Center, eType, Left, and Right.
Referenced by legacy::SvxAdjust::Create(), PutValue(), SetEnumValue(), and SvxAdjustItem().
|
inline |
Definition at line 133 of file adjustitem.hxx.
Referenced by legacy::SvxAdjust::Create().
|
overridevirtual |
Implements SfxEnumItemInterface.
Definition at line 457 of file paraitem.cxx.
References SetAdjust().
|
inline |
Definition at line 74 of file adjustitem.hxx.
References Block, Center, and eType.
Referenced by PutValue().
|
inline |
Definition at line 69 of file adjustitem.hxx.
|
private |
Definition at line 40 of file adjustitem.hxx.
|
private |
Definition at line 39 of file adjustitem.hxx.
|
private |
Definition at line 45 of file adjustitem.hxx.
Referenced by operator==().
|
private |
Definition at line 44 of file adjustitem.hxx.
Referenced by operator==().
|
private |
Definition at line 37 of file adjustitem.hxx.
|
private |
Definition at line 43 of file adjustitem.hxx.
Referenced by operator==(), PutValue(), and QueryValue().
|
private |
Definition at line 38 of file adjustitem.hxx.