Gareth Edwards wrote:
> PageEvents in coldfusion? Coldfusion doesn't support events. I'm not
> 100% with java but in coldfusion you cant attach a function to an
> event, I think thats what stops me.. unless I'm missing something.
As I said I don't know a lot about Coldfusion.
But I will tell you something about tables in iText that may be describe
an analog problem.
In PdfPTable, you can set the values for cellpadding, but you can't set
values for cellspacing.
If you need cellspacing, you need to use CellEvents.
I don't know why, but some people are afraid of using events.
So recently I made a new class SimpleTable. This class can produce a
PdfPTable
when generating PDF and a Table when generating HTML or RTF.
Cellspacing is supported because SimpleTable (or rather SimpleCell) does all
the CellEvent-magic behind the screens. So maybe Your suggestion of a java
class for specific use can do the trick by adding the necessary events
to the
writer without Coldfusion having to bother about it.
br,
Bruno
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
iText-questions mailing list
iText-questions@(protected)
https://lists.sourceforge.net/lists/listinfo/itext-questions