Trennung von Firmen-spezifi...
Bernd Wurst authored 16 years ago
|
1) # -* coding: utf8 *-
2) from metrics import *
3)
4) def FoldingMarkers(canvas):
5) """Setzt Falzmarken"""
6) from reportlab.lib.units import cm
7) canvas.setStrokeColorRGB(0,0,0)
8) canvas.setLineWidth(0.01*cm)
9) canvas.lines(
10) [(0.3*cm,page_height-10.5*cm,0.65*cm,page_height-10.5*cm),
11) (0.3*cm,page_height-21.0*cm,0.65*cm,page_height-21.0*cm),
12) (0.3*cm,page_height-14.85*cm,0.7*cm,page_height-14.85*cm)]);
13)
14)
15) def Footer(canvas):
16) canvas.line(leftcontent, bottomcontent, rightcontent, bottomcontent)
17) canvas.setFont(font, 7)
18) canvas.drawString(leftcontent, bottomcontent-10, 'schokokeks.org GbR')
19) canvas.drawString(leftcontent, bottomcontent-20, 'Bernd Wurst / Johannes Böck')
|