Commit Graph

16 Commits

Author SHA1 Message Date
loryeam fbd6c45c3f fix a typo in viewer.js which can cause cache miss 2022-10-04 12:23:18 -04:00
Pratyush 68fc48d3a9 add on (doc) loaded callback 2022-09-12 02:08:42 -04:00
Pratyush 87c71ddac2 added support for encrypted PDF
based on https://github.com/GrapheneOS/PdfViewer/pull/17

Signed-off-by: Pratyush <codelab@pratyush.dev>
Co-authored-by: Tommy-Geenexus <tomgapplicationsdevelopment@gmail.com>
Co-authored-by: empratyush <codelab@pratyush.dev>
2022-05-06 10:07:59 -04:00
smdyv c743c0d6a7 Create layout for the PDF viewer activity
Updating insets is no longer necessary because the layout reserves the
space for the top app bar and frees it up in full-screen mode so the
WebView can fill the entire screen.
2022-02-19 08:32:15 -05:00
Daniel Micay 0d08f3606d explicitly set pdf.js worker to avoid deprecation 2021-11-21 15:40:04 -05:00
Daniel Micay f780734c9c use CSS zooming until end of zoom gesture 2020-04-04 12:15:29 -04:00
Daniel Micay 371cb3efdc fix error made during migration to zoom ratio 2020-04-04 11:34:12 -04:00
Daniel Micay e98398749e rename lazy to zoom and check it for scrollTo 2020-04-04 11:31:16 -04:00
Antoine d'Aligny e509660d7e Preparation for ratio zoom 2020-04-04 11:20:42 -04:00
Daniel Micay 1da56e759f set fullscreen padding to the proper width 2019-08-20 12:47:01 -04:00
Daniel Micay be2439be65 add padding to account for fullscreen mode 2019-08-20 12:40:12 -04:00
Tom G 5fc3f790a6 add immersive mode 2019-08-16 19:42:51 -04:00
Daniel Micay f6a4767d37 update pdf.js to 2.1.166 2019-08-16 01:21:12 -04:00
Daniel Micay f5abc23800 replace != and == with !== and === 2019-07-01 01:56:54 -04:00
Tommy-Geenexus 4ba712409a Add rotate document option 2019-06-30 02:31:29 -04:00
Daniel Micay d7eed01e80 initial commit with overhauled / rebranded project 2019-06-27 23:22:08 -04:00