LibreOffice Module svx (master) 1
Public Member Functions | Protected Member Functions | Private Types | Private Member Functions | Private Attributes | Friends | List of all members
unogallery::GalleryTheme Class Reference

#include <unogaltheme.hxx>

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

Public Member Functions

 GalleryTheme (std::u16string_view rThemeName)
 
virtual ~GalleryTheme () override
 
- Public Member Functions inherited from SfxListener
 SfxListener ()
 
 SfxListener (const SfxListener &rCopy)
 
virtual ~SfxListener () COVERITY_NOEXCEPT_FALSE
 
void StartListening (SfxBroadcaster &rBroadcaster, DuplicateHandling eDuplicateHanding=DuplicateHandling::Unexpected)
 
void EndListening (SfxBroadcaster &rBroadcaster, bool bRemoveAllDuplicates=false)
 
void EndListeningAll ()
 
bool IsListening (SfxBroadcaster &rBroadcaster) const
 
sal_uInt16 GetBroadcasterCount () const
 
SfxBroadcasterGetBroadcasterJOE (sal_uInt16 nNo) const
 
virtual void Notify (SfxBroadcaster &rBC, const SfxHint &rHint)
 
void RemoveBroadcaster_Impl (SfxBroadcaster &rBC)
 
virtual bool IsSdrView () const
 

Protected Member Functions

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 css::uno::Type SAL_CALL getElementType () override
 
virtual sal_Bool SAL_CALL hasElements () override
 
virtual ::sal_Int32 SAL_CALL getCount () override
 
virtual css::uno::Any SAL_CALL getByIndex (::sal_Int32 Index) override
 
virtual OUString SAL_CALL getName () override
 
virtual void SAL_CALL update () override
 
virtual ::sal_Int32 SAL_CALL insertURLByIndex (const OUString &URL, ::sal_Int32 Index) override
 
virtual ::sal_Int32 SAL_CALL insertGraphicByIndex (const css::uno::Reference< css::graphic::XGraphic > &Graphic, ::sal_Int32 Index) override
 
virtual ::sal_Int32 SAL_CALL insertDrawingByIndex (const css::uno::Reference< css::lang::XComponent > &Drawing, ::sal_Int32 Index) override
 
virtual void SAL_CALL removeByIndex (::sal_Int32 Index) override
 
virtual void Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override
 

Private Types

typedef ::std::vector< ::unogallery::GalleryItem * > GalleryItemVector
 

Private Member Functions

::GalleryThemeimplGetTheme () const
 
void implReleaseItems (GalleryObject const *pObj)
 
void implRegisterGalleryItem (::unogallery::GalleryItem &rItem)
 
void implDeregisterGalleryItem (::unogallery::GalleryItem &rItem)
 

Private Attributes

GalleryItemVector maItemVector
 
::GallerympGallery
 
::GalleryThemempTheme
 

Friends

class ::unogallery::GalleryItem
 

Detailed Description

Definition at line 38 of file unogaltheme.hxx.

Member Typedef Documentation

◆ GalleryItemVector

Definition at line 82 of file unogaltheme.hxx.

Constructor & Destructor Documentation

◆ GalleryTheme()

GalleryTheme::GalleryTheme ( std::u16string_view  rThemeName)
explicit

◆ ~GalleryTheme()

GalleryTheme::~GalleryTheme ( )
overridevirtual

Member Function Documentation

◆ getByIndex()

uno::Any SAL_CALL GalleryTheme::getByIndex ( ::sal_Int32  Index)
overrideprotectedvirtual

Definition at line 122 of file unogaltheme.cxx.

References getCount(), mpTheme, and nIndex.

◆ getCount()

sal_Int32 SAL_CALL GalleryTheme::getCount ( )
overrideprotected

◆ getElementType()

uno::Type SAL_CALL GalleryTheme::getElementType ( )
overrideprotectedvirtual

Definition at line 100 of file unogaltheme.cxx.

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

◆ getImplementationId()

uno::Sequence< sal_Int8 > SAL_CALL GalleryTheme::getImplementationId ( )
overrideprotectedvirtual

Definition at line 94 of file unogaltheme.cxx.

◆ getImplementationName()

OUString SAL_CALL GalleryTheme::getImplementationName ( )
overrideprotectedvirtual

Definition at line 67 of file unogaltheme.cxx.

◆ getName()

OUString SAL_CALL GalleryTheme::getName ( )
overrideprotectedvirtual

Definition at line 143 of file unogaltheme.cxx.

References mpTheme.

◆ getSupportedServiceNames()

uno::Sequence< OUString > SAL_CALL GalleryTheme::getSupportedServiceNames ( )
overrideprotectedvirtual

Definition at line 77 of file unogaltheme.cxx.

◆ getTypes()

uno::Sequence< uno::Type > SAL_CALL GalleryTheme::getTypes ( )
overrideprotectedvirtual

Definition at line 82 of file unogaltheme.cxx.

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

◆ hasElements()

sal_Bool SAL_CALL GalleryTheme::hasElements ( )
overrideprotectedvirtual

Definition at line 106 of file unogaltheme.cxx.

References mpTheme.

◆ implDeregisterGalleryItem()

void GalleryTheme::implDeregisterGalleryItem ( ::unogallery::GalleryItem rItem)
private

Definition at line 353 of file unogaltheme.cxx.

References maItemVector.

Referenced by unogallery::GalleryItem::~GalleryItem().

◆ implGetTheme()

::GalleryTheme * unogallery::GalleryTheme::implGetTheme ( ) const
inlineprivate

◆ implRegisterGalleryItem()

void GalleryTheme::implRegisterGalleryItem ( ::unogallery::GalleryItem rItem)
private

Definition at line 345 of file unogaltheme.cxx.

References maItemVector.

Referenced by unogallery::GalleryItem::GalleryItem().

◆ implReleaseItems()

void GalleryTheme::implReleaseItems ( GalleryObject const *  pObj)
private

Definition at line 328 of file unogaltheme.cxx.

References maItemVector.

Referenced by Notify(), and ~GalleryTheme().

◆ insertDrawingByIndex()

sal_Int32 SAL_CALL GalleryTheme::insertDrawingByIndex ( const css::uno::Reference< css::lang::XComponent > &  Drawing,
::sal_Int32  Index 
)
overrideprotected

◆ insertGraphicByIndex()

sal_Int32 SAL_CALL GalleryTheme::insertGraphicByIndex ( const css::uno::Reference< css::graphic::XGraphic > &  Graphic,
::sal_Int32  Index 
)
overrideprotected

Definition at line 198 of file unogaltheme.cxx.

References getCount(), mpTheme, and nIndex.

◆ insertURLByIndex()

sal_Int32 SAL_CALL GalleryTheme::insertURLByIndex ( const OUString &  URL,
::sal_Int32  Index 
)
overrideprotected

Definition at line 167 of file unogaltheme.cxx.

References aURL, getCount(), mpTheme, and nIndex.

◆ Notify()

void GalleryTheme::Notify ( SfxBroadcaster rBC,
const SfxHint rHint 
)
overrideprotectedvirtual

◆ removeByIndex()

void SAL_CALL GalleryTheme::removeByIndex ( ::sal_Int32  Index)
overrideprotectedvirtual

Definition at line 279 of file unogaltheme.cxx.

References getCount(), mpTheme, and nIndex.

◆ supportsService()

sal_Bool SAL_CALL GalleryTheme::supportsService ( const OUString &  ServiceName)
overrideprotectedvirtual

Definition at line 72 of file unogaltheme.cxx.

References ServiceName, and cppu::supportsService().

◆ update()

void SAL_CALL GalleryTheme::update ( )
overrideprotectedvirtual

Definition at line 155 of file unogaltheme.cxx.

References mpTheme.

Friends And Related Function Documentation

◆ ::unogallery::GalleryItem

friend class ::unogallery::GalleryItem
friend

Definition at line 43 of file unogaltheme.hxx.

Member Data Documentation

◆ maItemVector

GalleryItemVector unogallery::GalleryTheme::maItemVector
private

◆ mpGallery

::Gallery* unogallery::GalleryTheme::mpGallery
private

Definition at line 85 of file unogaltheme.hxx.

Referenced by GalleryTheme(), Notify(), and ~GalleryTheme().

◆ mpTheme

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

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