LibreOffice Module svx (master)  1
Public Member Functions | Private Attributes | List of all members
GalleryThemeEntry Class Reference

#include <gallery1.hxx>

Public Member Functions

 GalleryThemeEntry (bool bCreateUniqueURL, const INetURLObject &rBaseURL, const OUString &rName, bool bReadOnly, bool bNewFile, sal_uInt32 nId, bool bThemeNameFromResource)
 
const std::unique_ptr< GalleryBinaryEngineEntry > & getGalleryStorageEngineEntry () const
 
GalleryStorageLocationsgetGalleryStorageLocations () const
 
GalleryThemecreateGalleryTheme (Gallery *pGallery)
 
std::unique_ptr< GalleryBinaryEnginecreateGalleryStorageEngine (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< GalleryThemegetCachedTheme (Gallery *pGallery)
 
void setStorageLocations (INetURLObject &rURL)
 

Private Attributes

std::unique_ptr< GalleryBinaryEngineEntrympGalleryStorageEngineEntry
 
OUString aName
 
sal_uInt32 nId
 
bool bReadOnly
 
bool bModified
 
bool bThemeNameFromResource
 

Detailed Description

Definition at line 38 of file gallery1.hxx.

Constructor & Destructor Documentation

GalleryThemeEntry::GalleryThemeEntry ( bool  bCreateUniqueURL,
const INetURLObject rBaseURL,
const OUString &  rName,
bool  bReadOnly,
bool  bNewFile,
sal_uInt32  nId,
bool  bThemeNameFromResource 
)

Member Function Documentation

std::unique_ptr< GalleryBinaryEngine > GalleryThemeEntry::createGalleryStorageEngine ( GalleryObjectCollection mrGalleryObjectCollection)

Definition at line 175 of file gallery1.cxx.

References bReadOnly, and mpGalleryStorageEngineEntry.

Referenced by GalleryTheme::GalleryTheme().

GalleryTheme * GalleryThemeEntry::createGalleryTheme ( Gallery pGallery)

Definition at line 170 of file gallery1.cxx.

Referenced by Gallery::CreateTheme(), and getCachedTheme().

std::unique_ptr< GalleryTheme > GalleryThemeEntry::getCachedTheme ( Gallery pGallery)

Definition at line 649 of file gallery1.cxx.

References createGalleryTheme(), and mpGalleryStorageEngineEntry.

Referenced by Gallery::ImplGetCachedTheme().

const std::unique_ptr<GalleryBinaryEngineEntry>& GalleryThemeEntry::getGalleryStorageEngineEntry ( ) const
inline

Definition at line 56 of file gallery1.hxx.

References mpGalleryStorageEngineEntry.

GalleryStorageLocations& GalleryThemeEntry::getGalleryStorageLocations ( ) const
inline

Definition at line 58 of file gallery1.hxx.

sal_uInt32 GalleryThemeEntry::GetId ( ) const
inline

Definition at line 77 of file gallery1.hxx.

References nId.

Referenced by GalleryTheme::GetId(), and Gallery::GetThemeName().

const OUString& GalleryThemeEntry::GetThemeName ( ) const
inline
bool GalleryThemeEntry::IsDefault ( ) const

Definition at line 718 of file gallery1.cxx.

References GALLERY_THEME_MYTHEME, and nId.

Referenced by GalleryBrowser1::ImplInsertThemeEntry(), and GalleryTheme::IsDefault().

bool GalleryThemeEntry::IsHidden ( ) const
inline
bool GalleryThemeEntry::IsModified ( ) const
inline

Definition at line 71 of file gallery1.hxx.

References bModified.

Referenced by GalleryTheme::Actualize(), Gallery::RenameTheme(), and GalleryTheme::~GalleryTheme().

bool GalleryThemeEntry::IsNameFromResource ( ) const
inline

Definition at line 75 of file gallery1.hxx.

References bThemeNameFromResource.

Referenced by GalleryBinaryEngine::writeGalleryTheme().

bool GalleryThemeEntry::IsReadOnly ( ) const
inline
void GalleryThemeEntry::removeTheme ( )

Definition at line 206 of file gallery1.cxx.

References mpGalleryStorageEngineEntry.

Referenced by Gallery::RemoveTheme().

void GalleryThemeEntry::SetId ( sal_uInt32  nNewId,
bool  bResetThemeName 
)

Definition at line 199 of file gallery1.cxx.

References bThemeNameFromResource, nId, and SetModified().

Referenced by GalleryTheme::SetId().

void GalleryThemeEntry::SetModified ( bool  bSet)
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 189 of file gallery1.cxx.

References aName, bThemeNameFromResource, and SetModified().

Referenced by Gallery::RenameTheme().

void GalleryThemeEntry::setStorageLocations ( INetURLObject rURL)

Definition at line 165 of file gallery1.cxx.

References mpGalleryStorageEngineEntry.

Referenced by GalleryThemeEntry().

Member Data Documentation

OUString GalleryThemeEntry::aName
private

Definition at line 43 of file gallery1.hxx.

Referenced by GalleryThemeEntry(), GetThemeName(), and SetName().

bool GalleryThemeEntry::bModified
private

Definition at line 46 of file gallery1.hxx.

Referenced by IsModified().

bool GalleryThemeEntry::bReadOnly
private

Definition at line 45 of file gallery1.hxx.

Referenced by createGalleryStorageEngine(), and IsReadOnly().

bool GalleryThemeEntry::bThemeNameFromResource
private

Definition at line 47 of file gallery1.hxx.

Referenced by GalleryThemeEntry(), IsNameFromResource(), SetId(), and SetName().

std::unique_ptr<GalleryBinaryEngineEntry> GalleryThemeEntry::mpGalleryStorageEngineEntry
private
sal_uInt32 GalleryThemeEntry::nId
private

Definition at line 44 of file gallery1.hxx.

Referenced by GalleryThemeEntry(), GetId(), IsDefault(), and SetId().


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