reportlab/platypus/paragraph.py
changeset 494 54257447cfe9
parent 488 a270e8b45200
child 496 bb47cf5c2739
--- a/reportlab/platypus/paragraph.py	Tue Oct 24 15:45:57 2000 +0000
+++ b/reportlab/platypus/paragraph.py	Wed Oct 25 08:57:46 2000 +0000
@@ -1,110 +1,8 @@
-###############################################################################
-#
-#	ReportLab Public License Version 1.0
-#
-#   Except for the change of names the spirit and intention of this
-#   license is the same as that of Python
-#
-#	(C) Copyright ReportLab Inc. 1998-2000.
-#
-#
-# All Rights Reserved
-#
-# Permission to use, copy, modify, and distribute this software and its
-# documentation for any purpose and without fee is hereby granted, provided
-# that the above copyright notice appear in all copies and that both that
-# copyright notice and this permission notice appear in supporting
-# documentation, and that the name of ReportLab not be used
-# in advertising or publicity pertaining to distribution of the software
-# without specific, written prior permission.
-#
-#
-# Disclaimer
-#
-# ReportLab Inc. DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS
-# SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS,
-# IN NO EVENT SHALL ReportLab BE LIABLE FOR ANY SPECIAL, INDIRECT
-# OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
-# OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
-# OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
-# PERFORMANCE OF THIS SOFTWARE.
-#
-###############################################################################
-#	$Log: paragraph.py,v $
-#	Revision 1.24  2000/10/23 23:55:27  rgbecker
-#	Added J Alet's bug case
-#
-#	Revision 1.23  2000/10/03 09:19:11  rgbecker
-#	Justified XPreformatteds are OK
-#	
-#	Revision 1.22  2000/10/02 13:13:21  rgbecker
-#	Splitting fixes. Mostly caused by XPreformatted not doing it right.
-#	
-#	Revision 1.21  2000/08/25 11:35:37  rgbecker
-#	Further tweaks of XPreformatted
-#	
-#	Revision 1.20  2000/08/24 18:21:47  rgbecker
-#	XPreformatted fixed empty lines and leading space
-#	
-#	Revision 1.19  2000/08/23 13:58:28  rgbecker
-#	Preparing for cleanup
-#	
-#	Revision 1.18  2000/08/17 15:50:37  rgbecker
-#	Various brutal changes to paragraph, canvas and textobject for speed/size
-#	
-#	Revision 1.17  2000/07/14 10:29:50  rgbecker
-#	The Paragraph.split method was wrongly assuming that the firstLineIndent
-#	should reset to zero. It should always reset to leftIndent!
-#	
-#	Revision 1.16  2000/07/03 15:39:51  rgbecker
-#	Documentation fixes
-#	
-#	Revision 1.15  2000/06/23 13:13:54  rgbecker
-#	Fixes to splitting code
-#	
-#	Revision 1.14  2000/06/19 23:51:23  andy_robinson
-#	Added UserDocTemplate class, and paragraph.getPlainText()
-#	
-#	Revision 1.13  2000/06/19 11:14:03  andy_robinson
-#	Global sequencer put in the 'story builder'.
-#	
-#	Revision 1.12  2000/06/13 13:03:31  aaron_watters
-#	more documentation changes
-#	
-#	Revision 1.11  2000/06/01 15:23:06  rgbecker
-#	Platypus re-organisation
-#	
-#	Revision 1.10  2000/05/31 10:12:20  rgbecker
-#	<bullet> xml tag added
-#	
-#	Revision 1.9  2000/05/16 16:15:16  rgbecker
-#	Changes related to removal of SimpleFlowDocument
-#	
-#	Revision 1.8  2000/05/16 15:58:27  rgbecker
-#	Fixed font setting bug
-#	
-#	Revision 1.7  2000/05/16 14:28:55  rgbecker
-#	Fixes/Changes to get testplatypus to work with new framework
-#	
-#	Revision 1.6  2000/05/15 13:36:11  rgbecker
-#	Splitting changes
-#	
-#	Revision 1.5  2000/05/13 16:03:23  rgbecker
-#	Fix extraspace calculation
-#	
-#	Revision 1.4  2000/05/12 15:13:41  rgbecker
-#	Fixes to alignment handling
-#	
-#	Revision 1.3  2000/05/11 14:04:34  rgbecker
-#	Removed usage of spaceBefore/After in wrap methods
-#	
-#	Revision 1.2  2000/04/19 13:14:06  rgbecker
-#	Fixed repeated breaklines bug
-#	
-#	Revision 1.1  2000/04/14 13:21:52  rgbecker
-#	Removed from layout.py
-#	
-__version__=''' $Id: paragraph.py,v 1.24 2000/10/23 23:55:27 rgbecker Exp $ '''
+#copyright ReportLab Inc. 2000
+#see license.txt for license details
+#history http://cvs.sourceforge.net/cgi-bin/cvsweb.cgi/reportlab/platypus/paragraph.py?cvsroot=reportlab
+#$Header: /tmp/reportlab/reportlab/platypus/paragraph.py,v 1.25 2000/10/25 08:57:45 rgbecker Exp $
+__version__=''' $Id: paragraph.py,v 1.25 2000/10/25 08:57:45 rgbecker Exp $ '''
 import string
 from types import StringType, ListType
 from reportlab.pdfbase.pdfmetrics import stringWidth