COLDFUSION: cfdocument and forcing a pagebreak

后端 未结 4 1169
孤独总比滥情好
孤独总比滥情好 2020-12-19 04:58

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

4条回答
  •  情书的邮戳
    2020-12-19 05:14

    For me, after trying all the tricks and forum hints etc. - the only thing that worked in cf8 for larger blocks of code (including images, tables, div block etc.) is:

    • wrap the non page breaking part with

      ...

    • but a super simple
      after it in a new line (in code) e.g.

      ... your stuff ...

    that worked, hell knows why...

提交回复
热议问题