From d5d3c9a4125d90425dbc7513a19e499dd3205e5c Mon Sep 17 00:00:00 2001 From: Alicia FLOREZ Date: Thu, 28 Mar 2013 17:53:30 +0100 Subject: [PATCH] Ajout commentaires --- ods.py | 3 +++ 1 file changed, 3 insertions(+) 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) -- 1.7.10.4