-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathREADME
56 lines (30 loc) · 1.31 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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
49
50
51
52
53
= Documatic
Documatic is an OpenDocument extension for Ruby Reports (Ruport). It
is a template-driven formatter that can be used to produce attractive
printable documents such as database reports, invoices, letters, faxes
and more.
As of version 0.1.0, Documatic supports OpenDocument text and
spreadsheet formats.
== Installation
Documatic can be installed via Rubygems.
% gem install documatic
== Usage
You can load Documatic as a gem when your program is initialised:
require 'rubygems'
require 'documatic'
Documatic will then be available as a formatter for your Ruport
tables, groups and groupings. Rendering using an OpenDocument text
template is done like this:
data.to_odt_template(:template_file => 'path/filename.odt',
:output_file => 'output-path/filename.odt')
Rendering using an OpenDocument spreadsheet is done like this:
data.to_ods_template(:template_file => 'path/filename.ods',
:output_file => 'output-path/filename.ods')
Documatic creates the output path if required.
== Licence
Documatic is (p) Public Domain 2007, no rights reserved.
Documatic comes with no warranty whatsoever.
== Support
Zachris note may 2010
Documatic seems to be unmaintained. Please read the sourcecode or discuss on
http://groups.google.com/group/ruby-reports.