Bug 52311 - Conversion to html : Problem in titles number
Summary: Conversion to html : Problem in titles number
Status: RESOLVED FIXED
Alias: None
Product: POI
Classification: Unclassified
Component: HWPF (show other bugs)
Version: 3.8-dev
Hardware: PC Windows XP
: P2 normal (vote)
Target Milestone: ---
Assignee: POI Developers List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-09 13:07 UTC by Benoit MAGGI
Modified: 2012-11-05 14:38 UTC (History)
0 users



Attachments
Eclipse project with an ex of the titles problem with poi WordToHtmlConverter (11.64 KB, application/x-zip-compressed)
2011-12-09 13:12 UTC, Benoit MAGGI
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Benoit MAGGI 2011-12-09 13:07:12 UTC
I got a problem with WordToHtmlConverter (poi-3.8-beta4-20110826.jar) : 

The doc input is : 

1 Introduction
1.1 Context
2. Ref
2.1Spec
3. Test
3.1 Code

The html output is :

1 Introduction
2.1 Context   
2 Ref
3.2 Spec
3 Test
4.3 Code 

It may come from an incremental problem with the main title

Find in attachment an eclipse project with an example of the bug.
Comment 1 Benoit MAGGI 2011-12-09 13:12:03 UTC
Created attachment 28058 [details]
Eclipse project with an ex of the titles problem with poi WordToHtmlConverter

You have to add 2 libs to the project (in the lib directory) :
  - poi-3.8-beta4-20110826.jar
  - poi-scratchpad-3.8-beta4-20110826.jar
Comment 2 Sergey Vladimirov 2012-11-05 14:38:28 UTC
Benoit,

Thanks for the report!
Fixed in trunk.

Sergey