2,186
edits
Changes
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===
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>