CoolKicks

1

votes
0

answer
31

views

iText Acroform issue

I have created a pdf with iText in A4 landscape using Document document = new Document(PageSize.A4.rotate()); Now I want to insert acroforms in the pdf. For that I have created another class and inserted the acroform. The problem is when I enter text in acroform it is coming vertically instead of ho...
CoolKicks
0

votes
0

answer
4

views

How to give alternate description for a field in Itext.?

I am trying to generate an accessible digitally signed PDF using iText. I am able to create a pdf with digital signature but it is not accessible. I suppose it is because there is no alternate description for the field 'sig'. How do i give the alternate description here? public class C2_01_SignHello...
CoolKicks
2

votes
2

answer
51

views

Itext 5.5.9 - Issue while setting encryption

I am getting the below exception while setting encryption for a pdf. Exception in thread 'AWT-EventQueue-0' java.lang.NoClassDefFoundError: org/bouncycastle/asn1/ASN1Primitive Below is the code - public void manipulatePdf(String src, String dest) throws IOException, DocumentException { PdfReader r...
CoolKicks
2

votes
1

answer
55

views

How do I parse the given json using jackson streaming api?

Input json (sample taken for 3 employees, however there can be many employees). I have used http://www.jsonschema2pojo.org/ to get the pojo classes. I am able to parse all the elements except the contact array for the sample employees. How can I parse the contact array having 2 nodes in the jackson...
CoolKicks