Is it possible to embed a hidden file into a PDF using iText?
I have tried the following, but I don't want the file to show up in the File attachments tab.
stamper.addFileAttachment("Description", null, "file", "File name");
and
PdfFileSpecification pfs = PdfFileSpecification.fileEmbedded(stamper.getWriter(), "file", null, null,false);
stamper.addFileAttachment("Description",pfs);
I've heard I can embed the contents of the file with the metadata, is this possible?