Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Using iText for PDF export

In our Spring application, we have export in multiple pages in different sections , the export will include both the data and the graphs.

Could you please direct me which is the best option for the export to PDF, we are planning to use iText, so for different pages, can we create templates, whether it will take css styles.

whether the HTML template or ftl template work, or do we have any other options which is good in performance and considering that there are many sections where we need export

Regards Hari

like image 384
user2907217 Avatar asked Dec 31 '25 20:12

user2907217


1 Answers

Yes, iTextSharp recognizes simple HTML and CSS, hence you may export the page with them. Please check this.

like image 179
MusicLovingIndianGirl Avatar answered Jan 03 '26 11:01

MusicLovingIndianGirl



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!