1 #!/bin/env python |
1 #!/bin/env python |
2 ############################################################################### |
2 #copyright ReportLab Inc. 2000 |
3 # |
3 #see license.txt for license details |
4 # ReportLab Public License Version 1.0 |
4 #history http://cvs.sourceforge.net/cgi-bin/cvsweb.cgi/reportlab/lib/corp.py?cvsroot=reportlab |
5 # |
5 #$Header: /tmp/reportlab/reportlab/lib/corp.py,v 1.2 2000/10/25 08:57:45 rgbecker Exp $ |
6 # Except for the change of names the spirit and intention of this |
|
7 # license is the same as that of Python |
|
8 # |
|
9 # (C) Copyright ReportLab Inc. 1998-2000. |
|
10 # |
|
11 # All Rights Reserved |
|
12 # |
|
13 # Permission to use, copy, modify, and distribute this software and its |
|
14 # documentation for any purpose and without fee is hereby granted, provided |
|
15 # that the above copyright notice appear in all copies and that both that |
|
16 # copyright notice and this permission notice appear in supporting |
|
17 # documentation, and that the name of ReportLab not be used |
|
18 # in advertising or publicity pertaining to distribution of the software |
|
19 # without specific, written prior permission. |
|
20 # |
|
21 # |
|
22 # Disclaimer |
|
23 # |
|
24 # ReportLab Inc. DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS |
|
25 # SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, |
|
26 # IN NO EVENT SHALL ReportLab BE LIABLE FOR ANY SPECIAL, INDIRECT |
|
27 # OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS |
|
28 # OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR |
|
29 # OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR |
|
30 # PERFORMANCE OF THIS SOFTWARE. |
|
31 # |
|
32 ############################################################################### |
|
33 # $Log: corp.py,v $ |
|
34 # Revision 1.1 2000/03/08 12:53:49 andy_robinson |
|
35 # initial checkin |
|
36 # |
|
37 |
6 |
38 """ This module includes some reusable routines for ReportLab's |
7 """ This module includes some reusable routines for ReportLab's |
39 'Corporate Image' - the logo, standard page backdrops and |
8 'Corporate Image' - the logo, standard page backdrops and |
40 so on - you are advised to do the same for your own company!""" |
9 so on - you are advised to do the same for your own company!""" |
41 __version__=''' $Id: corp.py,v 1.1 2000/03/08 12:53:49 andy_robinson Exp $ ''' |
10 __version__=''' $Id: corp.py,v 1.2 2000/10/25 08:57:45 rgbecker Exp $ ''' |
42 |
11 |
43 from reportlab.lib.units import inch |
12 from reportlab.lib.units import inch |
44 |
13 |
45 class ReportLabLogo: |
14 class ReportLabLogo: |
46 """vector reportlab logo centered in a 250x by 150y rectangle""" |
15 """vector reportlab logo centered in a 250x by 150y rectangle""" |