![]() |
PhoenixLecture
2.0.0
Set of tools to make lectures
|
#include "platexobj_utils.h"
Go to the source code of this file.
Functions | |
PString | convertCharToHtml (char ch) |
fonction qui converti une chaîne de caractères en html (elle remplace les caractères spéciaux) More... | |
PString | convertStrToHtml (const PString &str) |
fonction qui converti une chaîne de caractères en html (elle remplace les caractères spéciaux) More... | |
PLatexObj * | getLastPLatexObj (PLatexObj &obj) |
Get the last PLatexObj of the given one. More... | |
PParserEnv | getParserEnv (const PVecParserEnv &vecParser, const PString &nameParser) |
Get the parser env. More... | |
PString | parser_makeHighlighting (const PString &strContent, const PParserEnv &parser) |
Do the highlighting of the input text. More... | |
PString convertCharToHtml | ( | char | ch | ) |
fonction qui converti une chaîne de caractères en html (elle remplace les caractères spéciaux)
ch | : char que l'on veut convertir en Html |
Definition at line 36 of file parser_utils.cpp.
Referenced by incrementCurrentChar().
fonction qui converti une chaîne de caractères en html (elle remplace les caractères spéciaux)
str | : string que l'on veut convertir en Html |
Definition at line 14 of file parser_utils.cpp.
References PString::replace().
Referenced by parser_parseKeyword(), pbiblio_attributeHtml(), and platexobj_htmlStrText().
Get the last PLatexObj of the given one.
obj | : main object to use |
Definition at line 212 of file parser_utils.cpp.
References PLatexType::CAPTION, PLatexObj::getType(), PLatexObj::getVecContent(), and PLatexType::TEXT.
Referenced by PGenericParser::parseLabel().
PParserEnv getParserEnv | ( | const PVecParserEnv & | vecParser, |
const PString & | nameParser | ||
) |
Get the parser env.
vecParser | : list of all parser |
nameParser | : name of the parser to get |
Definition at line 61 of file parser_utils.cpp.
References PVecParserEnv::getVecEnv().
Referenced by PMarkdownParser::parseExtraParser(), PConfigParser::parseParserLanguage(), and PConfigParser::parseParserLanguageFunction().
PString parser_makeHighlighting | ( | const PString & | strContent, |
const PParserEnv & | parser | ||
) |
Do the highlighting of the input text.
strContent | : string content |
parser | : parser to be used |
Definition at line 186 of file parser_utils.cpp.
References PParserEnv::getPlainText(), PFileParser::getStrComposedOf(), incrementCurrentChar(), PFileParser::isEndOfFile(), parser_parseKeyword(), playTextLatexObj(), PFileParser::setEscapeChar(), PFileParser::setFileContent(), and PFileParser::setWhiteSpace().
Referenced by PMarkdownParser::parseExtraParser(), PConfigParser::parseParserLanguage(), and PConfigParser::parseParserLanguageFunction().