Free Support Forum - aspose.com

Problems with display PDF with the PdfViewer

Hallo,


i can’t open a MultiplePage PDF with the PDF-Version 1.5.
If i do that, it only shows a blank Page.
i can open and display a Single-Page PDF-Version 1.3 File.

Is it Possible that the Viewer has Problems to Display Files > 1.3??

Used this Code for a quick tryout:

JFileChooser jfc = new JFileChooser();
jfc.showOpenDialog(this);
try{
viewer.openPdfFile(jfc.getSelectedFile().getAbsolutePath());
currentPage = 1;
viewer.decodePage(currentPage);
viewer.setPdfPageParameters(1,currentPage);
}
catch (Exception ex)
{
System.err.println(ex.getMessage());
ex.printStackTrace();
}

this.add(viewer.showPdf(), BorderLayout.CENTER);
this.repaint();
this.validate();


The SinglePage 1.3 Files are displayd without a Problem

Hi Marc,

Thank you very much for considering Aspose.

Can you please share the problematic PDF with us, so we could test the issue at our end? We’ll investigate the problem and update you accordingly.

We’re sorry for the inconvenience.
Regards,

Hallo,

I attached the PDF here,

it was created with Latex, and the Adobe Reader shows it without any Problems.

just get a white Page with the Aspose Viewer.

Hi Marc,

Thank you very much for sharing the document with us. We’ll look into the problem in detail at our end and update you with the results, the earliest possible.

We’re sorry for the inconvenience.
Regards,

Hi Marc,

I have reproduced the problem and logged it as PDFKITJAVA-12786 in our issue tracking system. Our team will be looking into the matter and you’ll be updated via this forum thread once the issue is resolved.

We’re sorry for the inconvenience.
Regards,