pptviewcontroller¶
-
class
openlp.plugins.presentations.lib.pptviewcontroller.
PptviewController
(plugin)[source]¶ Bases:
openlp.plugins.presentations.lib.presentationcontroller.PresentationController
Class to control interactions with PowerPoint Viewer Presentations. It creates the runtime Environment , Loads the and Closes the Presentation. As well as triggering the correct activities based on the users input
-
class
openlp.plugins.presentations.lib.pptviewcontroller.
PptviewDocument
(controller, presentation)[source]¶ Bases:
openlp.plugins.presentations.lib.presentationcontroller.PresentationDocument
Class which holds information and controls a single presentation.
-
close_presentation
()[source]¶ Close presentation and clean up objects. Triggered by new object being added to SlideController or OpenLP being shut down.
-
create_thumbnails
()[source]¶ PPTviewLib creates large BMP’s, but we want small PNG’s for consistency. Convert them here.
-
create_titles_and_notes
()[source]¶ Extracts the titles and notes from the zipped file and writes the list of titles (one per slide) to ‘titles.txt’ and the notes to ‘slideNotes[x].txt’ in the thumbnails directory
-
goto_slide
(slide_no)[source]¶ Moves to a specific slide in the presentation.
Parameters: slide_no – The slide the text is required for, starting at 1
-