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)
 
 ~GalleryThemeEntry ()
 
GalleryStorageLocationsgetGalleryStorageLocations () const
 
GalleryThemecreateGalleryTheme (Gallery *pGallery)
 
std::unique_ptr< GalleryFileStoragecreateGalleryStorageEngine (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< GalleryFileStorageEntrympGalleryStorageEngineEntry
 
OUString aName
 
sal_uInt32 nId
 
bool bReadOnly
 
bool bModified
 
bool bThemeNameFromResource
 

Detailed Description

Definition at line 39 of file gallery1.hxx.

Constructor & Destructor Documentation

◆ GalleryThemeEntry()

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

◆ ~GalleryThemeEntry()

GalleryThemeEntry::~GalleryThemeEntry ( )

Definition at line 166 of file gallery1.cxx.

Member Function Documentation

◆ createGalleryStorageEngine()

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

Definition at line 179 of file gallery1.cxx.

References bReadOnly, and mpGalleryStorageEngineEntry.

Referenced by GalleryTheme::GalleryTheme().

◆ createGalleryTheme()

GalleryTheme * GalleryThemeEntry::createGalleryTheme ( Gallery pGallery)

Definition at line 174 of file gallery1.cxx.

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

◆ 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().

◆ getGalleryStorageLocations()

GalleryStorageLocations & GalleryThemeEntry::getGalleryStorageLocations ( ) const

Definition at line 727 of file gallery1.cxx.

References mpGalleryStorageEngineEntry.

◆ GetId()

sal_uInt32 GalleryThemeEntry::GetId ( ) const
inline

Definition at line 77 of file gallery1.hxx.

References nId.

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

◆ GetThemeName()

const OUString & GalleryThemeEntry::GetThemeName ( ) const
inline

◆ IsDefault()

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().

◆ IsHidden()

bool GalleryThemeEntry::IsHidden ( ) const
inline

Definition at line 69 of file gallery1.hxx.

References aName.

Referenced by GalleryExplorer::FillThemeList(), and GalleryBrowser1::ImplInsertThemeEntry().

◆ IsModified()

bool GalleryThemeEntry::IsModified ( ) const
inline

◆ IsNameFromResource()

bool GalleryThemeEntry::IsNameFromResource ( ) const
inline

Definition at line 75 of file gallery1.hxx.

Referenced by GalleryFileStorage::writeGalleryTheme().

◆ IsReadOnly()

bool GalleryThemeEntry::IsReadOnly ( ) const
inline

◆ removeTheme()

void GalleryThemeEntry::removeTheme ( )

Definition at line 210 of file gallery1.cxx.

References mpGalleryStorageEngineEntry.

Referenced by Gallery::RemoveTheme().

◆ SetId()

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().

◆ SetModified()

void GalleryThemeEntry::SetModified ( bool  bSet)
inline

Definition at line 72 of file gallery1.hxx.

References IsReadOnly().

Referenced by GalleryThemeEntry(), GalleryTheme::ImplSetModified(), SetId(), and SetName().

◆ SetName()

void GalleryThemeEntry::SetName ( const OUString &  rNewName)

Definition at line 193 of file gallery1.cxx.

References aName, bThemeNameFromResource, and SetModified().

Referenced by Gallery::RenameTheme().

◆ setStorageLocations()

void GalleryThemeEntry::setStorageLocations ( INetURLObject rURL)

Definition at line 169 of file gallery1.cxx.

References mpGalleryStorageEngineEntry.

Referenced by GalleryThemeEntry().

Member Data Documentation

◆ aName

OUString GalleryThemeEntry::aName
private

Definition at line 44 of file gallery1.hxx.

Referenced by GalleryThemeEntry(), and SetName().

◆ bModified

bool GalleryThemeEntry::bModified
private

Definition at line 47 of file gallery1.hxx.

◆ bReadOnly

bool GalleryThemeEntry::bReadOnly
private

Definition at line 46 of file gallery1.hxx.

Referenced by createGalleryStorageEngine().

◆ bThemeNameFromResource

bool GalleryThemeEntry::bThemeNameFromResource
private

Definition at line 48 of file gallery1.hxx.

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

◆ mpGalleryStorageEngineEntry

std::unique_ptr<GalleryFileStorageEntry> GalleryThemeEntry::mpGalleryStorageEngineEntry
private

◆ nId

sal_uInt32 GalleryThemeEntry::nId
private

Definition at line 45 of file gallery1.hxx.

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


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