PhoenixLecture  2.0.0
Set of tools to make lectures
platexobj_tex.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 __PLATEXOBJ_TEX_H__
8 #define __PLATEXOBJ_TEX_H__
9 
10 #include "platexobj_formulae.h"
11 
13 struct POutputTex{
17  bool splitPart;
26 };
27 
29 bool isPLatexObjInline(const PLatexObj & obj);
30 
31 PString platexobj_texStr(POutputTex & outputMode, const PLatexObj & obj, const PString & indentation, bool allowText = true);
32 PString platexobj_texStr(POutputTex & outputMode, const PVecLatexObj & vecObj, const PString & indentation, bool allowText = true);
33 
34 bool platexobj_tex(POutputTex & outputMode, const PLatexObj & obj);
35 
36 #endif
Describe a latex object.
Definition: PLatexObj.h:40
Extends the std::string.
Definition: PString.h:16
bool platexobj_tex(POutputTex &outputMode, const PLatexObj &obj)
Save the main PLatexObj.
bool isPLatexObjInline(const PLatexObj &obj)
Say if the given PLatexObj is inlined.
POutputTex defaultPOutputTex()
Create a default POutputTex.
PString platexobj_texStr(POutputTex &outputMode, const PLatexObj &obj, const PString &indentation, bool allowText=true)
Convert a PLatexObj into a string.
std::vector< PLatexObj > PVecLatexObj
Vector of obj.
Output mode for tex backend.
Definition: platexobj_tex.h:13
bool isLastObjInline
True if the last used PLatexObj was inlined, false if it was a block.
Definition: platexobj_tex.h:15
bool splitPart
True to split parts in separates files.
Definition: platexobj_tex.h:17
bool splitSection
True to split sections in separates files.
Definition: platexobj_tex.h:21
bool splitChapter
True to split charpters in separates files.
Definition: platexobj_tex.h:19
bool splitSubSubSection
True to split subsubsections in separates files.
Definition: platexobj_tex.h:25
bool splitSubSection
True to split subsections in separates files.
Definition: platexobj_tex.h:23