From: Alicia FLOREZ Date: Thu, 28 Mar 2013 16:53:30 +0000 (+0100) Subject: Ajout commentaires X-Git-Url: http://git.inspyration.org/?p=oeodf%2Ftodolist_ods_builder.git;a=commitdiff_plain Ajout commentaires --- diff --git a/ods.py b/ods.py index 936aec0..ff6f0b8 100644 --- a/ods.py +++ b/ods.py @@ -42,6 +42,8 @@ def create_doc(containers, container_tasks): linenumber="0")) document.styles.addElement(tablecontents) + + # Création des styles de colonnes width25 = Style(name="Wshort", family="table-column") width25.addElement(TableColumnProperties(columnwidth="2.5cm")) document.automaticstyles.addElement(width25) @@ -54,6 +56,7 @@ def create_doc(containers, container_tasks): 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)