I am facing text cut-off during CFDocument PDF page breaks.
I am using CF 8.
Anyone can help Plz ?
Thanks,
-SKS
I'm not sure how complex your reports are but where I work we've resorted to using iText istead of cfdocument. We load the necessary java objects, made CF custom tags for making tables, tr, td, along with tons of other options like making header rows only repeat in certain scenarios, etc... If you find cfdocument tag becoming limiting look into it... http://itextpdf.com/book/
fwiw, we're running CF8 updated to chf8010004.jar, and this issue still persists. I've got a report containing a load of tabular data; i.e, an HTML Table with a load of table rows. When CFDOCUMENT breaks the page, you might get text clipping, and you might not. It is as if the entire report was printed out on a long dot matrix printout with no breaks, and CFDOCUMENT is moving a paper cutout window over it. Depending on luck, it might clip some of the top or bottom, or it might not. Being an old Poscript hack from way-back-when, I'm thinking CFDOCUMENT is doing some sort of boundingBox operation, but not checking to see if this is resulting in any clipping.
But yeah, even with the latest update for CF8, it's still clipping CFDOCUMENT output on page breaks.
We are experiencing the same problem, nearly a year after this original post. All hot fixes applied and the problem persists. Our data is not really a report exactly, we aren't looping through queries we are building dyanmic content based on some forms. So we can't use any of the work around methods like counting the number of rows and such, at least not without some major recoding of approx 50 included files. Documentation says that cfdocument supports the CSS style page-break-inside, but it appears to ignore it. The problem is also not corrected in CF9 because we have tested it there as well. No matter what we try to do the CFDocument tag will break in the middle of a table row / text if it happens to fall at the page length where cf wants to break the page.
This is highly annoying and a large problem as the print outs are for medical data, and the doctors need to be able to read the text, not only have half of it show up on one page and the other half on another page.
Please vote for this bug:
http://cfbugs.adobe.com/cfbugreport/flexbugui/cfbugtracker/main.html#b ugId=82761
North America
Europe, Middle East and Africa
Asia Pacific