RadaeePDF.com :: Topic: Want Horizontal Paging of PDF (1/1)
Welcome, Guest
Username: Password: Remember me

Signin/Signup with:

Questions about Android development and PDF

TOPIC: Want Horizontal Paging of PDF

Want Horizontal Paging of PDF 2 years 10 months ago #7846

  • hassan31
  • hassan31's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 20
  • Karma: 0
Hi Team,
I want to enable the Horizontal Paging of PDF, can you please let me know in which class I can change it. Also I want to underline the links exist in the pdf. Is there any class in which I can make the links underline.?

Thanks in advance.
The administrator has disabled public write access.

Want Horizontal Paging of PDF 2 years 10 months ago #7847

  • Davide
  • Davide's Avatar
  • OFFLINE
  • Moderator
  • Posts: 678
  • Thank you received: 47
  • Karma: 14
Hi,
to enable the Horizontal Paging of PDF you can change def_view = 3; in default_config() void of Global class or you can use this code of the PDFOpen void (PDFReader class) :
PDFViewDual view = new PDFViewDual(this.getContext());
boolean paras[] = new boolean[m_doc.GetPageCount()];
int cur = 0;
while( cur < paras.length )
{
	paras[cur] = false;
	cur++;
}
view.vSetLayoutPara(null, paras, m_rtol);
m_view = view;

There isn't a class to underline the links, you have to implement it by yourself..
The administrator has disabled public write access.

Want Horizontal Paging of PDF 2 years 10 months ago #7848

  • hassan31
  • hassan31's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 20
  • Karma: 0
Hi,
Thanks for the quick reply. But Unfortunately I could not find "def_view" variable in the mentioned class, but instead I found "g_def_view" variable and it exists on many places in different classes. Niether I found the Class PDFReader. As I'm using the latest Updated SDK in my app.

Can you please tell me the exact place where I can change it.

Thanks in Advance
The administrator has disabled public write access.

Want Horizontal Paging of PDF 2 years 10 months ago #7849

  • hassan31
  • hassan31's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 20
  • Karma: 0
Hello,

Its done, thanks
The administrator has disabled public write access.
Powered by Kunena Forum