Well nobody seems to be able to tell me why an image will not display in a
table cell header (I say BUG), I've decided to embed a TTF font and create
a table cell header with a background color and white text over it. I'm
using cell.setBackgroundColor() (right from the tutorials) and it will not
show the background color!!!
Forgive the ColdFusion syntax...but it's easy enough to read:
<cfset PageTable = Table.init(1)>
<cfset PageTable.setOffset(0)>
<cfset PageTable.setPadding(0)>
<cfset PageTable.setSpacing(0)>
<cfset PageTable.setDefaultCellBorder(0)>
<cfset PageTable.setBorderWidth(0)>
<cfset PageTable.setWidth(100)>
<!--- add header cell --->
<cfset HeaderCell = Cell.init(Chunk.init(" Last Will and Testament",
BigHeaderFont))>
<cfset HeaderCell.setBackgroundColor(LightBlue)>
<cfset HeaderCell.setLeading(30)>
<cfset HeaderCell.setBorder(Rectangle.NO_BORDER)>
<cfset PageTable.addCell(HeaderCell)>
Any ideas?? this is my last way of trying to get a standard page header
working
Thanks in advance
Cheers
Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
t. 250.920.8830
e. [EMAIL PROTECTED]
---------------------------------------------------------
Macromedia Associate Partner
www.macromedia.com
---------------------------------------------------------
Vancouver Island ColdFusion Users Group
Founder & Director
www.cfug-vancouverisland.com
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions