added extra paragraphstyle
authoroualid
Thu, 18 May 2006 16:45:05 +0000
changeset 2621 909828c00080
parent 2620 afb4de496266
child 2622 f6290a010f7a
added extra paragraphstyle
reportlab/tools/docco/stylesheet.py
--- a/reportlab/tools/docco/stylesheet.py	Thu May 18 16:43:07 2006 +0000
+++ b/reportlab/tools/docco/stylesheet.py	Thu May 18 16:45:05 2006 +0000
@@ -22,9 +22,21 @@
                                   fontName='Times-Italic')
                    )
 
+    stylesheet.add(ParagraphStyle(name='Indent0',
+                                  leftIndent=18,)
+                   )
+
     stylesheet.add(ParagraphStyle(name='Indent1',
                                   leftIndent=36,
-                                  firstLineIndent=0)
+                                  firstLineIndent=0,
+                                  spaceBefore=1,
+                                  spaceAfter=7)
+                   )
+    
+    stylesheet.add(ParagraphStyle(name='Indent2',
+                                  leftIndent=50,
+                                  firstLineIndent=0,
+                                  spaceAfter=100)
                    )
 
     stylesheet.add(ParagraphStyle(name='BodyText',
@@ -106,6 +118,12 @@
                                   leading=8.8,
                                   leftIndent=36,
                                   firstLineIndent=0))
+    
+    stylesheet.add(ParagraphStyle(name='Link',
+                                  parent=stylesheet['Code'],
+                                  spaceAfter=7,
+                                  spaceBefore=0,
+                                  leftIndent=55))
 
     stylesheet.add(ParagraphStyle(name='FunctionHeader',
                                   parent=stylesheet['Normal'],