From 5ef54614ade2b1d92449cef41e2f8fb7e88bfc60 Mon Sep 17 00:00:00 2001 From: Don Allingham Date: Sat, 10 Jan 2004 02:37:07 +0000 Subject: [PATCH] * src/docgen/OpenOfficeDoc.py: allow disabling of the box shadow svn: r2621 --- src/docgen/OpenOfficeDoc.py | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/src/docgen/OpenOfficeDoc.py b/src/docgen/OpenOfficeDoc.py index 9a5c11cd1..9a94ae02b 100644 --- a/src/docgen/OpenOfficeDoc.py +++ b/src/docgen/OpenOfficeDoc.py @@ -911,15 +911,16 @@ class OpenOfficeDoc(BaseDoc.BaseDoc): para_name = box_style.get_paragraph_style() shadow_width = box_style.get_shadow_space() - self.f.write('\n' % (float(y)+shadow_width)) - self.f.write('\n') + if box_style.get_shadow(): + self.f.write('\n' % (float(y)+shadow_width)) + self.f.write('\n') self.f.write('