Skip to main content
Inspiring
December 15, 2009
Question

PPTX to PPT

  • December 15, 2009
  • 1 reply
  • 2149 views

I am having problems converting PPTX files to PDF files with CFPDF. It is doing odd things like adding "Click to edit master slide" text to the slide and what not. CFPDF doesn't seem to have this issue with PPT files.

Is there a way to convert PPTX files to PPT files before using CFPDF to convert them to PDFs? Simply renaming the file with CFFILE doesn't seem to actually change the file to a PPT file.

Thank you

    This topic has been closed for replies.

    1 reply

    Inspiring
    December 16, 2009

    I am having problems converting PPTX files to PDF files

    with CFPDF. It is doing odd things like adding "Click to

    edit master slide" text to the slide and what not. CFPDF

    doesn't seem to have this issue with PPT files.

    Do you mean using cfdocument and Open Office? According to the documentation only Microsoft PowerPoint from 97 to 2003 are supported. I asked whether 2007 was supported in the cfbug database. But it was never really clarified. My assumption would be "no, not officially". But having said that, Open Office does support most features of PPTX, so most things will probably work, just not everything.

    http://help.adobe.com/en_US/ColdFusion/9.0/Developing/WS9D9ADC95-B37C-4aae-B5D1-84D72FF83BEB.html

    Simply renaming the file with CFFILE doesn't seem to actually

    change the file to a PPT file.

    Correct. They are totally different formats. So renaming would not do it.

    jbreslowAuthor
    Inspiring
    December 16, 2009

    Thank you very much for the reply and the URL, what a great piece of info to have.

    I figured out a way for Open Office to convert the PPTx to PPT (odp actually) but CFPDF doesn't seem to like the ODP file format. Do you know there is something I need to tweak to get CFPDF to work with the Open Office filetype ODP?

    Inspiring
    December 16, 2009

    I figured out a way for Open Office to convert the PPTx to

    PPT (odp actually) but CFPDF doesn't seem to like the ODP

    file format. Do you know there is something I need to tweak

    to get CFPDF to work with the Open Office filetype ODP?

    You keep mentioning cfpdf, I am assuming you mean cfdocument? All cfdocument does is pass the conversion request off to OpenOffice, which performs the actual conversion. So any issues in the conversion are likely caused by OpenOffice itself. ie Something it is not capable of converting.

    I have worked much with ODP files. I would suggest you first try converting both the pptx and odp files in OpenOffice directly. If it does not work there, it will not work with cfdocument either.