Re: [iText-questions] Insert custom dictionary in pdf file

2013-08-28 Thread skorpion
mkl wrote >> dpi.addPieceInfo(os, reader, appName, dataName, new PdfString("prova")); > That method does not accept an OutputStream. The OutPutStream parameter is and old prove that I haven't delete, sorry. I did not realize that I have to use a different OutputStream object. If I want overwrite

Re: [iText-questions] Insert custom dictionary in pdf file

2013-08-28 Thread skorpion
Yes i found it here, but don't store the data. I write here what I've done: if(!file.exists()){ Document document = new Document(); FileOutputStream os = new FileOutputStream("prova.pdf"); try { writer = PdfWriter.getInstance(document, os); d