Changes

Jump to: navigation, search

Report API

32 bytes added, 20:08, 2 March 2012
m
Common API
==Common API==
At the moment the combination of textual and graphical elements within one document is not supported (for future plans refer to Report API redesign), thus Text and Graphical reports are implemented via separate APIs, though they have a common part.
This common part is implemented in the [http://www.gramps-project.org/docs/gen/gen_plug.html #gen.plug.docgen.basedoc.BaseDoc BaseDoc class], which contains among others basic document opening, closing, and stylesheet handling methods. It also stores the physical description of a page (sheet of paper in print).
'''Note!''' The <tt>BaseDoc.open</tt> and the <tt>BaseDoc.close</tt> methods have to be implemented by the subclassed document generators.

Navigation menu