Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Re: Re: Perl module for converting .ppt file to html

by Itatsumaki (Friar)
on Nov 28, 2003 at 15:19 UTC ( [id://310736]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Perl module for converting .ppt file to html
in thread Perl module for converting .ppt file to html

Interestingly MS-Excel has an export method that can save charts into graphics file-formats. I couldn't see an equivalent while flipping through the PowerPoint object model, but I did come across this code snippet:

Private Sub App_PresentationSave(ByVal Pres As Presentation) With Pres.PublishObjects(1) PresName = .SlideShowName .SourceType = ppPublishAll .FileName = "C:\HTMLPres\mallard.htm" .HTMLVersion = ppHTMLVersion4 MsgBox ("Saving presentation " & "'" _ & PresName & "'" & " in PowerPoint" _ & Chr(10) & Chr(13) _ & " format and HTML version 4.0 format") .Publish End With End Sub

This should save a file as both PowerPoint and HTML formats. You could implement this stub in Win32::OLE, if you can put up with the (very) low quality HTML MS-Office emits

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (3)
As of 2024-04-25 04:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found