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

All Samples(167)  |  Call(121)  |  Derive(0)  |  Import(46)

src/d/j/django-admin-report-HEAD/example/lib/reportlab/pdfgen/canvas.py   django-admin-report(Download)
def _annFormat(D,color,thickness,dashArray,hradius=0,vradius=0):
    from reportlab.pdfbase.pdfdoc import PDFArray, PDFDictionary
    if color and 'C' not in D:
        D["C"] = PDFArray([color.red, color.green, color.blue])
    if 'Border' not in D:
    def getState(self):
        S = {}
        for t,name in self._c.iteritems():
            S[name] = pdfdoc.PDFDictionary(dict((t,)))
        return S and pdfdoc.PDFDictionary(S) or None
        will not show when printed to a Postscript printer or distilled;
        it is safest to draw your own."""
        from reportlab.pdfbase.pdfdoc import PDFDictionary, PDFName, PDFArray, PDFString
        #tried the documented BS element in the pdf spec but it
        #does not work, and Acrobat itself does not appear to use it!
 
        ann = PDFDictionary(dict=kw)

src/d/j/django-admin-report-HEAD/example/lib/reportlab/lib/pdfencrypt.py   django-admin-report(Download)
    def format(self, document):
        # use a dummy document to bypass encryption
        from reportlab.pdfbase.pdfdoc import DummyDoc, PDFDictionary, PDFString, PDFName
        dummy = DummyDoc()
        dict = {"Filter": PDFName("Standard"),
            dict['R'] = 2
            dict['V'] = 1
        pdfdict = PDFDictionary(dict)
        return pdfdict.format(dummy)
 

src/d/j/django-admin-report-HEAD/example/lib/reportlab/pdfbase/pdfmetrics.py   django-admin-report(Download)
            D["BaseEncoding"] = pdfdoc.PDFName(self.baseEncodingName)
            D["Type"] = pdfdoc.PDFName("Encoding")
            PD = pdfdoc.PDFDictionary(D)
            return PD
 
        fontFileRef = doc.Reference(fontFile, 'fontFile:' + self.pfbFileName)
 
        fontDescriptor = pdfdoc.PDFDictionary({
            'Type': '/FontDescriptor',
            'Ascent':self.ascent,

src/d/j/django-admin-report-HEAD/example/lib/reportlab/pdfbase/ttfonts.py   django-admin-report(Download)
        flags = flags | FF_SYMBOLIC
 
        fontDescriptor = pdfdoc.PDFDictionary({
            'Type': '/FontDescriptor',
            'Ascent': self.ascent,

src/d/j/django-admin-report-HEAD/example/lib/reportlab/pdfbase/cidfonts.py   django-admin-report(Download)
        for k, v in structure.items():
            newDict[k] = structToPDF(v)
        return pdfdoc.PDFDictionary(newDict)
    elif type(structure) in (ListType, TupleType):
        newList = []

src/d/j/django-admin-report-HEAD/example/lib/reportlab/pdfbase/pdfform.py   django-admin-report(Download)
 
import string
from reportlab.pdfbase.pdfdoc import LINEEND, PDFString, PDFStream, PDFDictionary, PDFName
from reportlab.lib.colors import obj_R_G_B
 
def FormFontsDictionary():
    from reportlab.pdfbase.pdfdoc import PDFDictionary
    fontsdictionary = PDFDictionary()
    fontsdictionary.__RefOnly__ = 1
    for (fullname, shortname) in FORMFONTNAMES.items():
def buttonStreamDictionary():
    "everything except the length for the button appearance streams"
    result = PDFDictionary()
    result["SubType"] = "/Form"
    result["BBox"] = "[0 0 16.77036 14.90698]"
    font = PDFDictionary()

src/d/j/django-admin-report-HEAD/example/lib/reportlab/pdfgen/pdfimages.py   django-admin-report(Download)
    def format(self, document):
        """Allow it to be used within pdfdoc framework.  This only
        defines how it is stored, not how it is drawn later."""
 
        dict = pdfdoc.PDFDictionary()

src/s/p/Spherebot-Host-GUI-HEAD/InkscapePortable/App/Inkscape/python/Lib/site-packages/sk1libs/libpdf/pdfgen/canvas.py   Spherebot-Host-GUI(Download)
def _annFormat(D,color,thickness,dashArray,hradius=0,vradius=0):
    from reportlab.pdfbase.pdfdoc import PDFArray, PDFDictionary
    if color and not D.has_key('C'):
        D["C"] = PDFArray([color.red, color.green, color.blue])
    if not D.has_key('Border'):
    def getState(self):
        S = {}
        for t,name in self._c.iteritems():
            S[name] = pdfdoc.PDFDictionary(dict((t,)))
        return S and pdfdoc.PDFDictionary(S) or None
        will not show when printed to a Postscript printer or distilled;
        it is safest to draw your own."""
        from reportlab.pdfbase.pdfdoc import PDFDictionary, PDFName, PDFArray, PDFString
        #tried the documented BS element in the pdf spec but it
        #does not work, and Acrobat itself does not appear to use it!
 
        ann = PDFDictionary(dict=kw)

src/r/e/reportlab-3.1.8/src/reportlab/pdfgen/canvas.py   reportlab(Download)
def _annFormat(D,color,thickness,dashArray,hradius=0,vradius=0):
    from reportlab.pdfbase.pdfdoc import PDFArray, PDFDictionary
    if color and 'C' not in D:
        D["C"] = PDFArray([color.red, color.green, color.blue])
    if 'Border' not in D:
    def getState(self):
        S = {}
        for t,name in self._c.items():
            S[name] = pdfdoc.PDFDictionary(dict((t,)))
        return S and pdfdoc.PDFDictionary(S) or None
        will not show when printed to a Postscript printer or distilled;
        it is safest to draw your own."""
        from reportlab.pdfbase.pdfdoc import PDFDictionary, PDFName, PDFArray, PDFString
        #tried the documented BS element in the pdf spec but it
        #does not work, and Acrobat itself does not appear to use it!
 
        ann = PDFDictionary(dict=kw)

src/m/w/mwlib.ext-0.13.2/upstream-src/src/reportlab/pdfgen/canvas.py   mwlib.ext(Download)
def _annFormat(D,color,thickness,dashArray,hradius=0,vradius=0):
    from reportlab.pdfbase.pdfdoc import PDFArray, PDFDictionary
    if color and 'C' not in D:
        D["C"] = PDFArray([color.red, color.green, color.blue])
    if 'Border' not in D:
    def getState(self):
        S = {}
        for t,name in self._c.iteritems():
            S[name] = pdfdoc.PDFDictionary(dict((t,)))
        return S and pdfdoc.PDFDictionary(S) or None
        will not show when printed to a Postscript printer or distilled;
        it is safest to draw your own."""
        from reportlab.pdfbase.pdfdoc import PDFDictionary, PDFName, PDFArray, PDFString
        #tried the documented BS element in the pdf spec but it
        #does not work, and Acrobat itself does not appear to use it!
 
        ann = PDFDictionary(dict=kw)

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