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::GalleryThemeEntry ( bool  bCreateUniqueURL,
const INetURLObject rBaseURL,
const OUString &  rName,
bool  bReadOnly,
bool  bNewFile,
sal_uInt32  nId,
bool  bThemeNameFromResource 

Member Function Documentation

◆ createGalleryStorageEngine()

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

Definition at line 176 of file gallery1.cxx.

References bReadOnly, and mpGalleryStorageEngineEntry.

Referenced by GalleryTheme::GalleryTheme().

◆ createGalleryTheme()

GalleryTheme * GalleryThemeEntry::createGalleryTheme ( Gallery pGallery)

Definition at line 171 of file gallery1.cxx.

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

◆ getCachedTheme()

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

Definition at line 650 of file gallery1.cxx.

References createGalleryTheme(), and mpGalleryStorageEngineEntry.

Referenced by Gallery::ImplGetCachedTheme().

◆ getGalleryStorageEngineEntry()

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

Definition at line 56 of file gallery1.hxx.

References mpGalleryStorageEngineEntry.

◆ getGalleryStorageLocations()

GalleryStorageLocations & GalleryThemeEntry::getGalleryStorageLocations ( ) const

Definition at line 58 of file gallery1.hxx.

References mpGalleryStorageEngineEntry.

◆ GetId()

sal_uInt32 GalleryThemeEntry::GetId ( ) const

Definition at line 77 of file gallery1.hxx.

References nId.

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

◆ GetThemeName()

const OUString & GalleryThemeEntry::GetThemeName ( ) const

◆ IsDefault()

bool GalleryThemeEntry::IsDefault ( ) const

Definition at line 719 of file gallery1.cxx.

References GALLERY_THEME_MYTHEME, and nId.

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

◆ IsHidden()

bool GalleryThemeEntry::IsHidden ( ) const

Definition at line 69 of file gallery1.hxx.

References aName.

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

◆ IsModified()

bool GalleryThemeEntry::IsModified ( ) const

Definition at line 71 of file gallery1.hxx.

References bModified.

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

◆ IsNameFromResource()

bool GalleryThemeEntry::IsNameFromResource ( ) const

Definition at line 75 of file gallery1.hxx.

References bThemeNameFromResource.

Referenced by GalleryBinaryEngine::writeGalleryTheme().

◆ IsReadOnly()

bool GalleryThemeEntry::IsReadOnly ( ) const

◆ removeTheme()

void GalleryThemeEntry::removeTheme ( )

Definition at line 207 of file gallery1.cxx.

References mpGalleryStorageEngineEntry.

Referenced by Gallery::RemoveTheme().

◆ SetId()

void GalleryThemeEntry::SetId ( sal_uInt32  nNewId,
bool  bResetThemeName 

Definition at line 200 of file gallery1.cxx.

References bThemeNameFromResource, nId, and SetModified().

Referenced by GalleryTheme::SetId().

◆ SetModified()

void GalleryThemeEntry::SetModified ( bool  bSet)

Definition at line 72 of file gallery1.hxx.

References bModified, and IsReadOnly().

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

◆ SetName()

void GalleryThemeEntry::SetName ( const OUString &  rNewName)

Definition at line 190 of file gallery1.cxx.

References aName, bThemeNameFromResource, and SetModified().

Referenced by Gallery::RenameTheme().

◆ setStorageLocations()

void GalleryThemeEntry::setStorageLocations ( INetURLObject rURL)

Definition at line 166 of file gallery1.cxx.

References mpGalleryStorageEngineEntry.

Referenced by GalleryThemeEntry().

Member Data Documentation

◆ aName

OUString GalleryThemeEntry::aName

Definition at line 43 of file gallery1.hxx.

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

◆ bModified

bool GalleryThemeEntry::bModified

Definition at line 46 of file gallery1.hxx.

Referenced by IsModified(), and SetModified().

◆ bReadOnly

bool GalleryThemeEntry::bReadOnly

Definition at line 45 of file gallery1.hxx.

Referenced by createGalleryStorageEngine(), and IsReadOnly().

◆ bThemeNameFromResource

bool GalleryThemeEntry::bThemeNameFromResource

Definition at line 47 of file gallery1.hxx.

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

◆ mpGalleryStorageEngineEntry

std::unique_ptr<GalleryBinaryEngineEntry> GalleryThemeEntry::mpGalleryStorageEngineEntry

◆ nId

sal_uInt32 GalleryThemeEntry::nId

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: