Pushed LongTable
bzr revid: fp@tinyerp.com-20080908083033-fvtjb0yngumx42p3
This commit is contained in:
parent
b7fbf0aa72
commit
3a4bbda97b
|
@ -550,7 +550,7 @@ class _rml_flowable(object):
|
|||
rowheights = [utils.unit_get(f.strip()) for f in node.getAttribute('rowHeights').split(',')]
|
||||
if len(rowheights) == 1:
|
||||
rowheights = rowheights[0]
|
||||
table = platypus.Table(data = data, colWidths=colwidths, rowHeights=rowheights, **(utils.attr_get(node, ['splitByRow'] ,{'repeatRows':'int','repeatCols':'int'})))
|
||||
table = platypus.LongTable(data = data, colWidths=colwidths, rowHeights=rowheights, **(utils.attr_get(node, ['splitByRow'] ,{'repeatRows':'int','repeatCols':'int'})))
|
||||
if node.hasAttribute('style'):
|
||||
table.setStyle(self.styles.table_styles[node.getAttribute('style')])
|
||||
for s in styles:
|
||||
|
|
Loading…
Reference in New Issue