Class: Odf::Document::Spreadsheet

Inherits:
Abstract
  • Object
show all
Defined in:
lib/odf/document/spreadsheet.rb

Constant Summary collapse

MIME_TYPE =
'application/vnd.oasis.opendocument.spreadsheet'.freeze
EXTENSION =
'ods'.freeze
WRAPPER =
'office:spreadsheet'.freeze

Constants inherited from Abstract

Abstract::COMPONENTS

Instance Attribute Summary

Attributes inherited from Abstract

#creator

Instance Method Summary collapse

Methods inherited from Abstract

#add_image, #components, #extension, #initialize, #media_type, #root, #serialize, #to_blob, #wrapper

Constructor Details

This class inherits a constructor from Odf::Document::Abstract

Instance Method Details

#add_table(options = {}) ⇒ Object



8
9
10
# File 'lib/odf/document/spreadsheet.rb', line 8

def add_table(options = {})
  Odf::Element::Table.build(self, options)
end