odfbackend : #0005278 : no need to escape color, highlight color.
svn: r18402
This commit is contained in:
parent
e1f7943f1e
commit
655c3f7206
@ -122,8 +122,7 @@ class OdfBackend(DocBackend):
|
||||
if tagtype not in self.SUPPORTED_MARKUP:
|
||||
return None
|
||||
if ( tagtype == DocBackend.FONTCOLOR ):
|
||||
return ('<text:span text:style-name=\"FontColor__%s__\">' %
|
||||
self.ESCAPE_FUNC()(value),
|
||||
return ('<text:span text:style-name=\"FontColor__%s__\">' % value,
|
||||
'</text:span>')
|
||||
elif ( tagtype == DocBackend.FONTFACE ):
|
||||
return ('<text:span text:style-name=\"FontFace__%s__\">' %
|
||||
@ -133,8 +132,7 @@ class OdfBackend(DocBackend):
|
||||
return ('<text:span text:style-name=\"FontSize__%d__\">' % value,
|
||||
'</text:span>')
|
||||
else: #elif ( tagtype == DocBackend.HIGHLIGHT ):
|
||||
return ('<text:span text:style-name=\"FontHighlight__%s__\">' %
|
||||
self.ESCAPE_FUNC()(value),
|
||||
return ('<text:span text:style-name=\"FontHighlight__%s__\">' % value,
|
||||
'</text:span>')
|
||||
|
||||
def format_link(self, value):
|
||||
|
Loading…
Reference in New Issue
Block a user