Microsoft Windows Phone 8.1 support ends (13 Jul 2017)

Microsoft has ended support for Windows Phone 8.1

Questions about Android development and PDF

Reflow with vertical scrolling

More
10 years 7 months ago #9341 by digify
Hi,
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)
More
10 years 7 months ago #9344 by support
Actual reflow feature extract text from actual page and shows it.
It seems you're looking for a continuous text flow without page interruption.
Isn't it?
More
10 years 7 months ago #9345 by digify
Hi Support,
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?
More
IP: 103.10.119.40 5 years 8 months ago #15118 by indgup
I am looking for a continuous text flow without page interruption. Is it possible with the SDK? If Yes, How?
More
IP: 111.196.243.160 5 years 8 months ago #15119 by radaee
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.
More
IP: 103.10.119.40 5 years 8 months ago #15120 by indgup
Please tell me which width/height here is asking ? Width/height of screen or width/height of page ? Also tell me how can I get Scale because zooming page changes the scale I think
Time to create page: 0.452 seconds
Powered by Kunena Forum