Creating Java PDF

Does anyone have a free open source library to recommend for creating PDF files in Java? I know that iText is popular, but it is not free for commercial use. A library for creating MS Word files (.doc) will also be useful.

+4
source share
5 answers

Apache POI works well for creating MS Office documents programmatically. PDFBox, as already mentioned, works well for creating PDFs.

+4
source

PDFBox allows you to create PDF files from a text file.

+2
source

ps2pdf is a good unix utility for converting postscript files to PDF files, and a postscript in java is as simple as string manipulation.

http://pages.cs.wisc.edu/~ghost/doc/AFPL/6.50/Ps2pdf.htm

+1
source

A experimented with several options, the best was docx4j

+1
source

You can use Open Lowcode PDF . This is an extra layer on top of the Apache PDF Box.

It offers the following high-level features aimed at creating corporate documents and forms:

  • multi-page content
  • table management
  • multiline text
  • table of contents management
  • footer management
0
source

Source: https://habr.com/ru/post/1399427/


All Articles