https://bugs.documentfoundation.org/show_bug.cgi?id=93890
Bug ID: 93890
Summary: FILEOPEN clean-up of bookmark-start and -end breaks
references
Product: LibreOffice
Version: 4.4.2.2 release
Hardware: All
OS: Linux (All)
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Writer
Assignee: [email protected]
Reporter: [email protected]
Created attachment 118393
--> https://bugs.documentfoundation.org/attachment.cgi?id=118393&action=edit
This python3 script reduces redundant bookmarks without forgetting the
references.
Hi,
this affects at least LibreOffice 4.4.2 and 5.0 on Kubuntu 15.04.
LibreOffice Writer 4.3 for reasons unknown to me wraps some elements in
multiple bookmarks and references them in a scheme unknown to me later in the
document.
Within 4.3 this is fine.
But as of 4.4 Writer cleans up redundant bookmarks without fixing the
references which results in "Error: reference source not found" throughout the
document.
The proper procedure should be to acknowledge the different bookmarks and amend
the references after reducing the bookmarks to one.
I attached a Python script that does that for .fodt (Flat XML ODT) files. It's
not pretty and I welcome suggestions for improvement or fixing the issue in 4.4
and 5.0 versions of LibreOffice. I'm pretty sure there are many users of Ubuntu
LTS who we spare a headache or two if we fix this before 16.04 (for that it
would be good to have the fixed version in Debian until December this year).
Sincerely,
Malte
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs