pdfview-android icon indicating copy to clipboard operation
pdfview-android copied to clipboard

Line separator between pages

Open B-greg opened this issue 5 years ago • 3 comments

Hi, Is it possible to add a line separator, or a margin between. each page of the PDF? For now all page are next to each other, and it's can be confusing when the next page start an end.

B-greg avatar Nov 08 '19 03:11 B-greg

Thank you for contribution, this is very good idea and should be fairly easy to implement. I will take a look there when I'll have time, I don't know when. Unless somebody else would like to implement it. Contributions are welcome.

Dmitry-Borodin avatar Feb 04 '20 08:02 Dmitry-Borodin

I was looking how to do it, but as all the PDF is read as bitmap, it's hard to find where there is a new page. I will try to look again when I got free time.

B-greg avatar Mar 26 '20 08:03 B-greg

@B-greg PDFRegionDecoder.kt:27 PDFRegionDecoder.kt:48 and below

We will have to add another raw bitmap in between pages.

Dmitry-Borodin avatar Mar 26 '20 19:03 Dmitry-Borodin