Changes

Jump to: navigation, search

Report-writing tutorial

86 bytes added, 23:47, 9 May 2020
report.gpr.py
===report.gpr.py===
;Registration statement : This initializes the report by a single call to the <tt>[https://gramps-project.org/docs/gen/gen_plug.html#module-gramps.gen.plug._pluginreg register()]</tt> function. It is trivial, but without it your report will not become available to Gramps, even if it is otherwise perfectly written.
A report can potentially be generated as a standalone report, as a Gramps Book item, and as a command line report. The registration determines which modes are enabled for a given report. The report class does not have to know anything about the mode. The options class is there to provide options interface for all available modes.
2,186
edits

Navigation menu