Hi all,

I've been trying to do PDF generation of a specific view with
CFDocument. We're running CF8 hotfix 3 on IIS6. The document is fairly
simple, with a header and footer and a single main section. I finally
got the CSS working in the header, footer, and main section. However,
a couple of major problems are still dogging me:

1) the header and footer will scale at will. I've tried making the
header/footer areas deep enough to handle what I hope will be the
largest block of text to be rendered, but that is a crap-shoot.
Scaling happens in any case, sometimes enlarging the content, but
usually reducing it.

2) images will not render on anything except my localhost. I'm aware
of the outbound roundtrip http call issue, and have tried the localurl
attribute to cfdocument, as well as using file:/// instead of relative
call. The image will get included on my localhost as long as neither
of those methods is used. Nothing works when running this on our QA
servers (the image is at the path being called).

I also ran into the bug where query elements inside a loop (cfloop or
cfoutput) that are not prefaced with the queryname will throw a
coldfusion.document.spi.DocumentExportException, and got that fixed --
thanks Dave:
http://blog.dkferguson.com/index.cfm/2008/1/11/CFDocument--pdf-generation-broke-after-CF8-upgrade

Anybody have any help for the scaling and image inclusion issues?

Cheers,
Kris

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:302287
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to