![]() |
PhoenixLecture
2.0.0
Set of tools to make lectures
|
#include "phoenix_system.h"
#include "platexobj_html.h"
#include "platexobj_menu.h"
#include "platexobj_rawtext.h"
#include "platexobj_html_book.h"
Go to the source code of this file.
Functions | |
bool | platexobj_book_createPage (POutoutMode &outputMode, const PLatexObj &obj, const PString &baliseName, const PString &cssClassName, const PString &prefixTitle, bool isBibliography) |
Create a page with book theme. More... | |
PString | platexobj_bookHtml (POutoutMode &outputMode, const PLatexObj &obj, bool isBibliography, bool allowText) |
Convert a PLatexObj into a string with book theme. More... | |
PString | platexobj_bookHtml (POutoutMode &outputMode, const std::vector< PLatexObj > &vecObj, bool isBibliography, bool allowText) |
Convert a PLatexObj into a string with book theme. More... | |
PString | platexobj_bookIndexHtml (POutoutMode &outputMode, const PLatexObj &obj, bool isBibliography) |
Save the index.html file. More... | |
bool platexobj_book_createPage | ( | POutoutMode & | outputMode, |
const PLatexObj & | obj, | ||
const PString & | baliseName, | ||
const PString & | cssClassName, | ||
const PString & | prefixTitle, | ||
bool | isBibliography | ||
) |
Create a page with book theme.
[out] | outputMode | : output mode of the html backend |
obj | : PLatexObj to be saved | |
baliseName | : name of the title balise | |
cssClassName | : css class to be used | |
prefixTitle | : prefix of the title (Part or Chapter) | |
isBibliography | : true if there is a bibliography, false if not |
Definition at line 24 of file platexobj_html_book.cpp.
References PLatexObj::getComplexTitle(), PLatexMenu::getLink(), PLatexObj::getLink(), PLatexObj::getName(), PLatexObj::getNextSec(), PLatexObj::getParentSec(), PLatexObj::getPrevSec(), getSectionTitle(), PLatexObj::getSourceFile(), PLatexObj::getSourceLine(), PLatexMenu::getText(), PLatexObj::getVecContent(), POutoutMode::mapVar, platexobj_bookHtml(), platexobj_createTitle(), platexobj_rawtext(), platexobj_theme_createPage(), platexobj_theme_update_var(), and PPath::saveFileContent().
Referenced by platexobj_bookHtml().
PString platexobj_bookHtml | ( | POutoutMode & | outputMode, |
const PLatexObj & | obj, | ||
bool | isBibliography, | ||
bool | allowText | ||
) |
Convert a PLatexObj into a string with book theme.
[out] | outputMode | : output mode of the html backend |
obj | : PLatexObj to be converted into a string | |
isBibliography | : true if there is a bibliography, false otherwise | |
allowText | : true if the TEXT PLatexObj are allowed, false if not |
Definition at line 105 of file platexobj_html_book.cpp.
References PLatexType::CHAPTER, PLatexType::FILE, PLatexObj::getType(), PLatexObj::getVecContent(), PLatexType::PART, platexobj_book_createPage(), platexobj_bookHtml(), platexobj_bookIndexHtml(), platexobj_htmlStrBase(), PLatexType::SECTION, PLatexType::SUBSECTION, and PLatexType::SUBSUBSECTION.
PString platexobj_bookHtml | ( | POutoutMode & | outputMode, |
const std::vector< PLatexObj > & | vecObj, | ||
bool | isBibliography, | ||
bool | allowText | ||
) |
Convert a PLatexObj into a string with book theme.
[out] | outputMode | : output mode of the html backend |
vecObj | : vector of PLatexObj to be converted into a string | |
isBibliography | : true if there is a bibliography, false otherwise | |
allowText | : true if the TEXT PLatexObj are allowed, false if not |
Definition at line 90 of file platexobj_html_book.cpp.
Referenced by platexobj_book_createPage(), platexobj_bookHtml(), and platexobj_bookIndexHtml().
PString platexobj_bookIndexHtml | ( | POutoutMode & | outputMode, |
const PLatexObj & | obj, | ||
bool | isBibliography | ||
) |
Save the index.html file.
[out] | outputMode | : output mode of the html backend |
obj | : PLatexObj to be used | |
isBibliography | : true if there is a bibliography, false otherwise |
Definition at line 59 of file platexobj_html_book.cpp.
References PLatexObj::getAuthor(), PLatexObj::getDate(), PLatexMenu::getLink(), PLatexObj::getLink(), PLatexObj::getName(), PLatexObj::getNextSec(), PLatexObj::getParentSec(), PLatexObj::getPrevSec(), PLatexObj::getSourceFile(), PLatexObj::getSourceLine(), PLatexObj::getSubTitle(), PLatexMenu::getText(), PLatexObj::getVecContent(), POutoutMode::mapVar, platexobj_bookHtml(), platexobj_htmlMainTitle(), platexobj_theme_createPage(), and platexobj_theme_update_var().
Referenced by platexobj_bookHtml().