You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Frank van der Hulst (JIRA)" <ji...@apache.org> on 2014/08/25 04:58:58 UTC

[jira] [Updated] (PDFBOX-2286) Extract tables

     [ https://issues.apache.org/jira/browse/PDFBOX-2286?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Frank van der Hulst updated PDFBOX-2286:
----------------------------------------

    Attachment: NZANR_Part_71_Danger_Areas_(D).pdf
                PDFTableStripper.java
                PDFTable.java
                PDFExample.java

Full source code... don't know how to make a patch (which probably wouldn't be applicable for new source code anyway).

PDFExample.java depends on pdfbox-app. Example PDF file included.


> Extract tables
> --------------
>
>                 Key: PDFBOX-2286
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-2286
>             Project: PDFBox
>          Issue Type: New Feature
>          Components: Text extraction, Utilities
>         Environment: Java
>            Reporter: Frank van der Hulst
>            Priority: Minor
>              Labels: features, newbie, patch
>             Fix For: 1.8.6
>
>         Attachments: NZANR_Part_71_Danger_Areas_(D).pdf, PDFExample.java, PDFTable.java, PDFTableStripper.java
>
>
>  This is by no means a complete solution to extracting data tables from PDF files. However, it is a step in the right direction. Perhaps. Further work is needed to automatically detect the table layout.
> This consists of 2 classes... a PDFTable class to describe table layouts, and a PDFTableStripper class to extract tables and return them as an array of tables, each table being a list of rows, each row being an array of Strings, each String being one cell.



--
This message was sent by Atlassian JIRA
(v6.2#6252)