Description: I am using ... Version: 6.4.0.1.0+ Build ID: c8e88aee3c058c57c96760cfb07a2330639cbc72 CPU threads: 4; OS: Linux 5.0; UI render: default; VCL: gtk3; TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:libreoffice-6-4, Time: 2019-12-29_01:56:30 Locale: es-MX (en_US.UTF-8); UI-Language: en-US In Writer, when activate the header and make different header for first page, and save the document, Libreoffice do not shows any problem, but if you close the document and intent to re-open, shor an ReadError ...Format error discovered in the file in sub-document styles.xml at row 2,XXXXX(rw,col) Steps to Reproduce: 1.Create a blank Writer document 2. Create headers for first and second pages, deselecting the option "same content on first page" 3. save the document 4. re-open the file saved (it could be necessary to assure the option "same content on first page" of the header is deselected, if necessary deselect it and save the file again, then re-open). 5. The file it will not open, the error is present. Actual Results: The file with this error is unusable, total lost, and do not can open file. Expected Results: open file and shows the different headers for first and following pages. Reproducible: Always User Profile Reset: No Additional Info: If it is present an error of this class generate a Warning, lost the header and open the file... When the file is saved, shows a warning with the posibility to fail when open.
Created attachment 156907 [details] the file with a simple test, and error present.