Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
Questions about Android development and PDF
  • Page:
  • 1

TOPIC:

Horizontal View in PDFViewLayout 8 years 10 months ago #9069

  • dashti
  • dashti's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 10
  • Thank you received: 0
I want to update my application with SDK 3.4 and use PDFViewLayout. I need to use horizontal view which was present in old PDFReader but now there is no such option in PDFViewLayout. Is it possible to edit codes in the library to access this option?

BTW, PDFReader.PDFOpen has rtol while in PDFViewLayout.PDFOpen it is not present.

Thanks

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

Horizontal View in PDFViewLayout 8 years 10 months ago #9079

  • Davide
  • Davide's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 814
  • Thank you received: 65
Hi,
can you please better explain your needs?
What do you mean for horizontal view? Try to set def_view = 1 parameter of default_config() method
BTW, If you have a Professional or a Premium license you can follow this to get the library source code and edit what you want.

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

Horizontal View in PDFViewLayout 8 years 10 months ago #9084

  • dashti
  • dashti's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 10
  • Thank you received: 0
In PDFLayoutView.PDFSetView() there is a switch on Global.def_view which does not have any case 1 (horizontal view) and its default goes to PDFLayoutVert.
I do have full license, but there is nothing like PDFLayoutHoriz in the library to use that. Which class I should edit to have something like PDFLayoutHoriz?

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

Horizontal View in PDFViewLayout 8 years 10 months ago #9091

  • Davide
  • Davide's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 814
  • Thank you received: 65
Hi,
you can try to edit PDFSetView() method of PDFLayoutView class and handle case 1 (horizontal view) as you want.

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

  • Page:
  • 1
Powered by Kunena Forum