![]() |
PhoenixPresentation
2.0.0
Set of cmake function to automate presentation generation
|
Go to the source code of this file.
Functions | |
OptionParser | createOptionParser () |
Create the OptionParser of this program. More... | |
int | main (int argc, char **argv) |
void | slider_makeHtmlSlides (const PPath &outputFileName, const PVecPath &listInputFile, const PString &numberColor, const PString &footPage, const PString &footPageColor) |
Make the tex slides. More... | |
void | slider_saveHtmlHeader (std::ofstream &fs, const PString &numberColor, const PString &footPageColor) |
Make the HTML slider header. More... | |
void | slider_saveHtmlSlide (std::ofstream &fs, const PPath &filePng, long unsigned int slideNumber, const PString &footPage) |
Make the beamer tex slide. More... | |
void | slider_saveHtmlSlideHtml (std::ofstream &fs, const PPath &fileTex, long unsigned int slideNumber, const PString &footPage) |
Save the html slide with a html file. More... | |
void | slider_saveHtmlSlideMp4 (std::ofstream &fs, const PPath &fileMp4, long unsigned int slideNumber, const PString &footPage) |
Make the html mp4 slide. More... | |
void | slider_saveHtmlSlideNumber (std::ofstream &fs, long unsigned int slideNumber, const PString &footPage) |
Save the HTML slide number. More... | |
void | slider_saveHtmlSlidePng (std::ofstream &fs, const PPath &filePng, long unsigned int slideNumber, const PString &footPage) |
Make the html png slide. More... | |
void | slider_saveJavascript (std::ofstream &fs) |
Make the HTML slider javascript. More... | |
OptionParser createOptionParser | ( | ) |
Create the OptionParser of this program.
Definition at line 17 of file main.cpp.
References OptionParser::addOption(), OptionType::FILENAME, OptionParser::setExampleLongOption(), and OptionParser::setExampleShortOption().
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 362 of file main.cpp.
References createOptionParser(), OptionParser::getDefaultMode(), OptionMode::getValue(), OptionParser::parseArgument(), and slider_makeHtmlSlides().
void slider_makeHtmlSlides | ( | const PPath & | outputFileName, |
const PVecPath & | listInputFile, | ||
const PString & | numberColor, | ||
const PString & | footPage, | ||
const PString & | footPageColor | ||
) |
Make the tex slides.
outputFileName | : output file name |
listInputFile | : list of the png slides input |
numberColor | : color of the slide number (black, white, red, blue, green, yellow, gray(by default)) |
footPage | : string to be written in the footpage of the slides |
footPageColor | : color of the foot page |
Definition at line 322 of file main.cpp.
References slider_saveHtmlHeader(), slider_saveHtmlSlide(), and slider_saveJavascript().
Referenced by main().
void slider_saveHtmlHeader | ( | std::ofstream & | fs, |
const PString & | numberColor, | ||
const PString & | footPageColor | ||
) |
Make the HTML slider header.
[out] | fs | : file to be completed |
numberColor | : color of the slide number (black, white, red, blue, green, yellow, gray(by default)) | |
footPageColor | : color of the foot page |
Definition at line 44 of file main.cpp.
Referenced by slider_makeHtmlSlides().
void slider_saveHtmlSlide | ( | std::ofstream & | fs, |
const PPath & | filePng, | ||
long unsigned int | slideNumber, | ||
const PString & | footPage | ||
) |
Make the beamer tex slide.
[out] | fs | : file to be completed |
filePng | : file png to be in the slide | |
slideNumber | : slide number | |
footPage | : string to be written in the footpage of the slides |
Definition at line 298 of file main.cpp.
References PPath::getExtension(), slider_saveHtmlSlideHtml(), slider_saveHtmlSlideMp4(), and slider_saveHtmlSlidePng().
Referenced by slider_makeHtmlSlides().
void slider_saveHtmlSlideHtml | ( | std::ofstream & | fs, |
const PPath & | fileTex, | ||
long unsigned int | slideNumber, | ||
const PString & | footPage | ||
) |
Save the html slide with a html file.
[out] | fs | : file to be written |
fileTex | : name of the tex file to be red | |
slideNumber | : slide number | |
footPage | : string to be written in the footpage of the slides |
Definition at line 277 of file main.cpp.
References PPath::loadFileContent(), and slider_saveHtmlSlideNumber().
Referenced by slider_saveHtmlSlide().
void slider_saveHtmlSlideMp4 | ( | std::ofstream & | fs, |
const PPath & | fileMp4, | ||
long unsigned int | slideNumber, | ||
const PString & | footPage | ||
) |
Make the html mp4 slide.
[out] | fs | : file to be completed |
fileMp4 | : mp4 file to be in the slide | |
slideNumber | : slide number | |
footPage | : string to be written in the footpage of the slides |
Definition at line 251 of file main.cpp.
References PPath::eraseExtension(), and slider_saveHtmlSlideNumber().
Referenced by slider_saveHtmlSlide().
void slider_saveHtmlSlideNumber | ( | std::ofstream & | fs, |
long unsigned int | slideNumber, | ||
const PString & | footPage | ||
) |
Save the HTML slide number.
[out] | fs | : file to be written |
slideNumber | : slide number | |
footPage | : string to be written in the footpage of the slides |
Definition at line 220 of file main.cpp.
Referenced by slider_saveHtmlSlideHtml(), slider_saveHtmlSlideMp4(), and slider_saveHtmlSlidePng().
void slider_saveHtmlSlidePng | ( | std::ofstream & | fs, |
const PPath & | filePng, | ||
long unsigned int | slideNumber, | ||
const PString & | footPage | ||
) |
Make the html png slide.
[out] | fs | : file to be completed |
filePng | : file png to be in the slide | |
slideNumber | : slide number | |
footPage | : string to be written in the footpage of the slides |
Definition at line 236 of file main.cpp.
References slider_saveHtmlSlideNumber().
Referenced by slider_saveHtmlSlide().
void slider_saveJavascript | ( | std::ofstream & | fs | ) |
Make the HTML slider javascript.
[out] | fs | : file to be completed |
Definition at line 165 of file main.cpp.
Referenced by slider_makeHtmlSlides().