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

#include <gallery1.hxx>

Collaboration diagram for GalleryThemeEntry:
[legend]

Public Member Functions

 GalleryThemeEntry (bool bCreateUniqueURL, const INetURLObject &rBaseURL, const OUString &rName, bool bReadOnly, bool bNewFile, sal_uInt32 nId, bool bThemeNameFromResource)
 
const OUString & GetThemeName () const
 
const INetURLObjectGetThmURL () const
 
const INetURLObjectGetSdgURL () const
 
const INetURLObjectGetSdvURL () const
 
const INetURLObjectGetStrURL () const
 
OUString ReadStrFromIni (const OUString &aKeyName)
 
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)
 

Static Private Member Functions

static INetURLObject ImplGetURLIgnoreCase (const INetURLObject &rURL)
 

Private Attributes

OUString aName
 
INetURLObject aThmURL
 
INetURLObject aSdgURL
 
INetURLObject aSdvURL
 
INetURLObject aStrURL
 
sal_uInt32 nId
 
bool const bReadOnly
 
bool bModified
 
bool bThemeNameFromResource
 

Detailed Description

Definition at line 33 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

sal_uInt32 GalleryThemeEntry::GetId ( ) const
inline

Definition at line 76 of file gallery1.hxx.

References nId.

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

const INetURLObject& GalleryThemeEntry::GetSdgURL ( ) const
inline

Definition at line 59 of file gallery1.hxx.

References aSdgURL.

Referenced by GalleryTheme::GetSdgURL().

const INetURLObject& GalleryThemeEntry::GetSdvURL ( ) const
inline

Definition at line 60 of file gallery1.hxx.

References aSdvURL.

Referenced by GalleryTheme::GetSdvURL().

const INetURLObject& GalleryThemeEntry::GetStrURL ( ) const
inline

Definition at line 61 of file gallery1.hxx.

References aStrURL.

Referenced by GalleryTheme::GetStrURL(), and ReadStrFromIni().

const OUString& GalleryThemeEntry::GetThemeName ( ) const
inline
const INetURLObject& GalleryThemeEntry::GetThmURL ( ) const
inline

Definition at line 58 of file gallery1.hxx.

References aThmURL.

Referenced by GalleryTheme::GetThmURL(), and Gallery::ImplGetCachedTheme().

INetURLObject GalleryThemeEntry::ImplGetURLIgnoreCase ( const INetURLObject rURL)
staticprivate

Definition at line 199 of file gallery1.cxx.

References FileExists(), INetURLObject::getName(), and INetURLObject::setName().

Referenced by GalleryThemeEntry().

bool GalleryThemeEntry::IsDefault ( ) const

Definition at line 764 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 70 of file gallery1.hxx.

References bModified.

Referenced by GalleryTheme::ImplWrite().

bool GalleryThemeEntry::IsNameFromResource ( ) const
inline

Definition at line 74 of file gallery1.hxx.

References bThemeNameFromResource.

Referenced by GalleryTheme::IsThemeNameFromResource().

bool GalleryThemeEntry::IsReadOnly ( ) const
inline
OUString GalleryThemeEntry::ReadStrFromIni ( const OUString &  aKeyName)
void GalleryThemeEntry::SetId ( sal_uInt32  nNewId,
bool  bResetThemeName 
)

Definition at line 229 of file gallery1.cxx.

References bThemeNameFromResource, nId, and SetModified().

Referenced by GalleryTheme::SetId().

void GalleryThemeEntry::SetModified ( bool  bSet)
inline

Definition at line 71 of file gallery1.hxx.

References IsReadOnly().

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

void GalleryThemeEntry::SetName ( const OUString &  rNewName)

Definition at line 219 of file gallery1.cxx.

References aName, bThemeNameFromResource, and SetModified().

Referenced by Gallery::RenameTheme().

Member Data Documentation

OUString GalleryThemeEntry::aName
private

Definition at line 37 of file gallery1.hxx.

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

INetURLObject GalleryThemeEntry::aSdgURL
private

Definition at line 39 of file gallery1.hxx.

Referenced by GalleryThemeEntry(), and GetSdgURL().

INetURLObject GalleryThemeEntry::aSdvURL
private

Definition at line 40 of file gallery1.hxx.

Referenced by GalleryThemeEntry(), and GetSdvURL().

INetURLObject GalleryThemeEntry::aStrURL
private

Definition at line 41 of file gallery1.hxx.

Referenced by GalleryThemeEntry(), and GetStrURL().

INetURLObject GalleryThemeEntry::aThmURL
private

Definition at line 38 of file gallery1.hxx.

Referenced by GalleryThemeEntry(), and GetThmURL().

bool GalleryThemeEntry::bModified
private

Definition at line 44 of file gallery1.hxx.

Referenced by IsModified().

bool const GalleryThemeEntry::bReadOnly
private

Definition at line 43 of file gallery1.hxx.

Referenced by IsReadOnly().

bool GalleryThemeEntry::bThemeNameFromResource
private

Definition at line 45 of file gallery1.hxx.

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

sal_uInt32 GalleryThemeEntry::nId
private

Definition at line 42 of file gallery1.hxx.

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


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