![]() |
PhoenixLecture
2.0.0
Set of tools to make lectures
|
Go to the source code of this file.
Typedefs | |
typedef PVecPath | PListFile |
List of file. More... | |
typedef std::map< PString, PEnvironement > | PMapExtraEnv |
Vector of extra environement. More... | |
typedef std::vector< PContext > | PVecContext |
Vector of context. More... | |
typedef std::vector< PLatexEnv > | PVecLatexEnv |
Vector of env. More... | |
typedef std::vector< PLatexFunc > | PVecLatexFunc |
Vector of functions. More... | |
typedef std::vector< PLatexObj > | PVecLatexObj |
Vector of obj. More... | |
typedef std::vector< PLatexMenu > | PVecMenu |
Vector of PLatexMenu. More... | |
typedef std::vector< long unsigned int > | PVecNumber |
Vector of section number. More... | |
typedef std::vector< PLatexObj * > | PVecPtrSection |
Vector of section pointer. More... | |
Functions | |
void | appendVecContent (std::vector< PLatexObj > &vecContent, const PLatexObj &obj) |
Append a PLatexObj in the given vector of content. More... | |
void | appendVecContent (std::vector< PLatexObj > &vecContent, const std::vector< PLatexObj > &vecObj) |
Append a vector of PLatexObj in the given vector of content. More... | |
PString | convertBackSlahedStr (const PString &str) |
Convert all the echaped char. More... | |
PString | getSecNumberFromFileName (const PPath &fileName) |
Get the section number from its file name. More... | |
long unsigned int | getSectionLevel (const PLatexObj &obj) |
Return the section level. More... | |
PString | getSectionTitle (POutoutMode &outputMode, const PLatexObj &obj) |
Get the title of a part/chapter/section etc. More... | |
bool | isNewLine (const PLatexObj &obj) |
Say if the PLatexObj is a newline or not. More... | |
bool | isSection (const PLatexObj &obj) |
Say if the PLatexObj is a part, charpter, section, subsection or subsubsection. More... | |
bool | isSectionOrSeparator (const PLatexObj &obj) |
Say if the PLatexObj is a part, charpter, section, subsection, subsubsection or a book separator. More... | |
bool | isSeparator (const PLatexObj &obj) |
Say if the PLatexObj is a book separator. More... | |
List of file.
Definition at line 23 of file platexobj_utils.h.
typedef std::map<PString, PEnvironement> PMapExtraEnv |
Vector of extra environement.
Definition at line 26 of file platexobj_utils.h.
typedef std::vector<PContext> PVecContext |
Vector of context.
Definition at line 29 of file platexobj_utils.h.
typedef std::vector<PLatexEnv> PVecLatexEnv |
Vector of env.
Definition at line 18 of file platexobj_utils.h.
typedef std::vector<PLatexFunc> PVecLatexFunc |
Vector of functions.
Definition at line 20 of file platexobj_utils.h.
typedef std::vector<PLatexObj> PVecLatexObj |
Vector of obj.
Definition at line 16 of file platexobj_utils.h.
typedef std::vector<PLatexMenu> PVecMenu |
Vector of PLatexMenu.
Definition at line 38 of file platexobj_utils.h.
typedef std::vector<long unsigned int> PVecNumber |
Vector of section number.
Definition at line 35 of file platexobj_utils.h.
typedef std::vector<PLatexObj*> PVecPtrSection |
Vector of section pointer.
Definition at line 32 of file platexobj_utils.h.
Append a PLatexObj in the given vector of content.
[out] | vecContent | : vector of content to be updated |
obj | : PLatexObj to be appended |
Definition at line 120 of file platexobj_utils.cpp.
References appendVecContent(), PLatexObj::getType(), PLatexObj::getVecContent(), and PLatexType::NONE.
void appendVecContent | ( | std::vector< PLatexObj > & | vecContent, |
const std::vector< PLatexObj > & | vecObj | ||
) |
Append a vector of PLatexObj in the given vector of content.
[out] | vecContent | : vector of content to be updated |
vecObj | : vector of PLatexObj to be appended |
Definition at line 110 of file platexobj_utils.cpp.
Referenced by appendVecContent(), platexobj_createItem(), platexobj_createParagraph(), platexobj_createRef(), platexobj_createTimetableBlock(), and pspeaker_texSpeaker().
Convert all the echaped char.
str | : string |
Definition at line 65 of file platexobj_utils.cpp.
References PString::replace().
Referenced by PGenericParser::loadDirExtraParserFile().
Get the section number from its file name.
fileName | : input filename |
Definition at line 81 of file platexobj_utils.cpp.
Referenced by vecMenuToHtml().
long unsigned int getSectionLevel | ( | const PLatexObj & | obj | ) |
Return the section level.
obj | : PLatexObj to be checked |
Definition at line 50 of file platexobj_utils.cpp.
References PLatexType::BOOKPARTSEPARATOR, PLatexType::CHAPTER, PLatexObj::getType(), PLatexType::PART, PLatexType::SECTION, PLatexType::SUBSECTION, and PLatexType::SUBSUBSECTION.
Referenced by addSectionInVecPtrSection(), addSeparatorInVecPtrSection(), and platexobj_orderGetSmallerLevel().
PString getSectionTitle | ( | POutoutMode & | outputMode, |
const PLatexObj & | obj | ||
) |
Get the title of a part/chapter/section etc.
outputMode | : mode used to create and remember formalae |
obj | : section to be used |
Definition at line 102 of file platexobj_utils.cpp.
References PLatexObj::getComplexTitle(), and platexobj_htmlStr().
Referenced by createOutlineHtmlStr(), platexobj_book_createPage(), platexobj_htmlStrAllPart(), updateMenu(), updateNextPrev(), and updateParent().
bool isNewLine | ( | const PLatexObj & | obj | ) |
Say if the PLatexObj is a newline or not.
obj | : PLatexObj to be checked |
Definition at line 41 of file platexobj_utils.cpp.
References PLatexType::AUTOSPACEPARAGRAPH, PLatexObj::getType(), and PLatexType::SPACEPARAGRAPH.
Referenced by updateNewLineBase().
bool isSection | ( | const PLatexObj & | obj | ) |
Say if the PLatexObj is a part, charpter, section, subsection or subsubsection.
obj | : PLatexObj to be checked |
Definition at line 15 of file platexobj_utils.cpp.
References PLatexType::CHAPTER, PLatexObj::getType(), PLatexType::PART, PLatexType::SECTION, PLatexType::SUBSECTION, and PLatexType::SUBSUBSECTION.
Referenced by createOutlineHtmlStr(), isSectionOrSeparator(), platexobj_order(), platexobj_updateFileName(), platexobj_updateLink(), platexobj_updateNumber(), updateMenu(), updateNextPrev(), updateParent(), updateSectionWip(), and updateWip().
bool isSectionOrSeparator | ( | const PLatexObj & | obj | ) |
Say if the PLatexObj is a part, charpter, section, subsection, subsubsection or a book separator.
obj | : PLatexObj to be checked |
Definition at line 33 of file platexobj_utils.cpp.
References isSection(), and isSeparator().
Referenced by platexobj_toMenuAll().
bool isSeparator | ( | const PLatexObj & | obj | ) |
Say if the PLatexObj is a book separator.
obj | : PLatexObj to be checked |
Definition at line 24 of file platexobj_utils.cpp.
References PLatexType::BOOKPARTSEPARATOR, and PLatexObj::getType().
Referenced by isSectionOrSeparator(), platexobj_order(), and PFullMenu::setIsSeparator().