PhoenixInkscape  2.0.0
Generate multiple png files with svg inkscape files
pinkscape_slide.h
Go to the documentation of this file.
1 /***************************************
2  Auteur : Pierre Aubert
3  Mail : pierre.aubert@lapp.in2p3.fr
4  Licence : CeCILL-C
5 ****************************************/
6 
7 #ifndef __PINKSCAPE_SLIDE_H__
8 #define __PINKSCAPE_SLIDE_H__
9 
10 #include <map>
11 #include "PPath.h"
12 
14 #define SLIDE_RECOVER_FILE "_slide_recover.slide"
15 
17 typedef std::map<PPath,PPath> PMapSlide;
18 
20 struct POutoutMode{
23 };
24 
25 void pinkscape_loadSlideMap(PMapSlide & mapFormula, const PPath & baseOutputName);
26 void pinkscape_saveSlideMap(const PMapSlide & mapFormula, const PPath & baseOutputName);
27 
28 bool pinkscape_isSlideKnown(POutoutMode & outputMode, const PPath & outputSlide, const PString & slideContent);
29 
30 
31 
32 #endif
Path of a directory or a file.
Definition: PPath.h:17
Extends the std::string.
Definition: PString.h:16
std::map< PPath, PPath > PMapSlide
Map of the formulae generated by the ptex2html which can be reused by other PLatexObj which have the ...
void pinkscape_loadSlideMap(PMapSlide &mapFormula, const PPath &baseOutputName)
Load the map file of all the formulae if it exists.
void pinkscape_saveSlideMap(const PMapSlide &mapFormula, const PPath &baseOutputName)
Save the map file of the formulae to avoid extra latex call.
bool pinkscape_isSlideKnown(POutoutMode &outputMode, const PPath &outputSlide, const PString &slideContent)
Check if the slide we are going to save was already saved (with the same content) or not.
Output mode of the html backend.
PMapSlide mapSlide
Map of the formula which are already saved as png files.