Cfdocumentsection breaking css in pdf

I have a 500 page document that is styled with css. The cfdocument tag is working perfectly to produce the styled text. When I add cfdocumentsections to get bookmarks, the css no longer works.
I am using CF 9,0,1,274733 Enterprise on IIS7. The content is contained in Mura.

<cfdocument format="pdf" bookmark="yes" backgroundvisible="yes" fontEmbed="no" marginbottom="1" marginleft="1" marginright="1" margintop="1">
<cfoutput>
<cfinclude template="inc/print_head.cfm" />
<body id="#$.getTopID()#" class="oneCol depth#arrayLen($.event('crumbdata'))#">
<!--- Get the home page --->
<cfset contentBean = application.contentManager.getActiveContent('00000000000000000000000000000000001', 'catalog')>
<!--- Get the home page's kids - aka portal pages --->
<cfset it = contentBean.getKidsIterator()>
<cfset it.setNextN(0)>
<!--- loop through the portal pages --->
<cfloop condition="#it.hasNext()#">
<!--- Get the next portal page as a contentBean --->
<cfset portalContentBean = it.next()>
<!--- get the portal's kids - the actual content --->
<cfset pcbIt = portalContentBean.getKidsIterator()>
<cfset pcbIt.setNextN(0)>
    <!--- CF Document Section Code Follows --->
    <!---<cfdocumentsection name="#portalContentBean.getTitle()#">--->
        <cfoutput>
            <h1><strong>#portalContentBean.getTitle()#</strong></h1>
        </cfoutput> 
        <!--- skip printing the content if we are looking at "Course Descriptions" --->
        <cfif (portalContentBean.getTitle() NEQ "Course Descriptions")>
            <!--- look through the content pages (children of each portal) --->
            <cfloop condition = "#pcbIt.hasNext()#">
                <cfset childContentBean = pcbIt.next()>
                <cfoutput>#childContentBean.getBody()#</br></cfoutput>
            </cfloop>
        <cfelse>
            <!--- TEMPLATE CODE --->
            <cfinclude template="#$.siteConfig('AssetPath')#/includes/custom/coursenumbering.htm">
            <cfinclude template="#$.siteConfig('AssetPath')#/includes/custom/college.cfm">
            <cfinclude template="#$.siteConfig('AssetPath')#/includes/custom/theology.cfm">
            <cfinclude template="#$.siteConfig('AssetPath')#/includes/custom/evangelism.cfm">   
            <cfinclude template="#$.siteConfig('AssetPath')#/includes/custom/education.cfm">   
            <cfinclude template="#$.siteConfig('AssetPath')#/includes/custom/churchmusic.cfm">   
            <cfinclude template="#$.siteConfig('AssetPath')#/includes/custom/intcourses.cfm">   
        </cfif>
        <cfdocumentitem type="header">
            <cfoutput><span style="position: absolute; bottom: 0; right: 0;"><br />#cfdocument.currentpagenumber#</span></cfoutput>
        </cfdocumentitem>
    <!---</cfdocumentsection>--->
</cfloop>
</body>
</html>
</cfoutput>
</cfdocument>

Similar Messages

  • How can you insert "Page Break" in a pdf file so you will specify the pages

    How can you insert "Page Break" in a pdf file so you will specify the pages

    How / from what was the PDF originally created?  It would be easiest to insert page breaks into the original document, then recreate the PDF.

  • Using Native Inspector Very Frequently Breaks CSS on Various Pages Completely Arbitrarily.

    Hello, I'm running Firefox 19 on Mac OSX 10.8.2 and I do web development sometimes.
    Lately, I became a big fan of the native inspector inside Firefox and I began using it often. At least 100 times a day.
    I found that using it this often breaks CSS on random pages, often pages I've never visited before. Around one in every 1000 pages is broken and the same sites are broken over and over.
    For example, my hosting's cPanel refuses to fetch the background images for the icons. There are pages where CSS stylesheets don't load at all (even though I can access them via view->source) and sometimes, the inspector itself just breaks and travels with me from tab to tab, site to site (I can't close it, have to close and re-open the window).
    I know I could create a new Firefox profile and manually copy over select content like my bookmarks, browsing history, etc. But before I resort to that is there some kind of a proprietary cache that is kept by the inspector that I could reset?
    (I've cleared my regular cache and cookies with no results).
    Thank you!

    Did you check if installed extensions aren't causing this problem?
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do NOT click the Reset button on the Safe mode start window or otherwise make changes.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • Break a single pdf into single pdf's

    I have a 250 page pdf.  each page represents a departments information.  Is there a way to break apart that pdf into single pdf's but using part of the file to name the pdf?
    for example, if the first report has a title that contains department 123, I could extract that page and name it department 123.
    The only want I know how to break a pdf into multiple pages is to use the document / extract pages and select Extract pages as seperate files.  But when I do this it uses the name of the exiting file and adds a number to it.
    Also, i was just reading up on creating bookmarks. is there a way to set one bookmark and apply that across all other pages?
    Thanks

    Re extracting and renaming pages: This is done with a script, but it can
    only be done if your pages are consistent and the script can identify the
    text that is to be used for the file name. If you wish, you can send me
    some sample files by email ([email protected]), or share them somewhere and
    post the link here, and I'll let you know if I think it's possible.
    Re bookmarks: What do you mean, exactly? You mean you want to copy&paste a
    bookmark? No, that's not possible. But bookmarks can also be generated with
    a script.

  • Convert 1 single microsoft word document with section breaks to multiple pdf files

    I am a windows 7 users. I have a single microsoft word document which contain 1500 pages. These 1500 pages are seperated by sections breaks in the microsoft word. I am trying to convert this word document to multiple pdf files seperated by the section breaks in the Microsoft word. How can I convert the single microsoft word document with section breaks to multiple seperate pdf files?

    Acrobat (Adobe PDF Printer and PDFMaker ) doesn't recognize the Section breaks.  It never has as far as I am aware.  The easiest thing to do is to manually break up a copy of the MS Word Document into the Sections you need and then create the PDFs from those MS Word documents.

  • How do I break up a pdf file into smaller files?

    I have a huge pdf file that I am trying to send as an attachment but it is too large to send.  I need to break it up into about 10 different files.  Any help would be appreciated.

    Hi sbills04,
    To split a PDF (or extract pages), you need to use Acrobat. Please see https://acrobatusers.com/tutorials/how-to-break-a-pdf-into-parts
    Please let us know if you have additional questions.
    Best,
    Sara

  • How can I control unwanted page breaks in exported .pdf files?

    I am building a form that, for a variety of reasons, must be available offline.  Unfortunately, the .pdf export is introducing a page break on the 3rd page that leaves 80% of the page empty.  The next element after the page break is a small text field which would easily fit on the preceding page.  I have _not_ put any page breaks into this document, so the editor is following its default behavior regarding page breaks.  Is there any way to tell the editor not to break at a given spot?
    Also, in terms of a more general feature request, it would be very nice if there was a more intelligent method of handling pagination.  I understand why (in a separate spot on the same form) the editor is pushing a large form element to the next page (since it won't fit on the previous one), but I would much rather have the option of splitting a large rating scale instrument so that the first half fills one page and the final half (with headings repeated) begins the second page.  All of this empty space just looks tacky, and I can't imagine anyone actually wanting the default behavior if it would leave more than a few lines of empty space at the bottom of a page.
    Best,
    David
    P.S. Sorry for the jumbled username; the first 20 or so I tried were taken.

    Well, I downloaded the trial of Acrobat XI to see if I could fix this, and lo and behold it allowed me to define the .pdf page breaks exactly as I desired!  The "secret" was to switch to page view from the view menu.  It also works in the online version of FormsCentral.

  • Acrobat DC breaks InDesign CS6 PDF export?

    With Acrobat DC installed it seems as if I can no longer export a PDF out of InDesign CS6. The export function under the menu is greyed out. It works fine with InDesign CC 2014 but not with CS6. I still have customers that require me to use CS6. Anybody else have this issue?

    They SHOULD not be connected. InDesogn export doesn't use Acrobat, and doesn't need it.  I suspect a different problem. I don't know what but I have seen mentions of it in the InDesign forum.

  • Breaking up a PDF into individual PDFs using Java

    Hi folks,
    It's been a while since I've been here. My dear wife passed away from cancer and I'm not thinking well - so please excuse what might seem like a stupider question than I usually posted in the past.
    I will search this out too, but if anyone has any ideas or code off the top of their heads that will allow the parsing of one big .pdf file containing many individual documents - pay stubs in this case - based on ssn, employee id or name or some such, I'd appreciate it. Regards,
    ~Bill

    abillconsl wrote:
    It's been a while since I've been here. My dear wife passed away from cancer...My condolences, for what it's worth. Glad to have you back.
    so please excuse what might seem like a stupider question than I usually posted in the past.No questions are stupid. The questioner however... : )
    (Note: In your absence, Oracle (in their infinite wisdom) seem to have banned the use of "smileys", so we have to resort to alternative strings.)
    ...if anyone has any ideas or code off the top of their heads that will allow the parsing of one big .pdf file containing many individual documents - pay stubs in this case - based on ssn, employee id or name or some such, I'd appreciate it. Regards,I beiieve Apache POI can handle PDFs. How well, I don't know. I'm also pretty sure that JODConverter can convert all sorts of docs to and from PDF, but for the more esoteric stuff you seem to want, you might need the OpenOffice JDK; however, I believe there's a bit of a learning curve to it, so I hope you're not in a hurry.
    Hope you're keeping well.
    Winston

  • How to break password from PDF using acrobat library?

    I am using "Acrobat.CAcroPDDoc" object and on open method call it is returning false for a password protected file. How can I check the pdf file is password protected by passing the pathname as an argunment? and once identified as a password protected PDF, How can I remove the password using the Acrobat Class?

    If it fails to open, then it’s probably password protected.
    There are no APIs to remove the password, assuming you have it.
    Removing it w/o the actual password would be illegal.

  • CFDocumentSection breaks Embedded Font

    I need to be able to use different headers and footers in my
    report (Report Builder cannot handle it, see previous post).
    When I use cfdocumentsection it appears to remove the
    embedded font and I get the system default. Does anyone know about
    a workaround for this problem? No luck on google.
    Thanks.

    Hi,
    Designer embeds all used fonts by default.
    If not the form properties have been changed.
    Goto File > Form Properties and select the Save Options on the left side.
    There you have a check box either to embed fonts or not.
    Anyway, if the font designer set a flag in the font file which doesn't allow embedding, then the font will not be embedded in any case.

  • How to create a page break in PDF output

    Hi there
    Does anyone know how to create a page break in the PDF output when using the EXPORT TO PDF command?
    I can create a page break using the page-break-after/before HTML stylesheet command, but this is not "interpreted" when the PDF is generated, and I am required to print each table in my web template on a new page.
    Please ... been searching for ages for a solution to this and can't find anything.
    Cheers,
    Andrew

    Try posting in the iWorks forum.
    https://discussions.apple.com/community/app_store/iwork_for_ios

  • How does Adobe Forms Central base their automated page breaks when distributing to a PDF form?

    OR
    How can I define those page breaks before Adobe Forms Central created the PDF. I have attempted to "insert" a page break within the form; however, when distributing this form to be created as a PDF, the PDF is still placing the auto-generated page break wherever it wants.
    Is it possible to move these auto generated breaks once the PDF form is created?
    Thank you!

    Did you add the page breaks while in Web View or Page View? FormsCentral uses "web view" as the default, but uses the "page view" to show where the PDF will have page breaks. Go to the menu bar on the top right, select "view," and then select "page view." You  should be able to see page breaks here, and move them where you'd like them. It won't affect what people see on the web, just in the PDF.

  • Preventing page breaks in PDF on converted web pages

    I've been happy with the speed and linking that is available when I convert web pages into pdf's. However, the pdf versions often break the pages at inappropriate places or even will break an image so that part appears on one page and the rest appears on the following page. How can I can control where the pages will break in the pdf version of the web page?

    Mike is correct in the breaking stakes but you can change the
    destination paper size, orientation and scaling inside the 'Create PDF
    from Web Site' settings ...
    Jon

  • Breaking a pdf into multiple pdf's

    I have a 250 page pdf.  each page represents a departments information.  Is there a way to break apart that pdf into single pdf's but using part of the file to name the pdf?
    for example, if the first report has a title that contains department 123, I could extract that page and name it department 123.
    The only want I know how to break a pdf into multiple pages is to use the document / extract pages and select Extract pages as seperate files.  But when I do this it uses the name of the exiting file and adds a number to it.

    You will have to select a subforum, e.g. Creating, Editing & Exporting PDFs, or Acrobat SDK (since you probably need to write the functionality you want by yourself).

Maybe you are looking for

  • Strange size of paper on PDF files

    Firt : sorry for my poor english, i am french... Well, i create a A4 page with Illustrator CS3. If i save it as a PDF file, i get a A4 PDF file, everything is Ok. But if i print it with Adobe Distiller 8 through the Ai dialog box with A4 selected for

  • [NNM1] , 'No matching records found (ODBC -2028)'

    Hi, We have recently upgraded SBO 6.5 to SAP 2004. Now we are getting the following error when try to add invoice/order/incomming payments using the DI API 2004. Err Msg:- [NNM1] , 'No matching records found (ODBC -2028)' It would be wonderful if any

  • Data transfer process: use values of filter in routine

    Hi, I create a filter in the data transfer process (RSA1). There are two infoobjects (ZABC, ZXYZ) in the filter. I fill the first select-option (parameter) with the value u2018AAAAu2019. At the second line I create the filter routine: form compute_/B

  • Is there a way to recover deleted files?

    If there is a way to recover deleted files then how would I do it? I deleted some things that I didn't want to delete after all. Thanks for the answers. p.s- I got an Apple tattoo.

  • What is the business flow of SD

    hi what is the business flow of SD