2960b23c6cfe403fc8f45fec613083c757b311bf
Bernd Wurst Trennung von Firmen-spezifi...

Bernd Wurst authored 16 years ago

1) # -* coding: utf8 *-
2) from metrics import *
3) 
Bernd Wurst Break long address-lines

Bernd Wurst authored 15 years ago

4) 
5) address_header = 'schokokeks.org · Köchersberg 25 · 71540 Murrhardt'
6) 
7) 
Bernd Wurst Trennung von Firmen-spezifi...

Bernd Wurst authored 16 years ago

8) def FoldingMarkers(canvas):
9)   """Setzt Falzmarken"""
10)   from reportlab.lib.units import cm
11)   canvas.setStrokeColorRGB(0,0,0)
12)   canvas.setLineWidth(0.01*cm)
13)   canvas.lines(
14)    [(0.3*cm,page_height-10.5*cm,0.65*cm,page_height-10.5*cm),
15)     (0.3*cm,page_height-21.0*cm,0.65*cm,page_height-21.0*cm),
16)     (0.3*cm,page_height-14.85*cm,0.7*cm,page_height-14.85*cm)]);
17) 
18) 
19) def Footer(canvas):
20)   canvas.line(leftcontent, bottomcontent, rightcontent, bottomcontent)
21)   canvas.setFont(font, 7)
22)   canvas.drawString(leftcontent, bottomcontent-10, 'schokokeks.org GbR')
23)   canvas.drawString(leftcontent, bottomcontent-20, 'Bernd Wurst / Johannes Böck')
Bernd Wurst URL ohne http://

Bernd Wurst authored 16 years ago

24)   canvas.drawString(leftcontent, bottomcontent-30, 'www.schokokeks.org')