Added pptm as support file format for Powerpoint, Powerpoint Viewer and Libre/OpenOffice Impress. Fixes bug 1088800.

Fixes: https://launchpad.net/bugs/1088800
This commit is contained in:
Tomas Groth 2014-11-28 08:21:03 +00:00
parent 7d51352b2d
commit 9c64bd9d56
3 changed files with 3 additions and 3 deletions

View File

@ -85,7 +85,7 @@ class ImpressController(PresentationController):
log.debug('Initialising') log.debug('Initialising')
super(ImpressController, self).__init__(plugin, 'Impress', ImpressDocument) super(ImpressController, self).__init__(plugin, 'Impress', ImpressDocument)
self.supports = ['odp'] self.supports = ['odp']
self.also_supports = ['ppt', 'pps', 'pptx', 'ppsx'] self.also_supports = ['ppt', 'pps', 'pptx', 'ppsx', 'pptm']
self.process = None self.process = None
self.desktop = None self.desktop = None
self.manager = None self.manager = None

View File

@ -64,7 +64,7 @@ class PowerpointController(PresentationController):
""" """
log.debug('Initialising') log.debug('Initialising')
super(PowerpointController, self).__init__(plugin, 'Powerpoint', PowerpointDocument) super(PowerpointController, self).__init__(plugin, 'Powerpoint', PowerpointDocument)
self.supports = ['ppt', 'pps', 'pptx', 'ppsx'] self.supports = ['ppt', 'pps', 'pptx', 'ppsx', 'pptm']
self.process = None self.process = None
def check_available(self): def check_available(self):

View File

@ -63,7 +63,7 @@ class PptviewController(PresentationController):
log.debug('Initialising') log.debug('Initialising')
self.process = None self.process = None
super(PptviewController, self).__init__(plugin, 'Powerpoint Viewer', PptviewDocument) super(PptviewController, self).__init__(plugin, 'Powerpoint Viewer', PptviewDocument)
self.supports = ['ppt', 'pps', 'pptx', 'ppsx'] self.supports = ['ppt', 'pps', 'pptx', 'ppsx', 'pptm']
def check_available(self): def check_available(self):
""" """