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

#include <gallerybinaryengine.hxx>

Collaboration diagram for GalleryBinaryEngine:
[legend]

Public Member Functions

 GalleryBinaryEngine (const GalleryStorageLocations &rGalleryStorageLocations, GalleryObjectCollection &rGalleryObjectCollection, bool bReadOnly)
 
SAL_DLLPRIVATE ~GalleryBinaryEngine ()
 
void clearSotStorage ()
 
SAL_DLLPRIVATE void ImplCreateSvDrawStorage ()
 
SAL_DLLPRIVATE const tools::SvRef< SotStorage > & GetSvDrawStorage () const
 
const INetURLObjectGetThmURL () const
 
const INetURLObjectGetSdgURL () const
 
const INetURLObjectGetSdvURL () const
 
const INetURLObjectGetStrURL () const
 
SAL_DLLPRIVATE bool implWrite (const GalleryTheme &rTheme)
 
void insertObject (const SgaObject &rObj, GalleryObject *pFoundEntry, OUString &rDestDir, sal_uInt32 &rInsertPos)
 
std::unique_ptr< SgaObject > implReadSgaObject (GalleryObject const *pEntry)
 
bool implWriteSgaObject (const SgaObject &rObj, sal_uInt32 nPos, GalleryObject *pExistentEntry, OUString &aDestDir)
 
bool readModel (const GalleryObject *pObject, SdrModel &rModel)
 
SgaObjectSvDraw insertModel (const FmFormModel &rModel, const INetURLObject &rUserURL)
 
bool readModelStream (const GalleryObject *pObject, tools::SvRef< SotStorageStream > const &rxModelStream)
 
SgaObjectSvDraw insertModelStream (const tools::SvRef< SotStorageStream > &rxModelStream, const INetURLObject &rUserURL)
 
INetURLObject implCreateUniqueURL (SgaObjKind eObjKind, const INetURLObject &rUserURL, ConvertDataFormat nFormat=ConvertDataFormat::Unknown)
 
SgaObjectBmp insertGraphic (const Graphic &rGraphic, const GfxLink &aGfxLink, ConvertDataFormat &nExportFormat, const INetURLObject &rUserURL)
 
SgaObjectSvDraw updateSvDrawObject (GalleryObject *pEntry)
 
void updateTheme ()
 

Static Public Member Functions

static void insertFileOrDirURL (const INetURLObject &rFileOrDirURL, std::vector< INetURLObject > &rURLVector)
 

Private Attributes

tools::SvRef< SotStoragem_aSvDrawStorageRef
 
const GalleryStorageLocationsmaGalleryStorageLocations
 
GalleryObjectCollectionmrGalleryObjectCollection
 
bool mbReadOnly
 

Detailed Description

Definition at line 42 of file gallerybinaryengine.hxx.

Constructor & Destructor Documentation

GalleryBinaryEngine::GalleryBinaryEngine ( const GalleryStorageLocations rGalleryStorageLocations,
GalleryObjectCollection rGalleryObjectCollection,
bool  bReadOnly 
)

Definition at line 48 of file gallerybinaryengine.cxx.

References ImplCreateSvDrawStorage().

GalleryBinaryEngine::~GalleryBinaryEngine ( )

Definition at line 58 of file gallerybinaryengine.cxx.

References clearSotStorage().

Member Function Documentation

void GalleryBinaryEngine::clearSotStorage ( )

Definition at line 60 of file gallerybinaryengine.cxx.

References tools::SvRef< T >::clear(), and m_aSvDrawStorageRef.

Referenced by updateTheme(), and ~GalleryBinaryEngine().

const INetURLObject& GalleryBinaryEngine::GetSdgURL ( ) const
inline
const INetURLObject& GalleryBinaryEngine::GetSdvURL ( ) const
inline

Definition at line 62 of file gallerybinaryengine.hxx.

References GalleryStorageLocations::GetSdvURL().

Referenced by ImplCreateSvDrawStorage(), and updateTheme().

const INetURLObject& GalleryBinaryEngine::GetStrURL ( ) const
inline

Definition at line 63 of file gallerybinaryengine.hxx.

References GalleryStorageLocations::GetStrURL().

const tools::SvRef< SotStorage > & GalleryBinaryEngine::GetSvDrawStorage ( ) const
const INetURLObject& GalleryBinaryEngine::GetThmURL ( ) const
inline

Definition at line 60 of file gallerybinaryengine.hxx.

References GalleryStorageLocations::GetThmURL().

Referenced by implWrite().

void GalleryBinaryEngine::ImplCreateSvDrawStorage ( )
INetURLObject GalleryBinaryEngine::implCreateUniqueURL ( SgaObjKind  eObjKind,
const INetURLObject rUserURL,
ConvertDataFormat  nFormat = ConvertDataFormat::Unknown 
)
std::unique_ptr< SgaObject > GalleryBinaryEngine::implReadSgaObject ( GalleryObject const *  pEntry)
bool GalleryBinaryEngine::implWrite ( const GalleryTheme rTheme)
bool GalleryBinaryEngine::implWriteSgaObject ( const SgaObject &  rObj,
sal_uInt32  nPos,
GalleryObject pExistentEntry,
OUString &  aDestDir 
)
void GalleryBinaryEngine::insertFileOrDirURL ( const INetURLObject rFileOrDirURL,
std::vector< INetURLObject > &  rURLVector 
)
static
SgaObjectBmp GalleryBinaryEngine::insertGraphic ( const Graphic rGraphic,
const GfxLink aGfxLink,
ConvertDataFormat nExportFormat,
const INetURLObject rUserURL 
)
SgaObjectSvDraw GalleryBinaryEngine::insertModel ( const FmFormModel rModel,
const INetURLObject rUserURL 
)
SgaObjectSvDraw GalleryBinaryEngine::insertModelStream ( const tools::SvRef< SotStorageStream > &  rxModelStream,
const INetURLObject rUserURL 
)
void GalleryBinaryEngine::insertObject ( const SgaObject &  rObj,
GalleryObject pFoundEntry,
OUString &  rDestDir,
sal_uInt32 &  rInsertPos 
)
bool GalleryBinaryEngine::readModel ( const GalleryObject pObject,
SdrModel rModel 
)
bool GalleryBinaryEngine::readModelStream ( const GalleryObject pObject,
tools::SvRef< SotStorageStream > const &  rxModelStream 
)
SgaObjectSvDraw GalleryBinaryEngine::updateSvDrawObject ( GalleryObject pEntry)
void GalleryBinaryEngine::updateTheme ( )

Member Data Documentation

tools::SvRef<SotStorage> GalleryBinaryEngine::m_aSvDrawStorageRef
private
const GalleryStorageLocations& GalleryBinaryEngine::maGalleryStorageLocations
private

Definition at line 46 of file gallerybinaryengine.hxx.

bool GalleryBinaryEngine::mbReadOnly
private

Definition at line 48 of file gallerybinaryengine.hxx.

Referenced by ImplCreateSvDrawStorage().

GalleryObjectCollection& GalleryBinaryEngine::mrGalleryObjectCollection
private

Definition at line 47 of file gallerybinaryengine.hxx.

Referenced by implCreateUniqueURL(), implWriteSgaObject(), and updateTheme().


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