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

PDFViewDual hardcoded page numbers inside PDFCell

More
IP: 192.168.0.71 11 years 6 months ago #7048 by Rashaverak
It seems that using PDFViewDual.vGotoPage(page) for
page = 0 or page = 1 will always show double page consist of page 1 and 2

but what if I have to have logic where I need the PDFViewDual show me page 2 and 3 ? Currently it doesnt seem to be possible, which is really surprising because if I need to show a magazine/news like view, those do not have double pages [1,2][2,3] but [1][2,3][4,5]. Imagine how stupid double page advertisement look using your solution, you have first page bundled to right side of previous double page and second page as left page of the following doublepage.

Would be really great if you could publish your View sources so that it is possible to alter the hardcoded behaviour instead of writing it from scratch which I will have to do probably now.
More
IP: 192.168.0.156 11 years 6 months ago #7049 by Davide
Hi,

look at this:

www.androidpdf.mobi/forum/Android-develo...r-visualization#6438


If you want View sources you should buy a premium or a professional license.
More
IP: 192.168.0.71 11 years 6 months ago #7050 by radaee
there are method:
PDFViewDual.vSetLayoutPara()
to show pages as [1] [2,3] [4,5] like these codes:
boolean duals[] = new boolean[1];
duals[0] = false;
PDFViewDual.vSetLayoutPara( null, duals, false );
More
IP: 192.168.0.71 11 years 6 months ago #7051 by Rashaverak
Thank you about the licence option pointing out and also the code, works great.
  • admin
  • New Member
  • New Member
More
IP: 192.168.0.71 11 years 6 months ago - 11 years 6 months ago #7053 by admin
Thanks, it worked for me too.
I can't find it in documentation.. www.androidpdf.mobi/documentation/javado...fex/PDFViewDual.html here? But there is not any vSetLayoutParam
Last edit: 11 years 6 months ago by vishwakarmaspot.
More
IP: 192.168.0.158 11 years 6 months ago #7071 by nermeen
Sorry the javadoc is not updated, we will update it soon

But the method does exist in the SDK
Time to create page: 0.414 seconds
Powered by Kunena Forum