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

TOPIC:

Write PdfAcroForm 6 years 2 days ago #13753

  • app2U
  • app2U's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 12
  • Thank you received: 0
Hi,
I have some troubles when I trying to write a pdf AcroForm. I can write checkBox and radio Buttons and save it successfully, but I can't write the Text imputs. Nothing is showing when I write this inputs, but when I us the same pdf in the demo It works corrrectly. I don't know what I'm doing wrong, could you help me? This is my code:

Global.Init(getActivity());
Intent intent = new Intent();
intent.setClass(getActivity(), PDFViewAct.class);
intent.putExtra("PDFPath", path);
//pdfIntent.putExtra("canBePrinted", true);
startActivity(intent);

I also tried :

RadaeePDFManager pdfManager = new RadaeePDFManager();
pdfManager.show(getContext(),path,"" ,true,false,0,"RGB_565","User")


Thank you.

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

Write PdfAcroForm 6 years 1 day ago #13758

  • Davide
  • Davide's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 814
  • Thank you received: 65
Hi,
to edit text box you need a premium license as written here www.radaeepdf.com/documentation/javadocs...xt-java.lang.String-
the demo project is activated with a premium version, so it works properly.

So if you want to check the premium license in your own project you can follow this article : www.radaeepdf.com/support/knowledge-base?view=kb&kbartid=4

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

Write PdfAcroForm 6 years 1 day ago #13760

  • app2U
  • app2U's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 12
  • Thank you received: 0
Hi,
Yes we have a premium license

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

Write PdfAcroForm 6 years 1 day ago #13761

  • Davide
  • Davide's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 814
  • Thank you received: 65
Hi,
the code you sent us is about the opening, we need to know how you set the edit text..
Can you please send us that code?

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

Write PdfAcroForm 6 years 1 day ago #13762

  • app2U
  • app2U's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 12
  • Thank you received: 0
Hi,

We don't create the pdf Acroform, we open it and fill the text inputs of a Acroform that already exist so I don't set the edit text. I attached an example of pdf acroform

Thank you

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

Write PdfAcroForm 6 years 1 day ago #13763

  • Davide
  • Davide's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 814
  • Thank you received: 65
Hi,
there is no attachment. Can you please reupload it?

It might be a font problem, please check if you have all the fonts embedded in your pdf.
If you are missing some fonts, you can add them following that article : www.radaeepdf.com/support/knowledge-base?view=kb&kbartid=5
You can also try to change the annot font in Global class, please check setAnnotFont method.

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

  • Page:
  • 1
  • 2
Powered by Kunena Forum