43 vecContent.push_back(bio);
53 void pspeaker_tex(std::vector<PLatexObj> & vecContent,
const std::vector<PLatexSpeaker> & vecSpeaker,
const PString & sectionLabel){
54 if(vecSpeaker.size() == 0lu){
return;}
56 vecContent.push_back(
platexobj_createText(
"Here you can find all speakers of the timetable.",
""));
57 for(std::vector<PLatexSpeaker>::const_iterator it(vecSpeaker.begin()); it != vecSpeaker.end(); ++it){
67 const std::vector<PLatexSpeaker> & vecSpeaker = timetable.
getVecSpeaker();
const std::vector< PLatexObj > & getVecContent() const
Gets the vecContent of the PLatexObj.
Describe a speaker in a timetable.
const PLatexObj & getTitle() const
Gets the title of the PLatexSpeaker.
const PLatexObj & getName() const
Gets the name of the PLatexSpeaker.
const PString & getLabel() const
Gets the label of the PLatexSpeaker.
const PLatexObj & getAffiliation() const
Gets the affiliation of the PLatexSpeaker.
const PLatexObj & getDescription() const
Gets the description of the PLatexSpeaker.
const PLatexObj & getJob() const
Gets the job of the PLatexSpeaker.
PLatexObj platexobj_createNewLine()
Create a new line.
PLatexObj platexobj_createText(const PString &text, const PString &label)
Create a TEXT.
PLatexObj platexobj_createSection(PLatexType::PLatexType sectionType, const PLatexObj &complexTitle, const PString &label)
Create a part, chapter, section, subsection, subsubsection.
PLatexObj platexobj_createParagraph(const PString &text, const PString &label)
Create a PARAGRAPH.
PLatexObj platexobj_createTextBf(const PString &text, const PString &label)
Create a TEXT.
bool platexobj_parseStr(PLatexObj &obj, const PString &latexStr)
Parse a str and convert it into a PLatexObj.
void appendVecContent(std::vector< PLatexObj > &vecContent, const std::vector< PLatexObj > &vecObj)
Append a vector of PLatexObj in the given vector of content.
void pspeaker_tex(std::vector< PLatexObj > &vecContent, const std::vector< PLatexSpeaker > &vecSpeaker, const PString §ionLabel)
Save all speakers of the given PTimeTable into a vector of PLatexObj.
void pspeaker_texSpeaker(std::vector< PLatexObj > &vecContent, const PLatexSpeaker &speaker)
Save all speakers of the given PLatexSpeaker into a vector of PLatexObj.