16 for(PVecLatexObj::const_iterator it(vecContent.begin()); it != vecContent.end(); ++it){
19 }
else if(it->getVecContent().size() != 0lu){
33 for(PVecLatexObj::iterator it(vecObj.begin()); it != vecObj.end(); ++it){
39 if(it->getVecContent().size() != 0lu){
61 for(PVecLatexObj::iterator it(vecObj.begin()); it != vecObj.end(); ++it){
const std::vector< PLatexObj > & getVecContent() const
Gets the vecContent of the PLatexObj.
void setIsWorkInProgress(bool isWorkInProgress)
Sets the isWorkInProgress of the PLatexObj.
const std::vector< PLatexObj > & getComplexTitle() const
Gets the complexTitle of the PLatexObj.
void setType(const PLatexType::PLatexType &type)
Sets the type of the PLatexObj.
void setText(const PString &text)
Sets the text of the PLatexObj.
bool isSection(const PLatexObj &obj)
Say if the PLatexObj is a part, charpter, section, subsection or subsubsection.
std::vector< PLatexObj > PVecLatexObj
Vector of obj.
void updateWip(PLatexObj &obj)
Update the Part/Chapter/Section/etc if they contains a work in progress.
bool updateVecContent(const PVecLatexObj &vecContent)
Check in a vector of latex objects if there is a wip.
bool updateSectionWip(PLatexObj &obj)
Update the wip of a obj and say if there was a WIP inside or not.