Description: The insterted field style of chapter will be lost after saving and reopening the .docx Steps to Reproduce: 1.Create a new document(File->Text Document). 2.Add a new chapter with chapter number and name, then set its stype "Heading 1" 3.Insert a chapter field in previous chapter by "Insert->Field->More Fields->Document->Chapter->Chaper number and name". 4.Save the document as .docx(Word 2007-365). 5.Reopen the saved document. Actual Results: After step 5, the inserted field style is lost and changed to be normal text body. Expected Results: After step 5, the inserted field style of chapter should still exist Reproducible: Always User Profile Reset: No Additional Info: In LO v7.3, the inserted field will change to be word "Chapter" after reopening.
Reproduced in: Version: 7.5.4.2 (X86_64) / LibreOffice Community Build ID: 36ccfdc35048b057fd9854c757a8b67ec53977b6 CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3 Locale: en-AU (en_AU.UTF-8); UI: en-US Calc: threaded and a recent master build: Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 66da786bdd4588b31755058acf46034c2056215c CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3 Locale: en-AU (en_AU.UTF-8); UI: en-US Calc: threaded (and since OOo times to DOC.) I understand this DOCX limitation could be fixed by solving bug 86790 and using STYLEREF for it. Because Bug 96559 was marked as a duplicate of bug 86790, I'll do the same with this one. Thank you! *** This bug has been marked as a duplicate of bug 86790 ***