![]() |
PhoenixLecture
2.0.0
Set of tools to make lectures
|
Go to the source code of this file.
Functions | |
bool | platexobg_isMenuExtanded (const PFullMenu &menu, const PString ¤tLink) |
Say if the current menu has to be extended. More... | |
void | platexobj_makeExpandMenu (PFullMenu &menu, const PString ¤tLink) |
Update menus which are supposed to be extended. More... | |
PString | platexobj_menuToHtml (const PFullMenu &menu, const PString ¤tLink, bool isBibliography) |
Convert a PFullMenu to html. More... | |
PString | platexobj_menuToHtmlChapter (const PFullMenu &menu, const PString &indentation) |
Convert a PFullMenu to html. More... | |
PFullMenu | platexobj_toMenu (const PLatexObj &obj, const PLatexObj &mainPageLink) |
Convert a PLatexObj into a menu. More... | |
void | platexobj_toMenuAll (PFullMenu &menu, const PLatexObj &obj) |
Convert a PLatexObj into a menu. More... | |
Say if the current menu has to be extended.
menu | : PFullMenu to be checked |
currentLink | : link of the menu to be expanded |
Definition at line 104 of file platexobj_menu.cpp.
References PFullMenu::getLink().
Referenced by platexobj_makeExpandMenu().
Update menus which are supposed to be extended.
menu | : PFullMenu to be converted |
currentLink | : link of the current menu |
Definition at line 112 of file platexobj_menu.cpp.
References PFullMenu::getVecSubMenu(), platexobg_isMenuExtanded(), PFullMenu::setIsExpanded(), and PFullMenu::setIsFirstExpanded().
Referenced by platexobj_menuToHtml().
PString platexobj_menuToHtml | ( | const PFullMenu & | menu, |
const PString & | currentLink, | ||
bool | isBibliography | ||
) |
Convert a PFullMenu to html.
menu | : PFullMenu to be converted |
currentLink | : link of the current menu |
isBibliography | : true if there is a bibliography, false if not |
Definition at line 132 of file platexobj_menu.cpp.
References PFullMenu::getMainPageLink(), PFullMenu::getVecSubMenu(), platexobj_makeExpandMenu(), and platexobj_menuToHtmlChapter().
Referenced by platexobj_theme_update_var().
Convert a PFullMenu to html.
menu | : PFullMenu to be converted |
indentation | : display indentation |
Definition at line 69 of file platexobj_menu.cpp.
References PFullMenu::getIsExpanded(), PFullMenu::getIsFirstExpanded(), PFullMenu::getIsSeparator(), PFullMenu::getLink(), PFullMenu::getText(), and PFullMenu::getVecSubMenu().
Referenced by platexobj_menuToHtml().
Convert a PLatexObj into a menu.
obj | : PLatexObj to be used |
mainPageLink | : main page link if updated |
Definition at line 48 of file platexobj_menu.cpp.
References PLatexType::BOOKMAINPAGELINK, PLatexObj::getType(), PLatexObj::getVecContent(), platexobj_text(), platexobj_toMenuAll(), and PFullMenu::setMainPageLink().
Referenced by processAllFile().
Convert a PLatexObj into a menu.
Definition at line 17 of file platexobj_menu.cpp.
References PLatexType::BOOKPARTSEPARATOR, PLatexType::CHAPTER, PLatexType::FILE, PLatexObj::getComplexTitle(), PLatexObj::getLink(), PLatexObj::getName(), PLatexObj::getType(), PLatexObj::getVecContent(), PLatexObj::getVecSecNumber(), PFullMenu::getVecSubMenu(), isSectionOrSeparator(), PLatexType::PART, platexobj_text(), PLatexType::SECTION, PFullMenu::setIsSeparator(), PFullMenu::setLink(), PFullMenu::setText(), PLatexType::SUBSECTION, PLatexType::SUBSUBSECTION, and vecNumberToString().
Referenced by platexobj_toMenu().