Changes

Jump to: navigation, search

Report-writing tutorial

1 byte added, 00:06, 10 May 2020
no edit summary
Paragraph and font styles are defined in the <tt>make_default_style()</tt> function of the options class. The paragraphs are grouped into a <tt>StyleSheet</tt>, which the <tt>make_default_style()</tt> function defines. For the example report (<tt>DbSummary</tt>), the paragraph styles are defined as below:
{{stub}}<!-- need to check code is correct for Gramps 5.1.x -->
<pre>
def make_default_style(self, default_style):
==Implementation==
===Defining the Report Options class===
{{stub}}<!-- need to check code is correct for Gramps 5.1.x -->
In this example, no special options are required. This makes the options class very simple. All that is necessary is to define the default styles.
<pre>
2,186
edits

Navigation menu