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 SfxPoolItemClone (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
 
bool operator!= (const SfxPoolItem &rItem) const
 
virtual bool operator< (const SfxPoolItem &) const
 
virtual bool IsSortable () const
 
virtual bool GetPresentation (SfxItemPresentation ePresentation, MapUnit eCoreMetric, MapUnit ePresentationMetric, OUString &rText, const IntlWrapper &rIntlWrapper) const
 
virtual void ScaleMetrics (long lMult, long lDiv)
 
virtual bool HasMetrics () const
 
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 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

- 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::SvxGalleryItem ( )

Definition at line 30 of file galleryitem.cxx.

References EMPTY.

Referenced by Clone(), and CreateDefault().

SvxGalleryItem::SvxGalleryItem ( const SvxGalleryItem rItem)

Definition at line 35 of file galleryitem.cxx.

SvxGalleryItem::~SvxGalleryItem ( )
overridevirtual

Definition at line 44 of file galleryitem.cxx.

Member Function Documentation

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

Implements SfxPoolItem.

Definition at line 135 of file galleryitem.cxx.

References SvxGalleryItem().

SfxPoolItem * SvxGalleryItem::CreateDefault ( )
static

Definition at line 28 of file galleryitem.cxx.

References SvxGalleryItem().

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

Definition at line 56 of file galleryitem.hxx.

sal_Int8 SvxGalleryItem::GetType ( ) const
inline

Definition at line 54 of file galleryitem.hxx.

const OUString& SvxGalleryItem::GetURL ( ) const
inline

Definition at line 55 of file galleryitem.hxx.

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.

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

Member Data Documentation

OUString SvxGalleryItem::m_aURL
private

Definition at line 43 of file galleryitem.hxx.

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

sal_Int8 SvxGalleryItem::m_nType
private

Definition at line 42 of file galleryitem.hxx.

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

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

Definition at line 44 of file galleryitem.hxx.

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

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: