I’m bussy working on a plugin to get iText PDF functionality into ColdBox.
I have a first working version on GitHub. It provides a simple way to get instances of all the classes needed to create PDF documents the iText way and there are also a few wrapper methods to do the hard java work for you;
It is those wrapper methods that I wish to expand in the long run.
I have put it all on GitHub so you guys can test. And it would be awesome if some of you guys can also contribute and mature the project.
The GitHub link:
Thanks for all the help so far!
Thanks, yeah I would if I knew how
By rthe way when I try to install entry from CF platform on CB 3.5 I get an error…
Finally done Created new plugin on coldbox.org/forgebox: iTextCFC
Added new support for headers and footers.
iTextCFC now enables you to set:
- default header and footer
- custom headers and footers by page number
- re-use custom headers and footers on different pages
Headers and Footers are of type: com.itextpdf.text.pdf.PdfPTable so you can use all features of iTextPDF for their layout.
Margins in the document will be auto-adjusted to fit the header and footer for that page and if no header or footer is defined and no default header or footer is set, it uses the margins you set when creating a com.itextpdf.text.Document
p.s. the java project is included so the classes I created to extend iTextPDF are available for review and collaboration.
This is a great project! I am going to be rolling my work that I was
doing on : GitHub - boltz/iTextCFC: ColdFusion Wrapper for the iText Java Library into this project.
Honor to the one who deserves it, it was Tim Cunninghams project that inspired me to create the plugin for ColdBox in the first place.
Thanks for all your hard work and research Tim, it was a great help to me.
Awesome work Tom. If you like we can create an official docs page in the coldbox wiki and contribute.
Great awesome work
Thanks for the praise
An official docs page would be nice and the sooner I could start the easier I can keep up with the progress because I foresee a lot of extra development coming up.
Just let me know how and where to start.