rmfakecloud
rmfakecloud copied to clipboard
PDF & WebUI: PDFs don't get completely generated
When downloading or previewing PDFs through the Web UI, not all pages seem to get generated.
I synchronised a newly connected device with the cloud. The device had existing PDFs and annotations. When I looked at those documents in the Web UI, both the downloaded and preview PDF only had the number of pages that were annotated, but not necessarily the annotated pages.
Let me clear about that last part:
- I have a 6-page PDF with annotations on pages 2, 3, and 4.
- The PDF that is generated on the UI has 3 pages, which are pages 1, 2, and 3, of the original PDF.
- Page 1 of the generated PDF has the annotations from Page 2 of the original PDF.
- Page 2 of the generated PDF has the annotations from Page 3 of the original PDF, ...
There may be a fault with the logic used by the PDF generation, which limits the number of pages to generate the number of pages that it finds which have annotations.
i'm working on it. this has to do with the pdf generator and parsing the metadata