Bug 264249 - Writer display different margins than kword
Summary: Writer display different margins than kword
Status: RESOLVED NOT A BUG
Alias: None
Product: kword
Classification: Unmaintained
Component: opendocument (other bugs)
Version First Reported In: 2.3
Platform: Unlisted Binaries Linux
: NOR normal
Target Milestone: Persona: Susan
Assignee: Thomas Zander
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-25 14:16 UTC by karaluh
Modified: 2011-02-04 16:53 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Document containing described problem (97.98 KB, application/vnd.oasis.opendocument.text)
2011-01-25 15:35 UTC, karaluh
Details

Note You need to log in before you can comment on or make changes to this bug.
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>