LibreOffice Module svx (master) 1
|
#include <gallery1.hxx>
Public Member Functions | |
GalleryThemeEntry (bool bCreateUniqueURL, const INetURLObject &rBaseURL, const OUString &rName, bool bReadOnly, bool bNewFile, sal_uInt32 nId, bool bThemeNameFromResource) | |
~GalleryThemeEntry () | |
GalleryStorageLocations & | getGalleryStorageLocations () const |
GalleryTheme * | createGalleryTheme (Gallery *pGallery) |
std::unique_ptr< GalleryFileStorage > | createGalleryStorageEngine (GalleryObjectCollection &mrGalleryObjectCollection) |
const OUString & | GetThemeName () const |
bool | IsReadOnly () const |
bool | IsDefault () const |
bool | IsHidden () const |
bool | IsModified () const |
void | SetModified (bool bSet) |
void | SetName (const OUString &rNewName) |
bool | IsNameFromResource () const |
sal_uInt32 | GetId () const |
void | SetId (sal_uInt32 nNewId, bool bResetThemeName) |
void | removeTheme () |
std::unique_ptr< GalleryTheme > | getCachedTheme (Gallery *pGallery) |
void | setStorageLocations (INetURLObject &rURL) |
Private Attributes | |
std::unique_ptr< GalleryFileStorageEntry > | mpGalleryStorageEngineEntry |
OUString | aName |
sal_uInt32 | nId |
bool | bReadOnly |
bool | bModified |
bool | bThemeNameFromResource |
Definition at line 39 of file gallery1.hxx.
GalleryThemeEntry::GalleryThemeEntry | ( | bool | bCreateUniqueURL, |
const INetURLObject & | rBaseURL, | ||
const OUString & | rName, | ||
bool | bReadOnly, | ||
bool | bNewFile, | ||
sal_uInt32 | nId, | ||
bool | bThemeNameFromResource | ||
) |
Definition at line 111 of file gallery1.cxx.
References aLocalized, aName, aUnlocalized, aURL, bThemeNameFromResource, GalleryFileStorageEntry::CreateUniqueURL(), DBG_ASSERT, first, i, mpGalleryStorageEngineEntry, nId, nId, SAL_N_ELEMENTS, SetModified(), setStorageLocations(), SvxResId(), and u.
GalleryThemeEntry::~GalleryThemeEntry | ( | ) |
Definition at line 166 of file gallery1.cxx.
std::unique_ptr< GalleryFileStorage > GalleryThemeEntry::createGalleryStorageEngine | ( | GalleryObjectCollection & | mrGalleryObjectCollection | ) |
Definition at line 179 of file gallery1.cxx.
References bReadOnly, and mpGalleryStorageEngineEntry.
Referenced by GalleryTheme::GalleryTheme().
GalleryTheme * GalleryThemeEntry::createGalleryTheme | ( | Gallery * | pGallery | ) |
Definition at line 174 of file gallery1.cxx.
Referenced by Gallery::CreateTheme(), and getCachedTheme().
std::unique_ptr< GalleryTheme > GalleryThemeEntry::getCachedTheme | ( | Gallery * | pGallery | ) |
Definition at line 653 of file gallery1.cxx.
References createGalleryTheme(), and mpGalleryStorageEngineEntry.
Referenced by Gallery::ImplGetCachedTheme().
GalleryStorageLocations & GalleryThemeEntry::getGalleryStorageLocations | ( | ) | const |
Definition at line 727 of file gallery1.cxx.
References mpGalleryStorageEngineEntry.
|
inline |
Definition at line 77 of file gallery1.hxx.
References nId.
Referenced by GalleryTheme::GetId(), and Gallery::GetThemeName().
|
inline |
Definition at line 64 of file gallery1.hxx.
References aName.
Referenced by GalleryExplorer::FillThemeList(), GalleryTheme::GetName(), Gallery::GetThemeName(), GalleryBrowser1::ImplInsertThemeEntry(), and GalleryFileStorage::writeGalleryTheme().
bool GalleryThemeEntry::IsDefault | ( | ) | const |
Definition at line 722 of file gallery1.cxx.
References GALLERY_THEME_MYTHEME, and nId.
Referenced by GalleryBrowser1::ImplInsertThemeEntry(), and GalleryTheme::IsDefault().
|
inline |
Definition at line 69 of file gallery1.hxx.
References aName.
Referenced by GalleryExplorer::FillThemeList(), and GalleryBrowser1::ImplInsertThemeEntry().
|
inline |
Definition at line 71 of file gallery1.hxx.
Referenced by GalleryTheme::Actualize(), Gallery::RenameTheme(), and GalleryTheme::~GalleryTheme().
|
inline |
Definition at line 75 of file gallery1.hxx.
Referenced by GalleryFileStorage::writeGalleryTheme().
|
inline |
Definition at line 66 of file gallery1.hxx.
References bReadOnly.
Referenced by GalleryExplorer::FillThemeList(), GalleryBrowser1::ImplInsertThemeEntry(), GalleryTheme::IsReadOnly(), Gallery::RemoveTheme(), and Gallery::RenameTheme().
void GalleryThemeEntry::removeTheme | ( | ) |
Definition at line 210 of file gallery1.cxx.
References mpGalleryStorageEngineEntry.
Referenced by Gallery::RemoveTheme().
void GalleryThemeEntry::SetId | ( | sal_uInt32 | nNewId, |
bool | bResetThemeName | ||
) |
Definition at line 203 of file gallery1.cxx.
References bThemeNameFromResource, nId, and SetModified().
Referenced by GalleryTheme::SetId().
|
inline |
Definition at line 72 of file gallery1.hxx.
References IsReadOnly().
Referenced by GalleryThemeEntry(), GalleryTheme::ImplSetModified(), SetId(), and SetName().
void GalleryThemeEntry::SetName | ( | const OUString & | rNewName | ) |
Definition at line 193 of file gallery1.cxx.
References aName, bThemeNameFromResource, and SetModified().
Referenced by Gallery::RenameTheme().
void GalleryThemeEntry::setStorageLocations | ( | INetURLObject & | rURL | ) |
Definition at line 169 of file gallery1.cxx.
References mpGalleryStorageEngineEntry.
Referenced by GalleryThemeEntry().
|
private |
Definition at line 44 of file gallery1.hxx.
Referenced by GalleryThemeEntry(), and SetName().
|
private |
Definition at line 47 of file gallery1.hxx.
|
private |
Definition at line 46 of file gallery1.hxx.
Referenced by createGalleryStorageEngine().
|
private |
Definition at line 48 of file gallery1.hxx.
Referenced by GalleryThemeEntry(), SetId(), and SetName().
|
private |
Definition at line 43 of file gallery1.hxx.
Referenced by createGalleryStorageEngine(), GalleryThemeEntry(), getCachedTheme(), getGalleryStorageLocations(), removeTheme(), and setStorageLocations().
|
private |
Definition at line 45 of file gallery1.hxx.
Referenced by GalleryThemeEntry(), IsDefault(), and SetId().