Free Support Forum -

TableAbsorber doesn't recognize a simple table

we are facing issues on TableAbsorber, that can’t find a table in a very simple PDF with a paragraph and a two columns, 3 rows table.
Also the conversion to docx is not detecting the table, that is reproduced as lines and paragraphs only on docx.
Attached testing program Java sources and the PDF used.
Tested with Aspose.PDF (179.2 KB)

Many thanks for checking.


Thanks for contacting support.

We were able to notice both issues (i.e. API is not extracting table and Table is not rendered correctly after conversion to DOCX format) using following minimum code snippet:

Document doc = new Document(dataDir + "TestTable.pdf");
DocSaveOptions saveOptions = new DocSaveOptions();
saveOptions.setFormat(DocSaveOptions.DocFormat.DocX); + "TestTable.docx", saveOptions);

Document pdfDocument = new Document(dataDir+"testtable.pdf");
// Create TableAbsorber object to find tables
TableAbsorber absorber = new TableAbsorber();
// Visit first page with absorber

We have logged both issues as following in our issue tracking system:

PDFJAVA-38078 - API is unable to extract table from PDF
PDFJAVA-38079 - PDF to DOCX - Table is not rendered correctly

We will further investigate both issues in details and keep you posted with the status of their correction. Please be patient and spare us little time.

We are sorry for the inconvenience.