0 Replies Latest reply on Oct 28, 2013 10:12 AM by CH-Matthias

    Hyphenation & text-align:justify in PDF's with CFDOCUMENT

    CH-Matthias

      Hello everybody!

       

      We are using CF8.1 and are having problems of generating well designed PDF outputs with CFDOCUMENT. We would like to print out reports, which are hyphenated and have the text aligned. Example:

       

      This works fine:

      <html lang="en">

      <STYLE>p { width:260px;background-color:blue;-moz-hyphens: auto; -o-hyphens: auto; -webkit-hyphens: auto; -ms-hyphens: auto;  -hyphens: auto;text-align:justify}</STYLE>

      <P>Haematodynamometer Haematodynamometer Haematodynamometer Haematodynamometer Haematodynamometer Haematodynamometer Haematodynamometer Haematodynamometer Haematodynamometer</P>

      </html>

       

       

      This won't:

      <CFDOCUMENT FORMAT="PDF">

      <html lang="en">

            <STYLE>p { width:260px;background-color:blue;-moz-hyphens: auto; -o-hyphens: auto; -webkit-hyphens: auto; -ms-hyphens: auto;  -hyphens: auto;text-align:justify}</STYLE>

            <P>Haematodynamometer Haematodynamometer Haematodynamometer Haematodynamometer Haematodynamometer Haematodynamometer Haematodynamometer Haematodynamometer Haematodynamometer</P>

      </html>

      </CFDOCUMENT>

       

      Do you have any solutions on this topics? Are do I have to wait until CF11.

       

      Thanks in advance

       

      Matthias