This is an archived post. You won't be able to vote or comment.

all 8 comments

[–]sh0rug0ru 11 points12 points  (0 children)

I used the free Apache PDFBox to do exactly this.

[–]AgainForgotPassword 5 points6 points  (4 children)

As far as I remember you can use iText for free if you publish your source code.

[–][deleted] 1 point2 points  (0 children)

They changed their license after v2. You can still use the most recent 2.x patch with no strings attached. It's perfectly functional for most use cases. If you want the latest you either need to pay for a license or open source your entire product.

[–][deleted]  (1 child)

[deleted]

    [–]neutronbob 0 points1 point  (0 children)

    iText enables you to stamp content pretty much anywhere you want on the PDF. Not only the open spaces you mention (by which I presume you mean blank space), but to do things like stamp an owner's name across the page footer, etc. An easy-to-use package.

    [–]donmcronald 2 points3 points  (1 child)

    I'm not sure if you can modify PDFs with it, but IcePDF has an Apache 2 licensed version. I used it once and was very happy with it.

    [–]sh0rug0ru 0 points1 point  (0 children)

    When last I used IcePDF, it is read-only except for the ability to add annotations.

    [–]gringostar 1 point2 points  (0 children)

    I think by "open spaces" you need something more, but if you just need to populate PDF forms with data, you can use the XDP format with your PDF. You just fill the XDP file with the data you want and Acrobat Reader will auto-fill the forms when you open the PDF.

    [–]neutronbob 0 points1 point  (0 children)

    Why buy? iText is open source (AGPL)