LibreOffice Module svx (master) 1
|
#include <galleryfilestorageentry.hxx>
Public Member Functions | |
GalleryFileStorageEntry () | |
OUString | ReadStrFromIni (std::u16string_view aKeyName) const |
const INetURLObject & | GetThmURL () const |
const INetURLObject & | GetSdgURL () const |
const INetURLObject & | GetSdvURL () const |
const INetURLObject & | GetStrURL () const |
const GalleryStorageLocations & | getGalleryStorageLocations () const |
GalleryStorageLocations & | getGalleryStorageLocations () |
void | removeTheme () |
std::unique_ptr< GalleryTheme > & | getCachedTheme (std::unique_ptr< GalleryTheme > &pNewTheme) |
void | setStorageLocations (INetURLObject &rURL) |
std::unique_ptr< GalleryFileStorage > | createGalleryStorageEngine (GalleryObjectCollection &mrGalleryObjectCollection, bool &bReadOnly) |
Static Public Member Functions | |
static void | CreateUniqueURL (const INetURLObject &rBaseURL, INetURLObject &aURL) |
static GalleryThemeEntry * | CreateThemeEntry (const INetURLObject &rURL, bool bReadOnly) |
Private Attributes | |
GalleryStorageLocations | maGalleryStorageLocations |
Definition at line 30 of file galleryfilestorageentry.hxx.
GalleryFileStorageEntry::GalleryFileStorageEntry | ( | ) |
Definition at line 38 of file galleryfilestorageentry.cxx.
std::unique_ptr< GalleryFileStorage > GalleryFileStorageEntry::createGalleryStorageEngine | ( | GalleryObjectCollection & | mrGalleryObjectCollection, |
bool & | bReadOnly | ||
) |
Definition at line 45 of file galleryfilestorageentry.cxx.
References bReadOnly, and maGalleryStorageLocations.
|
static |
Definition at line 65 of file galleryfilestorageentry.cxx.
References bReadOnly, COMPAT_FORMAT(), utl::UcbStreamHelper::CreateStream(), DBG_ASSERT, FileExists(), INetURLObject::GetMainURL(), INetURLObject::GetProtocol(), VersionCompatRead::GetVersion(), nCount, INetURLObject::NONE, nVersion, read_uInt16_lenPrefixed_uInt8s_ToOString(), and STREAM_SEEK_TO_END.
Referenced by Gallery::ImplLoadSubDirs().
|
static |
Definition at line 52 of file galleryfilestorageentry.cxx.
References aURL, FileExists(), GalleryStorageLocations::ImplGetURLIgnoreCase(), and u.
Referenced by GalleryThemeEntry::GalleryThemeEntry().
std::unique_ptr< GalleryTheme > & GalleryFileStorageEntry::getCachedTheme | ( | std::unique_ptr< GalleryTheme > & | pNewTheme | ) |
Definition at line 148 of file galleryfilestorageentry.cxx.
References aURL, utl::UcbStreamHelper::CreateStream(), DBG_ASSERT, FileExists(), GetThmURL(), INetURLObject::NONE, and ReadGalleryTheme().
|
inline |
Definition at line 50 of file galleryfilestorageentry.hxx.
References maGalleryStorageLocations.
|
inline |
Definition at line 46 of file galleryfilestorageentry.hxx.
References maGalleryStorageLocations.
|
inline |
Definition at line 42 of file galleryfilestorageentry.hxx.
References GalleryStorageLocations::GetSdgURL(), and maGalleryStorageLocations.
Referenced by removeTheme().
|
inline |
Definition at line 43 of file galleryfilestorageentry.hxx.
References GalleryStorageLocations::GetSdvURL(), and maGalleryStorageLocations.
Referenced by removeTheme().
|
inline |
Definition at line 44 of file galleryfilestorageentry.hxx.
References GalleryStorageLocations::GetStrURL(), and maGalleryStorageLocations.
Referenced by ReadStrFromIni(), and removeTheme().
|
inline |
Definition at line 41 of file galleryfilestorageentry.hxx.
References GalleryStorageLocations::GetThmURL(), and maGalleryStorageLocations.
Referenced by getCachedTheme(), and removeTheme().
OUString GalleryFileStorageEntry::ReadStrFromIni | ( | std::u16string_view | aKeyName | ) | const |
Definition at line 27 of file galini.cxx.
References utl::UcbStreamHelper::CreateStream(), LanguageTag::getFallbackStrings(), Application::GetSettings(), GetStrURL(), AllSettings::GetUILanguageTag(), n, INetURLObject::NONE, SAL_INFO, and o3tl::trim().
void GalleryFileStorageEntry::removeTheme | ( | ) |
Definition at line 134 of file galleryfilestorageentry.cxx.
References GetSdgURL(), GetSdvURL(), GetStrURL(), GetThmURL(), and KillFile().
void GalleryFileStorageEntry::setStorageLocations | ( | INetURLObject & | rURL | ) |
Definition at line 40 of file galleryfilestorageentry.cxx.
References maGalleryStorageLocations, and GalleryStorageLocations::SetStorageLocations().
|
private |
Definition at line 33 of file galleryfilestorageentry.hxx.
Referenced by createGalleryStorageEngine(), getGalleryStorageLocations(), GetSdgURL(), GetSdvURL(), GetStrURL(), GetThmURL(), and setStorageLocations().