![]() |
|
PhoenixBeamerCreator
1.0.0
Tool to create Beamer presentation
|
#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 | makeTexSlides (const PPath &outputFileName, const std::vector< PPath > &listInputFile, bool want169, const PString &numberColor, const PString &footPage, const PString &footPageColor) |
| Make the tex slides. | |
| void | saveBeamerBackground (std::ofstream &fs, const PPath &filePng, long unsigned int slideNumber, bool want169) |
| Save the beamer background. | |
| void | saveBeamerHeaderTex (std::ofstream &fs, bool want169) |
| Make the beamer tex header. | |
| void | saveBeamerSlide (std::ofstream &fs, const PPath &filePng, long unsigned int slideNumber, bool want169, const PString &numberColor, const PString &footPage, const PString &footPageColor) |
| Make the beamer tex slide. | |
| void | saveBeamerSlideNumber (std::ofstream &fs, long unsigned int slideNumber, const PString &numberColor, const PString &footPage, const PString &footPageColor) |
| Save the beamer slide number. | |
| void | saveBeamerSlidePng (std::ofstream &fs, const PPath &filePng, long unsigned int slideNumber, bool want169, const PString &numberColor, const PString &footPage, const PString &footPageColor) |
| Make the beamer tex slide. | |
| void | saveBeamerSlideTex (std::ofstream &fs, const PPath &fileTex, long unsigned int slideNumber, bool want169, const PString &numberColor, const PString &footPage, const PString &footPageColor) |
| Save the beamer slide with a tex file. | |
| 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 228 of file main.cpp.
References createOptionParser(), and makeTexSlides().
Here is the call graph for this function:| void makeTexSlides | ( | const PPath & | outputFileName, |
| const std::vector< PPath > & | listInputFile, | ||
| bool | want169, | ||
| const PString & | numberColor, | ||
| const PString & | footPage, | ||
| const PString & | footPageColor ) |
Make the tex slides.
| outputFileName | : output file name |
| listInputFile | : list of the png slides input |
| want169 | : to have a 16:9 aspect ratio |
| 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 193 of file main.cpp.
References saveBeamerHeaderTex(), and saveBeamerSlide().
Referenced by main().
Here is the call graph for this function:
Here is the caller graph for this function:| void saveBeamerBackground | ( | std::ofstream & | fs, |
| const PPath & | filePng, | ||
| long unsigned int | slideNumber, | ||
| bool | want169 ) |
Save the beamer background.
| [out] | fs | : file to be written |
| filePng | : name of the png file to be used as background | |
| slideNumber | : slide number | |
| want169 | : to have a 16:9 aspect ratio |
Definition at line 84 of file main.cpp.
Referenced by saveBeamerSlidePng(), and saveBeamerSlideTex().
Here is the caller graph for this function:| void saveBeamerHeaderTex | ( | std::ofstream & | fs, |
| bool | want169 ) |
Make the beamer tex header.
| [out] | fs | : file to be completed |
| want169 | : to have a 16:9 aspect ratio |
Definition at line 45 of file main.cpp.
Referenced by makeTexSlides().
Here is the caller graph for this function:| void saveBeamerSlide | ( | std::ofstream & | fs, |
| const PPath & | filePng, | ||
| long unsigned int | slideNumber, | ||
| bool | want169, | ||
| const PString & | numberColor, | ||
| const PString & | footPage, | ||
| const PString & | footPageColor ) |
Make the beamer tex slide.
| [out] | fs | : file to be completed |
| filePng | : file png to be in the slide | |
| slideNumber | : slide number | |
| want169 | : to have a 16:9 aspect ratio | |
| 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 168 of file main.cpp.
References saveBeamerSlidePng(), and saveBeamerSlideTex().
Referenced by makeTexSlides().
Here is the call graph for this function:
Here is the caller graph for this function:| void saveBeamerSlideNumber | ( | std::ofstream & | fs, |
| long unsigned int | slideNumber, | ||
| const PString & | numberColor, | ||
| const PString & | footPage, | ||
| const PString & | footPageColor ) |
Save the beamer slide number.
| [out] | fs | : file to be written |
| slideNumber | : slide number | |
| 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 100 of file main.cpp.
Referenced by saveBeamerSlidePng(), and saveBeamerSlideTex().
Here is the caller graph for this function:| void saveBeamerSlidePng | ( | std::ofstream & | fs, |
| const PPath & | filePng, | ||
| long unsigned int | slideNumber, | ||
| bool | want169, | ||
| const PString & | numberColor, | ||
| const PString & | footPage, | ||
| const PString & | footPageColor ) |
Make the beamer tex slide.
| [out] | fs | : file to be completed |
| filePng | : file png to be in the slide | |
| slideNumber | : slide number | |
| want169 | : to have a 16:9 aspect ratio | |
| 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 150 of file main.cpp.
References saveBeamerBackground(), and saveBeamerSlideNumber().
Referenced by saveBeamerSlide().
Here is the call graph for this function:
Here is the caller graph for this function:| void saveBeamerSlideTex | ( | std::ofstream & | fs, |
| const PPath & | fileTex, | ||
| long unsigned int | slideNumber, | ||
| bool | want169, | ||
| const PString & | numberColor, | ||
| const PString & | footPage, | ||
| const PString & | footPageColor ) |
Save the beamer slide with a tex file.
| [out] | fs | : file to be written |
| fileTex | : name of the tex file to be red | |
| slideNumber | : slide number | |
| want169 | : to have a 16:9 aspect ratio | |
| 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 124 of file main.cpp.
References saveBeamerBackground(), and saveBeamerSlideNumber().
Referenced by saveBeamerSlide().
Here is the call graph for this function:
Here is the caller graph for this function: