Apache OpenOffice (AOO) Bugzilla – Issue 125215
*.docx import: import of overlapping bookmarks broken
Last modified: 2017-05-20 10:35:22 UTC
Import of *.docx documents: Bookmarks which are overlapping are not imported correct.
Created attachment 83652 [details] sample document to reproduce the defective *.docx import
Open the given sample document. It contains two bookmarks - B1 and B2. B1 marks "A BBB" and B2 marks "BBB C" Import into AOO 4.1.0 --> B1 marks "A "; B2 renamed to Bookmark marking " C" Import into AOO 4.0.1 --> B1 and B2 are imported correctly. This is a serious issue as in Microsoft Word document certain internal used bookmarks for TOC link target and Cross-References are overlapping resp. marking the same text range. This defect may is related to 125179 and might be on of its root cause.
fix is in progress root cause are changes made for issue 113059. - Treatment of OOXML attribute for the bookmark ID has changed from <String> to <Integer>, but bookmark import code have not been considered.
grant showstopper fix
"orw" committed SVN revision 1608730 into trunk: 125215: *.docx import: Bookmark ID has to be treated as an Integer
"orw" committed SVN revision 1608733 into trunk: 125215: MarkManager: remove unnecessary mark container
"orw" committed SVN revision 1608738 into branches/AOO410: 125215: *.docx import: Bookmark ID has to be treated as an Integer
"orw" committed SVN revision 1608740 into branches/AOO410: 125215: MarkManager: remove unnecessary mark container
fixed on trunk and on branch AOO410
Current available build AOO 4.1.1 M2(AOO411m2(Build:9771) - Rev. 1608452 2014-07-07 15:29:02 (Mon, 07 Jul 2014)) doesn't include the fix, waiting for next build(M3)
Fixed in AOO411m4(Build:9774) - Rev. 1614049 (aka 4.1.1 RC1) Bookmarks highlight the expected text. Tested under Windows 7 SP1 x64
Marking it as fixed based on Pedro's check in comment 11