Description: I created a very long document, which I wanted to export to PDF without page breaks. I defined the document as 8.5" wide by 39.0" high. The document contained a combination of text (font sizes ranging from 12pt. to 20 pt.) and pictures. The document looked fine, and exported to PDF with no issues. I saved the document in .docx format. The next time I opened the document, it looked unrecognizable. I realized it was because the Page Style had not been preserved. It was showing a size of 8.5" x 0.62". When I changed the height back to 39.0" the document showed properly. So, the document content had been preserved, but not the page style (height). Because the document cannot be sanitized, I decided to create a fresh document to submit with the bug report. Starting with document height of 39", I set font size to largest possible, and started typing jibberish to fill the page. I saved the document in .docx form. When I tried to open the document, it would not open (Writer hung while trying to open document). I had to kill the process. This is specific to the .docx format. When the 39" long document was saved as .odt, it opened up with no issue. Steps to Reproduce: 1. Create a long document (change page style to 8.5" x 39.0") filling entire length of document with text and/or jpg images. 2. Save document in .docx format 3. Attempt to re-open document after saving. Actual Results: Two possible outcomes. 1. The document opens, with the page style not preserved (height is compressed so document does not render properly - however, if you change the page style height back to 39", the document renders correctly. 2. The document does not open at all. Write component must be aborted from task bar or task manager. Expected Results: The documents should have opened properly, with the page style preserved. Reproducible: Always User Profile Reset: No Additional Info: I used LibreOffice 7.0.6.2 for this task. Saving the document in .odt format instead of .docx worked exactly as expected, so it is a .docx issue. There is no need to attach a document. I could attach the .odt version of the document that loaded. If you load that document and save it as a .docx, that will result in the failure (unable to load document) in scenario #2 of my Actual Results.
Created attachment 174096 [details] Attached .odt document, if saved as .docx, will result in reported failure The reported bug applies only to .docx files. Since I cannot open the .docx file, I decided to save the file in .odt format. This will provide your engineers the ability to load the file, save it as a .docx file and then see the effects of trying to load the .docx file as described in the bug report.
This was recently fixed and will be available in the upcoming 7.2 release. *** This bug has been marked as a duplicate of bug 142693 ***