projects
/
oeodf
/
todolist_ods_builder.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
22cde3a
)
Ajout commentaires
master
author
Alicia FLOREZ
<alicflorez@gmail.com>
Thu, 28 Mar 2013 16:53:30 +0000
(17:53 +0100)
committer
Alicia FLOREZ
<alicflorez@gmail.com>
Thu, 28 Mar 2013 16:53:30 +0000
(17:53 +0100)
ods.py
patch
|
blob
|
history
diff --git
a/ods.py
b/ods.py
index
936aec0
..
ff6f0b8
100644
(file)
--- a/
ods.py
+++ b/
ods.py
@@
-42,6
+42,8
@@
def create_doc(containers, container_tasks):
linenumber="0"))
document.styles.addElement(tablecontents)
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)
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)
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)
titre1= Style(name="titre1", family="table-cell")
titre1.addElement(TextProperties(fontweight="bold", fontsize="11", color="#1FA055"))
document.automaticstyles.addElement(titre1)