[reportlab-users] Confused? SimpleDocTemplate?

Schollnick, Benjamin reportlab-users@reportlab.com
Fri, 20 Feb 2004 10:46:32 -0500


> 	Have I missed something?

I hate answering my own question...  I did miss something...

>From doctemplate.py:

  Possible keyword arguments for the initialization:

    pageTemplates: 
    showBoundary: if set draw a box around the frame boundaries.
    leftMargin:
    rightMargin:
    topMargin:
    bottomMargin:   
    allowSplitting:  
    title:  
    author:  
    """
    _initArgs = {   'pagesize':defaultPageSize,
                    'pageTemplates':[],
                    'showBoundary':0,
                    'leftMargin':inch,
                    'rightMargin':inch,
                    'topMargin':inch,
                    'bottomMargin':inch,
                    'allowSplitting':1,
                    'title':None,
                    'author':None,
                    'invariant':None,
                    '_pageBreakQuick':1}
    
There is a initialization keyword for Pagesize, but it is not listed in the
DocString?

Either way it works, but is there a reason it is not documented?

		- Benjamin