mirror of
https://github.com/iluvcapra/ptulsconv.git
synced 2025-12-31 17:00:46 +00:00
Basic talent scripts
Fooling around with uncide
This commit is contained in:
@@ -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),
|
||||||
|
|||||||
Reference in New Issue
Block a user