简体   繁体   中英

pdf module for play framework 2.3.x

I have a application which should generate simple tables as report in pdf. But I cannot find any easy solution. I hoped that I can find some pdf module, but it seems that it does not exist. I found only PDF module for Play Framework 1.x and play20-pdf which is not longer supported. I know that I can use a pdf library listed for example here What is the best PDF open source library for Java? , but I wanted to avoid adding some powerful tool when everything what I need is save simple view with tables as pdf.

iReport is one of the most popular solutions ( http://community.jaspersoft.com/project/ireport-designer ). You can create your PDF report in 'iReport Designer' and then connect it directly to the database or you can fill the report from the java code using jasperreports library:

<dependency>
    <groupId>net.sf.jasperreports</groupId>
    <artifactId>jasperreports</artifactId>
    <version>5.5.0</version>
</dependency>

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM