You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "John Hewson (JIRA)" <ji...@apache.org> on 2014/10/11 01:09:33 UTC

[jira] [Closed] (PDFBOX-24) Add new form fields to an existing pdf file

     [ https://issues.apache.org/jira/browse/PDFBOX-24?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

John Hewson closed PDFBOX-24.
-----------------------------
    Resolution: Invalid

> Add new form fields to an existing pdf file
> -------------------------------------------
>
>                 Key: PDFBOX-24
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-24
>             Project: PDFBox
>          Issue Type: New Feature
>          Components: Writing
>
> [imported from SourceForge]
> http://sourceforge.net/tracker/index.php?group_id=78314&atid=552835&aid=1045899
> Originally submitted by caisd on 2004-10-12 22:24.
> To add some new form fields into an existing pdf file.
> There is a shareware named bfop(The Big Faceless PDF
> Library) can do it in an easy way, for example: 
> 1. PDF pdf = new PDF(new PDFReader(new
> FileInputStream("example.pdf")));
> 2.PDFPage page = pdf.getLastPage();
> 3. Form form = pdf.getForm();
> 4. FormText address = new FormText(page, 400, 660, 550,
> 720);
> 5. form.addElement("address", address);
> 6. pdf.render(new FileOutputStream("FormCreation.pdf"));



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)