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

#include <gallerybinaryengine.hxx>

Inheritance diagram for GalleryBinaryEngine:
[legend]
Collaboration diagram for GalleryBinaryEngine:
[legend]

Public Member Functions

 GalleryBinaryEngine (const GalleryBinaryStorageLocations &rGalleryStorageLocations, GalleryObjectCollection &rGalleryObjectCollection, bool bReadOnly)
 
SAL_DLLPRIVATE ~GalleryBinaryEngine ()
 
void clearSotStorage ()
 
void setDestDir (const OUString &rDestDir, bool bRelative)
 
SAL_DLLPRIVATE void ImplCreateSvDrawStorage ()
 
SAL_DLLPRIVATE const tools::SvRef< SotStorage > & GetSvDrawStorage () const
 
const INetURLObjectgetThemeURL () const
 
SAL_DLLPRIVATE bool implWrite (const GalleryTheme &rTheme, const GalleryThemeEntry *pThm)
 
void insertObject (const SgaObject &rObj, GalleryObject *pFoundEntry, sal_uInt32 nInsertPos)
 
void removeObject (const std::unique_ptr< GalleryObject > &pEntry)
 
std::unique_ptr< SgaObject > implReadSgaObject (GalleryObject const *pEntry)
 
bool implWriteSgaObject (const SgaObject &rObj, sal_uInt32 nPos, GalleryObject *pExistentEntry)
 
bool readModel (const GalleryObject *pObject, SdrModel &rModel)
 
SgaObjectSvDraw insertModel (const FmFormModel &rModel, const INetURLObject &rUserURL)
 
bool readModelStream (const GalleryObject *pObject, tools::SvRef< SotTempStream > const &rxModelStream)
 
SgaObjectSvDraw insertModelStream (const tools::SvRef< SotTempStream > &rxModelStream, const INetURLObject &rUserURL)
 
INetURLObject implCreateUniqueURL (SgaObjKind eObjKind, const INetURLObject &rUserURL, ConvertDataFormat nFormat=ConvertDataFormat::Unknown)
 
SgaObjectBmp insertGraphic (const Graphic &rGraphic, const GfxLink &aGfxLink, const ConvertDataFormat &nExportFormat, const INetURLObject &rUserURL)
 
SgaObjectSvDraw updateSvDrawObject (const GalleryObject *pEntry)
 
void updateTheme ()
 
SvStreamwriteGalleryTheme (SvStream &rOStm, const GalleryTheme &rTheme, const GalleryThemeEntry *pThm)
 
DateTime getModificationDate () const
 
- Public Member Functions inherited from GalleryFileStorage
virtual ~GalleryFileStorage ()=0
 

Static Public Member Functions

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

Private Member Functions

const INetURLObjectGetSdgURL () const
 
const INetURLObjectGetSdvURL () const
 
const INetURLObjectGetStrURL () const
 
const INetURLObjectGetThmURL () const
 

Private Attributes

tools::SvRef< SotStoragem_aSvDrawStorageRef
 
const GalleryBinaryStorageLocationsmaGalleryStorageLocations
 
GalleryObjectCollectionmrGalleryObjectCollection
 
bool mbReadOnly
 
OUString m_aDestDir
 
bool m_bDestDirRelative
 

Detailed Description

Definition at line 47 of file gallerybinaryengine.hxx.

Constructor & Destructor Documentation

◆ GalleryBinaryEngine()

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

Definition at line 53 of file gallerybinaryengine.cxx.

References ImplCreateSvDrawStorage().

◆ ~GalleryBinaryEngine()

GalleryBinaryEngine::~GalleryBinaryEngine ( )

Definition at line 64 of file gallerybinaryengine.cxx.

References clearSotStorage().

Member Function Documentation

◆ clearSotStorage()

void GalleryBinaryEngine::clearSotStorage ( )

◆ getModificationDate()

DateTime GalleryBinaryEngine::getModificationDate ( ) const

◆ GetSdgURL()

const INetURLObject & GalleryBinaryEngine::GetSdgURL ( ) const
inlineprivate

◆ GetSdvURL()

const INetURLObject & GalleryBinaryEngine::GetSdvURL ( ) const
inlineprivate

◆ GetStrURL()

const INetURLObject & GalleryBinaryEngine::GetStrURL ( ) const
inlineprivate

◆ GetSvDrawStorage()

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

◆ getThemeURL()

const INetURLObject & GalleryBinaryEngine::getThemeURL ( ) const
inline

◆ GetThmURL()

const INetURLObject & GalleryBinaryEngine::GetThmURL ( ) const
inlineprivate

Definition at line 60 of file gallerybinaryengine.hxx.

References GalleryBinaryStorageLocations::GetThmURL().

Referenced by getModificationDate(), and implWrite().

◆ ImplCreateSvDrawStorage()

void GalleryBinaryEngine::ImplCreateSvDrawStorage ( )

◆ implCreateUniqueURL()

INetURLObject GalleryBinaryEngine::implCreateUniqueURL ( SgaObjKind  eObjKind,
const INetURLObject rUserURL,
ConvertDataFormat  nFormat = ConvertDataFormat::Unknown 
)

◆ implReadSgaObject()

std::unique_ptr< SgaObject > GalleryBinaryEngine::implReadSgaObject ( GalleryObject const *  pEntry)

◆ implWrite()

bool GalleryBinaryEngine::implWrite ( const GalleryTheme rTheme,
const GalleryThemeEntry pThm 
)

◆ implWriteSgaObject()

bool GalleryBinaryEngine::implWriteSgaObject ( const SgaObject &  rObj,
sal_uInt32  nPos,
GalleryObject pExistentEntry 
)

◆ insertFileOrDirURL()

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

◆ insertGraphic()

SgaObjectBmp GalleryBinaryEngine::insertGraphic ( const Graphic rGraphic,
const GfxLink aGfxLink,
const ConvertDataFormat nExportFormat,
const INetURLObject rUserURL 
)

◆ insertModel()

SgaObjectSvDraw GalleryBinaryEngine::insertModel ( const FmFormModel rModel,
const INetURLObject rUserURL 
)

◆ insertModelStream()

SgaObjectSvDraw GalleryBinaryEngine::insertModelStream ( const tools::SvRef< SotTempStream > &  rxModelStream,
const INetURLObject rUserURL 
)

◆ insertObject()

void GalleryBinaryEngine::insertObject ( const SgaObject &  rObj,
GalleryObject pFoundEntry,
sal_uInt32  nInsertPos 
)

◆ readModel()

bool GalleryBinaryEngine::readModel ( const GalleryObject pObject,
SdrModel rModel 
)

◆ readModelStream()

bool GalleryBinaryEngine::readModelStream ( const GalleryObject pObject,
tools::SvRef< SotTempStream > const &  rxModelStream 
)

◆ removeObject()

void GalleryBinaryEngine::removeObject ( const std::unique_ptr< GalleryObject > &  pEntry)

◆ setDestDir()

void GalleryBinaryEngine::setDestDir ( const OUString &  rDestDir,
bool  bRelative 
)

Definition at line 66 of file gallerybinaryengine.cxx.

References m_aDestDir, and m_bDestDirRelative.

◆ updateSvDrawObject()

SgaObjectSvDraw GalleryBinaryEngine::updateSvDrawObject ( const GalleryObject pEntry)

◆ updateTheme()

void GalleryBinaryEngine::updateTheme ( )

◆ writeGalleryTheme()

SvStream & GalleryBinaryEngine::writeGalleryTheme ( SvStream rOStm,
const GalleryTheme rTheme,
const GalleryThemeEntry pThm 
)

Member Data Documentation

◆ m_aDestDir

OUString GalleryBinaryEngine::m_aDestDir
private

Definition at line 54 of file gallerybinaryengine.hxx.

Referenced by implWriteSgaObject(), setDestDir(), and writeGalleryTheme().

◆ m_aSvDrawStorageRef

tools::SvRef<SotStorage> GalleryBinaryEngine::m_aSvDrawStorageRef
private

◆ m_bDestDirRelative

bool GalleryBinaryEngine::m_bDestDirRelative
private

Definition at line 55 of file gallerybinaryengine.hxx.

Referenced by setDestDir(), and writeGalleryTheme().

◆ maGalleryStorageLocations

const GalleryBinaryStorageLocations& GalleryBinaryEngine::maGalleryStorageLocations
private

Definition at line 51 of file gallerybinaryengine.hxx.

◆ mbReadOnly

bool GalleryBinaryEngine::mbReadOnly
private

Definition at line 53 of file gallerybinaryengine.hxx.

Referenced by ImplCreateSvDrawStorage().

◆ mrGalleryObjectCollection

GalleryObjectCollection& GalleryBinaryEngine::mrGalleryObjectCollection
private

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