Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(265)  |  Call(0)  |  Derive(144)  |  Import(121)
Abstract base class for things to be drawn.  Key concepts:

1. It knows its size
2. It draws in its own coordinate system (this requires the
   base API to provide a translate() function.

src/d/j/django-admin-report-HEAD/example/lib/reportlab/platypus/__init__.py   django-admin-report(Download)
__doc__='''Page Layout and Typography Using Scripts" - higher-level framework for flowing documents'''
 
from reportlab.platypus.flowables import Flowable, Image, Macro, PageBreak, Preformatted, Spacer, XBox, \
                        CondPageBreak, KeepTogether, TraceInfo, FailOnWrap, FailOnDraw, PTOContainer, \
                        KeepInFrame, ParagraphAndImage, ImageAndFlowables

src/d/j/django-admin-report-HEAD/example/lib/sx/pisa3/pisa_reportlab.py   django-admin-report(Download)
from reportlab.platypus.doctemplate import BaseDocTemplate, PageTemplate, FrameBreak, NextPageTemplate
from reportlab.platypus.tables import Table, TableStyle
from reportlab.platypus.flowables import Flowable, Image, CondPageBreak, KeepInFrame, ParagraphAndImage
from reportlab.platypus.frames import Frame
from reportlab.platypus.tableofcontents import TableOfContents
class PmlImage(Flowable, PmlMaxHeightMixIn):
 
    #_fixedWidth = 1
    #_fixedHeight = 1
 
class PmlInput(Flowable):
 
    def __init__(self, name, type="text", width=10, height=10, default="", options=[]):
        self.width = width
        self.height = height

src/d/j/django-admin-report-HEAD/example/lib/reportlab/platypus/tables.py   django-admin-report(Download)
tables and table styles.
"""
from reportlab.platypus.flowables import Flowable, Preformatted
from reportlab import rl_config
from reportlab.lib.styles import PropertySet, ParagraphStyle, _baseFontName
class Table(Flowable):
    def __init__(self, data, colWidths=None, rowHeights=None, style=None,
                repeatRows=0, repeatCols=0, splitByRow=1, emptyTableAction=None, ident=None,
                hAlign=None,vAlign=None, normalizedData=0, cellStyles=None):
        self.ident = ident

src/d/j/django-admin-report-HEAD/example/lib/reportlab/platypus/tableofcontents.py   django-admin-report(Download)
from reportlab.platypus.doctemplate import IndexingFlowable
from reportlab.platypus.tables import TableStyle, Table
from reportlab.platypus.flowables import Spacer, Flowable
from reportlab.pdfbase.pdfmetrics import stringWidth
from reportlab.pdfgen import canvas

src/d/j/django-admin-report-HEAD/example/lib/reportlab/graphics/barcode/common.py   django-admin-report(Download)
#
 
from reportlab.platypus.flowables import Flowable
from reportlab.lib.units import inch
import string
 
class Barcode(Flowable):

src/l/i/live-py-plugin-HEAD/test/PySrc/tools/pdf_example.py   live-py-plugin(Download)
from reportlab.platypus import SimpleDocTemplate, Paragraph
from reportlab.platypus.flowables import Flowable, Spacer
from reportlab.lib.styles import getSampleStyleSheet
from reportlab.lib.units import inch
 
from turtle_example import draw_spiral
from pdf_turtle import PdfTurtle
 
class TurtleArt(Flowable):

src/d/j/django-admin-report-HEAD/example/lib/reportlab/platypus/para.py   django-admin-report(Download)
from reportlab.pdfbase.pdfmetrics import stringWidth
from reportlab.lib.utils import fp_str
from reportlab.platypus.flowables import Flowable
from reportlab.lib import colors
from types import StringType, UnicodeType, InstanceType, TupleType, ListType, FloatType
class FastPara(Flowable):
    "paragraph with no special features (not even a single ampersand!)"
 
    def __init__(self, style, simpletext):
        #if debug:
class Para(Flowable):
 
    spaceBefore = 0
    spaceAfter = 0
 

src/d/j/django-admin-report-HEAD/example/lib/sx/pisa3/reportlab_paragraph.py   django-admin-report(Download)
from reportlab.pdfbase.pdfmetrics import stringWidth, getFont, getAscentDescent
from reportlab.platypus.paraparser import ParaParser
from reportlab.platypus.flowables import Flowable
from reportlab.lib.colors import Color
from reportlab.lib.enums import TA_LEFT, TA_RIGHT, TA_CENTER, TA_JUSTIFY
class Paragraph(Flowable):
    """ Paragraph(text, style, bulletText=None, caseSensitive=1)
        text a string of stuff to go into the paragraph.
        style is a style definition as in reportlab.lib.styles.
        bulletText is an optional bullet defintion.

src/d/j/django-admin-report-HEAD/example/lib/sx/pisa3/pisa_paragraph2.py   django-admin-report(Download)
from reportlab.lib.enums import TA_CENTER, TA_JUSTIFY, TA_LEFT, TA_RIGHT
from reportlab.pdfbase.pdfmetrics import stringWidth
from reportlab.platypus.flowables import Flowable
from reportlab.lib.colors import Color
 
class Paragraph(Flowable):
    """A simple Paragraph class respecting alignment.
 
    Does text without tags.
 

src/d/j/django-admin-report-HEAD/example/lib/sx/pisa3/pisa_paragraph.py   django-admin-report(Download)
from reportlab.lib.enums import TA_CENTER, TA_JUSTIFY, TA_LEFT, TA_RIGHT
from reportlab.pdfbase.pdfmetrics import stringWidth
from reportlab.platypus.flowables import Flowable
from reportlab.lib.colors import Color
 
class Paragraph(Flowable):
    """A simple Paragraph class respecting alignment.
 
    Does text without tags.
 

  1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9  Next