LibreOffice Module svx (master) 1
|
#include <unogalitem.hxx>
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 ::GalleryObject * | implGetObject () const |
void | implSetInvalid () |
GalleryItem (const GalleryItem &)=delete | |
GalleryItem & | operator= (const GalleryItem &)=delete |
Static Private Member Functions | |
static rtl::Reference<::comphelper::PropertySetInfo > | createPropertySetInfo () |
Private Attributes | |
::unogallery::GalleryTheme * | mpTheme |
const ::GalleryObject * | mpGalleryObject |
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 |
Definition at line 38 of file unogalitem.hxx.
unogallery::GalleryItem::GalleryItem | ( | ::unogallery::GalleryTheme & | rTheme, |
const GalleryObject & | rObject | ||
) |
Definition at line 50 of file unogalitem.cxx.
References unogallery::GalleryTheme::implRegisterGalleryItem(), and mpTheme.
|
overridevirtualnoexcept |
Definition at line 59 of file unogalitem.cxx.
References unogallery::GalleryTheme::implDeregisterGalleryItem(), and mpTheme.
|
privatedelete |
|
overrideprivatevirtual |
Implements comphelper::PropertySetHelper.
Definition at line 240 of file unogalitem.cxx.
References GalleryTheme::AcquireObject(), SfxItemPool::FreezeIdRanges(), GalleryTheme::GetGraphic(), SdrModel::GetItemPool(), GalleryTheme::GetModel(), getType(), Graphic::GetXGraphic(), implGetObject(), unogallery::GalleryTheme::implGetTheme(), isValid(), GalleryObject::m_oStorageUrl, GalleryTheme::maGalleryObjectCollection, mpTheme, INetURLObject::NONE, GalleryObjectCollection::searchPosWithObject(), SdrModel::setUnoModel(), UNOGALLERY_DRAWING, UNOGALLERY_GALLERYITEMTYPE, UNOGALLERY_GRAPHIC, UNOGALLERY_THUMBNAIL, UNOGALLERY_TITLE, and UNOGALLERY_URL.
|
overrideprivatevirtual |
Implements comphelper::PropertySetHelper.
Definition at line 202 of file unogalitem.cxx.
References GalleryTheme::getGalleryStorageEngine(), implGetObject(), unogallery::GalleryTheme::implGetTheme(), GalleryTheme::InsertObject(), isValid(), mpTheme, pValues, and UNOGALLERY_TITLE.
|
overrideprivatevirtualnoexcept |
Reimplemented from cppu::OWeakAggObject.
Definition at line 102 of file unogalitem.cxx.
|
staticprivate |
Definition at line 176 of file unogalitem.cxx.
References aEntries, cppu::UnoType< typename T >::get(), UNOGALLERY_DRAWING, UNOGALLERY_GALLERYITEMTYPE, UNOGALLERY_GRAPHIC, UNOGALLERY_THUMBNAIL, UNOGALLERY_TITLE, and UNOGALLERY_URL.
|
overrideprivatevirtual |
Definition at line 143 of file unogalitem.cxx.
|
overrideprivatevirtual |
Definition at line 116 of file unogalitem.cxx.
|
overrideprivatevirtual |
Definition at line 126 of file unogalitem.cxx.
|
overrideprivate |
Definition at line 149 of file unogalitem.cxx.
References svx::EMPTY, implGetObject(), isValid(), Sound, and SvDraw.
Referenced by _getPropertyValues().
|
overrideprivatevirtual |
Definition at line 131 of file unogalitem.cxx.
References aTypes, and cppu::UnoType< typename T >::get().
|
inlineprivate |
Definition at line 79 of file unogalitem.hxx.
References mpGalleryObject.
Referenced by _getPropertyValues(), _setPropertyValues(), and getType().
|
private |
Definition at line 341 of file unogalitem.cxx.
References mpGalleryObject, and mpTheme.
bool unogallery::GalleryItem::isValid | ( | ) | const |
Definition at line 67 of file unogalitem.cxx.
References mpTheme.
Referenced by _getPropertyValues(), _setPropertyValues(), and getType().
|
privatedelete |
|
overrideprivatevirtual |
Reimplemented from cppu::OWeakAggObject.
Definition at line 73 of file unogalitem.cxx.
|
overrideprivatevirtual |
Reimplemented from cppu::OWeakAggObject.
Definition at line 96 of file unogalitem.cxx.
|
overrideprivatevirtualnoexcept |
Reimplemented from cppu::OWeakAggObject.
Definition at line 109 of file unogalitem.cxx.
|
overrideprivatevirtual |
Definition at line 121 of file unogalitem.cxx.
References ServiceName, and cppu::supportsService().
|
friend |
Definition at line 44 of file unogalitem.hxx.
|
private |
Definition at line 86 of file unogalitem.hxx.
Referenced by implGetObject(), and implSetInvalid().
|
private |
Definition at line 85 of file unogalitem.hxx.
Referenced by _getPropertyValues(), _setPropertyValues(), GalleryItem(), implSetInvalid(), isValid(), and ~GalleryItem().