We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Converting pdf table on Excel

Good evening,
I’m trying to convert a pdf file with tables inside into an excel file

The problem I encountered is that, despite all the tables are the same, sometimes they are different in the excel file

As you can see in attachment B4.png, the table on sheet 4 is different from the attachment B1.png, B2.png or B3.png

By doing various tests, I found that the problem with sheet 4 is that a line similar to the example that I have circled in green is missing on the first page of attachment A.pdf
So if such a row is missing, the table in the excel sheet will be wrong.

Can you help me in any way? I am satisfied with any help, for example if someone is able to insert lines at a certain distance between them in the pdf in such a way as to
solve the problem or any other way would be fine for me.

This is the simple code I am using:Document pdfDocument = new Document(file);
ExcelSaveOptions options = new ExcelSaveOptions();
options.Format = ExcelSaveOptions.ExcelFormat.XLSX;
options.UniformWorksheets = true; //true or false nothing changes
pdfDocument.Save(“path”, options);

A.pdf (391.8 KB)
B1.PNG (29.4 KB)
B2.PNG (31.6 KB)
B3.PNG (31.7 KB)
B4.PNG (24.6 KB)


We have managed to reproduce the same issue at our side. For the sake of correction, we have logged this problem in our issue tracking system as PDFNET-51293. You will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.