forked from openlp/openlp
constructors
This commit is contained in:
parent
5fe64a1d39
commit
e32f0869cc
@ -78,7 +78,7 @@ class ImpressController(PresentationController):
|
||||
Initialise the class
|
||||
"""
|
||||
log.debug(u'Initialising')
|
||||
PresentationController.__init__(self, plugin, u'Impress', ImpressDocument)
|
||||
super(ImpressController, self).__init__(plugin, u'Impress', ImpressDocument)
|
||||
self.supports = [u'odp']
|
||||
self.also_supports = [u'ppt', u'pps', u'pptx', u'ppsx']
|
||||
self.process = None
|
||||
@ -208,7 +208,7 @@ class ImpressDocument(PresentationDocument):
|
||||
Constructor, store information about the file and initialise.
|
||||
"""
|
||||
log.debug(u'Init Presentation OpenOffice')
|
||||
PresentationDocument.__init__(self, controller, presentation)
|
||||
super(ImpressDocument, self).__init__(controller, presentation)
|
||||
self.document = None
|
||||
self.presentation = None
|
||||
self.control = None
|
||||
|
@ -58,7 +58,7 @@ class PowerpointController(PresentationController):
|
||||
Initialise the class
|
||||
"""
|
||||
log.debug(u'Initialising')
|
||||
PresentationController.__init__(self, plugin, u'Powerpoint', PowerpointDocument)
|
||||
super(PowerpointController, self).__init__(plugin, u'Powerpoint', PowerpointDocument)
|
||||
self.supports = [u'ppt', u'pps', u'pptx', u'ppsx']
|
||||
self.process = None
|
||||
|
||||
@ -114,7 +114,7 @@ class PowerpointDocument(PresentationDocument):
|
||||
Constructor, store information about the file and initialise.
|
||||
"""
|
||||
log.debug(u'Init Presentation Powerpoint')
|
||||
PresentationDocument.__init__(self, controller, presentation)
|
||||
super(PowerpointDocument, self).__init__(controller, presentation)
|
||||
self.presentation = None
|
||||
|
||||
def load_presentation(self):
|
||||
|
@ -54,7 +54,7 @@ class PptviewController(PresentationController):
|
||||
"""
|
||||
log.debug(u'Initialising')
|
||||
self.process = None
|
||||
PresentationController.__init__(self, plugin, u'Powerpoint Viewer', PptviewDocument)
|
||||
super(PptviewController, self).__init__(plugin, u'Powerpoint Viewer', PptviewDocument)
|
||||
self.supports = [u'ppt', u'pps', u'pptx', u'ppsx']
|
||||
|
||||
def check_available(self):
|
||||
|
Loading…
Reference in New Issue
Block a user