Pushed LongTable

bzr revid: fp@tinyerp.com-20080908083033-fvtjb0yngumx42p3
This commit is contained in:
Fabien Pinckaers 2008-09-08 10:30:33 +02:00
parent b7fbf0aa72
commit 3a4bbda97b
1 changed files with 1 additions and 1 deletions

View File

@ -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: