Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
Jon Cooper #1
Page Breaks in RTF Files
In the attached code, the two RTFPageBreaks outside the CFLOOP generate page
breaks correctly in the RTF file. The RTFPageBreak within the loop however does
not! Help! This is driving me nuts - have pared my code back to the bare
minimum and tried cfoutputting over the query or looping with the same result.
I am running on CF6.1, Win2k all service packs and have testing on another
machine with same result.
many thanks!
Jon
<cfset RTFPageBreak = "<br clear='all' style='page-break-before:always' />">
<cfheader name="Content-Disposition" value="attachment;filename=filename.rtf">
<cfcontent type="application/rtf">
<cfoutput>
<h2>Cover Page</h2>
#RTFPageBreak#
<cfloop query="qR">
#vname#
#RTFPageBreak#
</cfloop>
#RTFPageBreak#
h2>Closing Page</h2><strong></cfoutput>
Jon Cooper Guest
-
Page layout breaks when Editing page
I've created a site for a client who wants to use Contribute to edit it. The site wasn't built with Dreamweaver (hand-coded). Pages look fine when... -
Page Breaks
The website that i work on has a page which is updated by several users with a CMS (not Contribute). This page is then printed off each day by a... -
cfdocument page breaks
I have a 40+ column table previously generated as an Excel spreadsheet (CF 6), now being generated as a PDF using CFDOCUMENT. Unfortunately the... -
Page Number and Page Breaks
Hello all, Can anyone please let me know how to insert page numbers and page breaks in ASP ??? Early response is appericiated. Thanks -
Page Breaks with ASP / HTML
I'll give this a try - looks like what I need. One last question. If your wanting multiple records per page, do you just put a counter that would...



Reply With Quote

