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

#include <kernitem.hxx>

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

Public Member Functions

 SvxKerningItem (const short nKern, const sal_uInt16 nId)
 
virtual SvxKerningItemClone (SfxItemPool *pPool=nullptr) const override
 
virtual void ScaleMetrics (tools::Long nMult, tools::Long nDiv) override
 
virtual bool HasMetrics () 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
 
- Public Member Functions inherited from SfxInt16Item
 SfxInt16Item (sal_uInt16 which=0, sal_Int16 nTheValue=0)
 
virtual bool operator== (const SfxPoolItem &rItem) const override
 
virtual bool GetPresentation (SfxItemPresentation, MapUnit, MapUnit, OUString &rText, const IntlWrapper &) const override
 
virtual boost::property_tree::ptree dumpAsJSON () 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 SfxInt16ItemClone (SfxItemPool *=nullptr) const override
 
sal_Int16 GetValue () const
 
void SetValue (sal_Int16 nTheValue)
 
- 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 Public Member Functions inherited from SfxInt16Item
static SfxPoolItemCreateDefault ()
 

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)
 

Detailed Description

Definition at line 35 of file kernitem.hxx.

Constructor & Destructor Documentation

◆ SvxKerningItem()

SvxKerningItem::SvxKerningItem ( const short  nKern,
const sal_uInt16  nId 
)

Definition at line 1639 of file textitem.cxx.

References nId.

Referenced by Clone(), and CreateDefault().

Member Function Documentation

◆ Clone()

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

Reimplemented from SfxInt16Item.

Definition at line 1644 of file textitem.cxx.

References SvxKerningItem().

◆ CreateDefault()

SfxPoolItem * SvxKerningItem::CreateDefault ( )
static

Definition at line 100 of file textitem.cxx.

References SvxKerningItem().

◆ GetPresentation()

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

Reimplemented from SfxInt16Item.

Definition at line 1661 of file textitem.cxx.

References EditResId(), GetMetricId(), GetMetricText(), and SfxInt16Item::GetValue().

◆ HasMetrics()

bool SvxKerningItem::HasMetrics ( ) const
overridevirtual

Reimplemented from SfxPoolItem.

Definition at line 1655 of file textitem.cxx.

◆ PutValue()

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

Reimplemented from SfxInt16Item.

Definition at line 1705 of file textitem.cxx.

References CONVERT_TWIPS, o3tl::mm100, SfxInt16Item::SetValue(), and o3tl::toTwips().

◆ QueryValue()

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

Reimplemented from SfxInt16Item.

Definition at line 1696 of file textitem.cxx.

References CONVERT_TWIPS, convertTwipToMm100(), and SfxInt16Item::GetValue().

◆ ScaleMetrics()

void SvxKerningItem::ScaleMetrics ( tools::Long  nMult,
tools::Long  nDiv 
)
overridevirtual

Reimplemented from SfxPoolItem.

Definition at line 1649 of file textitem.cxx.

References SfxInt16Item::GetValue(), BigInt::Scale(), and SfxInt16Item::SetValue().


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