Jump to: navigation, search

Report-writing tutorial

56 bytes added, 23:51, 9 May 2020
Document interface
==Document interface==
The [[Report Generation]] article provides an overview of the 'docgen' interfaces that are available for outputting documents.
The [[Report API]] article provides more details about the interfaces.
The developer [ docgen] api documentation provides a detailed specification of the interfaces.
Gramps attempts to abstract the output document format away from the report. By coding to the [ docgen] class, the report can generate its output in the format desired by the end user. The document passed to the report (<tt>self.doc</tt>) could represent an HTML, OpenDocument, PDF or any of the other formats supported by the user. The report does not have to concern itself with the output format details, since all details are handled by the document object.

Navigation menu