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

#include <xmlcnitm.hxx>

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

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 SvXMLAttrContainerItemClone (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 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

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)
 

Detailed Description

Definition at line 28 of file xmlcnitm.hxx.

Constructor & Destructor Documentation

◆ SvXMLAttrContainerItem() [1/2]

SvXMLAttrContainerItem::SvXMLAttrContainerItem ( sal_uInt16  nWhich = 0)

Definition at line 36 of file xmlcnitm.cxx.

◆ SvXMLAttrContainerItem() [2/2]

SvXMLAttrContainerItem::SvXMLAttrContainerItem ( const SvXMLAttrContainerItem rItem)

Definition at line 41 of file xmlcnitm.cxx.

◆ ~SvXMLAttrContainerItem()

SvXMLAttrContainerItem::~SvXMLAttrContainerItem ( )
overridevirtual

Definition at line 48 of file xmlcnitm.cxx.

Member Function Documentation

◆ AddAttr() [1/2]

bool SvXMLAttrContainerItem::AddAttr ( const OUString &  rLName,
const OUString &  rValue 
)

Definition at line 147 of file xmlcnitm.cxx.

References SvXMLAttrContainerData::AddAttr(), and maContainerData.

◆ AddAttr() [2/2]

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.

◆ Clone()

virtual SvXMLAttrContainerItem * SvXMLAttrContainerItem::Clone ( SfxItemPool = nullptr) const
inlineoverridevirtual

Implements SfxPoolItem.

Definition at line 49 of file xmlcnitm.hxx.

◆ GetAttrCount()

sal_uInt16 SvXMLAttrContainerItem::GetAttrCount ( ) const

Definition at line 160 of file xmlcnitm.cxx.

References SvXMLAttrContainerData::GetAttrCount(), and maContainerData.

◆ GetAttrLName()

const OUString & SvXMLAttrContainerItem::GetAttrLName ( sal_uInt16  i) const

Definition at line 175 of file xmlcnitm.cxx.

References SvXMLAttrContainerData::GetAttrLName(), i, and maContainerData.

◆ GetAttrNamespace()

OUString SvXMLAttrContainerItem::GetAttrNamespace ( sal_uInt16  i) const

Definition at line 165 of file xmlcnitm.cxx.

References SvXMLAttrContainerData::GetAttrNamespace(), i, and maContainerData.

◆ GetAttrPrefix()

OUString SvXMLAttrContainerItem::GetAttrPrefix ( sal_uInt16  i) const

Definition at line 170 of file xmlcnitm.cxx.

References SvXMLAttrContainerData::GetAttrPrefix(), i, and maContainerData.

◆ GetAttrValue()

const OUString & SvXMLAttrContainerItem::GetAttrValue ( sal_uInt16  i) const

Definition at line 180 of file xmlcnitm.cxx.

References SvXMLAttrContainerData::GetAttrValue(), i, and maContainerData.

◆ GetFirstNamespaceIndex()

sal_uInt16 SvXMLAttrContainerItem::GetFirstNamespaceIndex ( ) const

◆ GetNamespace()

const OUString & SvXMLAttrContainerItem::GetNamespace ( sal_uInt16  i) const

Definition at line 196 of file xmlcnitm.cxx.

References SvXMLAttrContainerData::GetNamespace(), i, and maContainerData.

◆ GetNextNamespaceIndex()

sal_uInt16 SvXMLAttrContainerItem::GetNextNamespaceIndex ( sal_uInt16  nIdx) const

◆ GetPrefix()

const OUString & SvXMLAttrContainerItem::GetPrefix ( sal_uInt16  i) const

Definition at line 201 of file xmlcnitm.cxx.

References SvXMLAttrContainerData::GetPrefix(), i, and maContainerData.

◆ GetPresentation()

bool SvXMLAttrContainerItem::GetPresentation ( SfxItemPresentation  ePresentation,
MapUnit  eCoreMetric,
MapUnit  ePresentationMetric,
OUString &  rText,
const IntlWrapper rIntlWrapper 
) const
overridevirtual

Reimplemented from SfxPoolItem.

Definition at line 58 of file xmlcnitm.cxx.

◆ operator==()

bool SvXMLAttrContainerItem::operator== ( const SfxPoolItem rItem) const
overridevirtual

Implements SfxPoolItem.

Definition at line 52 of file xmlcnitm.cxx.

References maContainerData, and SfxPoolItem::operator==().

◆ PutValue()

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

Reimplemented from SfxPoolItem.

Definition at line 77 of file xmlcnitm.cxx.

References SvXMLAttrContainerData::AddAttr(), aName, Any, maContainerData, nCount, pData, and pos.

◆ QueryValue()

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

Reimplemented from SfxPoolItem.

Definition at line 68 of file xmlcnitm.cxx.

References maContainerData.

Member Data Documentation

◆ maContainerData

SvXMLAttrContainerData SvXMLAttrContainerItem::maContainerData
private

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