LibreOffice Module svx (master) 1
|
#include <unogaltheme.hxx>
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 |
SfxBroadcaster * | GetBroadcasterJOE (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 | |
::GalleryTheme * | implGetTheme () const |
void | implReleaseItems (GalleryObject const *pObj) |
void | implRegisterGalleryItem (::unogallery::GalleryItem &rItem) |
void | implDeregisterGalleryItem (::unogallery::GalleryItem &rItem) |
Private Attributes | |
GalleryItemVector | maItemVector |
::Gallery * | mpGallery |
::GalleryTheme * | mpTheme |
Friends | |
class | ::unogallery::GalleryItem |
Definition at line 38 of file unogaltheme.hxx.
|
private |
Definition at line 82 of file unogaltheme.hxx.
|
explicit |
Definition at line 39 of file unogaltheme.cxx.
References Gallery::AcquireTheme(), Gallery::GetGalleryInstance(), mpGallery, mpTheme, and SfxListener::StartListening().
|
overridevirtual |
Definition at line 49 of file unogaltheme.cxx.
References DBG_ASSERT, SfxListener::EndListening(), implReleaseItems(), mpGallery, mpTheme, and Gallery::ReleaseTheme().
|
overrideprotectedvirtual |
Definition at line 122 of file unogaltheme.cxx.
References getCount(), mpTheme, and nIndex.
|
overrideprotected |
Definition at line 114 of file unogaltheme.cxx.
References mpTheme.
Referenced by getByIndex(), insertDrawingByIndex(), insertGraphicByIndex(), insertURLByIndex(), and removeByIndex().
|
overrideprotectedvirtual |
Definition at line 100 of file unogaltheme.cxx.
References cppu::UnoType< typename T >::get().
|
overrideprotectedvirtual |
Definition at line 94 of file unogaltheme.cxx.
|
overrideprotectedvirtual |
Definition at line 67 of file unogaltheme.cxx.
|
overrideprotectedvirtual |
Definition at line 143 of file unogaltheme.cxx.
References mpTheme.
|
overrideprotectedvirtual |
Definition at line 77 of file unogaltheme.cxx.
|
overrideprotectedvirtual |
Definition at line 82 of file unogaltheme.cxx.
References aTypes, and cppu::UnoType< typename T >::get().
|
overrideprotectedvirtual |
Definition at line 106 of file unogaltheme.cxx.
References mpTheme.
|
private |
Definition at line 353 of file unogaltheme.cxx.
References maItemVector.
Referenced by unogallery::GalleryItem::~GalleryItem().
|
inlineprivate |
Definition at line 88 of file unogaltheme.hxx.
References mpTheme.
Referenced by unogallery::GalleryItem::_getPropertyValues(), and unogallery::GalleryItem::_setPropertyValues().
|
private |
Definition at line 345 of file unogaltheme.cxx.
References maItemVector.
Referenced by unogallery::GalleryItem::GalleryItem().
|
private |
Definition at line 328 of file unogaltheme.cxx.
References maItemVector.
Referenced by Notify(), and ~GalleryTheme().
|
overrideprotected |
Definition at line 224 of file unogaltheme.cxx.
References SdrPage::CloneSdrPage(), Drawing, getCount(), SvxUnoDrawingModel::GetDoc(), SdrModel::GetItemPool(), SdrPage::getSdrModelFromSdrPage(), SvxDrawPage::GetSdrPage(), insertDrawingByIndex(), FmFormModel::InsertPage(), mpTheme, nIndex, and SdrModel::setUnoModel().
Referenced by insertDrawingByIndex().
|
overrideprotected |
Definition at line 198 of file unogaltheme.cxx.
References getCount(), mpTheme, and nIndex.
|
overrideprotected |
Definition at line 167 of file unogaltheme.cxx.
References aURL, getCount(), mpTheme, and nIndex.
|
overrideprotectedvirtual |
Reimplemented from SfxListener.
Definition at line 292 of file unogaltheme.cxx.
References CLOSE_OBJECT, CLOSE_THEME, DBG_ASSERT, GalleryHint::GetData1(), GalleryHint::GetType(), implReleaseItems(), mpGallery, mpTheme, and Gallery::ReleaseTheme().
|
overrideprotectedvirtual |
Definition at line 279 of file unogaltheme.cxx.
References getCount(), mpTheme, and nIndex.
|
overrideprotectedvirtual |
Definition at line 72 of file unogaltheme.cxx.
References ServiceName, and cppu::supportsService().
|
overrideprotectedvirtual |
Definition at line 155 of file unogaltheme.cxx.
References mpTheme.
|
friend |
Definition at line 43 of file unogaltheme.hxx.
|
private |
Definition at line 84 of file unogaltheme.hxx.
Referenced by implDeregisterGalleryItem(), implRegisterGalleryItem(), and implReleaseItems().
|
private |
Definition at line 85 of file unogaltheme.hxx.
Referenced by GalleryTheme(), Notify(), and ~GalleryTheme().
|
private |
Definition at line 86 of file unogaltheme.hxx.
Referenced by GalleryTheme(), getByIndex(), getCount(), getName(), hasElements(), implGetTheme(), insertDrawingByIndex(), insertGraphicByIndex(), insertURLByIndex(), Notify(), removeByIndex(), update(), and ~GalleryTheme().