2 graphic_style_B
= Style(name
="red_style", family
="graphic")
3 graphic_properties_B
= GraphicProperties(border
="1cm double #000000",
5 backgroundcolor
="#ff0000")
6 graphic_style_B
.addElement(graphic_properties_B
)
7 beehive_B
= beehive(myodt
, graphic_style_B
, "10cm", "15cm", "4cm", "4cm", "1")
8 frame_B
= beehive_B
["frame"]
9 textbox_B
= beehive_B
["textbox"]
12 letter_style_B
= Style(name
="diluvienne_style",
14 text_properties_B
= TextProperties(fontsize
="40pt",
15 fontfamily
="diluvienne")
16 letter_style_B
.addElement(text_properties_B
)
17 paragraph_properties_B
= ParagraphProperties(textalign
="left")
18 letter_style_B
.addElement(paragraph_properties_B
)
19 myodt
.styles
.addElement(letter_style_B
)
21 text_unit(myodt
, letter_style_B
, "morning", textbox_B
)
22 myodt
.text
.addElement(frame_B
)