* src/docgen/OpenOfficeDoc.py: allow disabling of the box shadow

svn: r2621
This commit is contained in:
Don Allingham 2004-01-10 02:37:07 +00:00
parent 8c0a874b13
commit 91e870629e

View File

@ -911,6 +911,7 @@ class OpenOfficeDoc(BaseDoc.BaseDoc):
para_name = box_style.get_paragraph_style()
shadow_width = box_style.get_shadow_space()
if box_style.get_shadow():
self.f.write('<draw:rect text:anchor-type="paragraph" ')
self.f.write('draw:style-name="%s_shadow" ' % style)
self.f.write('draw:text-style-name="%s" ' % para_name)