2nd page of this pdf is not converted correctly as you can see from the screen shot.
A1 Telekom Austria AG_Intl Invoice - Sell_2025-05_Outgoing Account_Normal_393563.pdf (326.6 KB)
Screenshot 2025-06-18 at 11.07.28.png (477.6 KB)
2nd page of this pdf is not converted correctly as you can see from the screen shot.
A1 Telekom Austria AG_Intl Invoice - Sell_2025-05_Outgoing Account_Normal_393563.pdf (326.6 KB)
Screenshot 2025-06-18 at 11.07.28.png (477.6 KB)
Have you tested with the latest version of the API? Can you please share the sample code snippet with us so that we can test the scenario in our environment and address it accordingly.
Hi Ali,
We have tried with new version. It is getting better but there is a slight slip on minutes column.
Screenshot 2025-07-02 at 14.47.03.png (23.7 KB)
Can you please share the sample code snippet for our reference so that we can test the scenario in our environment and address it accordingly.
here it is, we use it how aspose recommends.
Credentials credentials = new TokenCredentials(CLIENT_ID, getAccessToken(adobePath + "secret.txt"));
PDFServices pdfServices = new PDFServices(credentials);
fileName = customDir.getCanonicalPath() + File.separator + fileName;
Asset asset = pdfServices.upload(inputStream, PDFServicesMediaType.PDF.getMediaType());
ExportPDFParams exportPDFParams = ExportPDFParams.exportPDFParamsBuilder(ExportPDFTargetFormat.XLSX).build();
ExportPDFJob exportPDFJob = new ExportPDFJob(asset, exportPDFParams);
String location = pdfServices.submit(exportPDFJob);
PDFServicesResponse<ExportPDFResult> pdfServicesResponse = pdfServices.getJobResult(location, ExportPDFResult.class);
Asset resultAsset = pdfServicesResponse.getResult().getAsset();
StreamAsset streamAsset = pdfServices.getContent(resultAsset);
The above code does not seem related to Aspose API. Please check the below code snippet that we used to test the scenario in our environment with 25.6 version of the API:
Aspose.Pdf.Document pdf = new Aspose.Pdf.Document(dataDir + "A1 Telekom Austria AG_Intl Invoice - Sell_2025-05_Outgoing Account_Normal_393563.pdf");
Aspose.Pdf.ExcelSaveOptions exl = new ExcelSaveOptions();
exl.Format = ExcelSaveOptions.ExcelFormat.XLSX;
exl.InsertBlankColumnAtFirst = false;
//exl.MinimizeTheNumberOfWorksheets = true;
pdf.Save(dataDir + "A1 Telekom Austria AG_Intl Invoice - Sell_2025-05_Outgoing Account_Normal_393563.xlsx", exl);
Attached output is also attached for you. Can you please check it and share the screenshot with us where you find any issues inside it?
A1 Telekom Austria AG_Intl Invoice - Sell_2025-05_Outgoing Account_Normal_393563.zip (110.1 KB)
Sorry this is the code snippet we use:
Document doc;
if (inputStream == null) {
doc = new Document(file.getPath());
} else {
doc = new Document(inputStream);
}
ExcelSaveOptions options = new ExcelSaveOptions();
options.setInsertBlankColumnAtFirst(false);
options.setMinimizeTheNumberOfWorksheets(true);
options.setUniformWorksheets(false);
options.setFormat(ExcelSaveOptions.ExcelFormat.XLSX);
String convertedFileName = file.getName().replace("pdf", "xlsx");
doc.save(file.getParentFile().getPath() + "/" + convertedFileName, options);
doc.close();
Attached is the output generated using the same code snippet in our environment. Can you please open it in your system and share the screenshot of the issues that you notice?
A1 Telekom Austria AG_Intl Invoice - Sell_2025-05_Outgoing Account_Normal_393563.pdf.zip (87.1 KB)
Hi,
The columns are not organised. The title of each column and first value are shifted right compared to rest of the columns.
I am adding screenshots below.
image.png (291.7 KB)
image.png (106.2 KB)
We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.
Issue ID(s): PDFJAVA-45161
You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.