Skip to main content
Participant
October 28, 2013
Question

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

  • October 28, 2013
  • 0 replies
  • 792 views

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

This topic has been closed for replies.