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

All Samples(29)  |  Call(23)  |  Derive(0)  |  Import(6)
use up a frame if not enough vertical space effectively CondFrameBreak

src/m/w/mwlib.ext-0.13.2/upstream-src/tools/docco/rl_doc_utils.py   mwlib.ext(Download)
from reportlab.rl_config import defaultPageSize
from reportlab.platypus import figures
from reportlab.platypus import Paragraph, Spacer, Preformatted,\
            PageBreak, CondPageBreak, Flowable, Table, TableStyle, \
            NextPageTemplate, KeepTogether, Image, XPreformatted
def CPage(inches):
    getStory().append(CondPageBreak(inches*inch))
 
def newPage():
    getStory().append(PageBreak())
def heading2(text):
    """Used to be 'lesson'"""
    getStory().append(CondPageBreak(inch))
    p = Paragraph('<seq template="%(Chapter)s.%(Section+)s "/>' + quickfix(text), H2)
    getStory().append(p)
 
def heading3(text):
    """Used to be most of the plain old 'head' sections"""
    getStory().append(CondPageBreak(inch))
def heading4(text):
    """Used to be most of the plain old 'head' sections"""
    getStory().append(CondPageBreak(inch))
    p = Paragraph(quickfix(text), H4)
    getStory().append(p)

src/r/e/reportlab-3.1.8/tools/docco/rl_doc_utils.py   reportlab(Download)
from reportlab.rl_config import defaultPageSize
from reportlab.platypus import figures
from reportlab.platypus import Paragraph, Spacer, Preformatted,\
            PageBreak, CondPageBreak, Flowable, Table, TableStyle, \
            NextPageTemplate, KeepTogether, Image, XPreformatted
def CPage(inches):
    getStory().append(CondPageBreak(inches*inch))
 
def newPage():
    getStory().append(PageBreak())
def heading2(text):
    """Used to be 'lesson'"""
    getStory().append(CondPageBreak(inch))
    p = Paragraph('<seq template="%(Chapter)s.%(Section+)s "/>' + quickfix(text), H2)
    getStory().append(p)
 
def heading3(text):
    """Used to be most of the plain old 'head' sections"""
    getStory().append(CondPageBreak(inch))
def heading4(text):
    """Used to be most of the plain old 'head' sections"""
    getStory().append(CondPageBreak(inch))
    p = Paragraph(quickfix(text), H4)
    getStory().append(p)

src/r/e/ReportLab-HEAD/tools/docco/rl_doc_utils.py   ReportLab(Download)
from reportlab.rl_config import defaultPageSize
from reportlab.platypus import figures
from reportlab.platypus import Paragraph, Spacer, Preformatted,\
            PageBreak, CondPageBreak, Flowable, Table, TableStyle, \
            NextPageTemplate, KeepTogether, Image, XPreformatted
def CPage(inches):
    getStory().append(CondPageBreak(inches*inch))
 
def newPage():
    getStory().append(PageBreak())
def heading2(text):
    """Used to be 'lesson'"""
    getStory().append(CondPageBreak(inch))
    p = Paragraph('<seq template="%(Chapter)s.%(Section+)s "/>' + quickfix(text), H2)
    getStory().append(p)
 
def heading3(text):
    """Used to be most of the plain old 'head' sections"""
    getStory().append(CondPageBreak(inch))
def heading4(text):
    """Used to be most of the plain old 'head' sections"""
    getStory().append(CondPageBreak(inch))
    p = Paragraph(quickfix(text), H4)
    getStory().append(p)

src/o/p/openerp-server-5.0.0-3/bin/report/render/rml2pdf/trml2pdf.py   openerp-server(Download)
            return platypus.PageBreak()
        elif node.localName=='condPageBreak':
            return platypus.CondPageBreak(**(utils.attr_get(node, ['height'])))
        elif node.localName=='setNextTemplate':
            return platypus.NextPageTemplate(str(node.getAttribute('name')))
        elif node.localName=='nextFrame':
            return platypus.CondPageBreak(1000)           # TODO: change the 1000 !

src/o/p/openerp-core-7.0.406/openerp/report/render/rml2pdf/trml2pdf.py   openerp-core(Download)
            return platypus.PageBreak()
        elif node.tag=='condPageBreak':
            return platypus.CondPageBreak(**(utils.attr_get(node, ['height'])))
        elif node.tag=='setNextTemplate':
            return platypus.NextPageTemplate(str(node.get('name')))
        elif node.tag=='nextFrame':
            return platypus.CondPageBreak(1000)           # TODO: change the 1000 !

src/t/e/template2pdf-0.6.5/template2pdf/t2p/trml2pdf.py   template2pdf(Download)
            return platypus.PageBreak()
        elif node.localName=='condPageBreak':
            return platypus.CondPageBreak(**(utils.getAttrsAsDict(node, ['height'])))
        elif node.localName=='setNextTemplate':
            return platypus.NextPageTemplate(str(node.getAttribute('name')))
        elif node.localName=='nextFrame':
            return platypus.CondPageBreak(1000)           # TODO: change the 1000 !

src/t/r/trml2pdf-HEAD/trml2pdf/trml2pdf.py   trml2pdf(Download)
			return platypus.PageBreak()
		elif node.localName=='condPageBreak':
			return platypus.CondPageBreak(**(utils.attr_get(node, ['height'])))
		elif node.localName=='setNextTemplate':
			return platypus.NextPageTemplate(str(node.getAttribute('name')))
		elif node.localName=='nextFrame':
			return platypus.CondPageBreak(1000)           # TODO: change the 1000 !

src/p/d/pdfdocument-3.0/pdfdocument/document.py   pdfdocument(Download)
from reportlab.pdfbase import pdfmetrics
from reportlab.pdfbase.ttfonts import TTFont
from reportlab.platypus import (
    BaseDocTemplate, Spacer, Frame, PageTemplate, NextPageTemplate, PageBreak,
    Table, KeepTogether, CondPageBreak, Paragraph as _Paragraph)
    def next_frame(self):
        self.story.append(CondPageBreak(20*cm))
 
    def start_keeptogether(self):
        self.keeptogether_index = len(self.story)

src/p/d/pdfdocument-HEAD/pdfdocument/document.py   pdfdocument(Download)
from reportlab.pdfbase import pdfmetrics
from reportlab.pdfbase.ttfonts import TTFont
from reportlab.platypus import (
    BaseDocTemplate, Spacer, Frame, PageTemplate, NextPageTemplate, PageBreak,
    Table, KeepTogether, CondPageBreak, Paragraph as _Paragraph)
    def next_frame(self):
        self.story.append(CondPageBreak(20*cm))
 
    def start_keeptogether(self):
        self.keeptogether_index = len(self.story)

src/v/o/vosae-app-HEAD/www/core/pdf/report.py   vosae-app(Download)
from reportlab.lib.units import mm, cm
from reportlab.lib import colors as base_colors
from reportlab.platypus import (
    Spacer,
    Frame,
    def next_frame(self):
        self.story.append(CondPageBreak(20 * cm))
 
    def start_keeptogether(self):
        self.keeptogether_index = len(self.story)