![]() |
PhoenixLecture
2.0.0
Set of tools to make lectures
|
#include "platexobj_order.h"
Go to the source code of this file.
Functions | |
void | addSectionInVecPtrSection (PLatexObj &out, PVecPtrSection &vecPtrSection, PLatexObj &sec) |
Add a section into the vecPtrSection. More... | |
void | addSeparatorInVecPtrSection (PLatexObj &out, PVecPtrSection &vecPtrSection, PLatexObj &separator) |
Add a section into the vecPtrSection. More... | |
PLatexObj | platexobj_order (PLatexObj &obj) |
Order the PLatexObj in part,chapter,section,subsection,subsubsection. More... | |
void | platexobj_orderGetSmallerLevel (PVecPtrSection &vecPtrSection, long unsigned int level) |
Erase all the higher level from vecPtrSection. More... | |
void addSectionInVecPtrSection | ( | PLatexObj & | out, |
PVecPtrSection & | vecPtrSection, | ||
PLatexObj & | sec | ||
) |
Add a section into the vecPtrSection.
[out] | out | : output sorted PLatexObj |
[out] | vecPtrSection | : vector of section pointer to be updated |
sec | : input section |
Definition at line 60 of file platexobj_order.cpp.
References PLatexObj::getLink(), PLatexObj::getName(), PLatexObj::getParentSec(), getSectionLevel(), PLatexObj::getVecContent(), platexobj_orderGetSmallerLevel(), PLatexMenu::setLink(), and PLatexMenu::setText().
Referenced by platexobj_order().
void addSeparatorInVecPtrSection | ( | PLatexObj & | out, |
PVecPtrSection & | vecPtrSection, | ||
PLatexObj & | separator | ||
) |
Add a section into the vecPtrSection.
[out] | out | : output sorted PLatexObj |
[out] | vecPtrSection | : vector of section pointer to be updated |
separator | : input section |
Definition at line 26 of file platexobj_order.cpp.
References getSectionLevel(), PLatexObj::getVecContent(), and platexobj_orderGetSmallerLevel().
Referenced by platexobj_order().
Order the PLatexObj in part,chapter,section,subsection,subsubsection.
[out] | obj | : PLatexObj to be reordered |
Definition at line 109 of file platexobj_order.cpp.
References addSectionInVecPtrSection(), addSeparatorInVecPtrSection(), PLatexObj::getAuthor(), PLatexObj::getDate(), PLatexObj::getLink(), PLatexObj::getName(), PLatexObj::getSourceFile(), PLatexObj::getSourceLine(), PLatexObj::getSubTitle(), PLatexObj::getType(), PLatexObj::getVecContent(), isSection(), isSeparator(), PLatexObj::setAuthor(), PLatexObj::setDate(), PLatexObj::setLink(), PLatexObj::setName(), PLatexObj::setSourceFile(), PLatexObj::setSourceLine(), PLatexObj::setSubTitle(), and PLatexObj::setType().
Referenced by processAllFile().
void platexobj_orderGetSmallerLevel | ( | PVecPtrSection & | vecPtrSection, |
long unsigned int | level | ||
) |
Erase all the higher level from vecPtrSection.
[out] | vecPtrSection | : PVecPtrSection to be updated |
level | : required level |
Definition at line 14 of file platexobj_order.cpp.
References getSectionLevel().
Referenced by addSectionInVecPtrSection(), and addSeparatorInVecPtrSection().