reportlab/platypus/test/testtables.py
changeset 494 54257447cfe9
parent 356 377367fe28cb
equal deleted inserted replaced
493:89dbc0b19ede 494:54257447cfe9
     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/platypus/test/testtables.py?cvsroot=reportlab
     5 #
     5 #$Header: /tmp/reportlab/reportlab/platypus/test/Attic/testtables.py,v 1.12 2000/10/25 08:57:46 rgbecker Exp $
     6 #   Except for the change of names the spirit and intention of this
     6 __version__=''' $Id: testtables.py,v 1.12 2000/10/25 08:57:46 rgbecker Exp $ '''
     7 #   license is the same as that of Python
       
     8 #
       
     9 #	(C) Copyright ReportLab Inc. 1998-2000.
       
    10 #
       
    11 #
       
    12 # All Rights Reserved
       
    13 #
       
    14 # Permission to use, copy, modify, and distribute this software and its
       
    15 # documentation for any purpose and without fee is hereby granted, provided
       
    16 # that the above copyright notice appear in all copies and that both that
       
    17 # copyright notice and this permission notice appear in supporting
       
    18 # documentation, and that the name of ReportLab not be used
       
    19 # in advertising or publicity pertaining to distribution of the software
       
    20 # without specific, written prior permission. 
       
    21 # 
       
    22 #
       
    23 # Disclaimer
       
    24 #
       
    25 # ReportLab Inc. DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS
       
    26 # SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS,
       
    27 # IN NO EVENT SHALL ReportLab BE LIABLE FOR ANY SPECIAL, INDIRECT
       
    28 # OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
       
    29 # OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
       
    30 # OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
       
    31 # PERFORMANCE OF THIS SOFTWARE. 
       
    32 #
       
    33 ###############################################################################
       
    34 #	$Log: testtables.py,v $
       
    35 #	Revision 1.11  2000/07/12 14:23:12  rgbecker
       
    36 #	Table argument order changed
       
    37 #
       
    38 #	Revision 1.10  2000/06/01 16:27:56  rgbecker
       
    39 #	pageSize is wrong at present
       
    40 #	
       
    41 #	Revision 1.9  2000/06/01 15:23:06  rgbecker
       
    42 #	Platypus re-organisation
       
    43 #	
       
    44 #	Revision 1.8  2000/05/17 15:37:33  rgbecker
       
    45 #	Changes related to removal of SimpleFlowDocument
       
    46 #	
       
    47 #	Revision 1.7  2000/04/26 11:07:15  andy_robinson
       
    48 #	Tables changed to use reportlab.lib.colors instead of
       
    49 #	the six hard-coded color strings there previously.
       
    50 #	
       
    51 #	Revision 1.6  2000/03/08 13:06:39  andy_robinson
       
    52 #	Moved inch and cm definitions to reportlab.lib.units and amended all demos
       
    53 #	
       
    54 #	Revision 1.5  2000/02/17 02:09:05  rgbecker
       
    55 #	Docstring & other fixes
       
    56 #	
       
    57 #	Revision 1.4  2000/02/16 09:42:50  rgbecker
       
    58 #	Conversion to reportlab package
       
    59 #	
       
    60 #	Revision 1.3  2000/02/15 17:55:59  rgbecker
       
    61 #	License text fixes
       
    62 #	
       
    63 #	Revision 1.2  2000/02/15 15:47:10  rgbecker
       
    64 #	Added license, __version__ and Logi comment
       
    65 #
       
    66 __version__=''' $Id: testtables.py,v 1.11 2000/07/12 14:23:12 rgbecker Exp $ '''
       
    67 __doc__='Test script for reportlab.tables'
     7 __doc__='Test script for reportlab.tables'
    68 from reportlab.platypus import Spacer, SimpleDocTemplate, Table, TableStyle
     8 from reportlab.platypus import Spacer, SimpleDocTemplate, Table, TableStyle
    69 from reportlab.lib.units import inch
     9 from reportlab.lib.units import inch
    70 from reportlab.lib import colors
    10 from reportlab.lib import colors
    71 
    11