Questions tagged [itextg]

iTextG is a port of iText, created for use on Android and Google App Engine

iTextG is a special version of iText built for Android and Google App Engine.

Differences between the iText core library and the Android/GAE port, are:

  • iTextG uses SpongyCastle instead of Bouncy Castle. Make sure to download and include the right jars: scprov-jdk15on and scpkix-jdk15on
  • References to any of the classes not on the Google App Engine whitelist have been removed.

Important notes:

  • Concerning the use of iTextG on Google App Engine: Refrain from using the constructor of PdfReader that uses a path.
  • Concerning the use of iTextG on Android: Android 4.0 (and higher) changed how it uses Certificates: The KeyChain API will not allow SpongyCastle from getting a certificate (at the time of writing: September 2013). You can use the certificates outside of this API.
36 questions
0
votes
1 answer

fill out a form pdf with itextg android

I'm trying to fill out a pdf form with itextg 5.5.1 an I can't.The code create a new pdf but it doesn't fill out. It's a pdf creat with acrobat and only has 3 fields. The problem is when i made de AcrobFields form= stamper.getfields(); Form hasn't…
0
votes
1 answer

iTextG causing application crash(Android)

My objective is to superimpose contents of a pdf onto another PDF. this is the code that I have used: AssetManager assetManager = getAssets(); InputStream istr = null; PdfReader reader = null; String str = null; int n = 0; try …
harveyslash
  • 5,906
  • 12
  • 58
  • 111
0
votes
2 answers

Create pdf in Android, setBorderColor

I use iText library to create pdf, in Java Project setBorderColor work, I use: c1 = new PdfPCell(new Phrase("182-432-23-23",smallFontBold)); c1.setBorderColor(BaseColor.DARK_GRAY); but in Android Project in this code I have error: c1 = new…
-1
votes
2 answers

How to convert whole relative layout into Pdf

I have a layout with several relative layout with scrollview like this :
Neo
  • 119
  • 8
-1
votes
1 answer

Including iTextG in an Android Project using Android Studio

I'm getting the following error when including iTextG in Android Studio, com.android.dex.DexException: Multiple dex files define Lcom/itextpdf/awt/geom/AffineTransform; at com.android.dx.merge.DexMerger.readSortableTypes(DexMerger.java:596) …
Noor
  • 19,638
  • 38
  • 136
  • 254
-3
votes
1 answer

iTextg doesn't work on android kitkat 4.4.2

I'm building an android app using iTextg library for creating PDF document. When I run it on my android 5.0 lollipop device, it works just fine. However, when I run it on other device, such as HTC Desire 526G, which has android 4.4.2 kitkat, app…
micdo94
  • 55
  • 1
  • 2
  • 7
1 2
3