oioioi.printing.pdf

Module Contents

Classes

PrintPDF

FPDF object with two column layout, header and footer

Functions

generator(source, header)

Attributes

oioioi.printing.pdf.FONT_DIR[source]
oioioi.printing.pdf.FONT[source]
oioioi.printing.pdf.FONT_SIZE[source]
oioioi.printing.pdf.MM_IN_POINT = 0.35[source]
exception oioioi.printing.pdf.PageLimitExceeded[source]

Bases: Exception

Common base class for all non-exit exceptions.

class oioioi.printing.pdf.PrintPDF(*args, **kwargs)[source]

Bases: fpdf.FPDF

FPDF object with two column layout, header and footer

set_col(col)[source]
accept_page_break()[source]

Accept automatic page break or not

gray_cell(*args, **kwargs)[source]
header()[source]

Header to be implemented in your own inherited class

footer()[source]

Footer to be implemented in your own inherited class

oioioi.printing.pdf.generator(source, header)[source]