Bug 49850

Summary: ListFormatOverrideLevel class does not expose the _iStartAt field
Product: POI Reporter: Viliam Anirud <a6537691>
Component: HWPFAssignee: POI Developers List <dev>
Severity: normal    
Priority: P2    
Version: 3.7-dev   
Target Milestone: ---   
Hardware: All   
OS: All   
Attachments: Patched ListFormatOverrideLevel.java file.

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

Comment 2 Tim Allison 2015-04-17 10:05:02 UTC
  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?


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