https://bugs.documentfoundation.org/show_bug.cgi?id=112797
Mike <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #136660|0 |1
is obsolete| |
Attachment #136661|0 |1
is obsolete| |
Attachment #136662|0 |1
is obsolete| |
Attachment #136663|0 |1
is obsolete| |
--- Comment #16 from Mike <[email protected]> ---
Created attachment 137846
--> https://bugs.documentfoundation.org/attachment.cgi?id=137846&action=edit
Manually fixed Minimum test case
I have NOT a coder, but I did some trial-and-error with the minimum test case
and found a hint:
1. Open minimum test case ("FILEOPEN DOCX - file in modified state directly
after opening of file.docx", 5kb only)
2. Open word\document.xml in the DOCX
3. Delete the lines
<w:r>
<w:instrText> PAGEREF \h </w:instrText>
</w:r>
4. Save the test case again as a DOCX
5. Open the new DOCX
6. New DOCX is not opened in "modified state".
P.S.
I opened the lines in Open XML Productivity tool and they mean:
Run run2 = new Run();
FieldCode fieldCode1 = new FieldCode();
fieldCode1.Text = " PAGEREF \\h ";
(Can't understand it, I'm not a coder)
--
You are receiving this mail because:
You are the assignee for the bug._______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs