LibreOffice Module svx (master)  1
Public Member Functions | Static 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< GalleryBinaryEngine > & getGalleryBinaryEngine () const
 
const OUString & GetThemeName () const
 
const INetURLObjectGetThmURL () const
 
const INetURLObjectGetSdgURL () const
 
const INetURLObjectGetSdvURL () const
 
const INetURLObjectGetStrURL () 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)
 

Static Public Member Functions

static std::unique_ptr< GalleryBinaryEnginecreateGalleryBinaryEngine ()
 

Private Attributes

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

Detailed Description

Definition at line 35 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::createGalleryBinaryEngine ( )
static

Definition at line 166 of file gallery1.cxx.

Referenced by GalleryThemeEntry().

const std::unique_ptr<GalleryBinaryEngine>& GalleryThemeEntry::getGalleryBinaryEngine ( ) const
inline
sal_uInt32 GalleryThemeEntry::GetId ( ) const
inline

Definition at line 74 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.

Referenced by GalleryTheme::GetSdgURL().

const INetURLObject& GalleryThemeEntry::GetSdvURL ( ) const
inline

Definition at line 60 of file gallery1.hxx.

Referenced by GalleryTheme::GetSdvURL().

const INetURLObject& GalleryThemeEntry::GetStrURL ( ) const
inline

Definition at line 61 of file gallery1.hxx.

Referenced by GalleryTheme::GetStrURL().

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

Definition at line 58 of file gallery1.hxx.

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

bool GalleryThemeEntry::IsDefault ( ) const

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

References bModified.

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

bool GalleryThemeEntry::IsNameFromResource ( ) const
inline

Definition at line 72 of file gallery1.hxx.

References bThemeNameFromResource.

Referenced by GalleryTheme::WriteData().

bool GalleryThemeEntry::IsReadOnly ( ) const
inline
void GalleryThemeEntry::SetId ( sal_uInt32  nNewId,
bool  bResetThemeName 
)

Definition at line 191 of file gallery1.cxx.

References bThemeNameFromResource, nId, and SetModified().

Referenced by GalleryTheme::SetId().

void GalleryThemeEntry::SetModified ( bool  bSet)
inline

Definition at line 69 of file gallery1.hxx.

References IsReadOnly().

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

void GalleryThemeEntry::SetName ( const OUString &  rNewName)

Definition at line 181 of file gallery1.cxx.

References aName, bThemeNameFromResource, and SetModified().

Referenced by Gallery::RenameTheme().

Member Data Documentation

OUString GalleryThemeEntry::aName
private

Definition at line 40 of file gallery1.hxx.

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

bool GalleryThemeEntry::bModified
private

Definition at line 43 of file gallery1.hxx.

Referenced by IsModified().

bool GalleryThemeEntry::bReadOnly
private

Definition at line 42 of file gallery1.hxx.

Referenced by IsReadOnly().

bool GalleryThemeEntry::bThemeNameFromResource
private

Definition at line 44 of file gallery1.hxx.

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

std::unique_ptr<GalleryBinaryEngine> GalleryThemeEntry::mpGalleryBinaryEngine
private

Definition at line 39 of file gallery1.hxx.

Referenced by GalleryThemeEntry(), and getGalleryBinaryEngine().

sal_uInt32 GalleryThemeEntry::nId
private

Definition at line 41 of file gallery1.hxx.

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


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