- #container_keys = ['name','description']
- task_keys = ['name', 'description', 'manday', 'priority', 'state', 'planned', 'milestone']
+
+ # Création des styles de colonnes
+ 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)
+
+ #Création des styles de titres
+ titre1= Style(name="titre1", family="table-cell")
+ titre1.addElement(TextProperties(fontweight="bold", fontsize="11", color="#1FA055"))
+ document.automaticstyles.addElement(titre1)
+
+ titre2= Style(name="titre2", family="table-cell")
+ titre2.addElement(TextProperties(fontweight="bold", fontsize="10"))
+ document.automaticstyles.addElement(titre2)
+
+ #container_keys = ["name", "description", "target", "milestone"]
+ task_keys = ['name', 'description', 'priority', 'state', 'manday',
+ 'planned', 'milestone']