Issue 125215 - *.docx import: import of overlapping bookmarks broken
Summary: *.docx import: import of overlapping bookmarks broken
Status: CLOSED FIXED
Alias: None
Product: Writer
Classification: Application
Component: open-import (show other issues)
Version: 4.1.0
Hardware: All All
: P3 Normal (vote)
Target Milestone: 4.1.1
Assignee: Oliver-Rainer Wittmann
QA Contact:
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2014-07-07 11:44 UTC by Oliver-Rainer Wittmann
Modified: 2017-05-20 10:35 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---
jsc: 4.1.1_release_blocker+


Attachments
sample document to reproduce the defective *.docx import (10.02 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2014-07-07 11:45 UTC, Oliver-Rainer Wittmann
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description Oliver-Rainer Wittmann 2014-07-07 11:44:25 UTC
Import of *.docx documents:
Bookmarks which are overlapping are not imported correct.
Comment 1 Oliver-Rainer Wittmann 2014-07-07 11:45:05 UTC
Created attachment 83652 [details]
sample document to reproduce the defective *.docx import
Comment 2 Oliver-Rainer Wittmann 2014-07-07 11:49:29 UTC
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.
Comment 3 Oliver-Rainer Wittmann 2014-07-07 13:01:55 UTC
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.
Comment 4 jsc 2014-07-08 09:54:30 UTC
grant showstopper fix
Comment 5 SVN Robot 2014-07-08 11:36:36 UTC
"orw" committed SVN revision 1608730 into trunk:
125215: *.docx import: Bookmark ID has to be treated as an Integer
Comment 6 SVN Robot 2014-07-08 11:45:48 UTC
"orw" committed SVN revision 1608733 into trunk:
125215: MarkManager: remove unnecessary mark container
Comment 7 SVN Robot 2014-07-08 12:04:07 UTC
"orw" committed SVN revision 1608738 into branches/AOO410:
125215: *.docx import: Bookmark ID has to be treated as an Integer
Comment 8 SVN Robot 2014-07-08 12:09:08 UTC
"orw" committed SVN revision 1608740 into branches/AOO410:
125215: MarkManager: remove unnecessary mark container
Comment 9 Oliver-Rainer Wittmann 2014-07-08 12:21:56 UTC
fixed on trunk and on branch AOO410
Comment 10 fanyuzhen 2014-07-18 10:00:15 UTC
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)
Comment 11 Pedro 2014-07-31 22:41:56 UTC
Fixed in AOO411m4(Build:9774)  -  Rev. 1614049 (aka 4.1.1 RC1)
Bookmarks highlight the expected text.
Tested under Windows 7 SP1 x64
Comment 12 fanyuzhen 2014-08-01 05:46:34 UTC
Marking it as fixed based on Pedro's check in comment 11