diff --git a/gramps2/src/docgen/OpenOfficeDoc.py b/gramps2/src/docgen/OpenOfficeDoc.py
index 3718290a1..9a5c11cd1 100644
--- a/gramps2/src/docgen/OpenOfficeDoc.py
+++ b/gramps2/src/docgen/OpenOfficeDoc.py
@@ -909,6 +909,7 @@ class OpenOfficeDoc(BaseDoc.BaseDoc):
def draw_box(self,style,text,x,y):
box_style = self.draw_styles[style]
para_name = box_style.get_paragraph_style()
+ shadow_width = box_style.get_shadow_space()
self.f.write('\n' % (float(y)+0.2))
+ self.f.write('svg:x="%.3fcm" ' % (float(x)+shadow_width))
+ self.f.write('svg:y="%.3fcm">\n' % (float(y)+shadow_width))
self.f.write('\n')
self.f.write('