We're using the Radaee library for our Android and iOS app.
Is it possible for the viewer to show a multi-page PDF in reflow mode, with continuous vertical scrolling (instead of the buttons to go prev/next) ?
Would be ideal if it can support pinch-zoom to handle dynamic scaling of the reflowed pages. An example of this would be the Polaris office PDF viewer.
Any suggestion for this, or are there some other 3rd-party viewers that can take the reflowed pages from Radaee and display them like what we want?
Thanks in advance!
(will cross-post to iOS)
We actually don't mind the page interruption so much.
Why we want the vertical scrolling is because in the reflow mode, the width of the rendered page should be constrained to the screen width, while the height would vary depending on the page contents. Hence if you can imagine different pages, all having the same width but with different heights, then vertical scrolling seems to be the more appropriate mode to display all the pages.
Is this possible in the Radaee viewer?
reflow processing need following steps:
1. Page.reflowStart() method input a width value, to calculate height this this page.
2. Page.reflowToBmp() method to render out.
3. Page.Close() to free memory.
if you want layout as continue mode, you need calculate all pages reflow height in same width.
and add all these height to layout height, this may take very long time.
then, you can render reflow pages when display on screen, some page may has very large height value,
so, you need clip to lots blocks for a page.
it is possible, if you do not need to zoom frequently.