Class: Poleica::Types::Document
- Inherits:
-
Object
- Object
- Poleica::Types::Document
- Defined in:
- lib/poleica/types/document.rb
Overview
Document Type
Constant Summary collapse
- COMPATIBLE_MIMETYPES =
[ 'application/vnd.oasis.opendocument.presentation', # .opd 'application/vnd.oasis.opendocument.text-master', # .odm 'application/vnd.oasis.opendocument.spreadsheet', # .ods 'application/vnd.oasis.opendocument.graphics', # .odg 'application/vnd.oasis.opendocument.formula', # .odf 'application/vnd.oasis.opendocument.chart', # .odc 'application/vnd.oasis.opendocument.image', # .odi 'application/vnd.oasis.opendocument.text', # .odt 'application/vnd.ms-office', # .doc 'application/vnd.ms-excel', # .xls 'application/vnd.ms-office', # .ppt, .pps 'application/msword', # .doc 'text/html', # .html, .htm 'text/plain', # .txt 'text/rtf' # .rft ]
- COMPATIBLE_EXTENSIONS =
Unsupported :( : key, pages
%w( html htm odt doc ods odp odg odc odf odb odc odm docx xls xlsx ppt pptx pps txt rft )
Instance Method Summary collapse
-
#initialize(_file_path) ⇒ Document
constructor
A new instance of Document.
Constructor Details
#initialize(_file_path) ⇒ Document
Returns a new instance of Document.
48 49 |
# File 'lib/poleica/types/document.rb', line 48 def initialize(_file_path) end |