MCPcopy Create free account

hub / github.com/Distrotech/reportlab / functions

Functions4,293 in github.com/Distrotech/reportlab

↓ 510 callersMethodappend
Appends an object to our platypus "story" (using ReportLab's terminology).
demos/rlzope/rlzope.py:120
↓ 128 callersMethodadd
(self,what)
src/reportlab/graphics/charts/barcharts.py:503
↓ 112 callersMethodadd
Appends non-None child node to the 'contents' attribute. In addition, if a name is provided, it is subsequently accessible by name
src/reportlab/graphics/shapes.py:343
↓ 108 callersMethodsplit
(self, availableWidth, availableHeight)
src/reportlab/platypus/para.py:1323
↓ 96 callersMethodsetFont
Sets the font. If leading not specified, defaults to 1.2 x font size. Raises a readable exception if an illegal font is supplied. Fo
src/reportlab/pdfgen/canvas.py:1496
↓ 83 callersMethoddrawString
Draws a string in the current text styles.
src/reportlab/pdfgen/canvas.py:1397
↓ 77 callersFunctionoutputfile
This works out where to write test output. If running code in a locked down file system, this will be a temp directory; otherwise, the output
src/reportlab/lib/testutils.py:74
↓ 71 callersMethodrestoreState
restore the graphics state to the matching saved state (see saveState).
src/reportlab/pdfgen/canvas.py:1207
↓ 71 callersMethodsaveState
Save the current graphics state to be restored later by restoreState. For example: canvas.setFont("Helvetica", 20) ca
src/reportlab/pdfgen/canvas.py:1192
↓ 67 callersFunctionfp_str
convert separate arguments (or single sequence arg) into space separated numeric strings
src/reportlab/lib/utils.py:231
↓ 61 callersFunctionsetOutDir
Is it a writable file system distro being invoked within test directory? If so, can write test output here. If not, it had better go in a te
src/reportlab/lib/testutils.py:32
↓ 58 callersMethodget
(self,k,dv=None)
src/reportlab/lib/utils.py:77
↓ 55 callersFunctionprintLocation
(depth=1)
src/reportlab/lib/testutils.py:84
↓ 54 callersFunctionmakeSuiteForClasses
Return a test suite with tests loaded from provided classes.
src/reportlab/lib/testutils.py:90
↓ 52 callersMethodsort
(self)
src/reportlab/graphics/charts/barcharts.py:509
↓ 49 callersMethodsave
Saves and close the PDF document in the file. If there is current data a ShowPage is executed automatically. After this operatio
src/reportlab/pdfgen/canvas.py:1078
↓ 45 callersMethodinsert
Inserts sub-node n in contents at specified location
src/reportlab/graphics/shapes.py:357
↓ 44 callersFunctiongetSampleStyleSheet
Returns a stylesheet object
src/reportlab/lib/styles.py:204
↓ 43 callersMethodrect
draws a rectangle with lower left corner at (x,y) and width and height as given.
src/reportlab/pdfgen/canvas.py:1295
↓ 39 callersMethodupdate
(self,D)
src/reportlab/lib/utils.py:53
↓ 35 callersMethodshowPage
Close the current page and possibly start on a new page.
src/reportlab/pdfgen/canvas.py:482
↓ 33 callersMethodadd
add the file/string fp to the destinations
src/reportlab/lib/logger.py:17
↓ 33 callersMethodgetPageNumber
get the page number for the current page being generated.
src/reportlab/pdfgen/canvas.py:1074
↓ 33 callersFunctionlist
(sequence)
src/reportlab/pdfbase/pdfdoc.py:39
↓ 32 callersMethodclose
(self)
src/reportlab/lib/xmllib.py:108
↓ 31 callersMethodconfigure
Let the axis configure its scale and range based on the data. Called after setPosition. Let it look at a list of lists of numbers det
src/reportlab/graphics/charts/axes.py:884
↓ 31 callersMethodhas_key
(self,a)
src/reportlab/pdfbase/pdfdoc.py:646
↓ 30 callersMethodsetPosition
(self, x, y, length)
src/reportlab/graphics/charts/axes.py:878
↓ 28 callersFunctionPDFName
(data,lo=chr(0x21),hi=chr(0x7e))
src/reportlab/pdfbase/pdfdoc.py:623
↓ 28 callersMethodline
draw a line segment from (x1,y1) to (x2,y2) (with color, thickness and other attributes determined by the current graphics state).
src/reportlab/pdfgen/canvas.py:1232
↓ 26 callersFunctiongetStory
()
tools/docco/rl_doc_utils.py:414
↓ 25 callersFunctionParagraph
Paragraph(text, style, bulletText=None) intended to be like a platypus Paragraph but better.
src/reportlab/platypus/para.py:2072
↓ 25 callersMethodReference
(self, object, name=None, InstanceType=InstanceType)
src/reportlab/pdfbase/pdfdoc.py:483
↓ 25 callersMethodsave
Saves copies of self in desired location and formats. Multiple formats can be supported in one call the extra keywords can be of the
src/reportlab/graphics/shapes.py:643
↓ 24 callersMethodhas_key
(self,k)
src/reportlab/lib/utils.py:83
↓ 23 callersFunctiongetStringIO
unified StringIO instance interface
src/reportlab/lib/utils.py:350
↓ 23 callersMethodsetLineWidth
(self, width)
src/reportlab/pdfgen/canvas.py:1524
↓ 22 callersMethoddrawCentredString
Draws a string centred on the x coordinate. We're British, dammit, and proud of our spelling!
src/reportlab/pdfgen/canvas.py:1411
↓ 22 callersMethodmoveTo
(self, x, y)
src/reportlab/graphics/shapes.py:925
↓ 22 callersMethodwrite
write text to all the destinations
src/reportlab/lib/logger.py:35
↓ 21 callersMethodaddPageTemplates
add one or a sequence of pageTemplates
src/reportlab/platypus/doctemplate.py:510
↓ 21 callersMethoddecode
(self,input,errors='strict',charmap_decode=codecs.charmap_decode,decoding_map=decoding_map)
src/reportlab/pdfbase/rl_codecs.py:997
↓ 19 callersMethodcopy
(self)
src/reportlab/graphics/shapes.py:920
↓ 19 callersMethoddrawText
Draws a text object
src/reportlab/pdfgen/canvas.py:1583
↓ 19 callersMethodlineTo
(self, x, y)
src/reportlab/graphics/shapes.py:929
↓ 19 callersMethodsetStrokeColorRGB
Set the stroke color using positive color description (Red,Green,Blue). Takes 3 arguments between 0.0 and 1.0
src/reportlab/pdfgen/textobject.py:49
↓ 19 callersMethodtranslate
move the origin from the current (0,0) point to the (dx,dy) point (with respect to the current graphics state).
src/reportlab/pdfgen/canvas.py:1162
↓ 18 callersMethod_pop
(self,**kw)
src/reportlab/platypus/paraparser.py:936
↓ 18 callersMethodhas_key
(self,key)
src/reportlab/graphics/widgetbase.py:252
↓ 18 callersMethodparse
Given a formatted string will return a list of ParaFrag objects with their calculated widths. If errors occur None will be returned an
src/reportlab/platypus/paraparser.py:1025
↓ 18 callersMethodremove
remove the file/string fp from the destinations
src/reportlab/lib/logger.py:25
↓ 18 callersMethodsetFillColor
(self, color)
src/reportlab/graphics/renderPS.py:209
↓ 18 callersMethodwrite
(self, skeleton=None)
tools/docco/docpy.py:507
↓ 17 callersMethod_push
(self,**attr)
src/reportlab/platypus/paraparser.py:931
↓ 17 callersFunctiondisc
(text, klass=Paragraph, style=discussiontextstyle)
tools/docco/rl_doc_utils.py:120
↓ 17 callersMethodstringWidth
gets width of a string in the given font and size
src/reportlab/pdfgen/canvas.py:1517
↓ 16 callersMethodencode
encode a string, stream, text
src/reportlab/pdfbase/pdfdoc.py:121
↓ 16 callersMethodencode
ArcIV encode string S
src/reportlab/lib/arciv.py:61
↓ 16 callersFunctionformat
Indirection step for formatting. Ensures that document parameters alter behaviour of formatting for all elements.
src/reportlab/pdfbase/pdfdoc.py:91
↓ 16 callersFunctionmakeMarker
(name,**kw)
src/reportlab/graphics/widgets/markers.py:231
↓ 16 callersMethodsearch
(self)
src/reportlab/lib/fontfinder.py:218
↓ 15 callersMethod_arg
What's this for???
tools/pythonpoint/stdparser.py:215
↓ 15 callersFunctionensure_stack
make sure that value stack has enough room for pushing n values. */
src/rl_addons/renderPM/gt1/gt1-parset1.c:504
↓ 15 callersMethodgetProperties
Interface to make it easy to extract automatic documentation
src/reportlab/graphics/shapes.py:244
↓ 15 callersFunctionhexText
a legitimate way to show strings in PDF
src/reportlab/lib/pdfencrypt.py:181
↓ 15 callersFunctionquickfix
inside text find any subsequence of form $subsequence$. Format the subsequence as code. If similarly if text contains ^arg^ format the
tools/docco/rl_doc_utils.py:42
↓ 15 callersMethodscale
Scale the horizontal dimension by x and the vertical by y (with respect to the current graphics state). For example canvas.scale
src/reportlab/pdfgen/canvas.py:1167
↓ 15 callersMethodsetFillColorRGB
Set the fill color using positive color description (Red,Green,Blue). Takes 3 arguments between 0.0 and 1.0
src/reportlab/pdfgen/textobject.py:43
↓ 15 callersFunctionsplit
(text, delim=None)
src/reportlab/platypus/paragraph.py:59
↓ 14 callersMethod_add
effectively setattr(obj,name,value), but takes care of things with _attrMaps etc
src/reportlab/graphics/shapes.py:794
↓ 14 callersFunctionheading2
Used to be 'lesson
tools/docco/rl_doc_utils.py:190
↓ 14 callersMethodmultiBuild
Makes multiple passes until all indexing flowables are happy.
src/reportlab/platypus/doctemplate.py:926
↓ 14 callersMethodseek
Moves read pointer to a given offset in file.
src/reportlab/pdfbase/ttfonts.py:292
↓ 14 callersMethodsetProperties
Supports the bulk setting if properties from, for example, a GUI application or a config file.
src/reportlab/graphics/shapes.py:257
↓ 13 callersMethodaddOutlineEntry
Adds a new entry to the outline at given level. If LEVEL not specified, entry goes at the top level. If level specified, it must be
src/reportlab/pdfgen/canvas.py:340
↓ 13 callersMethodbeginText
Returns a fresh text object. Text objects are used to add large amounts of text. See textobject.PDFTextObject
src/reportlab/pdfgen/canvas.py:1578
↓ 13 callersMethodbuild
(self, flowables1, flowables2)
tests/test_platypus_general.py:539
↓ 13 callersMethodceval
(self,tag,args,name)
tools/pythonpoint/stdparser.py:226
↓ 13 callersFunctioneg
(text,before=0.1,after=0)
tools/docco/rl_doc_utils.py:140
↓ 13 callersMethodscale
Converts a numeric value to a plotarea position. The chart first configures the axis, then asks it to
src/reportlab/graphics/charts/axes.py:1213
↓ 13 callersMethodsetText
Set the text property. May contain embedded newline characters. Called by the containing chart or axis.
src/reportlab/graphics/charts/textlabels.py:153
↓ 13 callersFunctiontransformNode
Transform a DOM node into new node and copy selected attributes. Creates a new DOM node with tag name 'newTag' for document 'doc' and copies
src/reportlab/graphics/renderSVG.py:64
↓ 12 callersMethod__init__
(self,**kw)
src/reportlab/graphics/barcode/widgets.py:204
↓ 12 callersFunctionart_dprint
* art_dprint: Print the debug message to stderr. * @fmt: The printf-style format for the debug message. * * Used for generating debug output. **/
src/rl_addons/renderPM/libart_lgpl/art_misc.c:69
↓ 12 callersFunctionart_svp_from_vpath
* art_svp_from_vpath: Convert a vpath to a sorted vector path. * @vpath: #ArtVPath to convert. * * Converts a vector path into sorted vector path f
src/rl_addons/renderPM/libart_lgpl/art_svp_vpath.c:66
↓ 12 callersMethodbookmarkPage
This creates a bookmark to the current page which can be referred to with the given key elsewhere. PDF offers very fine grai
src/reportlab/pdfgen/canvas.py:590
↓ 12 callersMethodcompileComponent
(self, parsedText, program)
src/reportlab/platypus/para.py:1464
↓ 12 callersMethodflush
(self)
src/reportlab/lib/xmllib.py:682
↓ 12 callersFunctionrl_isfile
(fn,os_path_isfile=os.path.isfile)
src/reportlab/lib/utils.py:457
↓ 12 callersMethodsetStyle
(self, tblstyle)
src/reportlab/platypus/tables.py:917
↓ 11 callersMethod__init__
(self, x1, y1, x2, y2, **kw)
src/reportlab/graphics/shapes.py:847
↓ 11 callersFunctionart_svp_free
* art_svp_free: Free an #ArtSVP structure. * @svp: #ArtSVP to free. * * Frees an #ArtSVP structure and all the segments in it. **/
src/rl_addons/renderPM/libart_lgpl/art_svp.c:111
↓ 11 callersMethodend
(self)
tools/docco/docpy.py:519
↓ 11 callersFunctionheading3
Used to be most of the plain old 'head' sections
tools/docco/rl_doc_utils.py:196
↓ 11 callersMethodrotate
Canvas.rotate(theta) Rotate the canvas by the angle theta (in degrees).
src/reportlab/pdfgen/canvas.py:1173
↓ 11 callersMethodsetFillColor
Takes a color object, allowing colors to be referred to by name
src/reportlab/pdfgen/textobject.py:55
↓ 11 callersMethodsetStrokeColor
Takes a color object, allowing colors to be referred to by name
src/reportlab/pdfgen/textobject.py:84
↓ 11 callersMethodsetTextOrigin
(self, x, y)
src/reportlab/pdfgen/textobject.py:167
↓ 11 callersMethodtextLines
prints multi-line or newlined strings, moving down. One comon use is to quote a multi-line block in your Python code; since this may
src/reportlab/pdfgen/textobject.py:396
↓ 11 callersFunctiontoColor
try to map an arbitrary arg to a color instance
src/reportlab/lib/colors.py:581
next →1–100 of 4,293, ranked by callers