ODFDoc : Issue 2576 : change run-through form background to foreground.
svn: r14920
This commit is contained in:
parent
d6e1ebf801
commit
d5b0d2e347
@ -187,7 +187,7 @@ class ODFDoc(BaseDoc.BaseDoc, BaseDoc.TextDoc, BaseDoc.DrawDoc):
|
|||||||
self.cntnt.write('svg:fill-color="#%02x%02x%02x" ' % style.get_color())
|
self.cntnt.write('svg:fill-color="#%02x%02x%02x" ' % style.get_color())
|
||||||
self.cntnt.write('draw:fill-color="#%02x%02x%02x" ' % style.get_fill_color())
|
self.cntnt.write('draw:fill-color="#%02x%02x%02x" ' % 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" ')
|
||||||
@ -206,7 +206,7 @@ class ODFDoc(BaseDoc.BaseDoc, BaseDoc.TextDoc, BaseDoc.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" ')
|
||||||
@ -221,7 +221,7 @@ class ODFDoc(BaseDoc.BaseDoc, BaseDoc.TextDoc, BaseDoc.DrawDoc):
|
|||||||
self.cntnt.write('style:family="graphic">\n')
|
self.cntnt.write('style:family="graphic">\n')
|
||||||
self.cntnt.write('\t<style:graphic-properties draw:stroke="none" ')
|
self.cntnt.write('\t<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" ')
|
||||||
|
Loading…
Reference in New Issue
Block a user