Want Horizontal Paging of PDF - RadaeePDF.com
Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
13 Jul 2017
Microsoft has ended support for Windows Phone 8.1
Read More...
Questions about Android development and PDF
  • Page:
  • 1

TOPIC: Want Horizontal Paging of PDF

Want Horizontal Paging of PDF 3 years 11 months ago #7846

  • hassan31
  • hassan31's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 20
  • Thank you received: 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.

Please Log in or Create an account to join the conversation.

Want Horizontal Paging of PDF 3 years 11 months ago #7847

  • Davide
  • Davide's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 814
  • Karma: 17
  • Thank you received: 65
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..

Please Log in or Create an account to join the conversation.

Want Horizontal Paging of PDF 3 years 11 months ago #7848

  • hassan31
  • hassan31's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 20
  • Thank you received: 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

Please Log in or Create an account to join the conversation.

Want Horizontal Paging of PDF 3 years 11 months ago #7849

  • hassan31
  • hassan31's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 20
  • Thank you received: 0
Hello,

Its done, thanks

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Powered by Kunena Forum