18 body +=
"\t\t<table class=\""+cssClassName+
"\">\n";
19 body +=
"\t\t\t<tr>\n";
20 body +=
"\t\t\t<td><a href=\"index.html\">Main Page</a></td>\n";
21 body +=
"\t\t\t<td><a href=\"bibliography.html\">Bibliographie</a></td>\n";
23 body +=
"\t\t\t<td><a href=\"outline.html\">Outline</a></td>\n";
25 body +=
"\t\t\t</tr>\n";
26 body +=
"\t\t</table>\n";
41 else {
return "bibarticle";}
51 if(attrValue ==
""){
return "";}
53 body +=
"\t<"+balise+
">";
55 body += extraText +
" : ";
67 if(attrValue ==
""){
return "";}
69 body +=
"\t<"+balise+
"><a href=\""+attrValue+
"\">"+attrValue+
"</a></"+balise+
">\n";
89 body +=
"<h3>Abstract</h3>\n";
104 body +=
"\t\t<div class=\"biblioContent\">\n";
108 body +=
"\t\t\t</div>\n";
110 body +=
"\t\t</div>\n";
116 std::cerr <<
"pbiblio_entryPage : can't save file '"<<fileName<<
"'" << std::endl;
139 body +=
"\t<a href=\"bib_"+
valueToString(bibEntry.
getId())+
".html\">+ informations</a>\n";
152 body +=
"\t\t<div class=\"biblioContent\">\n";
154 for(PMapBiblioEntry::const_iterator it(mapBiblioEntry.begin()); it != mapBiblioEntry.end(); ++it){
159 body +=
"\t\t</div>\n";
174 std::cerr <<
"platexobj_html : can't save file '"<<fileName<<
"'" << std::endl;
177 std::cerr <<
"platexobj_html : save file '"<<fileName<<
"'" << std::endl;
Entry in the bibliography.
const PString & getUrl() const
Gets the url of the PBiblioEntry.
const PBiblioEntryType::PBiblioEntryType & getType() const
Gets the type of the PBiblioEntry.
const PString & getAuthor() const
Gets the author of the PBiblioEntry.
const PString & getAbstract() const
Gets the abstract of the PBiblioEntry.
const PString & getTitle() const
Gets the title of the PBiblioEntry.
const PString & getVolume() const
Gets the volume of the PBiblioEntry.
const PString & getJournal() const
Gets the journal of the PBiblioEntry.
const PString & getPages() const
Gets the pages of the PBiblioEntry.
const PString & getYear() const
Gets the year of the PBiblioEntry.
size_t getId() const
Gets the id of the PBiblioEntry.
Path of a directory or a file.
bool saveFileContent(const PString &content) const
Save a PString in a file.
std::string valueToString(const T &val)
Convert a type into a string.
PString convertStrToHtml(const PString &str)
fonction qui converti une chaîne de caractères en html (elle remplace les caractères spéciaux)
PString pbiblio_entryHtml(const PBiblioEntry &bibEntry)
Convert a PBiblioEntry in html.
PString pbiblio_attributeHtml(const PString &attrValue, const PString &balise, const PString &extraText)
Convert a biblio attribute in html.
PString pbiblio_entryTypeToHtml(PBiblioEntryType::PBiblioEntryType type)
Convert a string into an entry type.
PString pbiblio_attributeUrlHtml(const PString &attrValue, const PString &balise)
Convert a biblio attribute in html.
bool pbiblio_entryPage(const PBiblioEntry &bibEntry, const POutoutMode &outputMode)
Convert a PBiblioEntry in html.
PString pbiblio_entryPageHtml(const PBiblioEntry &bibEntry)
Convert a PBiblioEntry in html.
PString pbiblio_html(const PMapBiblioEntry &mapBiblioEntry, const POutoutMode &outputMode)
Save the bibliography in string.
PString createNavigationMenuBiblio(const PString &cssClassName, const POutoutMode &outputMode)
Create the navigation menu.
std::map< PString, PBiblioEntry > PMapBiblioEntry
Describes the map for all PBiblioEntry.
PString getHtmlHeader(const PString &title, bool useMathJax, bool useRemoteMathjax, const PString ¤tStyle)
Get the html header.
Output mode of the html backend.
bool isBookTheme
True to activate the book theme.
PString currentStyle
Current style to be used for the generated pages of the site.