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

#include <optitems.hxx>

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

Public Member Functions

 SfxHyphenRegionItem (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 SfxHyphenRegionItemClone (SfxItemPool *pPool=nullptr) const override
 
sal_uInt8GetMinLead ()
 
sal_uInt8 GetMinLead () const
 
sal_uInt8GetMinTrail ()
 
sal_uInt8 GetMinTrail () const
 
- 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
 

Private Attributes

sal_uInt8 nMinLead
 
sal_uInt8 nMinTrail
 

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 28 of file optitems.hxx.

Constructor & Destructor Documentation

◆ SfxHyphenRegionItem()

SfxHyphenRegionItem::SfxHyphenRegionItem ( const sal_uInt16  nId)

Definition at line 27 of file optitems.cxx.

References nId, nMinLead, and nMinTrail.

Referenced by Clone().

Member Function Documentation

◆ Clone()

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

Implements SfxPoolItem.

Definition at line 42 of file optitems.cxx.

References SfxHyphenRegionItem().

◆ GetMinLead() [1/2]

sal_uInt8 & SfxHyphenRegionItem::GetMinLead ( )
inline

Definition at line 45 of file optitems.hxx.

◆ GetMinLead() [2/2]

sal_uInt8 SfxHyphenRegionItem::GetMinLead ( ) const
inline

Definition at line 46 of file optitems.hxx.

◆ GetMinTrail() [1/2]

sal_uInt8 & SfxHyphenRegionItem::GetMinTrail ( )
inline

Definition at line 48 of file optitems.hxx.

◆ GetMinTrail() [2/2]

sal_uInt8 SfxHyphenRegionItem::GetMinTrail ( ) const
inline

Definition at line 49 of file optitems.hxx.

◆ GetPresentation()

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

Reimplemented from SfxPoolItem.

Definition at line 47 of file optitems.cxx.

References EditResId(), nMinLead, and nMinTrail.

◆ operator==()

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

Implements SfxPoolItem.

Definition at line 34 of file optitems.cxx.

References nMinLead, and nMinTrail.

Member Data Documentation

◆ nMinLead

sal_uInt8 SfxHyphenRegionItem::nMinLead
private

Definition at line 30 of file optitems.hxx.

Referenced by GetPresentation(), operator==(), and SfxHyphenRegionItem().

◆ nMinTrail

sal_uInt8 SfxHyphenRegionItem::nMinTrail
private

Definition at line 31 of file optitems.hxx.

Referenced by GetPresentation(), operator==(), and SfxHyphenRegionItem().


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