Line |
Branch |
Exec |
Source |
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 |
|
|
|
13 |
|
|
///Define the name of the file which contains the formulae and the path to the created file |
14 |
|
|
#define SLIDE_RECOVER_FILE "_slide_recover.slide" |
15 |
|
|
|
16 |
|
|
///Map of the formulae generated by the ptex2html which can be reused by other PLatexObj which have the same formula |
17 |
|
|
typedef std::map<PPath,PPath> PMapSlide; |
18 |
|
|
|
19 |
|
|
///@brief Output mode of the html backend |
20 |
|
|
struct POutoutMode{ |
21 |
|
|
///Map of the formula which are already saved as png files |
22 |
|
|
PMapSlide mapSlide; |
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 |
33 |
|
|
|