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

#include <unogalitem.hxx>

Inheritance diagram for unogallery::GalleryItem:
[legend]
Collaboration diagram for unogallery::GalleryItem:
[legend]

Public Member Functions

 GalleryItem (::unogallery::GalleryTheme &rTheme, const GalleryObject &rObject)
 
virtual ~GalleryItem () noexcept override
 
bool isValid () const
 
- Public Member Functions inherited from cppu::OWeakAggObject
 OWeakAggObject ()
 
virtual void SAL_CALL acquire () SAL_NOEXCEPT SAL_OVERRIDE
 
virtual void SAL_CALL release () SAL_NOEXCEPT SAL_OVERRIDE
 
virtual css::uno::Any SAL_CALL queryInterface (const css::uno::Type &rType) SAL_OVERRIDE
 
virtual void SAL_CALL setDelegator (const css::uno::Reference< css::uno::XInterface > &Delegator) SAL_OVERRIDE
 
virtual css::uno::Any SAL_CALL queryAggregation (const css::uno::Type &rType) SAL_OVERRIDE
 
- Public Member Functions inherited from cppu::OWeakObject
 OWeakObject ()
 
 OWeakObject (const OWeakObject &)
 
OWeakObject &SAL_CALL operator= (const OWeakObject &)
 
virtual css::uno::Any SAL_CALL queryInterface (const css::uno::Type &rType) SAL_OVERRIDE
 
virtual void SAL_CALL acquire () SAL_NOEXCEPT SAL_OVERRIDE
 
virtual void SAL_CALL release () SAL_NOEXCEPT SAL_OVERRIDE
 
virtual css::uno::Reference< css::uno::XAdapter > SAL_CALL queryAdapter () SAL_OVERRIDE
 
SAL_CALL operator css::uno::Reference< css::uno::XInterface > ()
 
- Public Member Functions inherited from comphelper::PropertySetHelper
 PropertySetHelper (rtl::Reference< comphelper::PropertySetInfo > xInfo) noexcept
 
virtual ~PropertySetHelper () noexcept
 
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo () override
 
virtual void SAL_CALL setPropertyValue (const OUString &aPropertyName, const css::uno::Any &aValue) override
 
virtual css::uno::Any SAL_CALL getPropertyValue (const OUString &PropertyName) override
 
virtual void SAL_CALL addPropertyChangeListener (const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &xListener) override
 
virtual void SAL_CALL removePropertyChangeListener (const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) override
 
virtual void SAL_CALL addVetoableChangeListener (const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
 
virtual void SAL_CALL removeVetoableChangeListener (const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
 
virtual void SAL_CALL setPropertyValues (const css::uno::Sequence< OUString > &aPropertyNames, const css::uno::Sequence< css::uno::Any > &aValues) override
 
virtual css::uno::Sequence< css::uno::Any > SAL_CALL getPropertyValues (const css::uno::Sequence< OUString > &aPropertyNames) override
 
virtual void SAL_CALL addPropertiesChangeListener (const css::uno::Sequence< OUString > &aPropertyNames, const css::uno::Reference< css::beans::XPropertiesChangeListener > &xListener) override
 
virtual void SAL_CALL removePropertiesChangeListener (const css::uno::Reference< css::beans::XPropertiesChangeListener > &xListener) override
 
virtual void SAL_CALL firePropertiesChangeEvent (const css::uno::Sequence< OUString > &aPropertyNames, const css::uno::Reference< css::beans::XPropertiesChangeListener > &xListener) override
 
virtual css::beans::PropertyState SAL_CALL getPropertyState (const OUString &PropertyName) override
 
virtual css::uno::Sequence< css::beans::PropertyState > SAL_CALL getPropertyStates (const css::uno::Sequence< OUString > &aPropertyName) override
 
virtual void SAL_CALL setPropertyToDefault (const OUString &PropertyName) override
 
virtual css::uno::Any SAL_CALL getPropertyDefault (const OUString &aPropertyName) override
 

Private Member Functions

virtual css::uno::Any SAL_CALL queryAggregation (const css::uno::Type &rType) override
 
virtual css::uno::Any SAL_CALL queryInterface (const css::uno::Type &rType) override
 
virtual void SAL_CALL acquire () noexcept override
 
virtual void SAL_CALL release () noexcept override
 
virtual OUString SAL_CALL getImplementationName () override
 
virtual sal_Bool SAL_CALL supportsService (const OUString &ServiceName) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () override
 
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId () override
 
virtual ::sal_Int8 SAL_CALL getType () override
 
virtual void _setPropertyValues (const comphelper::PropertyMapEntry **ppEntries, const css::uno::Any *pValues) override
 
virtual void _getPropertyValues (const comphelper::PropertyMapEntry **ppEntries, css::uno::Any *pValue) override
 
const ::GalleryObjectimplGetObject () const
 
void implSetInvalid ()
 
 GalleryItem (const GalleryItem &)=delete
 
GalleryItemoperator= (const GalleryItem &)=delete
 

Static Private Member Functions

static rtl::Reference<::comphelper::PropertySetInfocreatePropertySetInfo ()
 

Private Attributes

::unogallery::GalleryThemempTheme
 
const ::GalleryObjectmpGalleryObject
 

Friends

class ::unogallery::GalleryTheme
 

Additional Inherited Members

- Protected Member Functions inherited from cppu::OWeakAggObject
virtual ~OWeakAggObject () SAL_OVERRIDE
 
- Protected Member Functions inherited from cppu::OWeakObject
virtual ~OWeakObject () COVERITY_NOEXCEPT_FALSE
 
void disposeWeakConnectionPoint ()
 
- Protected Member Functions inherited from comphelper::PropertySetHelper
virtual void _setPropertyValues (const comphelper::PropertyMapEntry **ppEntries, const css::uno::Any *pValues)=0
 
virtual void _getPropertyValues (const comphelper::PropertyMapEntry **ppEntries, css::uno::Any *pValue)=0
 
virtual void _getPropertyStates (const comphelper::PropertyMapEntry **ppEntries, css::beans::PropertyState *pStates)
 
virtual void _setPropertyToDefault (const comphelper::PropertyMapEntry *pEntry)
 
virtual css::uno::Any _getPropertyDefault (const comphelper::PropertyMapEntry *pEntry)
 
- Protected Attributes inherited from cppu::OWeakAggObject
css::uno::WeakReferenceHelper xDelegator
 
- Protected Attributes inherited from cppu::OWeakObject
oslInterlockedCount m_refCount
 

Detailed Description

Definition at line 38 of file unogalitem.hxx.

Constructor & Destructor Documentation

◆ GalleryItem() [1/2]

unogallery::GalleryItem::GalleryItem ( ::unogallery::GalleryTheme rTheme,
const GalleryObject rObject 
)

Definition at line 49 of file unogalitem.cxx.

References unogallery::GalleryTheme::implRegisterGalleryItem(), and mpTheme.

◆ ~GalleryItem()

unogallery::GalleryItem::~GalleryItem ( )
overridevirtualnoexcept

◆ GalleryItem() [2/2]

unogallery::GalleryItem::GalleryItem ( const GalleryItem )
privatedelete

Member Function Documentation

◆ _getPropertyValues()

void unogallery::GalleryItem::_getPropertyValues ( const comphelper::PropertyMapEntry **  ppEntries,
css::uno::Any *  pValue 
)
overrideprivatevirtual

◆ _setPropertyValues()

void unogallery::GalleryItem::_setPropertyValues ( const comphelper::PropertyMapEntry **  ppEntries,
const css::uno::Any *  pValues 
)
overrideprivatevirtual

◆ acquire()

void SAL_CALL unogallery::GalleryItem::acquire ( )
overrideprivatevirtualnoexcept

Reimplemented from cppu::OWeakAggObject.

Definition at line 101 of file unogalitem.cxx.

◆ createPropertySetInfo()

rtl::Reference<::comphelper::PropertySetInfo > unogallery::GalleryItem::createPropertySetInfo ( )
staticprivate

◆ getImplementationId()

uno::Sequence< sal_Int8 > SAL_CALL unogallery::GalleryItem::getImplementationId ( )
overrideprivatevirtual

Definition at line 142 of file unogalitem.cxx.

◆ getImplementationName()

OUString SAL_CALL unogallery::GalleryItem::getImplementationName ( )
overrideprivatevirtual

Definition at line 115 of file unogalitem.cxx.

◆ getSupportedServiceNames()

uno::Sequence< OUString > SAL_CALL unogallery::GalleryItem::getSupportedServiceNames ( )
overrideprivatevirtual

Definition at line 125 of file unogalitem.cxx.

◆ getType()

sal_Int8 SAL_CALL unogallery::GalleryItem::getType ( )
overrideprivate

Definition at line 148 of file unogalitem.cxx.

References svx::EMPTY, implGetObject(), isValid(), Sound, and SvDraw.

Referenced by _getPropertyValues().

◆ getTypes()

uno::Sequence< uno::Type > SAL_CALL unogallery::GalleryItem::getTypes ( )
overrideprivatevirtual

Definition at line 130 of file unogalitem.cxx.

References aTypes, and cppu::UnoType< typename T >::get().

◆ implGetObject()

const ::GalleryObject * unogallery::GalleryItem::implGetObject ( ) const
inlineprivate

Definition at line 79 of file unogalitem.hxx.

References mpGalleryObject.

Referenced by _getPropertyValues(), _setPropertyValues(), and getType().

◆ implSetInvalid()

void unogallery::GalleryItem::implSetInvalid ( )
private

Definition at line 340 of file unogalitem.cxx.

References mpGalleryObject, and mpTheme.

◆ isValid()

bool unogallery::GalleryItem::isValid ( ) const

Definition at line 66 of file unogalitem.cxx.

References mpTheme.

Referenced by _getPropertyValues(), _setPropertyValues(), and getType().

◆ operator=()

GalleryItem & unogallery::GalleryItem::operator= ( const GalleryItem )
privatedelete

◆ queryAggregation()

uno::Any SAL_CALL unogallery::GalleryItem::queryAggregation ( const css::uno::Type &  rType)
overrideprivatevirtual

Reimplemented from cppu::OWeakAggObject.

Definition at line 72 of file unogalitem.cxx.

◆ queryInterface()

uno::Any SAL_CALL unogallery::GalleryItem::queryInterface ( const css::uno::Type &  rType)
overrideprivatevirtual

Reimplemented from cppu::OWeakAggObject.

Definition at line 95 of file unogalitem.cxx.

◆ release()

void SAL_CALL unogallery::GalleryItem::release ( )
overrideprivatevirtualnoexcept

Reimplemented from cppu::OWeakAggObject.

Definition at line 108 of file unogalitem.cxx.

◆ supportsService()

sal_Bool SAL_CALL unogallery::GalleryItem::supportsService ( const OUString &  ServiceName)
overrideprivatevirtual

Definition at line 120 of file unogalitem.cxx.

References ServiceName, and cppu::supportsService().

Friends And Related Function Documentation

◆ ::unogallery::GalleryTheme

friend class ::unogallery::GalleryTheme
friend

Definition at line 44 of file unogalitem.hxx.

Member Data Documentation

◆ mpGalleryObject

const ::GalleryObject* unogallery::GalleryItem::mpGalleryObject
private

Definition at line 86 of file unogalitem.hxx.

Referenced by implGetObject(), and implSetInvalid().

◆ mpTheme

::unogallery::GalleryTheme* unogallery::GalleryItem::mpTheme
private

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