cfdocument

How can I prevent page-break in CFDocument from occuring in middle of content? The style "page-break-inside: avoid" is not being honored.

I am generating a PDF file dynamically from html/css using the cfdocument tag. There are blocks of content that I don't want to span multiple pages. After some searching I found that the style "page-break-inside" is supported according to the docs. However in my testing the declaration "page-break-inside: avoid" does no good. Any sugge...

targetting a new page for a link on a pdf.

I've got a html form submitting to a pdf using cfdocument. Within that pdf, I have a link at the bottom that goes to another policy. I need that link to open up on a new page, rather than _self. I've tried using Jquery to open the window and not sure if that is even possible, but wasn't successful to say the least. So basically, I'v...

COLDFUSION: cfdocument and forcing a pagebreak

I am creating a dynamic PDF in ColdFusion and having an issue with "pagebreak". The page in question could have 1 record, or up to 60+ records. Each record is displayed in 2 rows of a table. Some of the returned records are being split between pages (first row is at the end of page one, the second row is the top row of the next). A ...

CFDocument still cutting off the tops of text on some pages

when using cfdocument some of our pages have the top line cut off making it unreadable. I know there was a bug in 7, that was said to be fixed in 8. We're using 8,0,1,195765 and continue to have the problem. All my searches lead me to CF7. Anyone have any ideas? Here is a reproduction of the problem http://paradigmshiftls.com/pdftes...

Saving the modified contents of a pdf

I've got a form that I downloaded, I'd like to prefill some content on the form (this is easy using cfpdfform). Where it gets tricky is I would like to allow the user to modify the contents of that form, and then somehow have those modified contents accessible to me. I didnt build the source PDF so I dont know how to allow the user t...

save a cfdocument as an excel file

is there a workaround to use the cfdocument tag to save a page/file as an excel sheet instead of a PDF file? I already have a process set up to make pdf files and email them out and would like to give my customers the option of getting an excel file instead. It would be nice if I could reuse the code I already have instead of having to ...

Railo (ColdFusion): cfdocument mimetype="application/msword" issue

Hi, I'm trying to export a Word (2000) doc to PDF and ran into a problem. Here's the details. // get the doc content into a cf var // use cfdocument to save the var as a pdf doc #mydoc# The generated pdf file looks minimized and crammed, some of its content is legible, the original Word doc (2000) is of 275k. Railo version is 2...

ColdFusion - converting HTML webpage to Word or PDF document

I have a webpage, where user has a possible to Print this page OR to save it on his/her computer. How may I save it as a Word or PDF document? Thanks. ...

Using cfdocument to generate PDF

Hi all, The actual table is a lot larger than the mock-up one that I am going to show you but this mock-up one does explain the problem. Please go to http://www.monteandjanicechan.com/test_table.cfm The thickness of the grid lines in the table are coming up the way I want in the HTML version. You can do a View Source to see the actua...