https://bugs.documentfoundation.org/show_bug.cgi?id=166201
Bug ID: 166201
Summary: FILEOPEN DOCX: simplePos is defined in EMUs, not TWIPs
Product: LibreOffice
Version: Inherited From OOo
Hardware: All
OS: All
Status: UNCONFIRMED
Keywords: filter:docx
Severity: normal
Priority: medium
Component: Writer
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Created attachment 200356
--> https://bugs.documentfoundation.org/attachment.cgi?id=200356&action=edit
simplePos.docx: the example file
I'm not sure what program generates DOCX files containing simplePos=true
(because the first DML version is MS Word 2010, and that one doesn't), but IF
it did and had non-zero values, then the image would have been misplaced in
LO, because we were treating the X and Y ST_Coordinates as if they were
specified in TWIPs.
However, the documentation says "The possible values for this attribute are
defined by the ST_Coordinate simple type".
20.1.10.16 ST_Coordinate (Coordinate)
This simple type represents a one dimensional position or length as either:
- EMUs.
- A number followed immediately by a unit identifier.
This simple type is a union of the following types:
- The ST_CoordinateUnqualified simple type (§20.1.10.19). This simple type
represents a one dimensional position or length in EMUs.
- The ST_UniversalMeasure simple type (§22.9.2.15).
Steps to reproduce:
-open simplePos.docx
The image should be at the bottom right of the page.
--
You are receiving this mail because:
You are the assignee for the bug.