Docstring & other fixes
authorrgbecker
Thu, 17 Feb 2000 02:09:05 +0000
changeset 16 f9c7525619fb
parent 15 d4aa36822c76
child 17 9d443a3be1f9
Docstring & other fixes
reportlab/README.pdfgen.txt
reportlab/__init__.py
reportlab/demos/gadflypaper/gfe.py
reportlab/demos/odyssey/odyssey.py
reportlab/demos/pythonpoint/monterey.py
reportlab/demos/pythonpoint/pythonpoint.py
reportlab/demos/pythonpoint/styles_horrible.py
reportlab/demos/pythonpoint/styles_modern.py
reportlab/demos/stdfonts/stdfonts.py
reportlab/demos/tests/testdemos.py
reportlab/pdfbase/__init__.py
reportlab/pdfbase/pdfdoc.py
reportlab/pdfbase/pdfmetrics.py
reportlab/pdfbase/pdfutils.py
reportlab/pdfgen/__init__.py
reportlab/pdfgen/canvas.py
reportlab/pdfgen/pathobject.py
reportlab/pdfgen/pdfgeom.py
reportlab/pdfgen/test/testpdfgen.py
reportlab/pdfgen/textobject.py
reportlab/platypus/__init__.py
reportlab/platypus/layout.py
reportlab/platypus/tables.py
reportlab/platypus/test/testplatypus.py
reportlab/platypus/test/testtables.py
--- a/reportlab/README.pdfgen.txt	Thu Feb 17 02:01:46 2000 +0000
+++ b/reportlab/README.pdfgen.txt	Thu Feb 17 02:09:05 2000 +0000
@@ -1,7 +1,10 @@
 Installation
 ============
 Either unpack reportlab.zip or reportlab.tgz to some directory say
-d:\ReportLab.  Create a .pth file, say reportlab.pth in your Python
+d:\ReportLab. If you can, ensure that the  line terminator style is
+correct for your OS (man zip programs have a text mode option eg -a).
+
+Create a .pth file, say reportlab.pth in your Python
 home directory.  It should have one line:
 d:/ReportLab.
 
@@ -31,3 +34,17 @@
 
 import platypus     ->  from report.platypus import layout
                         from report.platypus import tables
+
+Testing
+=======
+You can run all python scripts in directories named test or tests.
+At present there are tests in reportlab/pdfgen/test, reportlab/platypus/test
+and reportlab/demos/tests.
+
+The scripts in other subdirectories of demos are fairly useful.
+
+Other executable scripts are
+	./pdfbase/pdfdoc.py
+	./pdfgen/canvas.py
+	./platypus/layout.py
+	./platypus/tables.py
--- a/reportlab/__init__.py	Thu Feb 17 02:01:46 2000 +0000
+++ b/reportlab/__init__.py	Thu Feb 17 02:09:05 2000 +0000
@@ -31,7 +31,12 @@
 #
 ###############################################################################
 #	$Log: __init__.py,v $
+#	Revision 1.2  2000/02/17 02:03:53  rgbecker
+#	Docstring & other fixes
+#
 #	Revision 1.1  2000/02/16 09:42:49  rgbecker
 #	Conversion to reportlab package
-#
-__version__=''' $Id: __init__.py,v 1.1 2000/02/16 09:42:49 rgbecker Exp $ '''
+#	
+__version__=''' $Id: __init__.py,v 1.2 2000/02/17 02:03:53 rgbecker Exp $ '''
+__doc__="""
+"""
--- a/reportlab/demos/gadflypaper/gfe.py	Thu Feb 17 02:01:46 2000 +0000
+++ b/reportlab/demos/gadflypaper/gfe.py	Thu Feb 17 02:09:05 2000 +0000
@@ -31,16 +31,20 @@
 #
 ###############################################################################
 #	$Log: gfe.py,v $
+#	Revision 1.4  2000/02/17 02:03:53  rgbecker
+#	Docstring & other fixes
+#
 #	Revision 1.3  2000/02/16 09:42:50  rgbecker
 #	Conversion to reportlab package
-#
+#	
 #	Revision 1.2  2000/02/15 17:55:59  rgbecker
 #	License text fixes
 #	
 #	Revision 1.1.1.1  2000/02/15 15:15:57  rgbecker
 #	Initial setup of demos directory and contents.
 #	
-__version__=''' $Id: gfe.py,v 1.3 2000/02/16 09:42:50 rgbecker Exp $ '''
+__version__=''' $Id: gfe.py,v 1.4 2000/02/17 02:03:53 rgbecker Exp $ '''
+__doc__=''
 import sys
 from reportlab.platypus import layout
 
--- a/reportlab/demos/odyssey/odyssey.py	Thu Feb 17 02:01:46 2000 +0000
+++ b/reportlab/demos/odyssey/odyssey.py	Thu Feb 17 02:09:05 2000 +0000
@@ -31,16 +31,20 @@
 #
 ###############################################################################
 #	$Log: odyssey.py,v $
+#	Revision 1.4  2000/02/17 02:05:25  rgbecker
+#	Docstring & other fixes
+#
 #	Revision 1.3  2000/02/16 09:42:50  rgbecker
 #	Conversion to reportlab package
-#
+#	
 #	Revision 1.2  2000/02/15 17:55:59  rgbecker
 #	License text fixes
 #	
 #	Revision 1.1.1.1  2000/02/15 15:09:29  rgbecker
 #	Initial setup of demos directory and contents.
 #	
-__version__=''' $Id: odyssey.py,v 1.3 2000/02/16 09:42:50 rgbecker Exp $ '''
+__version__=''' $Id: odyssey.py,v 1.4 2000/02/17 02:05:25 rgbecker Exp $ '''
+___doc__=''
 #odyssey.py
 #
 #Demo/benchmark of PDFgen rendering Homer's Odyssey.
--- a/reportlab/demos/pythonpoint/monterey.py	Thu Feb 17 02:01:46 2000 +0000
+++ b/reportlab/demos/pythonpoint/monterey.py	Thu Feb 17 02:09:05 2000 +0000
@@ -31,17 +31,20 @@
 #
 ###############################################################################
 #	$Log: monterey.py,v $
+#	Revision 1.3  2000/02/17 02:06:28  rgbecker
+#	Docstring & other fixes
+#
 #	Revision 1.2  2000/02/15 17:55:59  rgbecker
 #	License text fixes
-#
+#	
 #	Revision 1.1.1.1  2000/02/15 15:07:38  rgbecker
 #	Initial setup of demos directory and contents.
 #	
-__version__=''' $Id: monterey.py,v 1.2 2000/02/15 17:55:59 rgbecker Exp $ '''
-"""This builds the document for my talk at Monterey."""
+__version__=''' $Id: monterey.py,v 1.3 2000/02/17 02:06:28 rgbecker Exp $ '''
+__doc__="""This builds the document for my talk at Monterey."""
 
 from piddle import *
-import platypus
+from reportlab.platypus import layout
 import textcanvas
 import pagesizes
 import pythonpoint_old
@@ -194,7 +197,7 @@
     a4width, a4height = pagesizes.A4
     mysize = (a4height, a4width)   # flip it to landscape
     
-    doc = platypus.SimpleFlowDocument('monterey.pdf',mysize)
+    doc = layout.SimpleFlowDocument('monterey.pdf',mysize)
     #doc.showBoundary = 1
     doc.leftmargin =  2 * inch  # all default to one inch if not given
     doc.onFirstPage = myPageBorder
--- a/reportlab/demos/pythonpoint/pythonpoint.py	Thu Feb 17 02:01:46 2000 +0000
+++ b/reportlab/demos/pythonpoint/pythonpoint.py	Thu Feb 17 02:09:05 2000 +0000
@@ -31,19 +31,22 @@
 #
 ###############################################################################
 #	$Log: pythonpoint.py,v $
+#	Revision 1.4  2000/02/17 02:06:28  rgbecker
+#	Docstring & other fixes
+#
 #	Revision 1.3  2000/02/16 09:42:50  rgbecker
 #	Conversion to reportlab package
-#
+#	
 #	Revision 1.2  2000/02/15 17:55:59  rgbecker
 #	License text fixes
 #	
 #	Revision 1.1.1.1  2000/02/15 15:08:55  rgbecker
 #	Initial setup of demos directory and contents.
 #	
-__version__=''' $Id: pythonpoint.py,v 1.3 2000/02/16 09:42:50 rgbecker Exp $ '''
+__version__=''' $Id: pythonpoint.py,v 1.4 2000/02/17 02:06:28 rgbecker Exp $ '''
 # xml parser stuff for PythonPoint
 # PythonPoint Markup Language!
-"""
+__doc__="""
 This is PythonPoint!
 
 The idea is a simple markup languages for describing
--- a/reportlab/demos/pythonpoint/styles_horrible.py	Thu Feb 17 02:01:46 2000 +0000
+++ b/reportlab/demos/pythonpoint/styles_horrible.py	Thu Feb 17 02:09:05 2000 +0000
@@ -31,18 +31,21 @@
 #
 ###############################################################################
 #	$Log: styles_horrible.py,v $
+#	Revision 1.4  2000/02/17 02:06:28  rgbecker
+#	Docstring & other fixes
+#
 #	Revision 1.3  2000/02/16 09:42:50  rgbecker
 #	Conversion to reportlab package
-#
+#	
 #	Revision 1.2  2000/02/15 17:55:59  rgbecker
 #	License text fixes
 #	
 #	Revision 1.1.1.1  2000/02/15 15:09:05  rgbecker
 #	Initial setup of demos directory and contents.
 #	
-__version__=''' $Id: styles_horrible.py,v 1.3 2000/02/16 09:42:50 rgbecker Exp $ '''
+__version__=''' $Id: styles_horrible.py,v 1.4 2000/02/17 02:06:28 rgbecker Exp $ '''
 # style_modern.py
-"""This is an example style sheet.  You can create your own, and
+__doc__="""This is an example style sheet.  You can create your own, and
 have them loaded by the presentation.  A style sheet is just a
 dictionary, where they keys are style names and the values are
 layout.ParagraphStyle objects.
--- a/reportlab/demos/pythonpoint/styles_modern.py	Thu Feb 17 02:01:46 2000 +0000
+++ b/reportlab/demos/pythonpoint/styles_modern.py	Thu Feb 17 02:09:05 2000 +0000
@@ -31,18 +31,21 @@
 #
 ###############################################################################
 #	$Log: styles_modern.py,v $
+#	Revision 1.4  2000/02/17 02:06:28  rgbecker
+#	Docstring & other fixes
+#
 #	Revision 1.3  2000/02/16 09:42:50  rgbecker
 #	Conversion to reportlab package
-#
+#	
 #	Revision 1.2  2000/02/15 17:55:59  rgbecker
 #	License text fixes
 #	
 #	Revision 1.1.1.1  2000/02/15 15:09:12  rgbecker
 #	Initial setup of demos directory and contents.
 #	
-__version__=''' $Id: styles_modern.py,v 1.3 2000/02/16 09:42:50 rgbecker Exp $ '''
+__version__=''' $Id: styles_modern.py,v 1.4 2000/02/17 02:06:28 rgbecker Exp $ '''
 # style_modern.py
-"""This is an example style sheet.  You can create your own, and
+__doc__="""This is an example style sheet.  You can create your own, and
 have them loaded by the presentation.  A style sheet is just a
 dictionary, where they keys are style names and the values are
 layout.ParagraphStyle objects.
--- a/reportlab/demos/stdfonts/stdfonts.py	Thu Feb 17 02:01:46 2000 +0000
+++ b/reportlab/demos/stdfonts/stdfonts.py	Thu Feb 17 02:09:05 2000 +0000
@@ -31,19 +31,23 @@
 #
 ###############################################################################
 #	$Log: stdfonts.py,v $
+#	Revision 1.4  2000/02/17 02:06:28  rgbecker
+#	Docstring & other fixes
+#
 #	Revision 1.3  2000/02/16 09:42:50  rgbecker
 #	Conversion to reportlab package
-#
+#	
 #	Revision 1.2  2000/02/15 17:55:59  rgbecker
 #	License text fixes
 #	
 #	Revision 1.1.1.1  2000/02/15 15:15:57  rgbecker
 #	Initial setup of demos directory and contents.
 #	
-__version__=''' $Id: stdfonts.py,v 1.3 2000/02/16 09:42:50 rgbecker Exp $ '''
-# standardfonts.py
-#
-# shows the 14 standard fonts in our encoding
+__version__=''' $Id: stdfonts.py,v 1.4 2000/02/17 02:06:28 rgbecker Exp $ '''
+__doc__="""
+standardfonts.py
+shows the 14 standard fonts in our encoding
+"""
 
 from reportlab.pdfbase import pdfmetrics
 from reportlab.pdfgen import canvas
--- a/reportlab/demos/tests/testdemos.py	Thu Feb 17 02:01:46 2000 +0000
+++ b/reportlab/demos/tests/testdemos.py	Thu Feb 17 02:09:05 2000 +0000
@@ -32,13 +32,17 @@
 #
 ###############################################################################
 #	$Log: testdemos.py,v $
+#	Revision 1.4  2000/02/17 02:07:23  rgbecker
+#	Docstring & other fixes
+#
 #	Revision 1.3  2000/02/16 09:42:50  rgbecker
 #	Conversion to reportlab package
-#
+#	
 #	Revision 1.2  2000/02/15 17:55:59  rgbecker
 #	License text fixes
 #	
-__version__=''' $Id: testdemos.py,v 1.3 2000/02/16 09:42:50 rgbecker Exp $ '''
+__version__=''' $Id: testdemos.py,v 1.4 2000/02/17 02:07:23 rgbecker Exp $ '''
+__doc__='Test all demos'
 _globals=globals().copy()
 import os, sys
 from reportlab import pdfgen
--- a/reportlab/pdfbase/__init__.py	Thu Feb 17 02:01:46 2000 +0000
+++ b/reportlab/pdfbase/__init__.py	Thu Feb 17 02:09:05 2000 +0000
@@ -31,10 +31,15 @@
 #
 ###############################################################################
 #	$Log: __init__.py,v $
+#	Revision 1.4  2000/02/17 02:07:23  rgbecker
+#	Docstring & other fixes
+#
 #	Revision 1.3  2000/02/15 17:55:59  rgbecker
 #	License text fixes
-#
+#	
 #	Revision 1.2  2000/02/15 15:47:09  rgbecker
 #	Added license, __version__ and Logi comment
 #	
-__version__=''' $Id: __init__.py,v 1.3 2000/02/15 17:55:59 rgbecker Exp $ '''
+__version__=''' $Id: __init__.py,v 1.4 2000/02/17 02:07:23 rgbecker Exp $ '''
+__doc__="""
+"""
--- a/reportlab/pdfbase/pdfdoc.py	Thu Feb 17 02:01:46 2000 +0000
+++ b/reportlab/pdfbase/pdfdoc.py	Thu Feb 17 02:09:05 2000 +0000
@@ -31,17 +31,20 @@
 #
 ###############################################################################
 #	$Log: pdfdoc.py,v $
+#	Revision 1.5  2000/02/17 02:07:23  rgbecker
+#	Docstring & other fixes
+#
 #	Revision 1.4  2000/02/16 09:42:50  rgbecker
 #	Conversion to reportlab package
-#
+#	
 #	Revision 1.3  2000/02/15 17:55:59  rgbecker
 #	License text fixes
 #	
 #	Revision 1.2  2000/02/15 15:47:09  rgbecker
 #	Added license, __version__ and Logi comment
 #	
-__version__=''' $Id: pdfdoc.py,v 1.4 2000/02/16 09:42:50 rgbecker Exp $ '''
-""" 
+__version__=''' $Id: pdfdoc.py,v 1.5 2000/02/17 02:07:23 rgbecker Exp $ '''
+__doc__=""" 
 PDFgen is a library to generate PDF files containing text and graphics.  It is the 
 foundation for a complete reporting solution in Python.  
 
@@ -72,9 +75,9 @@
 
 from reportlab.pdfgen.pdfgeom import bezierArc
 
-import pdfutils
-from pdfutils import LINEEND   # this constant needed in both
-import pdfmetrics
+from reportlab.pdfbase import pdfutils
+from reportlab.pdfbase.pdfutils import LINEEND   # this constant needed in both
+from reportlab.pdfbase import pdfmetrics
 ##############################################################
 #
 #            Constants and declarations
--- a/reportlab/pdfbase/pdfmetrics.py	Thu Feb 17 02:01:46 2000 +0000
+++ b/reportlab/pdfbase/pdfmetrics.py	Thu Feb 17 02:09:05 2000 +0000
@@ -31,14 +31,17 @@
 #
 ###############################################################################
 #	$Log: pdfmetrics.py,v $
+#	Revision 1.4  2000/02/17 02:07:23  rgbecker
+#	Docstring & other fixes
+#
 #	Revision 1.3  2000/02/15 17:55:59  rgbecker
 #	License text fixes
-#
+#	
 #	Revision 1.2  2000/02/15 15:47:09  rgbecker
 #	Added license, __version__ and Logi comment
 #	
-__version__=''' $Id: pdfmetrics.py,v 1.3 2000/02/15 17:55:59 rgbecker Exp $ '''
-"""This contains pre-canned text metrics for the PDFgen package, and may also
+__version__=''' $Id: pdfmetrics.py,v 1.4 2000/02/17 02:07:23 rgbecker Exp $ '''
+__doc__="""This contains pre-canned text metrics for the PDFgen package, and may also
 be used for any other PIDDLE back ends or packages which use the standard
 Type 1 postscript fonts.
 
--- a/reportlab/pdfbase/pdfutils.py	Thu Feb 17 02:01:46 2000 +0000
+++ b/reportlab/pdfbase/pdfutils.py	Thu Feb 17 02:09:05 2000 +0000
@@ -31,13 +31,17 @@
 #
 ###############################################################################
 #	$Log: pdfutils.py,v $
+#	Revision 1.4  2000/02/17 02:07:23  rgbecker
+#	Docstring & other fixes
+#
 #	Revision 1.3  2000/02/15 17:55:59  rgbecker
 #	License text fixes
-#
+#	
 #	Revision 1.2  2000/02/15 15:47:09  rgbecker
 #	Added license, __version__ and Logi comment
 #	
-__version__=''' $Id: pdfutils.py,v 1.3 2000/02/15 17:55:59 rgbecker Exp $ '''
+__version__=''' $Id: pdfutils.py,v 1.4 2000/02/17 02:07:23 rgbecker Exp $ '''
+__doc__=''
 # pdfutils.py - everything to do with images, streams,
 # compression, and some constants
 
--- a/reportlab/pdfgen/__init__.py	Thu Feb 17 02:01:46 2000 +0000
+++ b/reportlab/pdfgen/__init__.py	Thu Feb 17 02:09:05 2000 +0000
@@ -31,10 +31,14 @@
 #
 ###############################################################################
 #	$Log: __init__.py,v $
+#	Revision 1.4  2000/02/17 02:08:04  rgbecker
+#	Docstring & other fixes
+#
 #	Revision 1.3  2000/02/15 17:55:59  rgbecker
 #	License text fixes
-#
+#	
 #	Revision 1.2  2000/02/15 15:47:09  rgbecker
 #	Added license, __version__ and Logi comment
 #	
-__version__=''' $Id: __init__.py,v 1.3 2000/02/15 17:55:59 rgbecker Exp $ '''
+__version__=''' $Id: __init__.py,v 1.4 2000/02/17 02:08:04 rgbecker Exp $ '''
+__doc__=''
--- a/reportlab/pdfgen/canvas.py	Thu Feb 17 02:01:46 2000 +0000
+++ b/reportlab/pdfgen/canvas.py	Thu Feb 17 02:09:05 2000 +0000
@@ -31,17 +31,20 @@
 #
 ###############################################################################
 #	$Log: canvas.py,v $
+#	Revision 1.5  2000/02/17 02:08:04  rgbecker
+#	Docstring & other fixes
+#
 #	Revision 1.4  2000/02/16 09:42:50  rgbecker
 #	Conversion to reportlab package
-#
+#	
 #	Revision 1.3  2000/02/15 17:55:59  rgbecker
 #	License text fixes
 #	
 #	Revision 1.2  2000/02/15 15:47:09  rgbecker
 #	Added license, __version__ and Logi comment
 #	
-__version__=''' $Id: canvas.py,v 1.4 2000/02/16 09:42:50 rgbecker Exp $ '''
-""" 
+__version__=''' $Id: canvas.py,v 1.5 2000/02/17 02:08:04 rgbecker Exp $ '''
+__doc__=""" 
 PDFgen is a library to generate PDF files containing text and graphics.  It is the 
 foundation for a complete reporting solution in Python.  It is also the
 foundation for piddlePDF, the PDF back end for PIDDLE.
@@ -85,9 +88,7 @@
 from reportlab.pdfbase import pdfutils
 from reportlab.pdfbase import pdfdoc
 from reportlab.pdfbase import pdfmetrics
-import pdfgeom
-import pathobject
-import textobject
+from reportlab.pdfgen  import pdfgeom, pathobject, textobject
 
 # Robert Kern
 # Constants for closing paths.
--- a/reportlab/pdfgen/pathobject.py	Thu Feb 17 02:01:46 2000 +0000
+++ b/reportlab/pdfgen/pathobject.py	Thu Feb 17 02:09:05 2000 +0000
@@ -31,14 +31,17 @@
 #
 ###############################################################################
 #	$Log: pathobject.py,v $
+#	Revision 1.4  2000/02/17 02:08:04  rgbecker
+#	Docstring & other fixes
+#
 #	Revision 1.3  2000/02/15 17:55:59  rgbecker
 #	License text fixes
-#
+#	
 #	Revision 1.2  2000/02/15 15:47:09  rgbecker
 #	Added license, __version__ and Logi comment
 #	
-__version__=''' $Id: pathobject.py,v 1.3 2000/02/15 17:55:59 rgbecker Exp $ '''
-""" 
+__version__=''' $Id: pathobject.py,v 1.4 2000/02/17 02:08:04 rgbecker Exp $ '''
+__doc__=""" 
 PDFPathObject is an efficient way to draw paths on a Canvas. Do not
 instantiate directly, obtain one from the Canvas instead.
 
--- a/reportlab/pdfgen/pdfgeom.py	Thu Feb 17 02:01:46 2000 +0000
+++ b/reportlab/pdfgen/pdfgeom.py	Thu Feb 17 02:09:05 2000 +0000
@@ -31,14 +31,17 @@
 #
 ###############################################################################
 #	$Log: pdfgeom.py,v $
+#	Revision 1.4  2000/02/17 02:08:04  rgbecker
+#	Docstring & other fixes
+#
 #	Revision 1.3  2000/02/15 17:55:59  rgbecker
 #	License text fixes
-#
+#	
 #	Revision 1.2  2000/02/15 15:47:09  rgbecker
 #	Added license, __version__ and Logi comment
 #	
-__version__=''' $Id: pdfgeom.py,v 1.3 2000/02/15 17:55:59 rgbecker Exp $ '''
-"""
+__version__=''' $Id: pdfgeom.py,v 1.4 2000/02/17 02:08:04 rgbecker Exp $ '''
+__doc__="""
 This module includes any mathematical methods needed for PIDDLE.
 It should have no dependencies beyond the Python library.
 
--- a/reportlab/pdfgen/test/testpdfgen.py	Thu Feb 17 02:01:46 2000 +0000
+++ b/reportlab/pdfgen/test/testpdfgen.py	Thu Feb 17 02:09:05 2000 +0000
@@ -32,16 +32,20 @@
 #
 ###############################################################################
 #	$Log: testpdfgen.py,v $
+#	Revision 1.5  2000/02/17 02:08:34  rgbecker
+#	Docstring & other fixes
+#
 #	Revision 1.4  2000/02/16 09:42:50  rgbecker
 #	Conversion to reportlab package
-#
+#	
 #	Revision 1.3  2000/02/15 17:55:59  rgbecker
 #	License text fixes
 #	
 #	Revision 1.2  2000/02/15 15:47:09  rgbecker
 #	Added license, __version__ and Logi comment
 #	
-__version__=''' $Id: testpdfgen.py,v 1.4 2000/02/16 09:42:50 rgbecker Exp $ '''
+__version__=''' $Id: testpdfgen.py,v 1.5 2000/02/17 02:08:34 rgbecker Exp $ '''
+__doc__='testscript for reportlab.pdfgen'
 #tests and documents new low-level canvas
 import string
 from reportlab.pdfgen import canvas   # gmcm 2000/10/13, pdfgen now a package
--- a/reportlab/pdfgen/textobject.py	Thu Feb 17 02:01:46 2000 +0000
+++ b/reportlab/pdfgen/textobject.py	Thu Feb 17 02:09:05 2000 +0000
@@ -31,14 +31,17 @@
 #
 ###############################################################################
 #	$Log: textobject.py,v $
+#	Revision 1.4  2000/02/17 02:08:04  rgbecker
+#	Docstring & other fixes
+#
 #	Revision 1.3  2000/02/15 17:55:59  rgbecker
 #	License text fixes
-#
+#	
 #	Revision 1.2  2000/02/15 15:47:09  rgbecker
 #	Added license, __version__ and Logi comment
 #	
-__version__=''' $Id: textobject.py,v 1.3 2000/02/15 17:55:59 rgbecker Exp $ '''
-""" 
+__version__=''' $Id: textobject.py,v 1.4 2000/02/17 02:08:04 rgbecker Exp $ '''
+__doc__=""" 
 PDFTextObject is an efficient way to add text to a Canvas. Do not
 instantiate directly, obtain one from the Canvas instead.
 
--- a/reportlab/platypus/__init__.py	Thu Feb 17 02:01:46 2000 +0000
+++ b/reportlab/platypus/__init__.py	Thu Feb 17 02:09:05 2000 +0000
@@ -31,11 +31,14 @@
 #
 ###############################################################################
 #	$Log: __init__.py,v $
+#	Revision 1.4  2000/02/17 02:09:05  rgbecker
+#	Docstring & other fixes
+#
 #	Revision 1.3  2000/02/15 17:55:59  rgbecker
 #	License text fixes
-#
+#	
 #	Revision 1.2  2000/02/15 15:47:09  rgbecker
 #	Added license, __version__ and Logi comment
 #	
-__version__=''' $Id: __init__.py,v 1.3 2000/02/15 17:55:59 rgbecker Exp $ '''
-
+__version__=''' $Id: __init__.py,v 1.4 2000/02/17 02:09:05 rgbecker Exp $ '''
+__doc__=''
--- a/reportlab/platypus/layout.py	Thu Feb 17 02:01:46 2000 +0000
+++ b/reportlab/platypus/layout.py	Thu Feb 17 02:09:05 2000 +0000
@@ -31,19 +31,24 @@
 #
 ###############################################################################
 #	$Log: layout.py,v $
+#	Revision 1.5  2000/02/17 02:09:05  rgbecker
+#	Docstring & other fixes
+#
 #	Revision 1.4  2000/02/16 09:42:50  rgbecker
 #	Conversion to reportlab package
-#
+#	
 #	Revision 1.3  2000/02/15 17:55:59  rgbecker
 #	License text fixes
 #	
 #	Revision 1.2  2000/02/15 15:47:09  rgbecker
 #	Added license, __version__ and Logi comment
 #	
-__version__=''' $Id: layout.py,v 1.4 2000/02/16 09:42:50 rgbecker Exp $ '''
-#platypus - Page Layout And TYPography Using Scripts
-# a page layout API on top of PDFgen
-#currently working on paragraph wrapping stuff.
+__version__=''' $Id: layout.py,v 1.5 2000/02/17 02:09:05 rgbecker Exp $ '''
+__doc__="""
+Page Layout And TYPography Using Scripts
+a page layout API on top of PDFgen
+currently working on paragraph wrapping stuff.
+"""
 
 # 200-10-13 gmcm
 #   packagizing
--- a/reportlab/platypus/tables.py	Thu Feb 17 02:01:46 2000 +0000
+++ b/reportlab/platypus/tables.py	Thu Feb 17 02:09:05 2000 +0000
@@ -31,19 +31,22 @@
 #
 ###############################################################################
 #	$Log: tables.py,v $
+#	Revision 1.4  2000/02/17 02:09:05  rgbecker
+#	Docstring & other fixes
+#
 #	Revision 1.3  2000/02/15 17:55:59  rgbecker
 #	License text fixes
-#
+#	
 #	Revision 1.2  2000/02/15 15:47:09  rgbecker
 #	Added license, __version__ and Logi comment
 #	
-__version__=''' $Id: tables.py,v 1.3 2000/02/15 17:55:59 rgbecker Exp $ '''
-"""
+__version__=''' $Id: tables.py,v 1.4 2000/02/17 02:09:05 rgbecker Exp $ '''
+__doc__="""
 Tables are created by passing the constructor a tuple of column widths, a tuple of row heights and the data in
 row order. Drawing of the table can be controlled by using a TableStyle instance. This allows control of the
 color and weight of the lines (if any), and the font, alignment and padding of the text.
 """
-import layout
+from reportlab.platypus import layout
 import operator
 
 _stringtype = type('')
@@ -318,7 +321,7 @@
         ('Key Ring', 0,0,0,0,0,0,1,0,0,0,2,13),
         ('Hats', 893, 912, '1,212', 643, 789, 159, 888, '1,298', 832, 453, '1,344','2,843')
         )
-    doc = layout.SimpleFlowDocument('testtables.pdf', platypus.DEFAULT_PAGE_SIZE, 1)
+    doc = layout.SimpleFlowDocument('testtables.pdf', layout.DEFAULT_PAGE_SIZE, 1)
     styleSheet = layout.getSampleStyleSheet()
     lst = []
     lst.append(layout.Paragraph("Tables", styleSheet['Heading1']))
--- a/reportlab/platypus/test/testplatypus.py	Thu Feb 17 02:01:46 2000 +0000
+++ b/reportlab/platypus/test/testplatypus.py	Thu Feb 17 02:09:05 2000 +0000
@@ -32,9 +32,12 @@
 #
 ###############################################################################
 #	$Log: testplatypus.py,v $
+#	Revision 1.6  2000/02/17 02:09:05  rgbecker
+#	Docstring & other fixes
+#
 #	Revision 1.5  2000/02/16 14:13:00  rgbecker
 #	Final Fixes for Linux
-#
+#	
 #	Revision 1.4  2000/02/16 09:42:50  rgbecker
 #	Conversion to reportlab package
 #	
@@ -44,10 +47,10 @@
 #	Revision 1.2  2000/02/15 15:47:10  rgbecker
 #	Added license, __version__ and Logi comment
 #	
-__version__=''' $Id: testplatypus.py,v 1.5 2000/02/16 14:13:00 rgbecker Exp $ '''
+__version__=''' $Id: testplatypus.py,v 1.6 2000/02/17 02:09:05 rgbecker Exp $ '''
 
 #tests and documents Page Layout API
-"""This is not obvious so here's a brief explanation.  This module is both
+__doc__="""This is not obvious so here's a brief explanation.  This module is both
 the test script and user guide for layout.  Each page has two frames on it:
 one for commentary, and one for demonstration objects which may be drawn in
 various esoteric ways.  The two functions getCommentary() and getExamples()
--- a/reportlab/platypus/test/testtables.py	Thu Feb 17 02:01:46 2000 +0000
+++ b/reportlab/platypus/test/testtables.py	Thu Feb 17 02:09:05 2000 +0000
@@ -32,16 +32,20 @@
 #
 ###############################################################################
 #	$Log: testtables.py,v $
+#	Revision 1.5  2000/02/17 02:09:05  rgbecker
+#	Docstring & other fixes
+#
 #	Revision 1.4  2000/02/16 09:42:50  rgbecker
 #	Conversion to reportlab package
-#
+#	
 #	Revision 1.3  2000/02/15 17:55:59  rgbecker
 #	License text fixes
 #	
 #	Revision 1.2  2000/02/15 15:47:10  rgbecker
 #	Added license, __version__ and Logi comment
 #
-__version__=''' $Id: testtables.py,v 1.4 2000/02/16 09:42:50 rgbecker Exp $ '''
+__version__=''' $Id: testtables.py,v 1.5 2000/02/17 02:09:05 rgbecker Exp $ '''
+__doc__='Test script for reportlab.tables'
 from reportlab.platypus import layout
 from reportlab.platypus import tables