Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(10)  |  Call(10)  |  Derive(0)  |  Import(0)
On endPage change to the page template with name or index pt

src/e/d/eden-HEAD/modules/s3/s3pdf.py   eden(Download)
            self._handle_pageBegin()
            if self.needLandscape:
                self._handle_nextPageTemplate("landscape")
            elif self.page %2 == 1:
                self._handle_nextPageTemplate("odd")
            else:
                self._handle_nextPageTemplate("even")
 
                self._handle_pageBegin()
                self._handle_nextPageTemplate("Later")
 
            # -----------------------------------------------------------------

src/s/s/ssf-HEAD/modules/s3/s3pdf.py   ssf(Download)
            self._handle_pageBegin()
            if self.needLandscape:
                self._handle_nextPageTemplate("landscape")
            elif self.page %2 == 1:
                self._handle_nextPageTemplate("odd")
            else:
                self._handle_nextPageTemplate("even")
                """
                self._handle_pageBegin()
                self._handle_nextPageTemplate('Later')
 
            def build(self, content=[], canvasmaker=canvas.Canvas, **attr):

src/p/y/pybill-1.1.0/lib/pdfwriters/templates/doc_templates.py   pybill(Download)
        self._handle_pageBegin()
        if self.page == 1:
            self._handle_nextPageTemplate("Next")
        self.display_carry_forward = False
 

src/d/i/dinbrief-0.3.2/dinbrief/template.py   dinbrief(Download)
    def handle_pageBegin(self):
        self._handle_pageBegin()
        self._handle_nextPageTemplate('Later')