linenumber="0"))
document.styles.addElement(tablecontents)
+ width25 = Style(name="Wshort", family="table-column")
+ width25.addElement(TableColumnProperties(columnwidth="2.5cm"))
+ document.automaticstyles.addElement(width25)
+
+ width3 = Style(name="Wwide", family="table-column")
+ width3.addElement(TableColumnProperties(columnwidth="3cm"))
+ document.automaticstyles.addElement(width3)
+
+ width9 = Style(name="Wwide", family="table-column")
+ width9.addElement(TableColumnProperties(columnwidth="9cm"))
+ document.automaticstyles.addElement(width9)
+
titre1= Style(name="titre1", family="table-cell")
titre1.addElement(TextProperties(fontweight="bold", fontsize="11", color="#1FA055"))
document.automaticstyles.addElement(titre1)
for c in containers:
table = Table(name=c['name'])
+
+ table.addElement(TableColumn(numbercolumnsrepeated=1,stylename=width3))
+ table.addElement(TableColumn(numbercolumnsrepeated=1,stylename=width9))
+ table.addElement(TableColumn(numbercolumnsrepeated=5,stylename=width25))
document.spreadsheet.addElement(table)
tasks = container_tasks[c['id']]
if not tasks:
continue
+ #New line
table.addElement(TableRow())
tr = TableRow()
table.addElement(tr)
tr.addElement(create_cell("Tasks :", "titre1"))
-
tr = TableRow()
table.addElement(tr)
for k in task_keys: