src/reportlab/platypus/tables.py
changeset 3442 04096d41cb18
parent 3432 04c84c2ef968
child 3462 c9a0ccee737d
equal deleted inserted replaced
3441:574d72e1ea74 3442:04096d41cb18
    32         'leftPadding':6,
    32         'leftPadding':6,
    33         'rightPadding':6,
    33         'rightPadding':6,
    34         'topPadding':3,
    34         'topPadding':3,
    35         'bottomPadding':3,
    35         'bottomPadding':3,
    36         'firstLineIndent':0,
    36         'firstLineIndent':0,
    37         'color':colors.black,
    37         'color':'black',
    38         'alignment': 'LEFT',
    38         'alignment': 'LEFT',
    39         'background': (1,1,1),
    39         'background': 'white',
    40         'valign': 'BOTTOM',
    40         'valign': 'BOTTOM',
    41         'href': None,
    41         'href': None,
    42         'destination':None,
    42         'destination':None,
    43         }
    43         }
    44 
    44 
    53     leftPadding = 6
    53     leftPadding = 6
    54     rightPadding = 6
    54     rightPadding = 6
    55     topPadding = 3
    55     topPadding = 3
    56     bottomPadding = 3
    56     bottomPadding = 3
    57     firstLineIndent = 0
    57     firstLineIndent = 0
    58     color = colors.black
    58     color = 'black'
    59     alignment = 'LEFT'
    59     alignment = 'LEFT'
    60     background = (1,1,1)
    60     background = 'white'
    61     valign = "BOTTOM"
    61     valign = "BOTTOM"
    62     href = None
    62     href = None
    63     destination = None
    63     destination = None
    64     def __init__(self, name, parent=None):
    64     def __init__(self, name, parent=None):
    65         self.name = name
    65         self.name = name
   291         self.repeatCols = repeatCols
   291         self.repeatCols = repeatCols
   292         self.splitByRow = splitByRow
   292         self.splitByRow = splitByRow
   293 
   293 
   294         if style:
   294         if style:
   295             self.setStyle(style)
   295             self.setStyle(style)
       
   296 
   296     def __repr__(self):
   297     def __repr__(self):
   297         "incomplete, but better than nothing"
   298         "incomplete, but better than nothing"
   298         r = getattr(self,'_rowHeights','[unknown]')
   299         r = getattr(self,'_rowHeights','[unknown]')
   299         c = getattr(self,'_colWidths','[unknown]')
   300         c = getattr(self,'_colWidths','[unknown]')
   300         cv = getattr(self,'_cellvalues','[unknown]')
   301         cv = getattr(self,'_cellvalues','[unknown]')