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

All Samples(27)  |  Call(27)  |  Derive(0)  |  Import(0)
get the page number for the current page being generated.

src/m/w/mwlib.ext-0.13.2/upstream-src/demos/odyssey/odyssey.py   mwlib.ext(Download)
 
            #page
            pg = canv.getPageNumber()
            if verbose and pg % 10 == 0:
                print 'formatted page %d' % canv.getPageNumber()
    finished = time.time()
    elapsed = finished - started
    pages = canv.getPageNumber()-1
    speed =  pages / elapsed
    fileSize = os.stat('odyssey.pdf')[6] / 1024

src/r/e/reportlab-3.1.8/demos/odyssey/odyssey.py   reportlab(Download)
 
            #page
            pg = canv.getPageNumber()
            if verbose and pg % 10 == 0:
                print('formatted page %d' % canv.getPageNumber())
    finished = time.time()
    elapsed = finished - started
    pages = canv.getPageNumber()-1
    speed =  pages / elapsed
    fileSize = os.stat('odyssey.pdf')[6] / 1024

src/r/e/ReportLab-HEAD/demos/odyssey/odyssey.py   ReportLab(Download)
 
            #page
            pg = canv.getPageNumber()
            if verbose and pg % 10 == 0:
                print 'formatted page %d' % canv.getPageNumber()
    finished = time.time()
    elapsed = finished - started
    pages = canv.getPageNumber()-1
    speed =  pages / elapsed
    fileSize = os.stat('odyssey.pdf')[6] / 1024

src/m/w/mwlib.ext-0.13.2/upstream-src/demos/colors/colortest.py   mwlib.ext(Download)
 
    #do all named colors
    framePage(c, 'Color Demo - RGB Space - page %d' % c.getPageNumber())
 
    all_colors = reportlab.lib.colors.getAllNamedColors().items()
        if y < 100:
            c.showPage()
            framePage(c, 'Color Demo - RGB Space - page %d' % c.getPageNumber())
            y = 700
 

src/r/e/reportlab-3.1.8/demos/colors/colortest.py   reportlab(Download)
 
    #do all named colors
    framePage(c, 'Color Demo - RGB Space - page %d' % c.getPageNumber())
 
    all_colors = list(reportlab.lib.colors.getAllNamedColors().items())
        if y < 100:
            c.showPage()
            framePage(c, 'Color Demo - RGB Space - page %d' % c.getPageNumber())
            y = 700
 

src/r/e/ReportLab-HEAD/demos/colors/colortest.py   ReportLab(Download)
 
    #do all named colors
    framePage(c, 'Color Demo - RGB Space - page %d' % c.getPageNumber())
 
    all_colors = reportlab.lib.colors.getAllNamedColors().items()
        if y < 100:
            c.showPage()
            framePage(c, 'Color Demo - RGB Space - page %d' % c.getPageNumber())
            y = 700
 

src/m/w/mwlib.ext-0.13.2/upstream-src/tests/test_multibyte_jpn.py   mwlib.ext(Download)
        c.drawText(tx)
        c.setFont('Helvetica',10)
        c.drawCentredString(297, 36, 'Page %d' % c.getPageNumber())
 
 

src/r/e/reportlab-3.1.8/tests/test_multibyte_jpn.py   reportlab(Download)
        c.drawText(tx)
        c.setFont('Helvetica',10)
        c.drawCentredString(297, 36, 'Page %d' % c.getPageNumber())
 
 

src/r/e/ReportLab-HEAD/tests/test_multibyte_jpn.py   ReportLab(Download)
        c.drawText(tx)
        c.setFont('Helvetica',10)
        c.drawCentredString(297, 36, 'Page %d' % c.getPageNumber())
 
 

src/m/w/mwlib.ext-0.13.2/upstream-src/tests/test_lib_colors.py   mwlib.ext(Download)
 
        #do all named colors
        framePage(canvas, 'Color Demo - page %d' % canvas.getPageNumber())
 
        all_colors = reportlab.lib.colors.getAllNamedColors().items()
            if y < 100:
                canvas.showPage()
                framePage(canvas, 'Color Demo - page %d' % canvas.getPageNumber())
                canvas.setFont('Times-Roman', 10)
                y = 700

  1 | 2  Next