25 const PString & baliseName,
const PString & cssClassName,
const PString & prefixTitle,
bool isBibliography)
29 for(PVecLatexObj::const_iterator it(vecObj.begin()); it != vecObj.end(); ++it){
41 outputMode.
mapVar[
"${SUB_MENU}"] =
"";
42 outputMode.
mapVar[
"${PAGE_CONTENT}"] = body;
46 std::cerr <<
"platexobj_book_createPage : can't save file '"<<fileName<<
"' for object '" << obj.
getName() <<
"'" << std::endl;
62 for(PVecLatexObj::const_iterator it(vecObj.begin()); it != vecObj.end(); ++it){
76 outputMode.
mapVar[
"${MAIN_TITLE}"] = bodyTitle;
78 outputMode.
mapVar[
"${SUB_MENU}"] =
"";
79 outputMode.
mapVar[
"${PAGE_CONTENT}"] = body;
92 for(std::vector<PLatexObj>::const_iterator it(vecObj.begin()); it != vecObj.end(); ++it){
const PLatexMenu & getNextSec() const
Gets the nextSec of the PLatexObj.
const std::vector< PLatexObj > & getVecContent() const
Gets the vecContent of the PLatexObj.
const std::vector< PLatexObj > & getComplexTitle() const
Gets the complexTitle of the PLatexObj.
const PString & getSubTitle() const
Gets the subTitle of the PLatexObj.
const PLatexType::PLatexType & getType() const
Gets the type of the PLatexObj.
const PString & getName() const
Gets the name of the PLatexObj.
const PString & getLink() const
Gets the link of the PLatexObj.
const PLatexMenu & getParentSec() const
Gets the parentSec of the PLatexObj.
const PString & getAuthor() const
Gets the author of the PLatexObj.
const PString & getSourceFile() const
Gets the sourceFile of the PLatexObj.
size_t getSourceLine() const
Gets the sourceLine of the PLatexObj.
const PString & getDate() const
Gets the date of the PLatexObj.
const PLatexMenu & getPrevSec() const
Gets the prevSec of the PLatexObj.
Path of a directory or a file.
bool saveFileContent(const PString &content) const
Save a PString in a file.
PLatexType
Type of the PLatexObj.
PString platexobj_createTitle(const PLatexObj &obj, const PString &baliseName, const PString &cssClassName, const PString objTitle, const PString &prefixTitle, bool addLinkLabel)
Create a title.
PString platexobj_htmlMainTitle(const PString &title, const PString &hLevel, const PString &cssClassName)
bool platexobj_htmlStrBase(PString &body, POutoutMode &outputMode, const PLatexObj &obj, bool isBibliography, bool allowText)
PString platexobj_bookHtml(POutoutMode &outputMode, const std::vector< PLatexObj > &vecObj, bool isBibliography, bool allowText)
Convert a PLatexObj into a string with book theme.
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.
PString platexobj_bookIndexHtml(POutoutMode &outputMode, const PLatexObj &obj, bool isBibliography)
Save the index.html file.
PString platexobj_rawtext(const std::vector< PLatexObj > &vecObj)
Convert a PLatexObj in text.
PString getSectionTitle(POutoutMode &outputMode, const PLatexObj &obj)
Get the title of a part/chapter/section etc.
std::vector< PLatexObj > PVecLatexObj
Vector of obj.
Output mode of the html backend.
PMapKnownVar mapVar
Map of output var which are use to fill the output themes.