PhoenixLecture  2.0.0
Set of tools to make lectures
parser_utils.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 __PARSER_UTILS_H__
8 #define __PARSER_UTILS_H__
9 
10 #include "platexobj_utils.h"
11 
12 PString convertStrToHtml(const PString & str);
13 PString convertCharToHtml(char ch);
14 
15 PParserEnv getParserEnv(const PVecParserEnv & vecParser, const PString & nameParser);
16 
17 PString parser_makeHighlighting(const PString & strContent, const PParserEnv & parser);
18 
20 
21 #endif
Describe a latex object.
Definition: PLatexObj.h:40
Parser environement.
Definition: PLatexObj.h:363
Extends the std::string.
Definition: PString.h:16
Vector of the environements.
Definition: PLatexObj.h:391
PString parser_makeHighlighting(const PString &strContent, const PParserEnv &parser)
Do the highlighting of the input text.
PLatexObj * getLastPLatexObj(PLatexObj &obj)
Get the last PLatexObj of the given one.
PString convertCharToHtml(char ch)
fonction qui converti une chaîne de caractères en html (elle remplace les caractères spéciaux)
PParserEnv getParserEnv(const PVecParserEnv &vecParser, const PString &nameParser)
Get the parser env.
PString convertStrToHtml(const PString &str)
fonction qui converti une chaîne de caractères en html (elle remplace les caractères spéciaux)