reportlab/platypus/__init__.py
author rgbecker
Thu, 13 Jul 2000 11:41:00 +0000
changeset 367 ca1adb0294f0
parent 307 c439e402b404
child 442 e3eac15cddbd
permissions -rwxr-xr-x
Added KeepTogether
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
6
eb791971b252 Added license, __version__ and Logi comment
rgbecker
parents: 0
diff changeset
     1
###############################################################################
eb791971b252 Added license, __version__ and Logi comment
rgbecker
parents: 0
diff changeset
     2
#
eb791971b252 Added license, __version__ and Logi comment
rgbecker
parents: 0
diff changeset
     3
#	ReportLab Public License Version 1.0
eb791971b252 Added license, __version__ and Logi comment
rgbecker
parents: 0
diff changeset
     4
#
eb791971b252 Added license, __version__ and Logi comment
rgbecker
parents: 0
diff changeset
     5
#   Except for the change of names the spirit and intention of this
eb791971b252 Added license, __version__ and Logi comment
rgbecker
parents: 0
diff changeset
     6
#   license is the same as that of Python
eb791971b252 Added license, __version__ and Logi comment
rgbecker
parents: 0
diff changeset
     7
#
eb791971b252 Added license, __version__ and Logi comment
rgbecker
parents: 0
diff changeset
     8
#	(C) Copyright ReportLab Inc. 1998-2000.
eb791971b252 Added license, __version__ and Logi comment
rgbecker
parents: 0
diff changeset
     9
#
eb791971b252 Added license, __version__ and Logi comment
rgbecker
parents: 0
diff changeset
    10
#
eb791971b252 Added license, __version__ and Logi comment
rgbecker
parents: 0
diff changeset
    11
# All Rights Reserved
eb791971b252 Added license, __version__ and Logi comment
rgbecker
parents: 0
diff changeset
    12
#
eb791971b252 Added license, __version__ and Logi comment
rgbecker
parents: 0
diff changeset
    13
# Permission to use, copy, modify, and distribute this software and its
eb791971b252 Added license, __version__ and Logi comment
rgbecker
parents: 0
diff changeset
    14
# documentation for any purpose and without fee is hereby granted, provided
eb791971b252 Added license, __version__ and Logi comment
rgbecker
parents: 0
diff changeset
    15
# that the above copyright notice appear in all copies and that both that
eb791971b252 Added license, __version__ and Logi comment
rgbecker
parents: 0
diff changeset
    16
# copyright notice and this permission notice appear in supporting
7
ca9eb4f68eab License text fixes
rgbecker
parents: 6
diff changeset
    17
# documentation, and that the name of ReportLab not be used
6
eb791971b252 Added license, __version__ and Logi comment
rgbecker
parents: 0
diff changeset
    18
# in advertising or publicity pertaining to distribution of the software
eb791971b252 Added license, __version__ and Logi comment
rgbecker
parents: 0
diff changeset
    19
# without specific, written prior permission. 
eb791971b252 Added license, __version__ and Logi comment
rgbecker
parents: 0
diff changeset
    20
# 
eb791971b252 Added license, __version__ and Logi comment
rgbecker
parents: 0
diff changeset
    21
#
eb791971b252 Added license, __version__ and Logi comment
rgbecker
parents: 0
diff changeset
    22
# Disclaimer
eb791971b252 Added license, __version__ and Logi comment
rgbecker
parents: 0
diff changeset
    23
#
eb791971b252 Added license, __version__ and Logi comment
rgbecker
parents: 0
diff changeset
    24
# ReportLab Inc. DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS
eb791971b252 Added license, __version__ and Logi comment
rgbecker
parents: 0
diff changeset
    25
# SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS,
eb791971b252 Added license, __version__ and Logi comment
rgbecker
parents: 0
diff changeset
    26
# IN NO EVENT SHALL ReportLab BE LIABLE FOR ANY SPECIAL, INDIRECT
eb791971b252 Added license, __version__ and Logi comment
rgbecker
parents: 0
diff changeset
    27
# OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
eb791971b252 Added license, __version__ and Logi comment
rgbecker
parents: 0
diff changeset
    28
# OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
eb791971b252 Added license, __version__ and Logi comment
rgbecker
parents: 0
diff changeset
    29
# OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
eb791971b252 Added license, __version__ and Logi comment
rgbecker
parents: 0
diff changeset
    30
# PERFORMANCE OF THIS SOFTWARE. 
eb791971b252 Added license, __version__ and Logi comment
rgbecker
parents: 0
diff changeset
    31
#
eb791971b252 Added license, __version__ and Logi comment
rgbecker
parents: 0
diff changeset
    32
###############################################################################
eb791971b252 Added license, __version__ and Logi comment
rgbecker
parents: 0
diff changeset
    33
#	$Log: __init__.py,v $
367
ca1adb0294f0 Added KeepTogether
rgbecker
parents: 307
diff changeset
    34
#	Revision 1.9  2000/07/13 11:41:00  rgbecker
ca1adb0294f0 Added KeepTogether
rgbecker
parents: 307
diff changeset
    35
#	Added KeepTogether
ca1adb0294f0 Added KeepTogether
rgbecker
parents: 307
diff changeset
    36
#
307
c439e402b404 Added CondPageBreak
rgbecker
parents: 295
diff changeset
    37
#	Revision 1.8  2000/06/27 10:07:55  rgbecker
c439e402b404 Added CondPageBreak
rgbecker
parents: 295
diff changeset
    38
#	Added CondPageBreak
367
ca1adb0294f0 Added KeepTogether
rgbecker
parents: 307
diff changeset
    39
#	
295
1f00bd112cb0 remove UserDocTemplate, but add Andy's hook methods
rgbecker
parents: 284
diff changeset
    40
#	Revision 1.7  2000/06/21 12:27:42  rgbecker
1f00bd112cb0 remove UserDocTemplate, but add Andy's hook methods
rgbecker
parents: 284
diff changeset
    41
#	remove UserDocTemplate, but add Andy's hook methods
307
c439e402b404 Added CondPageBreak
rgbecker
parents: 295
diff changeset
    42
#	
284
eabeb5f4e851 Added UserDocTemplate class, and paragraph.getPlainText()
andy_robinson
parents: 253
diff changeset
    43
#	Revision 1.6  2000/06/19 23:51:23  andy_robinson
eabeb5f4e851 Added UserDocTemplate class, and paragraph.getPlainText()
andy_robinson
parents: 253
diff changeset
    44
#	Added UserDocTemplate class, and paragraph.getPlainText()
295
1f00bd112cb0 remove UserDocTemplate, but add Andy's hook methods
rgbecker
parents: 284
diff changeset
    45
#	
253
cfcf8d555a2c Platypus re-organisation
rgbecker
parents: 16
diff changeset
    46
#	Revision 1.5  2000/06/01 15:23:06  rgbecker
cfcf8d555a2c Platypus re-organisation
rgbecker
parents: 16
diff changeset
    47
#	Platypus re-organisation
284
eabeb5f4e851 Added UserDocTemplate class, and paragraph.getPlainText()
andy_robinson
parents: 253
diff changeset
    48
#	
16
f9c7525619fb Docstring & other fixes
rgbecker
parents: 7
diff changeset
    49
#	Revision 1.4  2000/02/17 02:09:05  rgbecker
f9c7525619fb Docstring & other fixes
rgbecker
parents: 7
diff changeset
    50
#	Docstring & other fixes
253
cfcf8d555a2c Platypus re-organisation
rgbecker
parents: 16
diff changeset
    51
#	
7
ca9eb4f68eab License text fixes
rgbecker
parents: 6
diff changeset
    52
#	Revision 1.3  2000/02/15 17:55:59  rgbecker
ca9eb4f68eab License text fixes
rgbecker
parents: 6
diff changeset
    53
#	License text fixes
16
f9c7525619fb Docstring & other fixes
rgbecker
parents: 7
diff changeset
    54
#	
6
eb791971b252 Added license, __version__ and Logi comment
rgbecker
parents: 0
diff changeset
    55
#	Revision 1.2  2000/02/15 15:47:09  rgbecker
eb791971b252 Added license, __version__ and Logi comment
rgbecker
parents: 0
diff changeset
    56
#	Added license, __version__ and Logi comment
7
ca9eb4f68eab License text fixes
rgbecker
parents: 6
diff changeset
    57
#	
367
ca1adb0294f0 Added KeepTogether
rgbecker
parents: 307
diff changeset
    58
__version__=''' $Id: __init__.py,v 1.9 2000/07/13 11:41:00 rgbecker Exp $ '''
16
f9c7525619fb Docstring & other fixes
rgbecker
parents: 7
diff changeset
    59
__doc__=''
307
c439e402b404 Added CondPageBreak
rgbecker
parents: 295
diff changeset
    60
from reportlab.platypus.flowables import Flowable, Image, Macro, PageBreak, Preformatted, Spacer, XBox, \
367
ca1adb0294f0 Added KeepTogether
rgbecker
parents: 307
diff changeset
    61
						CondPageBreak, KeepTogether
284
eabeb5f4e851 Added UserDocTemplate class, and paragraph.getPlainText()
andy_robinson
parents: 253
diff changeset
    62
from reportlab.platypus.paragraph import Paragraph, cleanBlockQuotedText
eabeb5f4e851 Added UserDocTemplate class, and paragraph.getPlainText()
andy_robinson
parents: 253
diff changeset
    63
from reportlab.platypus.paraparser import ParaFrag
eabeb5f4e851 Added UserDocTemplate class, and paragraph.getPlainText()
andy_robinson
parents: 253
diff changeset
    64
from reportlab.platypus.tables import Table, TableStyle, CellStyle
eabeb5f4e851 Added UserDocTemplate class, and paragraph.getPlainText()
andy_robinson
parents: 253
diff changeset
    65
from reportlab.platypus.frames import Frame
eabeb5f4e851 Added UserDocTemplate class, and paragraph.getPlainText()
andy_robinson
parents: 253
diff changeset
    66
from reportlab.platypus.doctemplate import BaseDocTemplate, NextPageTemplate, PageTemplate, ActionFlowable, \
295
1f00bd112cb0 remove UserDocTemplate, but add Andy's hook methods
rgbecker
parents: 284
diff changeset
    67
						SimpleDocTemplate, FrameBreak