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

All Samples(12)  |  Call(6)  |  Derive(0)  |  Import(6)

src/i/t/itools-0.75.1/pdf/flowables.py   itools(Download)
 
# Import from reportlab
from reportlab.platypus import KeepInFrame, PTOContainer
from reportlab.platypus import Paragraph as BaseParagraph
from reportlab.platypus.flowables import Flowable
                    height = min(height, main_frame_height)
 
                self.keep_in_frame = KeepInFrame(width, height,
                                                 self.div_story[:],
                                                 mode=self.overflow)

src/i/t/itools-HEAD/pdf/flowables.py   itools(Download)
 
# Import from reportlab
from reportlab.platypus import KeepInFrame, PTOContainer
from reportlab.platypus import Paragraph as BaseParagraph
from reportlab.platypus.flowables import Flowable
                    height = min(height, main_frame_height)
 
                self.keep_in_frame = KeepInFrame(width, height,
                                                 self.div_story[:],
                                                 mode=self.overflow)

src/w/m/wms-HEAD/geraldo/generators/pdf.py   wms(Download)
from reportlab.pdfgen.canvas import Canvas
from reportlab.lib.styles import ParagraphStyle
from reportlab.platypus import Paragraph, KeepInFrame
from reportlab.lib.units import cm
 
    def keep_in_frame(self, widget, width, height, paragraphs, mode):
        widget.keep = KeepInFrame(width, height, paragraphs, mode=mode)
 
        widget.keep.canv = self.canvas
        widget.keep.wrap(self.calculate_size(widget.width), self.calculate_size(widget.height))

src/p/l/plan-HEAD/plan/pdf/views.py   plan(Download)
 
        content = data[y1][x1]
        data[y1][x1] = platypus.KeepInFrame(col_widths[x1]*lecture['width'],
                                            row_heights[2]*lecture['height'],
                                            content, mode='shrink')

src/g/e/Geraldo-0.4.17/geraldo/generators/pdf.py   Geraldo(Download)
from reportlab.pdfgen.canvas import Canvas
from reportlab.lib.styles import ParagraphStyle
from reportlab.platypus import Paragraph, KeepInFrame
from reportlab.lib.units import cm
from reportlab.pdfbase import pdfmetrics
    def keep_in_frame(self, widget, width, height, paragraphs, mode, persistent=False):
        keep = KeepInFrame(width, height, paragraphs, mode=mode)
        keep.canv = self.canvas
        keep.wrap(self.calculate_size(widget.width), self.calculate_size(widget.height))
 

src/g/e/geraldo-HEAD/geraldo/generators/pdf.py   geraldo(Download)
from reportlab.pdfgen.canvas import Canvas
from reportlab.lib.styles import ParagraphStyle
from reportlab.platypus import Paragraph, KeepInFrame
from reportlab.lib.units import cm
from reportlab.pdfbase import pdfmetrics
    def keep_in_frame(self, widget, width, height, paragraphs, mode, persistent=False):
        keep = KeepInFrame(width, height, paragraphs, mode=mode)
        keep.canv = self.canvas
        keep.wrap(self.calculate_size(widget.width), self.calculate_size(widget.height))
 

src/d/i/dinbrief-0.3.2/dinbrief/template.py   dinbrief(Download)
from reportlab.platypus import PageTemplate
from reportlab.platypus import Paragraph
from reportlab.platypus import KeepInFrame
from reportlab.platypus import Table
from reportlab.platypus import TableStyle