Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Win32::OLE Powerpoint ExportAsFixedFormat syntax help

by Generoso (Vicar)
on Sep 29, 2011 at 22:40 UTC ( #928679=note: print w/ replies, xml ) Need Help??


in reply to Win32::OLE Powerpoint ExportAsFixedFormat syntax help

Power pointy to convert a ppt file to jpg, you have to do a "save as". I am not sure there is an export in PowerPoint.

Hope this was useful.


Comment on Re: Win32::OLE Powerpoint ExportAsFixedFormat syntax help
Re^2: Win32::OLE Powerpoint ExportAsFixedFormat syntax help
by golemwashere (Acolyte) on Sep 30, 2011 at 07:02 UTC
    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.
      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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://928679]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (10)
As of 2014-08-20 08:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (107 votes), past polls