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
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
Hi to everyone,
I have a problem with the PdfDictionary, I insert in a PdfDictionary a value
using this class that I have found on internet
public class DocumentPieceInfo
{
static PdfName PIECE_INFO = new PdfName("PieceInfo");
static PdfName LAST_MODIFIED = new PdfName("LastModified");