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

TOPIC:

Convert PDF coordinates to view layout coord 6 years 6 months ago #12993

  • geertvm
  • geertvm's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 16
  • Thank you received: 0
Related to this overlay...I had to change the PDFLayoutView by adding the OnPageDisplayed() in the PDFLayoutListener interface.
This way I can add some info on the canvas when the page is displayed. Can it be part of the next release?

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

Convert PDF coordinates to view layout coord 6 years 6 months ago #12995

  • nermeen
  • nermeen's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Posts: 962
  • Thank you received: 87
Ok it will be part of the next release.
public interface PDFLayoutListener
	{
		...
		void onPDFPageDisplayed(Canvas canvas, VPage vpage);
		...
	}

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

Convert PDF coordinates to view layout coord 6 years 6 months ago #12997

  • geertvm
  • geertvm's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 16
  • Thank you received: 0
Thanks...
Is there a way to
1. get a list of all signature fields (visible and invisible)
2. get the PDF coordinates of visible signature fields.

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

Convert PDF coordinates to view layout coord 6 years 6 months ago #12998

  • Davide
  • Davide's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 814
  • Thank you received: 65
Hi,
you can get the annotations using page.GetAnnot(int index)
For more info check this : www.radaeepdf.com/documentation/javadocs...e.html#GetAnnot-int-

Then you can check the annot type, coordinates and status (visible or invisible etc..) using the following methods :
annot.GetType();
annot.GetFieldType();
annot.GetRect();
annot.IsHide();

Combining these methods, you wil get what you want..

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

Convert PDF coordinates to view layout coord 6 years 6 months ago #12999

  • geertvm
  • geertvm's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 16
  • Thank you received: 0
I've tried
Page p = m_doc.GetPage0();
int i = p.GetAnnotCount();

It gives me 0 annotations (with the document I've sent before)
This has 2 visible signature fields...

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

Convert PDF coordinates to view layout coord 6 years 6 months ago #13000

  • geertvm
  • geertvm's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 16
  • Thank you received: 0
I suppose this is a license issue...
Is it possible to evaluate the professional licence?

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

Powered by Kunena Forum