LibreOffice Module basctl (master) 1
Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
basctl::SbxItem Class Reference

#include <sbxitem.hxx>

Inheritance diagram for basctl::SbxItem:
[legend]
Collaboration diagram for basctl::SbxItem:
[legend]

Public Member Functions

 SbxItem (sal_uInt16 nWhich, ScriptDocument aDocument, OUString aLibName, OUString aName, ItemType)
 
 SbxItem (sal_uInt16 nWhich, ScriptDocument aDocument, OUString aLibName, OUString aName, OUString aMethodName, ItemType eType)
 
virtual SbxItemClone (SfxItemPool *pPool=nullptr) const override
 
virtual bool operator== (const SfxPoolItem &) const override
 
ScriptDocument const & GetDocument () const
 
OUString const & GetLibName () const
 
OUString const & GetName () const
 
OUString const & GetMethodName () const
 
ItemType GetType () 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
 

Static Public Member Functions

static SfxPoolItemCreateDefault ()
 

Private Attributes

const ScriptDocument m_aDocument
 
const OUString m_aLibName
 
const OUString m_aName
 
const OUString m_aMethodName
 
ItemType m_eType
 

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 37 of file sbxitem.hxx.

Constructor & Destructor Documentation

◆ SbxItem() [1/2]

basctl::SbxItem::SbxItem ( sal_uInt16  nWhich,
ScriptDocument  aDocument,
OUString  aLibName,
OUString  aName,
ItemType  eType 
)

Definition at line 27 of file sbxitem.cxx.

References aName, eType, m_aName, and m_eType.

Referenced by Clone().

◆ SbxItem() [2/2]

basctl::SbxItem::SbxItem ( sal_uInt16  nWhich,
ScriptDocument  aDocument,
OUString  aLibName,
OUString  aName,
OUString  aMethodName,
ItemType  eType 
)

Definition at line 41 of file sbxitem.cxx.

References aName, eType, m_aName, and m_eType.

Member Function Documentation

◆ Clone()

SbxItem * basctl::SbxItem::Clone ( SfxItemPool pPool = nullptr) const
overridevirtual

Implements SfxPoolItem.

Definition at line 57 of file sbxitem.cxx.

References SbxItem().

◆ CreateDefault()

SfxPoolItem * basctl::SbxItem::CreateDefault ( )
static

Definition at line 26 of file sbxitem.cxx.

References SAL_WARN.

◆ GetDocument()

ScriptDocument const & basctl::SbxItem::GetDocument ( ) const
inline

Definition at line 53 of file sbxitem.hxx.

References m_aDocument.

Referenced by basctl::Shell::ExecuteGlobal().

◆ GetLibName()

OUString const & basctl::SbxItem::GetLibName ( ) const
inline

Definition at line 54 of file sbxitem.hxx.

References m_aLibName.

Referenced by basctl::Shell::ExecuteGlobal().

◆ GetMethodName()

OUString const & basctl::SbxItem::GetMethodName ( ) const
inline

Definition at line 56 of file sbxitem.hxx.

References m_aMethodName.

Referenced by basctl::Shell::ExecuteGlobal().

◆ GetName()

OUString const & basctl::SbxItem::GetName ( ) const
inline

Definition at line 55 of file sbxitem.hxx.

References m_aName.

Referenced by basctl::Shell::ExecuteGlobal().

◆ GetType()

ItemType basctl::SbxItem::GetType ( ) const
inline

Definition at line 57 of file sbxitem.hxx.

References m_eType.

Referenced by basctl::Shell::ExecuteGlobal().

◆ operator==()

bool basctl::SbxItem::operator== ( const SfxPoolItem rCmp) const
overridevirtual

Implements SfxPoolItem.

Definition at line 62 of file sbxitem.cxx.

References m_aDocument, m_aLibName, m_aMethodName, m_aName, m_eType, and SfxPoolItem::operator==().

Member Data Documentation

◆ m_aDocument

const ScriptDocument basctl::SbxItem::m_aDocument
private

Definition at line 39 of file sbxitem.hxx.

Referenced by GetDocument(), and operator==().

◆ m_aLibName

const OUString basctl::SbxItem::m_aLibName
private

Definition at line 40 of file sbxitem.hxx.

Referenced by GetLibName(), and operator==().

◆ m_aMethodName

const OUString basctl::SbxItem::m_aMethodName
private

Definition at line 42 of file sbxitem.hxx.

Referenced by GetMethodName(), and operator==().

◆ m_aName

const OUString basctl::SbxItem::m_aName
private

Definition at line 41 of file sbxitem.hxx.

Referenced by GetName(), and operator==().

◆ m_eType

ItemType basctl::SbxItem::m_eType
private

Definition at line 43 of file sbxitem.hxx.

Referenced by GetType(), and operator==().


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