Another way to generate PDFs in Java

Source: Internet
Author: User

I often use itext or jasper to generate PDFs, and it's nice to see another way to generate PDFs today.

Https://stackoverflow.com/questions/7355025/create-pdf-with-java

Philipp Reichart' s answer:

I prefer outputting my data into XML (using Castor, XStream or JAXB) and then transforming it using a XSLT stylesheet into XS L-FO and render that with the Apache FOP into PDF. Worked so far for 10-page reports and 400-page manuals. I found this to flexible and stylable than generating PDFs in code using IText.

I searched again how to engage in Xsl-fo, found Https://www.antennahouse.com/XSLsample/howtoRC/Howtodevelop-en-2a.pdf. The file has been downloaded.

Another way to generate PDFs in Java

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.