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

All Samples(31)  |  Call(21)  |  Derive(0)  |  Import(10)
Like the hr tag

src/m/w/mwlib.rl-0.14.5/mwlib/rl/rlwriter.py   mwlib.rl(Download)
from reportlab.platypus.doctemplate import NextPageTemplate, NotAtTopPageBreak
from reportlab.platypus.tables import Table
from reportlab.platypus.flowables import Spacer, HRFlowable, PageBreak, CondPageBreak
from reportlab.platypus.xpreformatted import XPreformatted
from reportlab.lib.units import cm
    def writeChapter(self, chapter):
        hr = HRFlowable(width="80%", spaceBefore=6, spaceAfter=0, color=pdfstyles.chapter_rule_color, thickness=0.5)
 
        title = self.renderArticleTitle(chapter.caption)
        if self.inline_mode == 0 and self.table_nesting==0:
    def renderFailedNode(self, node, infoText):
        txt = node.getAllDisplayText()
        txt = xmlescape(txt)
        elements = []
        elements.extend([Spacer(0, 1*cm), HRFlowable(width="100%", thickness=2), Spacer(0,0.5*cm)])
        elements.append(Paragraph(infoText, text_style(in_table=False)))
        elements.append(Spacer(0,0.5*cm))
        elements.append(Paragraph(txt, text_style(in_table=False)))
        elements.extend([Spacer(0, 0.5*cm), HRFlowable(width="100%", thickness=2), Spacer(0,1*cm)])
 
        if pdfstyles.show_article_hr:
            elements.append(HRFlowable(width='100%', hAlign='LEFT', thickness=1, spaceBefore=0, spaceAfter=10, color=colors.black))
        else:
            elements.append(Spacer(0,10))

src/m/w/mwlib.rl-HEAD/mwlib/rl/rlwriter.py   mwlib.rl(Download)
from reportlab.platypus.doctemplate import NextPageTemplate, NotAtTopPageBreak
from reportlab.platypus.tables import Table
from reportlab.platypus.flowables import Spacer, HRFlowable, PageBreak, CondPageBreak
from reportlab.platypus.xpreformatted import XPreformatted
from reportlab.lib.units import cm
    def writeChapter(self, chapter):
        hr = HRFlowable(width="80%", spaceBefore=6, spaceAfter=0, color=pdfstyles.chapter_rule_color, thickness=0.5)
 
        title = self.renderArticleTitle(chapter.caption)
        if self.inline_mode == 0 and self.table_nesting==0:
    def renderFailedNode(self, node, infoText):
        txt = node.getAllDisplayText()
        txt = xmlescape(txt)
        elements = []
        elements.extend([Spacer(0, 1*cm), HRFlowable(width="100%", thickness=2), Spacer(0,0.5*cm)])
        elements.append(Paragraph(infoText, text_style(in_table=False)))
        elements.append(Spacer(0,0.5*cm))
        elements.append(Paragraph(txt, text_style(in_table=False)))
        elements.extend([Spacer(0, 0.5*cm), HRFlowable(width="100%", thickness=2), Spacer(0,1*cm)])
 
        if pdfstyles.show_article_hr:
            elements.append(HRFlowable(width='100%', hAlign='LEFT', thickness=1, spaceBefore=0, spaceAfter=10, color=colors.black))
        else:
            elements.append(Spacer(0,10))

src/x/h/xhtml2pdf-0.0.6/xhtml2pdf/tags.py   xhtml2pdf(Download)
from reportlab.lib.units import inch, mm
from reportlab.platypus.doctemplate import NextPageTemplate, FrameBreak
from reportlab.platypus.flowables import Spacer, HRFlowable, PageBreak, Flowable
from reportlab.platypus.frames import Frame
from reportlab.platypus.paraparser import tt2ps, ABag
    def start(self, c):
        c.addPara()
        c.addStory(HRFlowable(
            color=self.attr.color,
            thickness=self.attr.size,

src/o/p/openerp-core-7.0.406/openerp/report/render/rml2pdf/trml2pdf.py   openerp-core(Download)
            thickness_hr=node.get('thickness') or 1
            lineCap_hr=node.get('lineCap') or 'round'
            return platypus.flowables.HRFlowable(width=width_hr,color=color.get(color_hr),thickness=float(thickness_hr),lineCap=str(lineCap_hr))
        else:
            sys.stderr.write('Warning: flowable not yet implemented: %s !\n' % (node.tag,))

src/o/p/openerp-server-5.0.0-3/bin/report/render/rml2pdf/trml2pdf.py   openerp-server(Download)
            thickness_hr=node.hasAttribute('thickness') and node.getAttribute('thickness') or 1
            lineCap_hr=node.hasAttribute('lineCap') and node.getAttribute('lineCap') or 'round'
            return platypus.flowables.HRFlowable(width=width_hr,color=color.get(color_hr),thickness=float(thickness_hr),lineCap=str(lineCap_hr))
        else:
            sys.stderr.write('Warning: flowable not yet implemented: %s !\n' % (node.localName,))

src/v/o/vosae-app-HEAD/www/core/pdf/report.py   vosae-app(Download)
    TableStyle
)
from reportlab.platypus.flowables import HRFlowable
 
from core.pdf.conf import colors
    def hr(self):
        self.story.append(HRFlowable(width='100%', thickness=0.2, color=base_colors.black))
 
    def hr_mini(self):
        self.story.append(HRFlowable(width='100%', thickness=0.2, color=base_colors.grey))

src/p/d/pdfdocument-3.0/pdfdocument/document.py   pdfdocument(Download)
    BaseDocTemplate, Spacer, Frame, PageTemplate, NextPageTemplate, PageBreak,
    Table, KeepTogether, CondPageBreak, Paragraph as _Paragraph)
from reportlab.platypus.flowables import HRFlowable
 
import copy
    def hr(self):
        self.story.append(
            HRFlowable(width='100%', thickness=0.2, color=colors.black))
 
    def hr_mini(self):
        self.story.append(
            HRFlowable(width='100%', thickness=0.2, color=colors.grey))

src/p/d/pdfdocument-HEAD/pdfdocument/document.py   pdfdocument(Download)
    BaseDocTemplate, Spacer, Frame, PageTemplate, NextPageTemplate, PageBreak,
    Table, KeepTogether, CondPageBreak, Paragraph as _Paragraph)
from reportlab.platypus.flowables import HRFlowable
 
import copy
    def hr(self):
        self.story.append(
            HRFlowable(width='100%', thickness=0.2, color=colors.black))
 
    def hr_mini(self):
        self.story.append(
            HRFlowable(width='100%', thickness=0.2, color=colors.grey))

src/m/w/mwlib.rl-0.14.5/mwlib/rl/customflowables.py   mwlib.rl(Download)
import urlparse
 
from reportlab.platypus.flowables import Flowable, Image, HRFlowable, Preformatted, PageBreak, _listWrapOn, _ContainerSpace, _flowableSublist
from reportlab.platypus.paragraph import Paragraph, deepcopy, cleanBlockQuotedText
 

src/m/w/mwlib.rl-HEAD/mwlib/rl/customflowables.py   mwlib.rl(Download)
import urlparse
 
from reportlab.platypus.flowables import Flowable, Image, HRFlowable, Preformatted, PageBreak, _listWrapOn, _ContainerSpace, _flowableSublist
from reportlab.platypus.paragraph import Paragraph, deepcopy, cleanBlockQuotedText
 

  1 | 2  Next