in reply to Re: Win32::OLE Powerpoint ExportAsFixedFormat syntax help
in thread Win32::OLE Powerpoint ExportAsFixedFormat syntax help

powerpoint from office 2007 can also export in pdf but the function to do that is pretty complex: cfr
http://msdn.microsoft.com/en-us/library/bb231096%28v=office.12%29.aspx
I would like some help with someone that has used this in perl and Win32::OLE Ciao G.

Replies are listed 'Best First'.
Re^3: Win32::OLE Powerpoint ExportAsFixedFormat syntax help
by golemwashere (Acolyte) on Sep 30, 2011 at 12:24 UTC
    I solved using $Presentation->SaveAs("$outfile", 32);

    it was tricky finding that 32 = pdf format and also $outfile needed foward slashes : / in path (with \ I got confusing errors).

      Just to add my little contribution
      use Win32::OLE::Const 'Microsoft PowerPoint'; $Presentation->SaveAs("$outfile", ppSaveAsPDF, 1);
      HIH