Debian Codegraph @

contrib/non-profit-audit-reports/README

raw
1 README
2
3 This document provides background on the enclosed example
4
5 Demo
6 ----
7 To run the demo do
8 ./demo.sh
9
10 Which should generate the following files in tests/
11 chart-of-accounts.txt
12 general-ledger.txt
13 general-ledger.csv
14 general-ledger.ods
15
16 And a final, "portable" zip file with the spreadsheet in
17 general-ledger.zip
18
19 It *should* be possible to copy general-ledger.zip to another system,
20 unzip it, open general-ledger.ods in Libre Office and have the relative
21 links resolve correctly.
22
23 NOTE: Export to PDF should also work.
24
25
26 Known Dependencies
27 ------------------
28 ledger (3.0)
29 python (2.x)
30 zip
31 libdate-manip-perl
32 libmath-gmp-perl
33
34
35 Temporary Hacks
36 ---------------
37 Due to an urgent project deadline the ooolib2 directory
38 represents some fixes to:
39 http://ooolib.sourceforge.net/
40
41 The proper version of this library can be installed on Debian systems with
42 # apt-get install python-ooolib
43
44 Compare the deltas to the current version with
45 # diff -u /usr/share/pyshared/ooolib/__init__.py ooolib2/__init__.py
46
47 Note also that the csv2ods.py treats columns 4 and 5 (numbering from 1) of the csv
48 magically. If column 4 contains a non-empty string which is not 'Receipt'
49 then it is interpreted as a relative path of an artifact to link to.
50 Similarly for column 5 and 'Invoice'.
51
52
53 Sample PDF files
54 ----------------
55 The sample PDF files were created as follows:
56
57 paps --font="Courier 12" --paper letter --top-margin=18 tests/Projects/Foo/Expenses/hosting/AprilHostingReceipt.txt | ps2pdf - tests/Projects/Foo/Expenses/hosting/AprilHostingReceipt.pdf
58
59 paps --font="Courier 12" --paper letter --top-margin=18 tests/Financial/Invoices/Invoice20110510.txt | ps2pdf - tests/Financial/Invoices/Invoice20110510.pdf
60
61
62 Resources
63 ---------
64 ooolib
65 http://ooolib.sourceforge.net/
66
67 LIBPF
68 probably does not replace ooolib
69 http://wp.libpf.com/?p=82
70
71 Libre Office Calc Guide (contains function reference)
72 https://www.libreoffice.org/get-help/documentation/
73
74 Libre Office API
75 http://api.libreoffice.org/examples/examples.html
76 http://api.libreoffice.org/examples/DevelopersGuide/examples.html
77
78 OpenOffice Developers Guide
79 http://wiki.openoffice.org/wiki/Documentation/DevGuide/OpenOffice.org_Developers_Guide
80
81 Spreadsheet Documents
82 http://wiki.openoffice.org/wiki/Documentation/DevGuide/Spreadsheets/Spreadsheet_Documents
83
84 How to correctly create ODF documents using zip
85 (Do NOT do this, use ooolib instead)
86 http://www.jejik.com/articles/2010/03/how_to_correctly_create_odf_documents_using_zip/
87
88 Line Breaks
89 fo:break-before="page"
90 http://books.evc-cit.info/oobook/ch03.html#page-content-section
91
92 ODF Validator
93 http://opendocumentfellowship.com/validator
94
95 Editing Hyperlinks
96 http://help.libreoffice.org/Common/Editing_Hyperlinks
97
98 Perl OODoc
99 NOTE: a replacement for POD, not ooolib
100 http://search.cpan.org/dist/OpenOffice-OODoc/