Class: Plaintext::DocxHandler
- Inherits:
-
OfficeDocumentHandler
- Object
- FileHandler
- ZippedXmlHandler
- OfficeDocumentHandler
- Plaintext::DocxHandler
- Defined in:
- lib/plaintext/file_handler/zipped_xml_handler/office_document_handler/docx_handler.rb
Instance Method Summary collapse
-
#initialize ⇒ DocxHandler
constructor
A new instance of DocxHandler.
Methods inherited from ZippedXmlHandler
Methods inherited from FileHandler
Constructor Details
#initialize ⇒ DocxHandler
Returns a new instance of DocxHandler.
5 6 7 8 9 10 |
# File 'lib/plaintext/file_handler/zipped_xml_handler/office_document_handler/docx_handler.rb', line 5 def initialize super @content_type = 'application/vnd.openxmlformats-officedocument.wordprocessingml.document' @file_name = 'word/document.xml' @namespace_uri = 'http://schemas.openxmlformats.org/wordprocessingml/2006/main' end |