Description: Page Color in DOCX documents created with Microsoft Word 2010 disappears on the margins when the document is opened in LibreOffice Writer. Steps to Reproduce: 1. Create a new document in Microsoft Word. 2. On the Page Layout tab, in the Page Background group, click Page Color. 3. Choose a color. 4. Save the file as DOCX. 5. Open the same file in LibreOffice Writer. 6. Compare the original file opened in Word and Writer. Actual Results: The Page Color disappears on the margins when the document is opened in LibreOffice Writer. Expected Results: The Page Color should have the same style as the original file when the document is opened in Microsoft Word 2010. Reproducible: Always User Profile Reset: No Additional Info:
Created attachment 146969 [details] Screenshot of the original document side by side in Word and Writer.
Created attachment 146970 [details] Example file from Word
Confirm with 6.2 and 4.2;Linux
import of page background color was implemented in commit commit 2161e695de0236a82e9661e8dd2af250f656bb0b Author: Matthew Francis <mjay.francis@gmail.com> Date: Sat Sep 5 17:58:52 2015 +0800 source-hash-992da0d5cf04497bad55637f6a6ebfcdaec03e16 commit 992da0d5cf04497bad55637f6a6ebfcdaec03e16 Author: Miklos Vajna <vmiklos@suse.cz> AuthorDate: Mon May 27 17:09:44 2013 +0200 Commit: Miklos Vajna <vmiklos@suse.cz> CommitDate: Mon May 27 17:49:12 2013 +0200 bnc#817956 DOCX import of document background color See wwSectionManager::SetSegmentToPageDesc(), this has to be applied to every page style.
Proposed fix: https://gerrit.libreoffice.org/#/c/63914/
Works as expected on Version: 6.3.0.0.alpha0+ Build ID: 9bc10964f0673b64e282ad567d08bf7ebba4df65 CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:master, Time: 2019-01-27_18:08:30 Locale: ro-RO (ro_RO.UTF-8); UI-Language: en-US Calc: threaded All page has a single colour, blue. Including margins.