Class: Documatic::Formatter::OpenDocumentText

Inherits:
Ruport::Formatter
  • Object
show all
Defined in:
lib/documatic/formatter/open_document.rb

Direct Known Subclasses

OpenDocumentSpreadsheet

Class Attribute Summary collapse

Instance Method Summary collapse

Class Attribute Details

.processorObject

Returns the value of attribute processor.



9
10
11
# File 'lib/documatic/formatter/open_document.rb', line 9

def processor
  @processor
end

Instance Method Details

#buildObject Also known as: build_table_body, build_group_body, build_grouping_body



17
18
19
# File 'lib/documatic/formatter/open_document.rb', line 17

def build
  self.class.processor.process_template(:data => data, :options => options)
end