Issue 119568 - [From Symphony] The page number of the TOC is not correct if open the .docx via AOO
Summary: [From Symphony] The page number of the TOC is not correct if open the .docx v...
Status: CLOSED FIXED
Alias: None
Product: Writer
Classification: Application
Component: open-import (show other issues)
Version: 3.4.0
Hardware: PC All
: P3 Normal (vote)
Target Milestone: 4.1.0
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
: 120736 (view as issue list)
Depends on:
Blocks:
 
Reported: 2012-05-30 06:32 UTC by xiao ting xiao
Modified: 2017-05-20 10:35 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
wrong page number of TOC (21.68 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2012-05-30 06:32 UTC, xiao ting xiao
no flags Details
also has problem. (983.12 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2012-06-07 08:38 UTC, zongdj
no flags Details
patch for page num in Toc from docx (1.51 KB, patch)
2012-08-30 09:17 UTC, bjcheny
companycy: review?
Details | Diff

Note You need to log in before you can comment on or make changes to this issue.
Description xiao ting xiao 2012-05-30 06:32:36 UTC
Created attachment 77787 [details]
wrong page number of TOC

Steps:

1. Open attached docx file with AOO.
2. Check the page number in TOC

Problem:
The page number of the TOC is not same with that in MS Office 2010.
Comment 1 zongdj 2012-06-07 08:38:07 UTC
Created attachment 78118 [details]
also has problem.
Comment 2 Du Jing 2012-07-11 09:27:29 UTC
confirmed,change its status
Comment 3 bjcheny 2012-08-28 08:33:07 UTC
Should be duplicated by bug 120736
Please help mark one as duplicated. Thanks a lot.
Comment 4 xiao ting xiao 2012-08-29 09:09:54 UTC
*** Issue 120736 has been marked as a duplicate of this issue. ***
Comment 5 bjcheny 2012-08-30 09:17:33 UTC
Created attachment 79241 [details]
patch for page num in Toc from docx

Patch from bug 120736

When insert Toc, the whole page layout will be affected. 
Thus it's necessary to re-calculate whole layout after insertion of Toc.
Comment 6 Steve Yin 2014-01-02 10:47:41 UTC
Verified the fix patch, it works.
Comment 7 SVN Robot 2014-01-02 11:12:02 UTC
"steve_y" committed SVN revision 1554783 into trunk:
Bug 119568 - [From Symphony] The page number of the TOC is not correct if ope...
Comment 8 liuping 2014-04-10 03:25:04 UTC
verified on windows7 on AOO410m15(Build:9761)  -  Rev. 1583666
2014-04-01 13:53:14 (Di, 01 Apr 2014)