[ 
https://issues.apache.org/jira/browse/TIKA-1315?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14563302#comment-14563302
 ] 

Tim Allison commented on TIKA-1315:
-----------------------------------

With many thanks to [~drndos] and [~morido], I've added _basic_ list support 
for doc and docx files in r1682287.  [~morido], your patch and test doc were 
crucial. 

We have to add an ooxml class via POI before we can make overrides work for 
docx.  I've coded+commented that chunk out of the code and there's a test case 
that is commented out (again, thanks to [~morido]'s test doc).  I won't close 
this issue until that is updated

I have no doubt that further work remains, but this should be a good start.

[~gullbyrd], many apologies for the amount of time this took.  Please build 
from trunk and run against your docs to see if this meets your needs.


> Basic list support in WordExtractor
> -----------------------------------
>
>                 Key: TIKA-1315
>                 URL: https://issues.apache.org/jira/browse/TIKA-1315
>             Project: Tika
>          Issue Type: Improvement
>          Components: parser
>    Affects Versions: 1.6
>            Reporter: Filip Bednárik
>            Assignee: Tim Allison
>            Priority: Minor
>             Fix For: 1.9
>
>         Attachments: ListManager.tar.bz2, ListNumbering.patch, 
> ListUtils.java, WordExtractor.java.patch, WordParserTest.java.patch, 
> complex_list_test.doc
>
>
> Hello guys, I am really sorry to post issue like this because I have no other 
> way of contacting you and I don't quite understand how you manage forks and 
> pull requests (I don't think you do that). Plus I don't know your coding 
> styles and stuff.
> In my project I needed for tika to parse numbered lists from word .doc 
> documents, but TIKA doesn't support it. So I looked for solution and found 
> one here: 
> http://developerhints.blog.com/2010/08/28/finding-out-list-numbers-in-word-document-using-poi-hwpf/
>  . So I adapted this solution to Apache TIKA with few fixes and improvements. 
> Anyway feel free to use any of it so it can help people who struggle with 
> lists in TIKA like I did.
> Attached files are:
> Updated test
> Fixed WordExtractor
> Added ListUtils



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to