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

#include <scripttypeitem.hxx>

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

Public Member Functions

 SvxScriptSetItem (sal_uInt16 nSlotId, SfxItemPool &rPool)
 
virtual SvxScriptSetItemClone (SfxItemPool *pPool=nullptr) const override
 
const SfxPoolItemGetItemOfScript (SvtScriptType nScript) const
 
void PutItemForScriptType (SvtScriptType nScriptType, const SfxPoolItem &rItem)
 
void GetWhichIds (sal_uInt16 &rLatin, sal_uInt16 &rAsian, sal_uInt16 &rComplex) const
 
- Public Member Functions inherited from SfxSetItem
 SfxSetItem (sal_uInt16 nWhich, SfxItemSet &&pSet)
 
 SfxSetItem (sal_uInt16 nWhich, const SfxItemSet &rSet)
 
 SfxSetItem (const SfxSetItem &, SfxItemPool *pPool=nullptr)
 
virtual bool operator== (const SfxPoolItem &) const override
 
virtual bool GetPresentation (SfxItemPresentation ePres, MapUnit eCoreMetric, MapUnit ePresMetric, OUString &rText, const IntlWrapper &) const override
 
virtual SfxSetItemClone (SfxItemPool *pPool=nullptr) const override=0
 
const SfxItemSetGetItemSet () const
 
SfxItemSetGetItemSet ()
 
- 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 const SfxPoolItemGetItemOfScriptSet (const SfxItemSet &rSet, sal_uInt16 nWhich)
 
static const SfxPoolItemGetItemOfScript (sal_uInt16 nSlotId, const SfxItemSet &rSet, SvtScriptType nScript)
 
static void GetWhichIds (sal_uInt16 nSlotId, const SfxItemSet &rSet, sal_uInt16 &rLatin, sal_uInt16 &rAsian, sal_uInt16 &rComplex)
 
static void GetSlotIds (sal_uInt16 nSlotId, sal_uInt16 &rLatin, sal_uInt16 &rAsian, sal_uInt16 &rComplex)
 

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 26 of file scripttypeitem.hxx.

Constructor & Destructor Documentation

◆ SvxScriptSetItem()

SvxScriptSetItem::SvxScriptSetItem ( sal_uInt16  nSlotId,
SfxItemPool rPool 
)

Definition at line 2615 of file textitem.cxx.

References SfxSetItem::GetItemSet(), GetWhichIds(), and SfxItemSet::MergeRange().

Referenced by Clone().

Member Function Documentation

◆ Clone()

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

Implements SfxSetItem.

Definition at line 2626 of file textitem.cxx.

References SfxSetItem::GetItemSet(), p, SvxScriptSetItem(), and SfxPoolItem::Which().

◆ GetItemOfScript() [1/2]

const SfxPoolItem * SvxScriptSetItem::GetItemOfScript ( sal_uInt16  nSlotId,
const SfxItemSet rSet,
SvtScriptType  nScript 
)
static

Definition at line 2643 of file textitem.cxx.

References GetItemOfScriptSet(), GetWhichIds(), and rSet.

Referenced by GetItemOfScript().

◆ GetItemOfScript() [2/2]

const SfxPoolItem * SvxScriptSetItem::GetItemOfScript ( SvtScriptType  nScript) const

Definition at line 2687 of file textitem.cxx.

References GetItemOfScript(), SfxSetItem::GetItemSet(), and SfxPoolItem::Which().

◆ GetItemOfScriptSet()

const SfxPoolItem * SvxScriptSetItem::GetItemOfScriptSet ( const SfxItemSet rSet,
sal_uInt16  nWhich 
)
static

Definition at line 2633 of file textitem.cxx.

References SfxItemSet::Get(), SfxItemSet::GetItemState(), nId, and rSet.

Referenced by GetItemOfScript().

◆ GetSlotIds()

void SvxScriptSetItem::GetSlotIds ( sal_uInt16  nSlotId,
sal_uInt16 &  rLatin,
sal_uInt16 &  rAsian,
sal_uInt16 &  rComplex 
)
static

Definition at line 2727 of file textitem.cxx.

References SAL_WARN.

Referenced by GetWhichIds().

◆ GetWhichIds() [1/2]

void SvxScriptSetItem::GetWhichIds ( sal_uInt16 &  rLatin,
sal_uInt16 &  rAsian,
sal_uInt16 &  rComplex 
) const

Definition at line 2721 of file textitem.cxx.

References SfxSetItem::GetItemSet(), GetWhichIds(), and SfxPoolItem::Which().

◆ GetWhichIds() [2/2]

void SvxScriptSetItem::GetWhichIds ( sal_uInt16  nSlotId,
const SfxItemSet rSet,
sal_uInt16 &  rLatin,
sal_uInt16 &  rAsian,
sal_uInt16 &  rComplex 
)
static

◆ PutItemForScriptType()

void SvxScriptSetItem::PutItemForScriptType ( SvtScriptType  nScriptType,
const SfxPoolItem rItem 
)

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