def _allSatisfied(self): """ multibuild ask this method to know if a additionnal pass is requiered. If return 0, a new pass is run""" if self._lastnumPages < self.numPages: return 0 return BaseDocTemplate._allSatisfied(self)
def _callParentBuild(self, story): """ call the parent multibuild. to pass the drawing more than once """ BaseDocTemplate.multiBuild(self, story)
def _callParentBuild(self, story): """call the parent build method (sparated in a method to allow children classes to redefine it and call multibuild if needed) """ BaseDocTemplate.build(self, story)