ODFDoc : highlight problem in styled notes.

svn: r13081
This commit is contained in:
Serge Noiraud 2009-08-19 22:01:28 +00:00
parent 5b8bc47bce
commit e60588a5b0

View File

@ -499,7 +499,7 @@ class ODFDoc(BaseDoc, TextDoc, DrawDoc):
self.cntnt2.write(' <style:text-properties fo:color="%s"/>' % style[1])
self.cntnt2.write('</style:style>\n')
elif ( style[0] == "FontHighlight" ):
self.cntnt2.write('<style:style style:name="FontColor__%s__"' % style[1] )
self.cntnt2.write('<style:style style:name="FontHighlight__%s__"' % style[1] )
self.cntnt2.write(' style:family="text">')
self.cntnt2.write(' <style:text-properties fo:background-color="%s"/>' % style[1])
self.cntnt2.write('</style:style>\n')