reportlab/__init__.py
author andy_robinson
Tue, 06 Mar 2001 17:38:15 +0000
changeset 681 934a4f24ea5d
parent 625 6eb3b0e88778
child 711 8e69156a92ec
permissions -rw-r--r--
Added explicit font and encoding support
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
494
54257447cfe9 Changed to indirect copyright
rgbecker
parents: 478
diff changeset
     1
#copyright ReportLab Inc. 2000
54257447cfe9 Changed to indirect copyright
rgbecker
parents: 478
diff changeset
     2
#see license.txt for license details
54257447cfe9 Changed to indirect copyright
rgbecker
parents: 478
diff changeset
     3
#history http://cvs.sourceforge.net/cgi-bin/cvsweb.cgi/reportlab/__init__.py?cvsroot=reportlab
681
934a4f24ea5d Added explicit font and encoding support
andy_robinson
parents: 625
diff changeset
     4
#$Header: /tmp/reportlab/reportlab/__init__.py,v 1.10 2001/03/06 17:38:14 andy_robinson Exp $
934a4f24ea5d Added explicit font and encoding support
andy_robinson
parents: 625
diff changeset
     5
__version__=''' $Id: __init__.py,v 1.10 2001/03/06 17:38:14 andy_robinson Exp $ '''
934a4f24ea5d Added explicit font and encoding support
andy_robinson
parents: 625
diff changeset
     6
__doc__="""The Reportlab PDF generation library."""
625
6eb3b0e88778 release 1.03
johnprecedo
parents: 536
diff changeset
     7
Version = "1.03"
681
934a4f24ea5d Added explicit font and encoding support
andy_robinson
parents: 625
diff changeset
     8
934a4f24ea5d Added explicit font and encoding support
andy_robinson
parents: 625
diff changeset
     9
def getStory(context):
934a4f24ea5d Added explicit font and encoding support
andy_robinson
parents: 625
diff changeset
    10
    if context.target == 'UserGuide':
934a4f24ea5d Added explicit font and encoding support
andy_robinson
parents: 625
diff changeset
    11
        # parse some local file
934a4f24ea5d Added explicit font and encoding support
andy_robinson
parents: 625
diff changeset
    12
        import os
934a4f24ea5d Added explicit font and encoding support
andy_robinson
parents: 625
diff changeset
    13
        myDir = os.path.split(__file__)[0]
934a4f24ea5d Added explicit font and encoding support
andy_robinson
parents: 625
diff changeset
    14
        import yaml
934a4f24ea5d Added explicit font and encoding support
andy_robinson
parents: 625
diff changeset
    15
        return yaml.parseFile(myDir + os.sep + 'mydocs.yaml')
934a4f24ea5d Added explicit font and encoding support
andy_robinson
parents: 625
diff changeset
    16
    else:
934a4f24ea5d Added explicit font and encoding support
andy_robinson
parents: 625
diff changeset
    17
        # this signals that it should revert to default processing
934a4f24ea5d Added explicit font and encoding support
andy_robinson
parents: 625
diff changeset
    18
        return None
934a4f24ea5d Added explicit font and encoding support
andy_robinson
parents: 625
diff changeset
    19