iText plugin

Hi guys,

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:
https://github.com/TVScoundrel/ColdBox-iText-Plugin

Thanks for all the help so far!

Great work Tom, can you post it on ForgeBox?

Luis F. Majano
CEO
Ortus Solutions, Corp
www.ortussolutions.com

ColdBox Platform: http://www.coldbox.org
Linked In: http://www.linkedin.com/pub/3/731/483
Blog: http://www.luismajano.com
IECFUG Manager: http://www.iecfug.com

Social: twitter.com/lmajano facebook.com/lmajano

Hi Luis,

Thanks, yeah I would if I knew how :smiley:

By rthe way when I try to install entry from CF platform on CB 3.5 I get an error…

Cheers,
Tom

go here: coldbox.org/forgebox and click on submit my entry

Luis F. Majano
CEO
Ortus Solutions, Corp
www.ortussolutions.com

ColdBox Platform: http://www.coldbox.org
Linked In: http://www.linkedin.com/pub/3/731/483
Blog: http://www.luismajano.com
IECFUG Manager: http://www.iecfug.com

Social: twitter.com/lmajano facebook.com/lmajano

Hi guys,

Finally done :slight_smile: 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.

Cheers,
Tom

LOVE IT!

I’ve often wanted to do this myself - can’t wait to start using it in several projects!


Jeremy R. DeYoung
Phone:615.261.8201

RantsFromAMadMan.com

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.

Thanks,

Tim Cunningham

Hey Guys,

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.

Cheers,
Tom

Awesome work Tom. If you like we can create an official docs page in the coldbox wiki and contribute.

Great awesome work

Hi Luis,

Thanks for the praise :slight_smile:

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.

Cheers,
Tom