pdf.flowables

Module Contents

Classes

InlinePDF

A flowable containing a PDF.

class pdf.flowables.InlinePDF(pdf_file: StrOrBytesPath | SupportsRead[bytes], width: float)[source]

Bases: reportlab.platypus.Flowable

A flowable containing a PDF.

wrap(*args: object) tuple[float, float][source]

This will be called by the enclosing frame before objects are asked their size, drawn or whatever. It returns the size actually used.

draw() None[source]