pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Camilo <andre.cam...@premium-minds.com>
Subject AcroForm flattening
Date Fri, 10 Feb 2012 16:56:22 GMT
Hi all,

I have a PDF with form fields created on Acrobat 9, and I would like to 
fill this fields and save the PDF flattened, without the form.

I saw on the mailing list that just by removing the fields would do the 
trick:
     document.getDocumentCatalog().getAcroForm().getFields().clear();

but this doesn't work, the fields continue there on edit mode.

Anyone could give me clue?

Thanks

-- 

*André Camilo*
Software Architect

*Premium Minds*
Av. 5 de Outubro nº176 2ºDto
1050-063 Lisboa
www.premium-minds.com <http://www.premium-minds.com/>

Geral: +351 217 817 555
andre.camilo@premium-minds.com <mailto:andre.camilo@premium-minds.com>


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message