iText is an open source PDF library licensed under the AGPL.
It can be used to create and manipulate PDF documents.