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 (const OUString &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
 
void RemoveBroadcaster_Impl (SfxBroadcaster &rBC)
 

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

Definition at line 82 of file unogaltheme.hxx.

Constructor & Destructor Documentation

GalleryTheme::GalleryTheme ( const OUString &  rThemeName)
explicit
GalleryTheme::~GalleryTheme ( )
overridevirtual

Member Function Documentation

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

Definition at line 124 of file unogaltheme.cxx.

References getCount(), and mpTheme.

sal_Int32 SAL_CALL GalleryTheme::getCount ( )
overrideprotected
uno::Type SAL_CALL GalleryTheme::getElementType ( )
overrideprotectedvirtual

Definition at line 102 of file unogaltheme.cxx.

References cppu::UnoType< class >::get().

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

Definition at line 96 of file unogaltheme.cxx.

OUString SAL_CALL GalleryTheme::getImplementationName ( )
overrideprotectedvirtual

Definition at line 69 of file unogaltheme.cxx.

OUString SAL_CALL GalleryTheme::getName ( )
overrideprotectedvirtual

Definition at line 145 of file unogaltheme.cxx.

References mpTheme.

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

Definition at line 79 of file unogaltheme.cxx.

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

Definition at line 84 of file unogaltheme.cxx.

References cppu::UnoType< class >::get().

sal_Bool SAL_CALL GalleryTheme::hasElements ( )
overrideprotectedvirtual

Definition at line 108 of file unogaltheme.cxx.

References mpTheme.

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

Definition at line 355 of file unogaltheme.cxx.

References maItemVector.

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

::GalleryTheme* unogallery::GalleryTheme::implGetTheme ( ) const
inlineprivate
void GalleryTheme::implRegisterGalleryItem ( ::unogallery::GalleryItem rItem)
private

Definition at line 347 of file unogaltheme.cxx.

References maItemVector.

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

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

Definition at line 330 of file unogaltheme.cxx.

References maItemVector.

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

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

Definition at line 200 of file unogaltheme.cxx.

References getCount(), and mpTheme.

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

Definition at line 169 of file unogaltheme.cxx.

References getCount(), INetURLObject::GetProtocol(), and mpTheme.

void GalleryTheme::Notify ( SfxBroadcaster rBC,
const SfxHint rHint 
)
overrideprotectedvirtual
void SAL_CALL GalleryTheme::removeByIndex ( ::sal_Int32  Index)
overrideprotectedvirtual

Definition at line 281 of file unogaltheme.cxx.

References getCount(), and mpTheme.

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

Definition at line 74 of file unogaltheme.cxx.

References cppu::supportsService().

void SAL_CALL GalleryTheme::update ( )
overrideprotectedvirtual

Definition at line 157 of file unogaltheme.cxx.

References mpTheme.

Friends And Related Function Documentation

friend class ::unogallery::GalleryItem
friend

Definition at line 43 of file unogaltheme.hxx.

Member Data Documentation

GalleryItemVector unogallery::GalleryTheme::maItemVector
private
::Gallery* unogallery::GalleryTheme::mpGallery
private

Definition at line 85 of file unogaltheme.hxx.

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

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

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