diff options
| author | pinky <> | 2007-01-07 21:40:28 +0000 |
|---|---|---|
| committer | pinky <> | 2007-01-07 21:40:28 +0000 |
| commit | 62524af2f41454a2302efb21f15a95318d257a76 (patch) | |
| tree | cdad1e26c567b0d5be1abea1799615e50fb9d4a9 /bin/reportlab/tools/pythonpoint/styles | |
| parent | 3e2037f6612287f16e6acae3fd40663a680205e9 (diff) | |
Removed reportlab
bzr revid: pinky-0c9d4a481e62221273a1f3843f6bcf8113cf3221
Diffstat (limited to 'bin/reportlab/tools/pythonpoint/styles')
| -rw-r--r-- | bin/reportlab/tools/pythonpoint/styles/__init__.py | 3 | ||||
| -rw-r--r-- | bin/reportlab/tools/pythonpoint/styles/horrible.py | 101 | ||||
| -rw-r--r-- | bin/reportlab/tools/pythonpoint/styles/htu.py | 158 | ||||
| -rw-r--r-- | bin/reportlab/tools/pythonpoint/styles/modern.py | 120 | ||||
| -rw-r--r-- | bin/reportlab/tools/pythonpoint/styles/projection.py | 106 | ||||
| -rw-r--r-- | bin/reportlab/tools/pythonpoint/styles/standard.py | 132 |
6 files changed, 0 insertions, 620 deletions
diff --git a/bin/reportlab/tools/pythonpoint/styles/__init__.py b/bin/reportlab/tools/pythonpoint/styles/__init__.py deleted file mode 100644 index e67468fd9ee..00000000000 --- a/bin/reportlab/tools/pythonpoint/styles/__init__.py +++ /dev/null @@ -1,3 +0,0 @@ -#Copyright ReportLab Europe Ltd. 2000-2004 -#see license.txt for license details -#history http://www.reportlab.co.uk/cgi-bin/viewcvs.cgi/public/reportlab/trunk/reportlab/tools/pythonpoint/styles/__init__.py diff --git a/bin/reportlab/tools/pythonpoint/styles/horrible.py b/bin/reportlab/tools/pythonpoint/styles/horrible.py deleted file mode 100644 index fa6d501b043..00000000000 --- a/bin/reportlab/tools/pythonpoint/styles/horrible.py +++ /dev/null @@ -1,101 +0,0 @@ -#Copyright ReportLab Europe Ltd. 2000-2004 -#see license.txt for license details -#history http://www.reportlab.co.uk/cgi-bin/viewcvs.cgi/public/reportlab/trunk/reportlab/tools/pythonpoint/styles/horrible.py -__version__=''' $Id: horrible.py 2385 2004-06-17 15:26:05Z rgbecker $ ''' -# style_modern.py -__doc__="""This is an example style sheet. You can create your own, and -have them loaded by the presentation. A style sheet is just a -dictionary, where they keys are style names and the values are -ParagraphStyle objects. - -You must provide a function called "getParagraphStyles()" to -return it. In future, we can put things like LineStyles, -TableCellStyles etc. in the same modules. - -You might wish to have two parallel style sheets, one for colour -and one for black and white, so you can switch your presentations -easily. - -A style sheet MUST define a style called 'Normal'. -""" - -from reportlab.lib import styles, enums -def getParagraphStyles(): - """Returns a dictionary of styles based on Helvetica""" - stylesheet = {} - - para = styles.ParagraphStyle('Normal', None) #the ancestor of all - para.fontName = 'Courier' - para.fontSize = 24 - para.leading = 28 - stylesheet['Normal'] = para - - para = ParagraphStyle('BodyText', stylesheet['Normal']) - para.spaceBefore = 12 - stylesheet['BodyText'] = para - - para = ParagraphStyle('BigCentered', stylesheet['Normal']) - para.spaceBefore = 12 - para.alignment = enums.TA_CENTER - stylesheet['BigCentered'] = para - - para = ParagraphStyle('Italic', stylesheet['BodyText']) - para.fontName = 'Courier-Oblique' - stylesheet['Italic'] = para - - para = ParagraphStyle('Title', stylesheet['Normal']) - para.fontName = 'Courier' - para.fontSize = 48 - para.Leading = 58 - para.spaceAfter = 36 - para.alignment = enums.TA_CENTER - stylesheet['Title'] = para - - para = ParagraphStyle('Heading1', stylesheet['Normal']) - para.fontName = 'Courier-Bold' - para.fontSize = 36 - para.leading = 44 - para.spaceAfter = 36 - para.alignment = enums.TA_CENTER - stylesheet['Heading1'] = para - - para = ParagraphStyle('Heading2', stylesheet['Normal']) - para.fontName = 'Courier-Bold' - para.fontSize = 28 - para.leading = 34 - para.spaceBefore = 24 - para.spaceAfter = 12 - stylesheet['Heading2'] = para - - para = ParagraphStyle('Heading3', stylesheet['Normal']) - para.fontName = 'Courier-BoldOblique' - para.spaceBefore = 24 - para.spaceAfter = 12 - stylesheet['Heading3'] = para - - para = ParagraphStyle('Bullet', stylesheet['Normal']) - para.firstLineIndent = -18 - para.leftIndent = 72 - para.spaceBefore = 6 - #para.bulletFontName = 'Symbol' - para.bulletFontSize = 24 - para.bulletIndent = 36 - stylesheet['Bullet'] = para - - para = ParagraphStyle('Definition', stylesheet['Normal']) - #use this for definition lists - para.firstLineIndent = 0 - para.leftIndent = 72 - para.bulletIndent = 0 - para.spaceBefore = 12 - para.bulletFontName = 'Couruer-BoldOblique' - stylesheet['Definition'] = para - - para = ParagraphStyle('Code', stylesheet['Normal']) - para.fontName = 'Courier' - para.fontSize = 16 - para.leading = 18 - para.leftIndent = 36 - stylesheet['Code'] = para - - return stylesheet
\ No newline at end of file diff --git a/bin/reportlab/tools/pythonpoint/styles/htu.py b/bin/reportlab/tools/pythonpoint/styles/htu.py deleted file mode 100644 index bc79a7ba68e..00000000000 --- a/bin/reportlab/tools/pythonpoint/styles/htu.py +++ /dev/null @@ -1,158 +0,0 @@ -from reportlab.lib import styles -from reportlab.lib import colors -from reportlab.lib.units import cm -from reportlab.lib.enums import TA_LEFT, TA_CENTER, TA_RIGHT, TA_JUSTIFY -from reportlab.platypus import Preformatted, Paragraph, Frame, \ - Image, Table, TableStyle, Spacer -from reportlab.pdfbase import pdfmetrics -from reportlab.pdfbase.ttfonts import TTFont - - -def getParagraphStyles(): - """Returns a dictionary of styles to get you started. - - We will provide a way to specify a module of these. Note that - this just includes TableStyles as well as ParagraphStyles for any - tables you wish to use. - """ - - pdfmetrics.registerFont(TTFont('Verdana','verdana.ttf')) - pdfmetrics.registerFont(TTFont('Verdana-Bold','verdanab.ttf')) - pdfmetrics.registerFont(TTFont('Verdana-Italic','verdanai.ttf')) - pdfmetrics.registerFont(TTFont('Verdana-BoldItalic','verdanaz.ttf')) - pdfmetrics.registerFont(TTFont('Arial Narrow','arialn.ttf')) - pdfmetrics.registerFont(TTFont('Arial Narrow-Bold','arialnb.ttf')) - pdfmetrics.registerFont(TTFont('Arial Narrow-Italic','arialni.ttf')) - pdfmetrics.registerFont(TTFont('Arial Narrow-BoldItalic','arialnbi.ttf')) - - stylesheet = {} - ParagraphStyle = styles.ParagraphStyle - - para = ParagraphStyle('Normal', None) #the ancestor of all - para.fontName = 'Verdana' - para.fontSize = 28 - para.leading = 32 - para.spaceAfter = 6 - stylesheet['Normal'] = para - - #This one is spaced out a bit... - para = ParagraphStyle('BodyText', stylesheet['Normal']) - para.spaceBefore = 12 - stylesheet['BodyText'] = para - - #Indented, for lists - para = ParagraphStyle('Indent', stylesheet['Normal']) - para.leftIndent = 60 - para.firstLineIndent = 0 - stylesheet['Indent'] = para - - para = ParagraphStyle('Centered', stylesheet['Normal']) - para.alignment = TA_CENTER - stylesheet['Centered'] = para - - para = ParagraphStyle('BigCentered', stylesheet['Normal']) - para.fontSize = 32 - para.alignment = TA_CENTER - para.spaceBefore = 12 - para.spaceAfter = 12 - stylesheet['BigCentered'] = para - - para = ParagraphStyle('Italic', stylesheet['BodyText']) - para.fontName = 'Verdana-Italic' - stylesheet['Italic'] = para - - para = ParagraphStyle('Title', stylesheet['Normal']) - para.fontName = 'Arial Narrow-Bold' - para.fontSize = 48 - para.leading = 58 - para.alignment = TA_CENTER - stylesheet['Title'] = para - - para = ParagraphStyle('Heading1', stylesheet['Normal']) - para.fontName = 'Arial Narrow-Bold' - para.fontSize = 40 - para.leading = 44 - para.alignment = TA_CENTER - stylesheet['Heading1'] = para - - para = ParagraphStyle('Heading2', stylesheet['Normal']) - para.fontName = 'Verdana' - para.fontSize = 32 - para.leading = 36 - para.spaceBefore = 32 - para.spaceAfter = 12 - stylesheet['Heading2'] = para - - para = ParagraphStyle('Heading3', stylesheet['Normal']) - para.fontName = 'Verdana' - para.spaceBefore = 20 - para.spaceAfter = 6 - stylesheet['Heading3'] = para - - para = ParagraphStyle('Heading4', stylesheet['Normal']) - para.fontName = 'Verdana-BoldItalic' - para.spaceBefore = 6 - stylesheet['Heading4'] = para - - para = ParagraphStyle('Bullet', stylesheet['Normal']) - para.firstLineIndent = 0 - para.leftIndent = 56 - para.spaceBefore = 6 - para.bulletFontName = 'Symbol' - para.bulletFontSize = 24 - para.bulletIndent = 20 - stylesheet['Bullet'] = para - - para = ParagraphStyle('Bullet2', stylesheet['Normal']) - para.firstLineIndent = 0 - para.leftIndent = 80 - para.spaceBefore = 6 - para.fontSize = 24 - para.bulletFontName = 'Symbol' - para.bulletFontSize = 20 - para.bulletIndent = 60 - stylesheet['Bullet2'] = para - - para = ParagraphStyle('Definition', stylesheet['Normal']) - #use this for definition lists - para.firstLineIndent = 0 - para.leftIndent = 60 - para.bulletIndent = 0 - para.bulletFontName = 'Verdana-BoldItalic' - para.bulletFontSize = 24 - stylesheet['Definition'] = para - - para = ParagraphStyle('Code', stylesheet['Normal']) - para.fontName = 'Courier' - para.fontSize = 16 - para.leading = 18 - para.leftIndent = 36 - stylesheet['Code'] = para - - para = ParagraphStyle('PythonCode', stylesheet['Normal']) - para.fontName = 'Courier' - para.fontSize = 16 - para.leading = 18 - para.leftIndent = 36 - stylesheet['Code'] = para - - para = ParagraphStyle('Small', stylesheet['Normal']) - para.fontSize = 12 - para.leading = 14 - stylesheet['Small'] = para - - #now for a table - ts = TableStyle([ - ('FONT', (0,0), (-1,-1), 'Arial Narrow', 22), - ('LINEABOVE', (0,1), (-1,1), 2, colors.green), - ('LINEABOVE', (0,2), (-1,-1), 0.25, colors.black), - ('LINEBELOW', (0,-1), (-1,-1), 2, colors.green), - ('LINEBEFORE', (0,1), (-1,-1), 2, colors.black), - ('LINEAFTER', (0,1), (-1,-1), 2, colors.black), - ('ALIGN', (4,1), (-1,-1), 'RIGHT'), #all numeric cells right aligned - ('TEXTCOLOR', (0,2), (0,-1), colors.black), - ('BACKGROUND', (0,1), (-1,1), colors.Color(0,0.7,0.7)) - ]) - stylesheet['table1'] = ts - - return stylesheet diff --git a/bin/reportlab/tools/pythonpoint/styles/modern.py b/bin/reportlab/tools/pythonpoint/styles/modern.py deleted file mode 100644 index 97583b57857..00000000000 --- a/bin/reportlab/tools/pythonpoint/styles/modern.py +++ /dev/null @@ -1,120 +0,0 @@ -#Copyright ReportLab Europe Ltd. 2000-2004 -#see license.txt for license details -#history http://www.reportlab.co.uk/cgi-bin/viewcvs.cgi/public/reportlab/trunk/reportlab/tools/pythonpoint/styles/modern.py -__version__=''' $Id: modern.py 2385 2004-06-17 15:26:05Z rgbecker $ ''' -# style_modern.py -__doc__="""This is an example style sheet. You can create your own, and -have them loaded by the presentation. A style sheet is just a -dictionary, where they keys are style names and the values are -ParagraphStyle objects. - -You must provide a function called "getParagraphStyles()" to -return it. In future, we can put things like LineStyles, -TableCellStyles etc. in the same modules. - -You might wish to have two parallel style sheets, one for colour -and one for black and white, so you can switch your presentations -easily. - -A style sheet MUST define a style called 'Normal'. -""" - -from reportlab.lib import styles -from reportlab.lib.enums import TA_LEFT, TA_CENTER, TA_RIGHT, TA_JUSTIFY - -def getParagraphStyles(): - """Returns a dictionary of styles based on Helvetica""" - stylesheet = {} - ParagraphStyle = styles.ParagraphStyle - - para = ParagraphStyle('Normal', None) #the ancestor of all - para.fontName = 'Helvetica' - para.fontSize = 24 - para.leading = 28 - stylesheet['Normal'] = para - - para = ParagraphStyle('BodyText', stylesheet['Normal']) - para.spaceBefore = 12 - stylesheet['BodyText'] = para - - para = ParagraphStyle('Indent', stylesheet['Normal']) - para.leftIndent = 36 - para.firstLineIndent = 0 - stylesheet['Indent'] = para - - para = ParagraphStyle('Centered', stylesheet['Normal']) - para.alignment = TA_CENTER - stylesheet['Centered'] = para - - para = ParagraphStyle('BigCentered', stylesheet['Normal']) - para.spaceBefore = 12 - para.alignment = TA_CENTER - stylesheet['BigCentered'] = para - - para = ParagraphStyle('Italic', stylesheet['BodyText']) - para.fontName = 'Helvetica-Oblique' - stylesheet['Italic'] = para - - para = ParagraphStyle('Title', stylesheet['Normal']) - para.fontName = 'Helvetica' - para.fontSize = 48 - para.Leading = 58 - para.spaceAfter = 36 - para.alignment = TA_CENTER - stylesheet['Title'] = para - - para = ParagraphStyle('Heading1', stylesheet['Normal']) - para.fontName = 'Helvetica-Bold' - para.fontSize = 36 - para.leading = 44 - para.spaceAfter = 36 - para.alignment = TA_CENTER - stylesheet['Heading1'] = para - - para = ParagraphStyle('Heading2', stylesheet['Normal']) - para.fontName = 'Helvetica-Bold' - para.fontSize = 28 - para.leading = 34 - para.spaceBefore = 24 - para.spaceAfter = 12 - stylesheet['Heading2'] = para - - para = ParagraphStyle('Heading3', stylesheet['Normal']) - para.fontName = 'Helvetica-BoldOblique' - para.spaceBefore = 24 - para.spaceAfter = 12 - stylesheet['Heading3'] = para - - para = ParagraphStyle('Bullet', stylesheet['Normal']) - para.firstLineIndent = -18 - para.leftIndent = 72 - para.spaceBefore = 6 - para.bulletFontName = 'Symbol' - para.bulletFontSize = 24 - para.bulletIndent = 36 - stylesheet['Bullet'] = para - - para = ParagraphStyle('Bullet2', stylesheet['Bullet']) - para.firstLineIndent = 0 - para.bulletIndent = 72 - para.leftIndent = 108 - stylesheet['Bullet2'] = para - - - para = ParagraphStyle('Definition', stylesheet['Normal']) - #use this for definition lists - para.firstLineIndent = 0 - para.leftIndent = 72 - para.bulletIndent = 0 - para.spaceBefore = 12 - para.bulletFontName = 'Helvetica-BoldOblique' - stylesheet['Definition'] = para - - para = ParagraphStyle('Code', stylesheet['Normal']) - para.fontName = 'Courier' - para.fontSize = 16 - para.leading = 18 - para.leftIndent = 36 - stylesheet['Code'] = para - - return stylesheet
\ No newline at end of file diff --git a/bin/reportlab/tools/pythonpoint/styles/projection.py b/bin/reportlab/tools/pythonpoint/styles/projection.py deleted file mode 100644 index a3c818556d0..00000000000 --- a/bin/reportlab/tools/pythonpoint/styles/projection.py +++ /dev/null @@ -1,106 +0,0 @@ -"""This is an example style sheet. You can create your own, and -have them loaded by the presentation. A style sheet is just a -dictionary, where they keys are style names and the values are -ParagraphStyle objects. - -You must provide a function called "getParagraphStyles()" to -return it. In future, we can put things like LineStyles, -TableCellStyles etc. in the same modules. - -You might wish to have two parallel style sheets, one for colour -and one for black and white, so you can switch your presentations -easily. - -A style sheet MUST define a style called 'Normal'. -""" - -from reportlab.lib import styles -from reportlab.lib.colors import * -from reportlab.lib.enums import TA_LEFT, TA_CENTER, TA_RIGHT, TA_JUSTIFY - - -def getParagraphStyles(): - """Returns a dictionary of styles based on Helvetica""" - - stylesheet = {} - ParagraphStyle = styles.ParagraphStyle - - para = ParagraphStyle('Normal', None) #the ancestor of all - para.fontName = 'Helvetica-Bold' - para.fontSize = 24 - para.leading = 28 - para.textColor = white - stylesheet['Normal'] = para - - para = ParagraphStyle('BodyText', stylesheet['Normal']) - para.spaceBefore = 12 - stylesheet['BodyText'] = para - - para = ParagraphStyle('BigCentered', stylesheet['Normal']) - para.spaceBefore = 12 - para.alignment = TA_CENTER - stylesheet['BigCentered'] = para - - para = ParagraphStyle('Italic', stylesheet['BodyText']) - para.fontName = 'Helvetica-Oblique' - para.textColor = white - stylesheet['Italic'] = para - - para = ParagraphStyle('Title', stylesheet['Normal']) - para.fontName = 'Helvetica' - para.fontSize = 48 - para.Leading = 58 - para.spaceAfter = 36 - para.alignment = TA_CENTER - stylesheet['Title'] = para - - para = ParagraphStyle('Heading1', stylesheet['Normal']) - para.fontName = 'Helvetica-Bold' - para.fontSize = 48# 36 - para.leading = 44 - para.spaceAfter = 36 - para.textColor = green - para.alignment = TA_LEFT - stylesheet['Heading1'] = para - - para = ParagraphStyle('Heading2', stylesheet['Normal']) - para.fontName = 'Helvetica-Bold' - para.fontSize = 28 - para.leading = 34 - para.spaceBefore = 24 - para.spaceAfter = 12 - stylesheet['Heading2'] = para - - para = ParagraphStyle('Heading3', stylesheet['Normal']) - para.fontName = 'Helvetica-BoldOblique' - para.spaceBefore = 24 - para.spaceAfter = 12 - stylesheet['Heading3'] = para - - para = ParagraphStyle('Bullet', stylesheet['Normal']) - para.firstLineIndent = -18 - para.leftIndent = 72 - para.spaceBefore = 6 - para.bulletFontName = 'Symbol' - para.bulletFontSize = 24 - para.bulletIndent = 36 - stylesheet['Bullet'] = para - - para = ParagraphStyle('Definition', stylesheet['Normal']) - #use this for definition lists - para.firstLineIndent = 0 - para.leftIndent = 72 - para.bulletIndent = 0 - para.spaceBefore = 12 - para.bulletFontName = 'Helvetica-BoldOblique' - stylesheet['Definition'] = para - - para = ParagraphStyle('Code', stylesheet['Normal']) - para.fontName = 'Courier-Bold' - para.fontSize = 16 - para.leading = 18 - para.leftIndent = 36 - para.textColor = chartreuse - stylesheet['Code'] = para - - return stylesheet
\ No newline at end of file diff --git a/bin/reportlab/tools/pythonpoint/styles/standard.py b/bin/reportlab/tools/pythonpoint/styles/standard.py deleted file mode 100644 index c525964585d..00000000000 --- a/bin/reportlab/tools/pythonpoint/styles/standard.py +++ /dev/null @@ -1,132 +0,0 @@ -from reportlab.lib import styles -from reportlab.lib import colors -from reportlab.lib.units import cm -from reportlab.lib.enums import TA_LEFT, TA_CENTER, TA_RIGHT, TA_JUSTIFY -from reportlab.platypus import Preformatted, Paragraph, Frame, \ - Image, Table, TableStyle, Spacer - - -def getParagraphStyles(): - """Returns a dictionary of styles to get you started. - - We will provide a way to specify a module of these. Note that - this just includes TableStyles as well as ParagraphStyles for any - tables you wish to use. - """ - - stylesheet = {} - ParagraphStyle = styles.ParagraphStyle - - para = ParagraphStyle('Normal', None) #the ancestor of all - para.fontName = 'Times-Roman' - para.fontSize = 24 - para.leading = 28 - stylesheet['Normal'] = para - - #This one is spaced out a bit... - para = ParagraphStyle('BodyText', stylesheet['Normal']) - para.spaceBefore = 12 - stylesheet['BodyText'] = para - - #Indented, for lists - para = ParagraphStyle('Indent', stylesheet['Normal']) - para.leftIndent = 36 - para.firstLineIndent = 0 - stylesheet['Indent'] = para - - para = ParagraphStyle('Centered', stylesheet['Normal']) - para.alignment = TA_CENTER - stylesheet['Centered'] = para - - para = ParagraphStyle('BigCentered', stylesheet['Normal']) - para.spaceBefore = 12 - para.alignment = TA_CENTER - stylesheet['BigCentered'] = para - - para = ParagraphStyle('Italic', stylesheet['BodyText']) - para.fontName = 'Times-Italic' - stylesheet['Italic'] = para - - para = ParagraphStyle('Title', stylesheet['Normal']) - para.fontName = 'Times-Roman' - para.fontSize = 48 - para.leading = 58 - para.alignment = TA_CENTER - stylesheet['Title'] = para - - para = ParagraphStyle('Heading1', stylesheet['Normal']) - para.fontName = 'Times-Bold' - para.fontSize = 36 - para.leading = 44 - para.alignment = TA_CENTER - stylesheet['Heading1'] = para - - para = ParagraphStyle('Heading2', stylesheet['Normal']) - para.fontName = 'Times-Bold' - para.fontSize = 28 - para.leading = 34 - para.spaceBefore = 24 - stylesheet['Heading2'] = para - - para = ParagraphStyle('Heading3', stylesheet['Normal']) - para.fontName = 'Times-BoldItalic' - para.spaceBefore = 24 - stylesheet['Heading3'] = para - - para = ParagraphStyle('Heading4', stylesheet['Normal']) - para.fontName = 'Times-BoldItalic' - para.spaceBefore = 6 - stylesheet['Heading4'] = para - - para = ParagraphStyle('Bullet', stylesheet['Normal']) - para.firstLineIndent = 0 - para.leftIndent = 56 - para.spaceBefore = 6 - para.bulletFontName = 'Symbol' - para.bulletFontSize = 24 - para.bulletIndent = 20 - stylesheet['Bullet'] = para - - para = ParagraphStyle('Definition', stylesheet['Normal']) - #use this for definition lists - para.firstLineIndent = 0 - para.leftIndent = 72 - para.bulletIndent = 0 - para.spaceBefore = 12 - para.bulletFontName = 'Helvetica-BoldOblique' - para.bulletFontSize = 24 - stylesheet['Definition'] = para - - para = ParagraphStyle('Code', stylesheet['Normal']) - para.fontName = 'Courier' - para.fontSize = 16 - para.leading = 18 - para.leftIndent = 36 - stylesheet['Code'] = para - - para = ParagraphStyle('PythonCode', stylesheet['Normal']) - para.fontName = 'Courier' - para.fontSize = 16 - para.leading = 18 - para.leftIndent = 36 - stylesheet['PythonCode'] = para - - para = ParagraphStyle('Small', stylesheet['Normal']) - para.fontSize = 12 - para.leading = 14 - stylesheet['Small'] = para - - #now for a table - ts = TableStyle([ - ('FONT', (0,0), (-1,-1), 'Times-Roman', 24), - ('LINEABOVE', (0,0), (-1,0), 2, colors.green), - ('LINEABOVE', (0,1), (-1,-1), 0.25, colors.black), - ('LINEBELOW', (0,-1), (-1,-1), 2, colors.green), - ('LINEBEFORE', (-1,0), (-1,-1), 2, colors.black), - ('ALIGN', (1,1), (-1,-1), 'RIGHT'), #all numeric cells right aligned - ('TEXTCOLOR', (0,1), (0,-1), colors.red), - ('BACKGROUND', (0,0), (-1,0), colors.Color(0,0.7,0.7)) - ]) - stylesheet['table1'] = ts - - return stylesheet |
