Basic talent scripts

Fooling around with uncide
This commit is contained in:
Jamie Hardt
2021-05-18 22:11:19 -07:00
parent 9a1dff2c3c
commit 6cb93ea75f

View File

@@ -1,9 +1,11 @@
# -*- coding: utf-8 -*-
from .common import GRect, draw_title_block from .common import GRect, draw_title_block
from reportlab.lib.units import inch from reportlab.lib.units import inch
from reportlab.lib.pagesizes import letter from reportlab.lib.pagesizes import letter
from reportlab.platypus import BaseDocTemplate, Paragraph, Spacer, KeepTogether, Table, HRFlowable, \ from reportlab.platypus import BaseDocTemplate, Paragraph, Spacer, \
SimpleDocTemplate, PageTemplate, Frame KeepTogether, Table, HRFlowable, PageTemplate, Frame
from reportlab.lib.styles import getSampleStyleSheet from reportlab.lib.styles import getSampleStyleSheet
from reportlab.lib import colors from reportlab.lib import colors
@@ -56,6 +58,8 @@ def output_report(records):
data_block = [[Paragraph(line['Cue Number'], number_style), data_block = [[Paragraph(line['Cue Number'], number_style),
Paragraph(line['PT.Clip.Start'] + " - " + line['PT.Clip.Finish'], number_style) Paragraph(line['PT.Clip.Start'] + " - " + line['PT.Clip.Finish'], number_style)
]] ]]
# RIGHTWARDS ARRO→W
# Unicode: U+2192, UTF-8: E2 86 92
story.append( story.append(
KeepTogether( KeepTogether(
[HRFlowable(width='100%', color=colors.black), [HRFlowable(width='100%', color=colors.black),