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

All Samples(25)  |  Call(25)  |  Derive(0)  |  Import(0)
create a document template bound to a filename (see class documentation for keyword arguments)

src/d/i/dinbrief-0.3.2/dinbrief/template.py   dinbrief(Download)
    def __init__(self, fh, document):
        # super can not be used as BaseDocTemplate is an old style class.
        platypus.BaseDocTemplate.__init__(self,
            fh,
            pagesize=PAGE_SIZE,

src/s/d/sdaps-HEAD/sdaps/template.py   sdaps(Download)
    def __init__(self, filename, title, metainfo={}, papersize=pagesizes.A4):
        platypus.BaseDocTemplate.__init__(
            self, filename,
            pagesize=papersize,
            leftMargin=0,

src/p/y/pybill-1.1.0/lib/pdfwriters/templates/doc_templates.py   pybill(Download)
                            AccDocPageTemplate(acc_doc,
                                               template_id="Next")]
        BaseDocTemplate.__init__(self, filename,
                                 pageTemplates=accdoc_templates,
                                 allowSplitting=1)

src/c/u/cubicweb-expense-0.7.1/pdfgen/templates.py   cubicweb-expense(Download)
        templates = [ FreshPageTemplate(doc_type, company_data,
                                        template_id="Pages", _=_) ]
        BaseDocTemplate.__init__(self, output, pageTemplates=templates,
                                 allowSplitting=1)
 

src/e/d/eden-HEAD/modules/s3/s3pdf.py   eden(Download)
            def __init__(self, filename, **attr):
 
                BaseDocTemplate.__init__(self, filename, **attr)
                self.formUUID = attr.get("formUUID", "")
                self.formResourceName = attr.get("formResourceName", "")

src/s/s/ssf-HEAD/modules/s3/s3pdf.py   ssf(Download)
            def __init__(self, filename, **attr):
                BaseDocTemplate.__init__(self, filename, **attr)
                self.formUUID = attr.get("formUUID", "")
                self.formResourceName = attr.get("formResourceName", "")
                self.formRevision = attr.get("formRevision", "")

src/v/o/vosae-app-HEAD/www/core/pdf/utils.py   vosae-app(Download)
    def __init__(self, *args, **kwargs):
        BaseDocTemplate.__init__(self, *args, **kwargs)
        self.numPages = 0
        self._lastNumPages = 0
        self.setProgressCallBack(self._onProgress_cb)

src/p/d/pdfdocument-3.0/pdfdocument/document.py   pdfdocument(Download)
    def __init__(self, *args, **kwargs):
        BaseDocTemplate.__init__(self, *args, **kwargs)
        self.bottomTableHeight = 0
        self.bottomTableIsLast = False
        self.numPages = 0

src/p/d/pdfdocument-HEAD/pdfdocument/document.py   pdfdocument(Download)
    def __init__(self, *args, **kwargs):
        BaseDocTemplate.__init__(self, *args, **kwargs)
        self.bottomTableHeight = 0
        self.bottomTableIsLast = False
        self.numPages = 0

src/m/w/mwlib.ext-0.13.2/upstream-src/tests/test_platypus_general.py   mwlib.ext(Download)
    def __init__(self, filename, **kw):
        frame1 = platypus.Frame(inch, 5.6*inch, 6*inch, 5.2*inch,id='F1')
        frame2 = platypus.Frame(inch, inch, 6*inch, 4.5*inch, showBoundary=1,id='F2')
        self.allowSplitting = 0
        BaseDocTemplate.__init__(self,filename,**kw)

  1 | 2  Next