ODFDoc : Issue 2576 : change run-through form background to foreground.

svn: r14916
This commit is contained in:
Serge Noiraud 2010-03-23 18:40:24 +00:00
parent c17d595d70
commit ac90dd4db5

View File

@ -281,7 +281,7 @@ class ODFDoc(BaseDoc, TextDoc, DrawDoc):
self.cntnt.write('draw:fill-color="#%02x%02x%02x" ' % self.cntnt.write('draw:fill-color="#%02x%02x%02x" ' %
style.get_fill_color()) style.get_fill_color())
self.cntnt.write('draw:shadow="hidden" ') self.cntnt.write('draw:shadow="hidden" ')
self.cntnt.write('style:run-through="background" ') self.cntnt.write('style:run-through="foreground" ')
self.cntnt.write('style:vertical-pos="from-top" ') self.cntnt.write('style:vertical-pos="from-top" ')
self.cntnt.write('style:vertical-rel="paragraph" ') self.cntnt.write('style:vertical-rel="paragraph" ')
self.cntnt.write('style:horizontal-pos="from-left" ') self.cntnt.write('style:horizontal-pos="from-left" ')
@ -302,7 +302,7 @@ class ODFDoc(BaseDoc, TextDoc, DrawDoc):
self.cntnt.write('draw:textarea-horizontal-align="center" ') self.cntnt.write('draw:textarea-horizontal-align="center" ')
self.cntnt.write('draw:textarea-vertical-align="middle" ') self.cntnt.write('draw:textarea-vertical-align="middle" ')
self.cntnt.write('draw:shadow="hidden" ') self.cntnt.write('draw:shadow="hidden" ')
self.cntnt.write('style:run-through="background" ') self.cntnt.write('style:run-through="foreground" ')
self.cntnt.write('style:vertical-pos="from-top" ') self.cntnt.write('style:vertical-pos="from-top" ')
self.cntnt.write('style:vertical-rel="paragraph" ') self.cntnt.write('style:vertical-rel="paragraph" ')
self.cntnt.write('style:horizontal-pos="from-left" ') self.cntnt.write('style:horizontal-pos="from-left" ')
@ -318,7 +318,7 @@ class ODFDoc(BaseDoc, TextDoc, DrawDoc):
self.cntnt.write('style:family="graphic">\n') self.cntnt.write('style:family="graphic">\n')
self.cntnt.write('<style:graphic-properties draw:stroke="none" ') self.cntnt.write('<style:graphic-properties draw:stroke="none" ')
self.cntnt.write('draw:fill="none" draw:shadow="hidden" ') self.cntnt.write('draw:fill="none" draw:shadow="hidden" ')
self.cntnt.write('style:run-through="background" ') self.cntnt.write('style:run-through="foreground" ')
self.cntnt.write('style:vertical-pos="from-top" ') self.cntnt.write('style:vertical-pos="from-top" ')
self.cntnt.write('style:vertical-rel="paragraph" ') self.cntnt.write('style:vertical-rel="paragraph" ')
self.cntnt.write('style:horizontal-pos="from-left" ') self.cntnt.write('style:horizontal-pos="from-left" ')