https://bugs.documentfoundation.org/show_bug.cgi?id=169419

            Bug ID: 169419
           Summary: Page size is written to DOCX outside of range allowed
                    by Word / [MS-OI29500]
           Product: LibreOffice
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Keywords: filter:docx
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]

Open attachment 203900 (from bug 169403). It is created in Writer.

I Writer, its page's height is ~6000 mm
In Word, it's small (maybe locale-specific? I see ~220 mm).

[MS-OI29500] specifies in 2.1.220 Part 1 Section 17.6.13, pgSz (Page Size):

> The standard states that the h and w attributes can have any value in the 
> range
> 0 to 4294967295, inclusive.
> 
> Word requires that this value is between the width of the page margins (and 
> any
> column widths, for the w attribute) and 31680 (22 inches).

The actual markup in the document is '<w:pgSz w:w="17008" w:h="340157"/>', with
the 'h' attribute more than 10 times greater than the maximum.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to