poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 56347] New: Not normally get a digital title
Date Fri, 04 Apr 2014 02:50:10 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=56347

            Bug ID: 56347
           Summary: Not normally get a digital  title
           Product: POI
           Version: 3.8
          Hardware: PC
            Status: NEW
          Severity: critical
          Priority: P2
         Component: HWPF
          Assignee: dev@poi.apache.org
          Reporter: pangzhaoquan@gmail.com

Created attachment 31474
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=31474&action=edit
test world file

hi poi:
    i use poi-3.8 for extration text from world。But Not normally get a digital 
title 。like this:

    world original text:
    一、  i like poi
       1、  i like poi
       2、  i like poi
    二、  i like poi
    三、  i like poi


   use poi-3.8 get:
    1、  i like poi
    1、  i like poi
    2、  i like poi
    1、  i like poi
    2、  i like poi

java code:
        FileInputStream fis = new FileInputStream(new File("e:/test.doc"));
        HWPFDocument doc =  new HWPFDocument(fis);
        WordToTextConverter wordToTextConverter= new WordToTextConverter();

        wordToTextConverter.processDocument( doc );
        System.out.println(wordToTextConverter.getText());

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


Mime
View raw message