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

Nick Burch resolved TIKA-2479.
------------------------------
       Resolution: Fixed
    Fix Version/s: 1.19
                   2.0

XLS, XLSX and XLSB should now all do basically the same thing. Missing left or 
mid cells are now output as an empty {{td}}, which preserves the table column 
layout. Missing rows are by default skipped, to minimise empty lines in the 
output, but can be enabled on {{OfficeParserConfig}} if desired

The only thing you'd need some custom code for is if you want to enforce a 
minimum number of columns in a row, as there's no right-padding of missing / 
never used cells.

> Handle empty cells in tables uniformly
> --------------------------------------
>
>                 Key: TIKA-2479
>                 URL: https://issues.apache.org/jira/browse/TIKA-2479
>             Project: Tika
>          Issue Type: Bug
>            Reporter: Tim Allison
>            Priority: Minor
>             Fix For: 2.0, 1.19
>
>         Attachments: patch.diff
>
>
> It looks like we output a <td/> for empty cells in xls, and tables in doc, 
> docx and pptx.  However, we don't retain empty cells in xlsx or tables in 
> ppt.  We should make this handling uniform.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to