![]() |
|
PhoenixSlider
1.0.0
Create HTML presentation automatically
|
#include <fstream>#include <iostream>#include "PPath.h"#include "OptionParser.h"
Include dependency graph for main.cpp:Go to the source code of this file.
Functions | |
| OptionParser | createOptionParser () |
| Create the OptionParser of this program. | |
| 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. | |
| void | slider_saveHtmlHeader (std::ofstream &fs, const PString &numberColor, const PString &footPageColor) |
| Make the HTML slider header. | |
| void | slider_saveHtmlSlide (std::ofstream &fs, const PPath &filePng, long unsigned int slideNumber, const PString &footPage) |
| Make the beamer tex slide. | |
| void | slider_saveHtmlSlideHtml (std::ofstream &fs, const PPath &fileTex, long unsigned int slideNumber, const PString &footPage) |
| Save the html slide with a html file. | |
| void | slider_saveHtmlSlideMp4 (std::ofstream &fs, const PPath &fileMp4, long unsigned int slideNumber, const PString &footPage) |
| Make the html mp4 slide. | |
| void | slider_saveHtmlSlideNumber (std::ofstream &fs, long unsigned int slideNumber, const PString &footPage) |
| Save the HTML slide number. | |
| void | slider_saveHtmlSlidePng (std::ofstream &fs, const PPath &filePng, long unsigned int slideNumber, const PString &footPage) |
| Make the html png slide. | |
| void | slider_saveJavascript (std::ofstream &fs) |
| Make the HTML slider javascript. | |
| OptionParser createOptionParser | ( | ) |
Create the OptionParser of this program.
Definition at line 17 of file main.cpp.
Referenced by main().
Here is the caller graph for this function:| int main | ( | int | argc, |
| char ** | argv ) |
Definition at line 362 of file main.cpp.
References createOptionParser(), and slider_makeHtmlSlides().
Here is the call graph for this function:| 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().
Here is the call graph for this function:
Here is the caller graph for this function:| 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().
Here is the caller graph for this function:| 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 slider_saveHtmlSlideHtml(), slider_saveHtmlSlideMp4(), and slider_saveHtmlSlidePng().
Referenced by slider_makeHtmlSlides().
Here is the call graph for this function:
Here is the caller graph for this function:| 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 slider_saveHtmlSlideNumber().
Referenced by slider_saveHtmlSlide().
Here is the call graph for this function:
Here is the caller graph for this function:| 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 slider_saveHtmlSlideNumber().
Referenced by slider_saveHtmlSlide().
Here is the call graph for this function:
Here is the caller graph for this function:| 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().
Here is the caller graph for this function:| 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().
Here is the call graph for this function:
Here is the caller graph for this function:| 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().
Here is the caller graph for this function: