LibreOffice Module editeng (master) 1
|
#include <scripttypeitem.hxx>
Public Member Functions | |
SvxScriptSetItem (sal_uInt16 nSlotId, SfxItemPool &rPool) | |
virtual SvxScriptSetItem * | Clone (SfxItemPool *pPool=nullptr) const override |
const SfxPoolItem * | GetItemOfScript (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 SfxSetItem * | Clone (SfxItemPool *pPool=nullptr) const override=0 |
const SfxItemSet & | GetItemSet () const |
SfxItemSet & | GetItemSet () |
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 const SfxPoolItem * | GetItemOfScriptSet (const SfxItemSet &rSet, sal_uInt16 nWhich) |
static const SfxPoolItem * | GetItemOfScript (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) | |
Definition at line 26 of file scripttypeitem.hxx.
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().
|
overridevirtual |
Implements SfxSetItem.
Definition at line 2626 of file textitem.cxx.
References SfxSetItem::GetItemSet(), p, SvxScriptSetItem(), and SfxPoolItem::Which().
|
static |
Definition at line 2643 of file textitem.cxx.
References GetItemOfScriptSet(), GetWhichIds(), and rSet.
Referenced by GetItemOfScript().
const SfxPoolItem * SvxScriptSetItem::GetItemOfScript | ( | SvtScriptType | nScript | ) | const |
Definition at line 2687 of file textitem.cxx.
References GetItemOfScript(), SfxSetItem::GetItemSet(), and SfxPoolItem::Which().
|
static |
Definition at line 2633 of file textitem.cxx.
References SfxItemSet::Get(), SfxItemSet::GetItemState(), nId, and rSet.
Referenced by GetItemOfScript().
|
static |
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().
|
static |
Definition at line 2712 of file textitem.cxx.
References SfxItemSet::GetPool(), GetSlotIds(), SfxItemPool::GetWhich(), and rSet.
Referenced by GetItemOfScript(), GetWhichIds(), PutItemForScriptType(), and SvxScriptSetItem().
void SvxScriptSetItem::PutItemForScriptType | ( | SvtScriptType | nScriptType, |
const SfxPoolItem & | rItem | ||
) |
Definition at line 2692 of file textitem.cxx.
References SfxPoolItem::CloneSetWhich(), SfxSetItem::GetItemSet(), GetWhichIds(), and SfxItemSet::Put().