LibreOffice Module oox (master) 1
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
oox::drawingml::GraphicExportCache Class Reference

#include <drawingml.hxx>

Public Member Functions

void push ()
 
void pop ()
 
bool hasExportGraphics ()
 
void addExportGraphics (BitmapChecksum aChecksum, OUString const &sPath)
 
OUString findExportGraphics (BitmapChecksum aChecksum)
 
sal_Int32 nextImageCount ()
 
bool hasWdpCache ()
 
OUString findWdpID (OUString const &rFileId)
 
void addToWdpCache (OUString const &rFileId, OUString const &rId)
 
sal_Int32 nextWdpImageCount ()
 

Static Public Member Functions

static GraphicExportCacheget ()
 

Private Member Functions

 GraphicExportCache ()=default
 

Private Attributes

std::stack< sal_Int32 > mnImageCounter
 
std::stack< std::unordered_map< BitmapChecksum, OUString > > maExportGraphics
 
std::stack< sal_Int32 > mnWdpImageCounter
 
std::stack< std::map< OUString, OUString > > maWdpCache
 

Detailed Description

Definition at line 167 of file drawingml.hxx.

Constructor & Destructor Documentation

◆ GraphicExportCache()

oox::drawingml::GraphicExportCache::GraphicExportCache ( )
privatedefault

References get().

Member Function Documentation

◆ addExportGraphics()

void oox::drawingml::GraphicExportCache::addExportGraphics ( BitmapChecksum  aChecksum,
OUString const &  sPath 
)
inline

Definition at line 200 of file drawingml.hxx.

Referenced by oox::drawingml::GraphicExport::writeToStorage().

◆ addToWdpCache()

void oox::drawingml::GraphicExportCache::addToWdpCache ( OUString const &  rFileId,
OUString const &  rId 
)
inline

Definition at line 240 of file drawingml.hxx.

◆ findExportGraphics()

OUString oox::drawingml::GraphicExportCache::findExportGraphics ( BitmapChecksum  aChecksum)
inline

Definition at line 205 of file drawingml.hxx.

Referenced by oox::drawingml::GraphicExport::writeToStorage().

◆ findWdpID()

OUString oox::drawingml::GraphicExportCache::findWdpID ( OUString const &  rFileId)
inline

Definition at line 229 of file drawingml.hxx.

◆ get()

GraphicExportCache & oox::drawingml::GraphicExportCache::get ( )
static

◆ hasExportGraphics()

bool oox::drawingml::GraphicExportCache::hasExportGraphics ( )
inline

Definition at line 195 of file drawingml.hxx.

◆ hasWdpCache()

bool oox::drawingml::GraphicExportCache::hasWdpCache ( )
inline

Definition at line 224 of file drawingml.hxx.

◆ nextImageCount()

sal_Int32 oox::drawingml::GraphicExportCache::nextImageCount ( )
inline

◆ nextWdpImageCount()

sal_Int32 oox::drawingml::GraphicExportCache::nextWdpImageCount ( )
inline

Definition at line 246 of file drawingml.hxx.

References nCount.

◆ pop()

void oox::drawingml::GraphicExportCache::pop ( )
inline

Definition at line 187 of file drawingml.hxx.

◆ push()

void oox::drawingml::GraphicExportCache::push ( )
inline

Definition at line 179 of file drawingml.hxx.

Member Data Documentation

◆ maExportGraphics

std::stack<std::unordered_map<BitmapChecksum, OUString> > oox::drawingml::GraphicExportCache::maExportGraphics
private

Definition at line 171 of file drawingml.hxx.

◆ maWdpCache

std::stack<std::map<OUString, OUString> > oox::drawingml::GraphicExportCache::maWdpCache
private

Definition at line 173 of file drawingml.hxx.

◆ mnImageCounter

std::stack<sal_Int32> oox::drawingml::GraphicExportCache::mnImageCounter
private

Definition at line 170 of file drawingml.hxx.

◆ mnWdpImageCounter

std::stack<sal_Int32> oox::drawingml::GraphicExportCache::mnWdpImageCounter
private

Definition at line 172 of file drawingml.hxx.


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