PhoenixLecture  2.0.0
Set of tools to make lectures
platexobj_html.h
Go to the documentation of this file.
1 /***************************************
2  Auteur : Pierre Aubert
3  Mail : pierre.aubert@lapp.in2p3.fr
4  Licence : CeCILL-C
5 ****************************************/
6 
7 #ifndef __PLATEXOBJ_HTML_H__
8 #define __PLATEXOBJ_HTML_H__
9 
10 #include "platexobj_formulae.h"
11 
13 PString vecNumberToString(const std::vector<long unsigned int> & vecNb);
14 PString platexobj_createTitle(const PLatexObj & obj, const PString & baliseName, const PString & cssClassName,
15  const PString objTitle, const PString & prefixTitle, bool addLinkLabel);
16 
17 
25 
27 PString vecMenuToHtml(const PVecMenu & vecMenu);
28 
29 PString getHtmlHeader(const PString & title, bool useMathJax, bool useRemoteMathjax, const PString & currentStyle);
31 
32 
33 PString platexobj_htmlMainTitle(const PString & title, const PString & hLevel, const PString & cssClassName);
34 
35 bool platexobj_htmlStrBase(PString & body, POutoutMode & outputMode, const PLatexObj & obj, bool isBibliography, bool allowText);
36 
37 PString platexobj_htmlStr(POutoutMode & outputMode, const PLatexObj & obj, bool isBibliography = false, bool allowText = true);
38 PString platexobj_htmlStr(POutoutMode & outputMode, const PVecLatexObj & vecObj, bool isBibliography = false, bool allowText = true);
39 
40 bool platexobj_html(POutoutMode & outputMode, const PLatexObj & obj, bool isBibliography = false, const PString & baseInstallPrefix = "");
41 
42 #endif
Describe a latex object.
Definition: PLatexObj.h:40
Extends the std::string.
Definition: PString.h:16
PString platexobj_createLabelSearchLink(const PString &labelName)
Create the link to the label of the current PLatexObj if it exist.
PString platexobj_htmlStr(POutoutMode &outputMode, const PLatexObj &obj, bool isBibliography=false, bool allowText=true)
PString vecMenuToHtml(const PVecMenu &vecMenu)
Convert the vector of menu into a html string.
PString platexobj_htmlMainTitle(const PString &title, const PString &hLevel, const PString &cssClassName)
PString vecNumberToString(const std::vector< long unsigned int > &vecNb)
Convert a vector of numbers into a string.
PString platexobj_htmlStrUrl(const PLatexObj &obj)
Convert a PLatexObj into a string.
PString platexobj_htmlStrTextDebug(const PLatexObj &obj)
Convert a PLatexObj into a string.
PString platexobj_htmlStrTextBf(const PLatexObj &obj)
Convert a PLatexObj into a string.
PString getHtmlFooter()
PString platexobj_htmlStrRendezVous(const PLatexObj &obj)
Convert a rendez-vous into a html string.
PString getHtmlHeader(const PString &title, bool useMathJax, bool useRemoteMathjax, const PString &currentStyle)
Get the html header.
PString platexobj_htmlStrText(const PLatexObj &obj)
Convert a PLatexObj into a string.
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_htmlStrGetEnv(const PLatexObj &obj)
Convert a PLatexObj into a string.
PString platexobj_htmlStrRef(const PLatexObj &obj)
Convert a PLatexObj into a string.
bool platexobj_htmlStrBase(PString &body, POutoutMode &outputMode, const PLatexObj &obj, bool isBibliography, bool allowText)
PString platexobj_htmlStrTextIt(const PLatexObj &obj)
Convert a PLatexObj into a string.
bool platexobj_html(POutoutMode &outputMode, const PLatexObj &obj, bool isBibliography=false, const PString &baseInstallPrefix="")
std::vector< PLatexObj > PVecLatexObj
Vector of obj.
std::vector< PLatexMenu > PVecMenu
Vector of PLatexMenu.
Output mode of the html backend.