Source code for PDFReport.enums from enum import Enum [docs] class PageOrientation(Enum): PORTRAIT = 'P' LANDSCAPE = 'L' [docs] class PageSize(Enum): SIZE_A3 = 'A3' SIZE_A4 = 'A4' SIZE_A5 = 'A5' SIZE_LETTER = 'Letter' SIZE_LEGAL = 'Legal' [docs] class HAlign(Enum): LEFT = 0 RIGHT = 1 CENTER = 2 [docs] class VAlign(Enum): TOP = 0 BOTTOM = 1 MIDDLE = 2 [docs] class TextAlign(Enum): LEFT = 0 RIGHT = 1 CENTER = 2 JUST = 3 [docs] class Direction(Enum): VERTICAL = 'V' HORIZONTAL = 'H' [docs] class LineStyle(Enum): SOLID = 0 DASH = 1 DOT = 2 [docs] class BarcodeType(Enum): QRCODE = 1 CODE39 = 2 CODE128 = 3 EAN13 = 4 EAN8 = 5 ISBN13 = 6 ISBN10 = 7 ISSN = 8 UPCA = 9 EAN14 = 10 [docs] class RowType(Enum): DETAIL = 'D' HEADER = 'H' SUBTOTAL = 'S' TOTAL = 'T'