LibreOffice Module svx (master) 1
Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
SvxGalleryItem Class Referencefinal

#include <galleryitem.hxx>

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

Public Member Functions

 SvxGalleryItem ()
 
 SvxGalleryItem (const SvxGalleryItem &)
 
virtual ~SvxGalleryItem () override
 
sal_Int8 GetType () const
 
const OUString & GetURL () const
 
const css::uno::Reference< css::graphic::XGraphic > & GetGraphic () const
 
virtual bool operator== (const SfxPoolItem &) const override
 
virtual SvxGalleryItemClone (SfxItemPool *pPool=nullptr) 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
 
- 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

sal_Int8 m_nType
 
OUString m_aURL
 
css::uno::Reference< css::lang::XComponent > m_xDrawing
 
css::uno::Reference< css::graphic::XGraphic > m_xGraphic
 

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 40 of file galleryitem.hxx.

Constructor & Destructor Documentation

◆ SvxGalleryItem() [1/2]

SvxGalleryItem::SvxGalleryItem ( )

Definition at line 34 of file galleryitem.cxx.

Referenced by Clone(), and CreateDefault().

◆ SvxGalleryItem() [2/2]

SvxGalleryItem::SvxGalleryItem ( const SvxGalleryItem rItem)

Definition at line 39 of file galleryitem.cxx.

References m_aURL.

◆ ~SvxGalleryItem()

SvxGalleryItem::~SvxGalleryItem ( )
overridevirtual

Definition at line 48 of file galleryitem.cxx.

Member Function Documentation

◆ Clone()

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

Implements SfxPoolItem.

Definition at line 135 of file galleryitem.cxx.

References SvxGalleryItem().

◆ CreateDefault()

SfxPoolItem * SvxGalleryItem::CreateDefault ( )
static

Definition at line 32 of file galleryitem.cxx.

References SvxGalleryItem().

◆ GetGraphic()

const css::uno::Reference< css::graphic::XGraphic > & SvxGalleryItem::GetGraphic ( ) const
inline

Definition at line 56 of file galleryitem.hxx.

◆ GetType()

sal_Int8 SvxGalleryItem::GetType ( ) const
inline

Definition at line 54 of file galleryitem.hxx.

◆ GetURL()

const OUString & SvxGalleryItem::GetURL ( ) const
inline

Definition at line 55 of file galleryitem.hxx.

References m_aURL.

◆ operator==()

bool SvxGalleryItem::operator== ( const SfxPoolItem rAttr) const
overridevirtual

Implements SfxPoolItem.

Definition at line 123 of file galleryitem.cxx.

References m_aURL, m_nType, m_xDrawing, and m_xGraphic.

◆ PutValue()

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

◆ QueryValue()

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

Member Data Documentation

◆ m_aURL

OUString SvxGalleryItem::m_aURL
private

Definition at line 43 of file galleryitem.hxx.

Referenced by operator==(), PutValue(), and QueryValue().

◆ m_nType

sal_Int8 SvxGalleryItem::m_nType
private

Definition at line 42 of file galleryitem.hxx.

Referenced by operator==(), PutValue(), and QueryValue().

◆ m_xDrawing

css::uno::Reference< css::lang::XComponent > SvxGalleryItem::m_xDrawing
private

Definition at line 44 of file galleryitem.hxx.

Referenced by operator==(), PutValue(), and QueryValue().

◆ m_xGraphic

css::uno::Reference< css::graphic::XGraphic > SvxGalleryItem::m_xGraphic
private

Definition at line 45 of file galleryitem.hxx.

Referenced by operator==(), PutValue(), and QueryValue().


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