4 A possible use of odfpy for the `Openbaar Schrijver' book.
5 Written by Open Source Publishing.
7 http://ospublish.constantvzw.org/works/valentine-scripting
12 from stylesheet
import text_style
13 from liblove
import directory_structure
17 if __name__
== "__main__":
19 for genre
in ["brief", "verhaal", "gedicht"]:
20 # import stylesheet is an easy way of getting at these arrays...
21 for style
in text_style
[genre
].keys():
22 char_odts
= spices
.Character(genre
, style
)
23 char_odts
.loop_over_spices()
24 ding_odts
= spices
.Dingbat(genre
, style
)
25 ding_odts
.loop_over_spices()
26 img_odts
= spices
.ImageSpice(genre
, style
)
27 img_odts
.loop_over_spices()