RadaeePDF.com :: Topic: Cover visualization (1/1)
Welcome, Guest
Username: Password: Remember me

Signin/Signup with:

Questions about Android development and PDF

TOPIC: Cover visualization

Cover visualization 3 years 3 months ago #5986

Hi everybody, I'm looking for a view that shows two pages of a document, but with page number one shown on the right, like a book (pages with odd numbers are always on the right in a book). This is because the first page in our clients' catalogues are always the covers of the catalogues. So, I'd like the visualization to be like the following:
|-------------|------------|
|             |            |
|             |            |
|  grey color | first page |
|             |            |
|             |            |
|-------------|------------|

|-------------|------------|
|             |            |
|             |            |
| second page | third page |
|             |            |
|             |            |
|-------------|------------|
I tried by using all the visualization modes that come with the library, but with no success. Is there a way of doing this?
Last Edit: 3 years 3 months ago by limmie.
The administrator has disabled public write access.

Cover visualization 3 years 3 months ago #5987

  • radaee
  • radaee's Avatar
  • OFFLINE
  • Moderator
  • Posts: 825
  • Thank you received: 10
  • Karma: 43
like these codes before view.vOpen():
       	PDFViewDual view = new PDFViewDual(this.getContext());
       	boolean paras[] = new boolean[1];
       	paras[0] = false;
       	view.vSetLayoutPara(null, paras, m_rtol);
The administrator has disabled public write access.
The following user(s) said Thank You: limmie

Cover visualization 3 years 1 month ago #6437

  • Haktic
  • Haktic's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 16
  • Karma: 0
where is solution to do this ?
The administrator has disabled public write access.

Cover visualization 3 years 1 month ago #6438

  • nermeen
  • nermeen's Avatar
  • OFFLINE
  • Moderator
  • Posts: 659
  • Thank you received: 38
  • Karma: 17
In PDFReader.PDFOpen(Document, boolean, PDFReaderListener)
case 6: //or 3
{
PDFViewDual view = new PDFViewDual(this.getContext());
boolean paras[] = new boolean[1];
paras[0] = false;
view.vSetLayoutPara(null, paras, m_rtol);
m_view = view;
}
Last Edit: 3 years 1 month ago by marcoP.
The administrator has disabled public write access.
Powered by Kunena Forum