Bug 264249

Summary: Writer display different margins than kword
Product: [Unmaintained] kword Reporter: karaluh <karaluh>
Component: opendocumentAssignee: Thomas Zander <zander>
Status: RESOLVED NOT A BUG    
Severity: normal    
Priority: NOR    
Version First Reported In: 2.3   
Target Milestone: Persona: Susan   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Document containing described problem

Description karaluh 2011-01-25 14:16:02 UTC
Version:           2.3
OS:                Linux

Document created in Writer and edited in Kword. Before editing all margins were 1 cm width and displayed correctly in both applications. After modification kword displays the document fine, but Writer increased the margins to 2 cm except of the right one which is reduced to 0 instead.

Reproducible: Didn't try




OS: Linux (i686) release 2.6.35-25-generic
Compiler: cc
Comment 1 Thomas Zander 2011-01-25 15:22:53 UTC
Can you please attach the problem document so I can see what is going on?

Thanks!
Comment 2 karaluh 2011-01-25 15:35:00 UTC
Created attachment 56418 [details]
Document containing described problem
Comment 3 Thomas Zander 2011-02-04 16:53:17 UTC
I can reproduce this issue but I can't confirm this as a KOffice bug.
The odf produced uses the 'margin' tag which is meant to set the margin equally all around the document.

You can see this work properly in KWord but in OOo the right margin doesn't seem to be affected while the top, left and bottom margins are affected.

It looks like this is parsed incorrectly by OpenOffice.

Example ODF;

<office:automatic-styles>
  <style:page-layout style:name="pm1" style:page-usage="all">
   <style:page-layout-properties fo:margin="56pt" fo:page-height="792pt" fo:page-width="612pt">
   </style:page-layout-properties>
  </style:page-layout>
 </office:automatic-styles>