<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - Style for oversized Pages not preserved in .docx files - leading to improper display or inability to load page"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=143740">143740</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Style for oversized Pages not preserved in .docx files - leading to improper display or inability to load page
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>LibreOffice
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>7.0.6.2 release
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86 (IA32)
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Windows (All)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>UNCONFIRMED
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>LibreOffice
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>libreoffice-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>justanotherprogrammer@hotmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>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.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>