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

All Samples(369)  |  Call(276)  |  Derive(3)  |  Import(90)

src/e/d/eden-HEAD/modules/s3/s3codecs/pdf.py   eden(Download)
    from reportlab.platypus.frames import Frame
    from reportlab.platypus import Spacer, PageBreak, FrameBreak, Paragraph
    from reportlab.platypus import Table, TableStyle
    from reportlab.lib.styles import getSampleStyleSheet, ParagraphStyle
    from reportlab.lib.units import inch
 
        self.style = self.tableStyle(0, rowCnt, endCol)
        tempTable = Table(data,
                          repeatRows=1,
                          style=self.style,
            self.style = self.tableStyle(startRow, rowCnt, endCol)
            (page, self.style) = self.pdf.addCellStyling(page, self.style)
            p = Table(page, repeatRows=1,
                      style=self.style,
                      hAlign="LEFT",
        if content == []:
            return None
        table = Table(content,
                      style=style,
                      hAlign="LEFT",

src/s/s/ssf-HEAD/modules/s3/s3pdf.py   ssf(Download)
    from reportlab.platypus.frames import Frame
    from reportlab.platypus import Spacer, PageBreak, Paragraph
    from reportlab.platypus import Table, TableStyle
    from reportlab.lib.styles import getSampleStyleSheet, ParagraphStyle
    from reportlab.lib.units import inch
    def addPlainTable(self, text, style=None, append=True):
        table = Table(text, style=style)
        if append:
            self.content.append(table)
        return table
        """
        (list,style) = self.addCellStyling(table, style)
        return Table(list,
                     colWidths=colWidths,
                     rowHeights=rowHeights,
 
        self.style = self.tableStyle(0, rowCnt, endCol)
        tempTable = Table(self.data, repeatRows=1,
                          style=self.style, hAlign="LEFT"
                         )
            self.style = self.tableStyle(startRow, rowCnt, endCol)
            (page,self.style) = self.pdf.addCellStyling(page, self.style)
            p = Table(page, repeatRows=1,
                      style=self.style,
                      hAlign="LEFT",

src/i/t/itools-0.75.1/pdf/pml.py   itools(Download)
from reportlab.lib.units import cm
from reportlab.platypus import XPreformatted, PageBreak, Image, Indenter
from reportlab.platypus import Table, tableofcontents, Spacer
from reportlab.platypus.flowables import HRFlowable
from reportlab.platypus.tableofcontents import TableOfContents
    def get_header(self):
        if self.header_as_table is False:
            self.header = [Table([[self.header]])]
            self.header_as_table = True
        return self.header
    def get_footer(self):
        if self.footer_as_table is False:
            self.footer = [Table([[self.footer]])]
            self.footer_as_table = True
        return self.footer
                # raise LayoutError if too big
                if temp_story:
                    temp_story.append(Table([[story]]))
                story = temp_story
                temp_story = None
            story.append(Spacer(0, self.margin_top))
 
        table = Table(self.content, style=self.style, colWidths=self.colWidths,
                      rowHeights=self.rowHeights, repeatRows=self.split,
                      **self.attrs)

src/i/t/itools-HEAD/pdf/pml.py   itools(Download)
from reportlab.lib.units import cm
from reportlab.platypus import XPreformatted, PageBreak, Image, Indenter
from reportlab.platypus import Table, tableofcontents, Spacer
from reportlab.platypus.flowables import HRFlowable
from reportlab.platypus.tableofcontents import TableOfContents
    def get_header(self):
        if self.header_as_table is False:
            self.header = [Table([[self.header]])]
            self.header_as_table = True
        return self.header
    def get_footer(self):
        if self.footer_as_table is False:
            self.footer = [Table([[self.footer]])]
            self.footer_as_table = True
        return self.footer
                # raise LayoutError if too big
                if temp_story:
                    temp_story.append(Table([[story]]))
                story = temp_story
                temp_story = None
            story.append(Spacer(0, self.margin_top))
 
        table = Table(self.content, style=self.style, colWidths=self.colWidths,
                      rowHeights=self.rowHeights, repeatRows=self.split,
                      **self.attrs)

src/e/d/eden-HEAD/modules/s3/s3pdf.py   eden(Download)
    from reportlab.platypus.frames import Frame
    from reportlab.platypus import Spacer, PageBreak, Paragraph
    from reportlab.platypus import Table, TableStyle
    from reportlab.lib.styles import getSampleStyleSheet, ParagraphStyle
    from reportlab.lib.units import inch
    def addPlainTable(self, text, style=None, append=True):
        """
        """
 
        table = Table(text, style=style)
 
        (list, style) = self.addCellStyling(table, style)
        return Table(list,
                     colWidths=colWidths,
                     rowHeights=rowHeights,
                ]
        (self.rheader,style) = self.pdf.addCellStyling(self.rheader, style)
        table = Table(self.rheader,
                      repeatRows=1,
                      style=style,

src/c/o/Course-Qualifier-HEAD/coursequalifier/lib/pdf_schedule.py   Course-Qualifier(Download)
import logging
import cStringIO
from xml.sax import saxutils
from reportlab.pdfgen import canvas
from reportlab.platypus import Table, Paragraph, BaseDocTemplate, SimpleDocTemplate, Spacer
        colWidths = [1.2*cm] + [2.3*cm] * len(validDays )
        rowHeights = [0.5*cm]* (len( headers) + len(data ))
        return Table(headers + data, style=style, colWidths=colWidths, rowHeights=rowHeights)
 
    def sectionInformation(self, sectionInfo):
            i += 1
            if i >= split:
                tables.append( Table( [newData], style=style, colWidths=[colWidth]*len(newData)  ) )
                newData = []
                i = 0
 
        if len( newData ) > 0 :
            tables.append( Table( [newData], style=style, colWidths = [colWidth]*len(newData)) )

src/f/l/flightloggin2-HEAD/pdf/pdf.py   flightloggin2(Download)
 
from reportlab.lib.styles import getSampleStyleSheet
from reportlab.platypus import Table, TableStyle, Paragraph, SimpleDocTemplate
from reportlab.lib.units import inch
from reportlab.lib.pagesizes import landscape, letter
        # Create the table with the necessary style, and add it to the
        # elements list.
        table = Table(data,
                      rowHeights=rows*[0.10*inch],
                      style=self.ts,

src/t/e/template2pdf-0.6.5/template2pdf/t2p/trml2pdf.py   template2pdf(Download)
                          for f in node.getAttribute('rowHeights').split(',')]
        table = platypus.Table(
            data=data, colWidths=colwidths, rowHeights=rowheights,
            **(utils.getAttrsAsDict(node,
                                    ['splitByRow'],

src/k/s/kset-org-HEAD/members/membership.py   kset-org(Download)
from reportlab.pdfbase.ttfonts import TTFont
from reportlab.lib.pagesizes import A4
from reportlab.platypus import SimpleDocTemplate, Paragraph, Spacer, Table, TableStyle, PageBreak
from reportlab.lib.styles import ParagraphStyle
 
 
        self.__flow.append(Spacer(1, 1*cm))
        self.__flow.append(Table([''], colWidths=19*cm, style=TableStyle(style)))
        self.__flow.append(Spacer(1, 1*cm))
 
        data.append(['Ukupno:', '', '%.2f kn' % summarum])
 
        self.__flow.append(Table(data, colWidths=(1*cm, 14*cm, 3*cm), style=TableStyle(self.__tStyle)))
        self.__flow.append(Spacer(1, 1*cm))
 

src/i/n/indico-HEAD/indico/MaKaC/PDFinterface/conference.py   indico(Download)
from reportlab.lib.enums import TA_JUSTIFY, TA_CENTER, TA_LEFT, TA_RIGHT
from reportlab.rl_config import defaultPageSize
from reportlab.platypus import Table,TableStyle,KeepTogether, XPreformatted
from reportlab.pdfgen import canvas
from MaKaC.common.timezoneUtils import DisplayTZ,nowutc
            captionText=escape(contrib.getDescription())
            lt.append([self._fontify(captionText,9)])
            captionAndSpeakers = Table(lt,colWidths=(None),style=self._tsSpk)
            if colorCell != "":
                l.append([colorCell,date,captionAndSpeakers])
            else:
                l.append([date,captionAndSpeakers])
        else:
            caption = Table(lt,colWidths=(None),style=self._tsSpk)
            if len(spkList)==0:
                spkList=[[""]]
            speakers=Table(spkList,style=self._tsSpk)
            if colorCell != "":
                l.append([colorCell,date,caption,speakers])
            if self._ttPDFFormat.showContribAbstract():
                lt = spkList+lt
                captionAndSpeakers = Table(lt,colWidths=(None),style=self._tsSpk)
                if colorCell != "":
                    l.append([colorCell,"",captionAndSpeakers])

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