Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

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

by Itatsumaki (Friar)
on Nov 28, 2003 at 15:19 UTC ( #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?

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2020-05-27 07:26 GMT
Find Nodes?
    Voting Booth?
    If programming languages were movie genres, Perl would be:

    Results (153 votes). Check out past polls.