mlreportgen.utils.PPTPres class
Package: mlreportgen.utils
Superclasses:
Wrap PowerPoint presentation file
Construction
wraps a PowerPoint presentation file, specified as pptwrap
= mlreportgen.utils.PPTPres(filename
)filename
. There can be
only one PPTPres
object for a filename
.
Input Arguments
Output Arguments
Properties
Methods
show | Make PowerPoint presentation visible
|
hide | Hide PowerPoint presentation
|
close | Close PowerPoint presentation
|
save | Save PowerPoint presentation
|
print | Print PowerPoint presentation
|
exportToPDF | Export to PDF document with same file name
Export to PDF document with specified file name
|
isOpen | Test if PowerPoint presentation is open
|
isReadOnly | Test if PowerPoint presentation is read-only
|
isSaved | Test if PowerPoint presentation is saved
|
isVisible | Test if PowerPoint presentation is visible
|
netobj | Return a .NET Word document object, which allows using the .NET interface on this object
|
Examples
Create PowerPoint Presentation and Test Whether It Is Open
This example creates a PowerPoint presentation object from the existing
MyPPTDoc.ppt
file.
pptwrap = mlreportgen.utils.PPTPres("MyPPTDoc.ppt");
isOpen(pptwrap)