LibreOffice Module editeng (master) 1
|
#include <xmlcnitm.hxx>
Public Member Functions | |
SvXMLAttrContainerItem (sal_uInt16 nWhich=0) | |
SvXMLAttrContainerItem (const SvXMLAttrContainerItem &) | |
virtual | ~SvXMLAttrContainerItem () override |
virtual bool | operator== (const SfxPoolItem &) const override |
virtual bool | GetPresentation (SfxItemPresentation ePresentation, MapUnit eCoreMetric, MapUnit ePresentationMetric, OUString &rText, const IntlWrapper &rIntlWrapper) 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 SvXMLAttrContainerItem * | Clone (SfxItemPool *=nullptr) const override |
bool | AddAttr (const OUString &rLName, const OUString &rValue) |
bool | AddAttr (const OUString &rPrefix, const OUString &rNamespace, const OUString &rLName, const OUString &rValue) |
sal_uInt16 | GetAttrCount () const |
OUString | GetAttrNamespace (sal_uInt16 i) const |
OUString | GetAttrPrefix (sal_uInt16 i) const |
const OUString & | GetAttrLName (sal_uInt16 i) const |
const OUString & | GetAttrValue (sal_uInt16 i) const |
sal_uInt16 | GetFirstNamespaceIndex () const |
sal_uInt16 | GetNextNamespaceIndex (sal_uInt16 nIdx) const |
const OUString & | GetNamespace (sal_uInt16 i) const |
const OUString & | GetPrefix (sal_uInt16 i) 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 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 |
Private Attributes | |
SvXMLAttrContainerData | maContainerData |
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 28 of file xmlcnitm.hxx.
SvXMLAttrContainerItem::SvXMLAttrContainerItem | ( | sal_uInt16 | nWhich = 0 | ) |
Definition at line 36 of file xmlcnitm.cxx.
SvXMLAttrContainerItem::SvXMLAttrContainerItem | ( | const SvXMLAttrContainerItem & | rItem | ) |
Definition at line 41 of file xmlcnitm.cxx.
|
overridevirtual |
Definition at line 48 of file xmlcnitm.cxx.
bool SvXMLAttrContainerItem::AddAttr | ( | const OUString & | rLName, |
const OUString & | rValue | ||
) |
Definition at line 147 of file xmlcnitm.cxx.
References SvXMLAttrContainerData::AddAttr(), and maContainerData.
bool SvXMLAttrContainerItem::AddAttr | ( | const OUString & | rPrefix, |
const OUString & | rNamespace, | ||
const OUString & | rLName, | ||
const OUString & | rValue | ||
) |
Definition at line 153 of file xmlcnitm.cxx.
References SvXMLAttrContainerData::AddAttr(), and maContainerData.
|
inlineoverridevirtual |
Implements SfxPoolItem.
Definition at line 49 of file xmlcnitm.hxx.
sal_uInt16 SvXMLAttrContainerItem::GetAttrCount | ( | ) | const |
Definition at line 160 of file xmlcnitm.cxx.
References SvXMLAttrContainerData::GetAttrCount(), and maContainerData.
const OUString & SvXMLAttrContainerItem::GetAttrLName | ( | sal_uInt16 | i | ) | const |
Definition at line 175 of file xmlcnitm.cxx.
References SvXMLAttrContainerData::GetAttrLName(), i, and maContainerData.
OUString SvXMLAttrContainerItem::GetAttrNamespace | ( | sal_uInt16 | i | ) | const |
Definition at line 165 of file xmlcnitm.cxx.
References SvXMLAttrContainerData::GetAttrNamespace(), i, and maContainerData.
OUString SvXMLAttrContainerItem::GetAttrPrefix | ( | sal_uInt16 | i | ) | const |
Definition at line 170 of file xmlcnitm.cxx.
References SvXMLAttrContainerData::GetAttrPrefix(), i, and maContainerData.
const OUString & SvXMLAttrContainerItem::GetAttrValue | ( | sal_uInt16 | i | ) | const |
Definition at line 180 of file xmlcnitm.cxx.
References SvXMLAttrContainerData::GetAttrValue(), i, and maContainerData.
sal_uInt16 SvXMLAttrContainerItem::GetFirstNamespaceIndex | ( | ) | const |
Definition at line 186 of file xmlcnitm.cxx.
References SvXMLAttrContainerData::GetFirstNamespaceIndex(), and maContainerData.
const OUString & SvXMLAttrContainerItem::GetNamespace | ( | sal_uInt16 | i | ) | const |
Definition at line 196 of file xmlcnitm.cxx.
References SvXMLAttrContainerData::GetNamespace(), i, and maContainerData.
sal_uInt16 SvXMLAttrContainerItem::GetNextNamespaceIndex | ( | sal_uInt16 | nIdx | ) | const |
Definition at line 191 of file xmlcnitm.cxx.
References SvXMLAttrContainerData::GetNextNamespaceIndex(), and maContainerData.
const OUString & SvXMLAttrContainerItem::GetPrefix | ( | sal_uInt16 | i | ) | const |
Definition at line 201 of file xmlcnitm.cxx.
References SvXMLAttrContainerData::GetPrefix(), i, and maContainerData.
|
overridevirtual |
Reimplemented from SfxPoolItem.
Definition at line 58 of file xmlcnitm.cxx.
|
overridevirtual |
Implements SfxPoolItem.
Definition at line 52 of file xmlcnitm.cxx.
References maContainerData, and SfxPoolItem::operator==().
|
overridevirtual |
Reimplemented from SfxPoolItem.
Definition at line 77 of file xmlcnitm.cxx.
References SvXMLAttrContainerData::AddAttr(), aName, Any, maContainerData, nCount, pData, and pos.
|
overridevirtual |
Reimplemented from SfxPoolItem.
Definition at line 68 of file xmlcnitm.cxx.
References maContainerData.
|
private |
Definition at line 30 of file xmlcnitm.hxx.
Referenced by AddAttr(), GetAttrCount(), GetAttrLName(), GetAttrNamespace(), GetAttrPrefix(), GetAttrValue(), GetFirstNamespaceIndex(), GetNamespace(), GetNextNamespaceIndex(), GetPrefix(), operator==(), PutValue(), and QueryValue().