Bug 49850 - ListFormatOverrideLevel class does not expose the _iStartAt field
Summary: ListFormatOverrideLevel class does not expose the _iStartAt field
Status: RESOLVED FIXED
Alias: None
Product: POI
Classification: Unclassified
Component: HWPF (show other bugs)
Version: 3.7-dev
Hardware: All All
: P2 normal (vote)
Target Milestone: ---
Assignee: POI Developers List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-31 11:53 UTC by Viliam Anirud
Modified: 2015-04-17 10:05 UTC (History)
0 users



Attachments
Patched ListFormatOverrideLevel.java file. (3.19 KB, text/x-java)
2010-08-31 11:53 UTC, Viliam Anirud
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Viliam Anirud 2010-08-31 11:53:35 UTC
Created attachment 25965 [details]
Patched ListFormatOverrideLevel.java file.

ListFormatOverrideLevel contains a field _iStartAt, which should be exposed at least with a get method. It is needed to read the startAt value at lower levels in lists.

I published a full example to read multi-level lists using POI at my blog here: http://developerhints.blog.com/2010/08/28/finding-out-list-numbers-in-word-document-using-poi-hwpf/, and this method is needed and used there.

Attached is the patched file taken from version 3.7b2.
Comment 1 Yegor Kozlov 2010-09-04 10:16:16 UTC
Applied in r992611

Regards,
Yegor
Comment 2 Tim Allison 2015-04-17 10:05:02 UTC
Viliam,
  We had a patch submitted over on TIKA-1315 [1] that relies on code from your (very helpful!) blog post.  Do you mind if we use your code in Tika?
 
      Best,

              Tim


[1] https://issues.apache.org/jira/browse/TIKA-1315