LibreOffice Module editeng (master) 1
Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
SvxAdjustItem Class Referencefinal

#include <adjustitem.hxx>

Inheritance diagram for SvxAdjustItem:
[legend]
Collaboration diagram for SvxAdjustItem:
[legend]

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 SvxAdjustItemClone (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 SfxPoolItemClone (SfxItemPool *pPool=nullptr) const=0
 
std::unique_ptr< SfxPoolItemCloneSetWhich (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 SfxPoolItemCreateDefault ()
 
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)
 

Detailed Description

Definition at line 35 of file adjustitem.hxx.

Constructor & Destructor Documentation

◆ SvxAdjustItem()

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().

Member Function Documentation

◆ Clone()

SvxAdjustItem * SvxAdjustItem::Clone ( SfxItemPool pPool = nullptr) const
overridevirtual

Implements SfxPoolItem.

Definition at line 406 of file paraitem.cxx.

References SvxAdjustItem().

◆ CreateDefault()

SfxPoolItem * SvxAdjustItem::CreateDefault ( )
static

Definition at line 57 of file paraitem.cxx.

References Left, and SvxAdjustItem().

◆ GetAdjust()

SvxAdjust SvxAdjustItem::GetAdjust ( ) const
inline

◆ GetAsFlags()

sal_Int8 SvxAdjustItem::GetAsFlags ( ) const
inline

Definition at line 121 of file adjustitem.hxx.

Referenced by legacy::SvxAdjust::Store().

◆ GetEnumValue()

sal_uInt16 SvxAdjustItem::GetEnumValue ( ) const
overridevirtual

Implements SfxEnumItemInterface.

Definition at line 451 of file paraitem.cxx.

References GetAdjust().

◆ GetLastBlock()

SvxAdjust SvxAdjustItem::GetLastBlock ( ) const
inline

Definition at line 88 of file adjustitem.hxx.

References Block, Center, and Left.

Referenced by QueryValue().

◆ GetOneWord()

SvxAdjust SvxAdjustItem::GetOneWord ( ) const
inline

Definition at line 99 of file adjustitem.hxx.

References Block, and Left.

◆ GetPresentation()

bool SvxAdjustItem::GetPresentation ( SfxItemPresentation  ePres,
MapUnit  eCoreMetric,
MapUnit  ePresMetric,
OUString &  rText,
const IntlWrapper  
) const
overridevirtual

Reimplemented from SfxEnumItemInterface.

Definition at line 411 of file paraitem.cxx.

References GetAdjust(), and GetValueTextByPos().

◆ GetValueCount()

sal_uInt16 SvxAdjustItem::GetValueCount ( ) const
overridevirtual

Implements SfxEnumItemInterface.

Definition at line 431 of file paraitem.cxx.

References End.

◆ GetValueTextByPos()

OUString SvxAdjustItem::GetValueTextByPos ( sal_uInt16  nPos)
static

Definition at line 436 of file paraitem.cxx.

References BlockLine, EditResId(), nPos, and SAL_N_ELEMENTS.

Referenced by GetPresentation().

◆ operator==()

bool SvxAdjustItem::operator== ( const SfxPoolItem rAttr) const
overridevirtual

Reimplemented from SfxEnumItemInterface.

Definition at line 349 of file paraitem.cxx.

References bLastBlock, bLastCenter, bOneBlock, and GetAdjust().

◆ PutValue()

bool SvxAdjustItem::PutValue ( const css::uno::Any &  rVal,
sal_uInt8  nMemberId 
)
overridevirtual

◆ QueryValue()

bool SvxAdjustItem::QueryValue ( css::uno::Any &  rVal,
sal_uInt8  nMemberId = 0 
) const
overridevirtual

◆ SetAdjust()

void SvxAdjustItem::SetAdjust ( const SvxAdjust  eType)
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().

◆ SetAsFlags()

void SvxAdjustItem::SetAsFlags ( sal_Int8  nFlags)
inline

Definition at line 133 of file adjustitem.hxx.

Referenced by legacy::SvxAdjust::Create().

◆ SetEnumValue()

void SvxAdjustItem::SetEnumValue ( sal_uInt16  nNewVal)
overridevirtual

Implements SfxEnumItemInterface.

Definition at line 457 of file paraitem.cxx.

References SetAdjust().

◆ SetLastBlock()

void SvxAdjustItem::SetLastBlock ( const SvxAdjust  eType)
inline

Definition at line 74 of file adjustitem.hxx.

References Block, Center, and eType.

Referenced by PutValue().

◆ SetOneWord()

void SvxAdjustItem::SetOneWord ( const SvxAdjust  eType)
inline

Definition at line 69 of file adjustitem.hxx.

References Block, and eType.

Member Data Documentation

◆ bBlock

bool SvxAdjustItem::bBlock
private

Definition at line 40 of file adjustitem.hxx.

◆ bCenter

bool SvxAdjustItem::bCenter
private

Definition at line 39 of file adjustitem.hxx.

◆ bLastBlock

bool SvxAdjustItem::bLastBlock
private

Definition at line 45 of file adjustitem.hxx.

Referenced by operator==().

◆ bLastCenter

bool SvxAdjustItem::bLastCenter
private

Definition at line 44 of file adjustitem.hxx.

Referenced by operator==().

◆ bLeft

bool SvxAdjustItem::bLeft
private

Definition at line 37 of file adjustitem.hxx.

◆ bOneBlock

bool SvxAdjustItem::bOneBlock
private

Definition at line 43 of file adjustitem.hxx.

Referenced by operator==(), PutValue(), and QueryValue().

◆ bRight

bool SvxAdjustItem::bRight
private

Definition at line 38 of file adjustitem.hxx.


The documentation for this class was generated from the following files: