Re: How to protect a section of output from page break?
FWIW: I can't speak specifically to CF9 but I've *never* been able to get this to work making PDF's in MX or CF8. On Mon, Jul 19, 2010 at 2:29 PM, Dave Burns cft...@burnsorama.com wrote: I'm trying to generate a PDF w/ CF9. It contains a series of tables (average 10 rows each) and when it's printed, I don't want a page-break to happen within any one table. The doc for cfdocument says it supports the CSS style 'page-break-within' which should let me protect the tables against this but I've had no luck making it work. Does anyone have any examples of this where it does work? I'm at the point where I might just try doing the math myself and get it 85% accurate but I'm hoping for something less kludgy. Thanks. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335480 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: How to protect a section of output from page break?
I have to add, we spent a lot of time trying to get this to work for a client just recently. We got most everything to work as we wanted, but predictable page breaks, widows and orphans still not behave as we hoped. This is a problem area and the CSS support is very spotty. FWIW: I can't speak specifically to CF9 but I've *never* been able to get this to work making PDF's in MX or CF8. On Mon, Jul 19, 2010 at 2:29 PM, Dave Burns cft...@burnsorama.com wrote: Thanks. Robert B. Harrison Director of Interactive Services Austin Williams 125 Kennedy Drive, Suite 100 Hauppauge NY 11788 P : 631.231.6600 Ext. 119 F : 631.434.7022 http://www.austin-williams.com Great advertising can't be either/or. It must be . Plug in to our blog: AW Unplugged http://www.austin-williams.com/unplugged __ Information from ESET Smart Security, version of virus signature database 5293 (20100719) __ The message was checked by ESET Smart Security. http://www.eset.com ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335482 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: How to protect a section of output from page break?
The doc says that property is supported though which makes me wonder: a) do only certain values for it work and b) maybe it needs to be applied to a specific HTML element for it work? Or both? I've done some experimentation and so far I haven't hit the magic combo - assuming it can be made to work at all. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335484 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: How to protect a section of output from page break?
That's true. And the docs have said for years that it's supported. I've spent many many frustrating hours on this and I've not found a solution. If you manage to find one please be sure to post your solution. On Mon, Jul 19, 2010 at 3:03 PM, Dave Burns cft...@burnsorama.com wrote: The doc says that property is supported though which makes me wonder: a) do only certain values for it work and b) maybe it needs to be applied to a specific HTML element for it work? Or both? I've done some experimentation and so far I haven't hit the magic combo - assuming it can be made to work at all. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335485 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm