DImuthuUpe / AndroidPdfViewer

Android view for displaying PDFs rendered with PdfiumAndroid
Apache License 2.0
8.05k stars 1.85k forks source link

The data in forms disappear when i try to load the pdf #1157

Open Amattia opened 10 months ago

Amattia commented 10 months ago

Hi, I would know if this project is still mantained and developed.

Anyway i tried to load a pdf in which there are some forms filled with different data, if i try to open the pdf in any other software i'm able to see every data, but when i load the document with this library the data disappear even thought the forms are filled.

This is the code that I use to load the PDF

        File file = new File (SOME DATA);
        pdfView = findViewById(R.id.pdfView);
        pdfView.enableAntialiasing(true);
        pdfView.useBestQuality(false);
        pdfView.enableAnnotationRendering(true);
        pdfView.fromFile(file).defaultPage(0).onLoad(this).onPageChange(this).load();

Did i do something wrong or is this a bug ?