3 Replies Latest reply: Mar 18, 2008 11:12 AM by pdrich RSS

    Converting a Word File to PDF via Coldfusion

    bdee2
      i know that i can easily convert HTML to a PDF file using CFX_PDF, but what if i want to upload a Word File to the Server and then convert it to PDF? is there a custom tag or somethign that can help me accomplish this?

      if it matters i am using ColdFusion MX.

        • 1. Re: Converting a Word File to PDF via Coldfusion
          Newsgroup_User Community Member
          bdee2 wrote:
          > i know that i can easily convert HTML to a PDF file using CFX_PDF, but what if
          > i want to upload a Word File to the Server and then convert it to PDF? is
          > there a custom tag or somethign that can help me accomplish this?

          no but you could look at POI http://poi.apache.org/ to get at the word document
          & iText http://www.lowagie.com/iText/ (it powers cfdocument in cf7) to burn a
          PDF. if you can get the word docs as RTF, you could try iText directly.
          • 2. Re: Converting a Word File to PDF via Coldfusion
            Newsgroup_User Community Member
            we use a pretty cheap converter from neevia.com to do this. i believe it
            costs between 3 and 400 bucks. you could spend hours tinkering with free
            stuff (poi and itext...both great), but you'll spend thousands in developer
            hours compared with just buying an inexpensive converter. we bought it
            specifically for office to pdf conversion but now we use it for all kinds of
            rad stuff. in particular, i like the pdf to image conversion. it's great for
            generating thumbnails of pdf pages, for example.

            best of luck, whichever route you go.

            "PaulH **AdobeCommunityExpert**" <paul@sustainableGIS.com> wrote in message
            news:f5cmi8$kb2$1@forums.macromedia.com...
            > bdee2 wrote:
            >> i know that i can easily convert HTML to a PDF file using CFX_PDF, but
            >> what if i want to upload a Word File to the Server and then convert it to
            >> PDF? is there a custom tag or somethign that can help me accomplish
            >> this?
            >
            > no but you could look at POI http://poi.apache.org/ to get at the word
            > document & iText http://www.lowagie.com/iText/ (it powers cfdocument in
            > cf7) to burn a PDF. if you can get the word docs as RTF, you could try
            > iText directly.


            • 3. Re: Converting a Word File to PDF via Coldfusion
              pdrich Community Member
              We are considering the use of Neevia. Does someone have a code snippet to show how to call it from ColdFusion?