I'd like to create an amended Text Body style which has large font and some extra spacing below each paragraph.
I've worked out how to set the font size as shown below:
s = newdoc.styles
textbody = Style(name="Text Body", family="paragraph")
textbody.addElement(TextProperties(attributes={'fontsize':"18pt"}))
s.addElement(textbody)
However, I can't see how to set the spacing below the paragraph. I'm assuming it would involve using the ParagraphProperties class, but I can't find any documentation for the parameters of this class, particularly how to set the attribute for paragraph spacing.
I'd like to create an amended
Text Bodystyle which has large font and some extra spacing below each paragraph.I've worked out how to set the font size as shown below:
However, I can't see how to set the spacing below the paragraph. I'm assuming it would involve using the
ParagraphPropertiesclass, but I can't find any documentation for the parameters of this class, particularly how to set the attribute for paragraph spacing.