Class: ChupaText::Decomposers::OfficeOpenXMLPresentation
- Inherits:
-
OfficeOpenXML
- Object
- ChupaText::Decomposer
- OfficeOpenXML
- ChupaText::Decomposers::OfficeOpenXMLPresentation
- Defined in:
- lib/chupa-text/decomposers/office-open-xml-presentation.rb
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ OfficeOpenXMLPresentation
constructor
A new instance of OfficeOpenXMLPresentation.
Methods inherited from OfficeOpenXML
#decompose, #target?, #target_score
Methods inherited from ChupaText::Decomposer
#decompose, registry, #target?, #target_score
Constructor Details
#initialize(options = {}) ⇒ OfficeOpenXMLPresentation
Returns a new instance of OfficeOpenXMLPresentation.
24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 |
# File 'lib/chupa-text/decomposers/office-open-xml-presentation.rb', line 24 def initialize(={}) super @extensions = [ "pptx", "pptm", "ppsx", "ppsm", "potx", "potm", "sldx", "sldm", ] @mime_types = [ "application/vnd.openxmlformats-officedocument.presentationml.presentation", "application/vnd.ms-powerpoint.presentation.macroEnabled.12", "application/vnd.openxmlformats-officedocument.presentationml.slideshow", "application/vnd.ms-powerpoint.slideshow.macroEnabled.12", "application/vnd.openxmlformats-officedocument.presentationml.template", "application/vnd.ms-powerpoint.template.macroEnabled.12", "application/vnd.openxmlformats-officedocument.presentationml.slide", "application/vnd.ms-powerpoint.slide.macroEnabled.12", ] @namespace_uri = "http://schemas.openxmlformats.org/drawingml/2006/main" end |