Bug 75539

Summary: DOC import filter mismatch of shape size
Product: LibreOffice Reporter: Svante Schubert <svante.schubert>
Component: filters and storageAssignee: Not Assigned <libreoffice-bugs>
Status: NEW --- QA Contact:
Severity: normal    
Priority: medium CC: serval2412
Version: 4.2.1.1 release   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: Microsoft test document with shape created MSO15/Office 2013

Description Svante Schubert 2014-02-26 18:07:09 UTC
Created attachment 94779 [details]
Microsoft test document with shape created MSO15/Office 2013

A DOC shape with a page width is being imported in LibreOffice 4.2.1.1 and earlier to have a width of 69cm (at least it is written in the ODF XML), see
svg:width="69.129cm

within

<draw:custom-shape text:anchor-type="as-char" draw:z-index="0" draw:style-name="gr1" draw:text-style-name="P5" svg:width="69.129cm" svg:height="0.054cm">


Could be a decimal point error ;) Works in Apache OpenOffice 4.0.1.
Comment 1 Julien Nabet 2014-02-26 19:41:03 UTC
On pc Debian x86-64 with master sources updated today, I can reproduce this.

Svante: just to confirm, should be 6.9129cm?
Comment 2 Svante Schubert 2014-02-26 19:46:34 UTC
Sorry, it was only a rough guess. I loaded the document with MSO15 and the custom shape was a horizontal line as wide as the page, which is exactly 16cm.

Neverthelss I do not know how the layout works, the value might be influenced by other measures as the page borders, etc.

Best to look into the original MS document and make certain a roundtrip works (MSO->LO->MSO):)

Thanks for looking into it!
Svante

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.