Justify text in CFDOCUMENT?

2012-09-25 Thread .jonah

I'm creating HTML with CF and then converting it to a PDF with CFDOCUMENT.

It doesn't seem to support justifying text. Is there a way to make it do so?

I've set in the CSS: p { text-align:justify; } But the text still comes 
out ragged right...

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352748
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Justify text in CFDOCUMENT?

2012-09-25 Thread Andy Allan

This is an outstanding bug going back to 2005 when CF7 came out.

The underlying engine that provides cfdocument doesn't support it and
Adobe have confirmed numerous times they can't fix it because of the
underlying engine.

Basically, they need to rewrite it.

So your options for now are:

1. Live with it (meh)
2. Use iText.

Andy

On 25 September 2012 21:49, .jonah jonah@creori.com wrote:

 I'm creating HTML with CF and then converting it to a PDF with CFDOCUMENT.

 It doesn't seem to support justifying text. Is there a way to make it do so?

 I've set in the CSS: p { text-align:justify; } But the text still comes
 out ragged right...

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352749
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Justify text in CFDOCUMENT?

2012-09-25 Thread .jonah

I vote for live-with-it at this point. It was a client request and I 
don't think they'll be too sore if they don't get their text justified... ;)

On 9/25/12 2:26 PM, Andy Allan wrote:
 This is an outstanding bug going back to 2005 when CF7 came out.

 The underlying engine that provides cfdocument doesn't support it and
 Adobe have confirmed numerous times they can't fix it because of the
 underlying engine.

 Basically, they need to rewrite it.

 So your options for now are:

 1. Live with it (meh)
 2. Use iText.

 Andy

 On 25 September 2012 21:49, .jonah jonah@creori.com wrote:
 I'm creating HTML with CF and then converting it to a PDF with CFDOCUMENT.

 It doesn't seem to support justifying text. Is there a way to make it do so?

 I've set in the CSS: p { text-align:justify; } But the text still comes
 out ragged right...


 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352750
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Justify text in CFDOCUMENT?

2012-09-25 Thread Phillip Vector

Or use a table and align.
On Sep 25, 2012 4:27 PM, Andy Allan andy.al...@gmail.com wrote:


 This is an outstanding bug going back to 2005 when CF7 came out.

 The underlying engine that provides cfdocument doesn't support it and
 Adobe have confirmed numerous times they can't fix it because of the
 underlying engine.

 Basically, they need to rewrite it.

 So your options for now are:

 1. Live with it (meh)
 2. Use iText.

 Andy

 On 25 September 2012 21:49, .jonah jonah@creori.com wrote:
 
  I'm creating HTML with CF and then converting it to a PDF with
 CFDOCUMENT.
 
  It doesn't seem to support justifying text. Is there a way to make it do
 so?
 
  I've set in the CSS: p { text-align:justify; } But the text still comes
  out ragged right...
 
 

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352752
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Justify text in CFDOCUMENT?

2012-09-25 Thread Gerald Guido

 2. Use iText.

iText can a PITA for complex documents. I found it to be *much* less labor
intensive to use a RTF document and add/edit content to the text file and
converting it to a PDF using oolib  http://oolib.riaforge.org/

I have been able to get much nicer formatting with that method compared to
CFDocument.

HTH
G!

On Tue, Sep 25, 2012 at 5:26 PM, Andy Allan andy.al...@gmail.com wrote:


 This is an outstanding bug going back to 2005 when CF7 came out.

 The underlying engine that provides cfdocument doesn't support it and
 Adobe have confirmed numerous times they can't fix it because of the
 underlying engine.

 Basically, they need to rewrite it.

 So your options for now are:

 1. Live with it (meh)
 2. Use iText.

 Andy

 On 25 September 2012 21:49, .jonah jonah@creori.com wrote:
 
  I'm creating HTML with CF and then converting it to a PDF with
 CFDOCUMENT.
 
  It doesn't seem to support justifying text. Is there a way to make it do
 so?
 
  I've set in the CSS: p { text-align:justify; } But the text still comes
  out ragged right...
 
 

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352754
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Justify text in CFDOCUMENT?

2012-09-25 Thread .jonah

Interesting.

Are there any writeups on doing that kind of thing?

On 9/25/12 4:40 PM, Gerald Guido wrote:
 2. Use iText.
 iText can a PITA for complex documents. I found it to be *much* less labor
 intensive to use a RTF document and add/edit content to the text file and
 converting it to a PDF using oolib  http://oolib.riaforge.org/

 I have been able to get much nicer formatting with that method compared to
 CFDocument.

 HTH
 G!

 On Tue, Sep 25, 2012 at 5:26 PM, Andy Allan andy.al...@gmail.com wrote:

 This is an outstanding bug going back to 2005 when CF7 came out.

 The underlying engine that provides cfdocument doesn't support it and
 Adobe have confirmed numerous times they can't fix it because of the
 underlying engine.

 Basically, they need to rewrite it.

 So your options for now are:

 1. Live with it (meh)
 2. Use iText.

 Andy

 On 25 September 2012 21:49, .jonah jonah@creori.com wrote:
 I'm creating HTML with CF and then converting it to a PDF with
 CFDOCUMENT.
 It doesn't seem to support justifying text. Is there a way to make it do
 so?
 I've set in the CSS: p { text-align:justify; } But the text still comes
 out ragged right...



 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352755
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Justify text in CFDOCUMENT?

2012-09-25 Thread Russ Michaels

I believe you can also do similar with open office documents as well,
install open office on the server and use its API, I think there may even
be a CF API wrapper

On Wed, Sep 26, 2012 at 12:52 AM, .jonah jonah@creori.com wrote:


 Interesting.

 Are there any writeups on doing that kind of thing?

 On 9/25/12 4:40 PM, Gerald Guido wrote:
  2. Use iText.
  iText can a PITA for complex documents. I found it to be *much* less
 labor
  intensive to use a RTF document and add/edit content to the text file and
  converting it to a PDF using oolib  http://oolib.riaforge.org/
 
  I have been able to get much nicer formatting with that method compared
 to
  CFDocument.
 
  HTH
  G!
 
  On Tue, Sep 25, 2012 at 5:26 PM, Andy Allan andy.al...@gmail.com
 wrote:
 
  This is an outstanding bug going back to 2005 when CF7 came out.
 
  The underlying engine that provides cfdocument doesn't support it and
  Adobe have confirmed numerous times they can't fix it because of the
  underlying engine.
 
  Basically, they need to rewrite it.
 
  So your options for now are:
 
  1. Live with it (meh)
  2. Use iText.
 
  Andy
 
  On 25 September 2012 21:49, .jonah jonah@creori.com wrote:
  I'm creating HTML with CF and then converting it to a PDF with
  CFDOCUMENT.
  It doesn't seem to support justifying text. Is there a way to make it
 do
  so?
  I've set in the CSS: p { text-align:justify; } But the text still comes
  out ragged right...
 
 
 
 

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352756
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Justify text in CFDOCUMENT?

2012-09-25 Thread Gerald Guido

 Are there any writeups on doing that kind of thing?


Not that II am aware of. This is all stuff that I figured out myself via
trial and error. lots of error ;)

I will be back on tomorrow and I can pull up my notes. Google RTF and CF in
the interim. BTW I have been ALL over the whole creating PDFs thing for
the last week so I am steeped in the subject matter. There are *lots* of
ways to do it. It is just a matter of figuring out what fits your needs.
For me it was RTF = oolib = PDF

G!

On Tue, Sep 25, 2012 at 7:52 PM, .jonah jonah@creori.com wrote:


 Interesting.

 Are there any writeups on doing that kind of thing?

 On 9/25/12 4:40 PM, Gerald Guido wrote:
  2. Use iText.
  iText can a PITA for complex documents. I found it to be *much* less
 labor
  intensive to use a RTF document and add/edit content to the text file and
  converting it to a PDF using oolib  http://oolib.riaforge.org/
 
  I have been able to get much nicer formatting with that method compared
 to
  CFDocument.
 
  HTH
  G!
 
  On Tue, Sep 25, 2012 at 5:26 PM, Andy Allan andy.al...@gmail.com
 wrote:
 
  This is an outstanding bug going back to 2005 when CF7 came out.
 
  The underlying engine that provides cfdocument doesn't support it and
  Adobe have confirmed numerous times they can't fix it because of the
  underlying engine.
 
  Basically, they need to rewrite it.
 
  So your options for now are:
 
  1. Live with it (meh)
  2. Use iText.
 
  Andy
 
  On 25 September 2012 21:49, .jonah jonah@creori.com wrote:
  I'm creating HTML with CF and then converting it to a PDF with
  CFDOCUMENT.
  It doesn't seem to support justifying text. Is there a way to make it
 do
  so?
  I've set in the CSS: p { text-align:justify; } But the text still comes
  out ragged right...
 
 
 
 

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352757
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Justify text in CFDOCUMENT?

2012-09-25 Thread .jonah

Thanks. I was really just interested for future reference. I'm sticking 
with cfdocument for this project.

On 9/25/12 7:09 PM, Gerald Guido wrote:
 Are there any writeups on doing that kind of thing?

 Not that II am aware of. This is all stuff that I figured out myself via
 trial and error. lots of error ;)

 I will be back on tomorrow and I can pull up my notes. Google RTF and CF in
 the interim. BTW I have been ALL over the whole creating PDFs thing for
 the last week so I am steeped in the subject matter. There are *lots* of
 ways to do it. It is just a matter of figuring out what fits your needs.
 For me it was RTF = oolib = PDF

 G!

 On Tue, Sep 25, 2012 at 7:52 PM, .jonah jonah@creori.com wrote:

 Interesting.

 Are there any writeups on doing that kind of thing?

 On 9/25/12 4:40 PM, Gerald Guido wrote:
 2. Use iText.
 iText can a PITA for complex documents. I found it to be *much* less
 labor
 intensive to use a RTF document and add/edit content to the text file and
 converting it to a PDF using oolib  http://oolib.riaforge.org/

 I have been able to get much nicer formatting with that method compared
 to
 CFDocument.

 HTH
 G!

 On Tue, Sep 25, 2012 at 5:26 PM, Andy Allan andy.al...@gmail.com
 wrote:
 This is an outstanding bug going back to 2005 when CF7 came out.

 The underlying engine that provides cfdocument doesn't support it and
 Adobe have confirmed numerous times they can't fix it because of the
 underlying engine.

 Basically, they need to rewrite it.

 So your options for now are:

 1. Live with it (meh)
 2. Use iText.

 Andy

 On 25 September 2012 21:49, .jonah jonah@creori.com wrote:
 I'm creating HTML with CF and then converting it to a PDF with
 CFDOCUMENT.
 It doesn't seem to support justifying text. Is there a way to make it
 do
 so?
 I've set in the CSS: p { text-align:justify; } But the text still comes
 out ragged right...



 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352758
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm