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 <[email protected]> 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 <[email protected]> >> 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 <[email protected]> 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

