Bug 55869 - createToc - detecting Page
Summary: createToc - detecting Page
Status: NEEDINFO
Alias: None
Product: POI
Classification: Unclassified
Component: HWPF (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal (vote)
Target Milestone: ---
Assignee: POI Developers List
URL:
Keywords:
: 55870 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-12-12 08:43 UTC by tp
Modified: 2014-02-26 08:38 UTC (History)
0 users



Attachments
bug3 (112.10 KB, image/jpeg)
2013-12-12 08:43 UTC, tp
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tp 2013-12-12 08:43:35 UTC
Created attachment 31107 [details]
bug3

Hi there,

i am creating a HWPFDocument with many runs and paragraphs.
Some of them get a 'setStyle("headingX");'
and finally with createToc i see the TOC at the end of the document.
It is really a great Thing, but why is the page always on 1?
Comment 1 Andreas Beeker 2013-12-22 00:45:34 UTC
*** Bug 55870 has been marked as a duplicate of this bug. ***
Comment 2 tp 2014-01-06 08:01:05 UTC
ha! now both are duplicate, can one be the right to check, please?
Comment 3 tp 2014-02-26 08:38:56 UTC
i really Need help with this one. i see that all referenced Pages have the Pagelink ' { PAGEREF _Toc112723803 \h}
How can they get the right reference? Thank you in advance.
Timo