def __init__(self): FPDF.__init__(self) FPDF.AliasNbPages(self, "{nb}") self.toc = [] self.toc_auto_num = [0] self.toc_current_level = 0
def __init__(self, orientation='P', unit='mm', format='A4'): self._toc = [] self._numbering = 0 self._numberingFooter = 0 self._numPageNum = 1 self.in_toc = 0 FPDF.__init__(self, orientation, unit, format)
def __init__(self): FPDF.__init__(self) HTMLMixin.__init__(self) self.add_font('DejaVu', '', 'DejaVuSerif.ttf', uni=True) self.add_font('DejaVu', 'B', 'DejaVuSerif-Bold.ttf', uni=True) self.add_font('DejaVu', 'I', 'DejaVuSerif-Italic.ttf', uni=True) self.set_font('DejaVu', '', 15)
def __init__(self, width, height, random_answer=False): FPDF.__init__(self, unit='mm', format='A4') self.add_page() self.set_font('Arial', 'B', 16) self.width = width self.height = height self.generate_table(width, height, random_answer) self.generate_reference_rectangles()
def __init__(self, theme, theme_dir): FPDF.__init__(self, orientation="L") self.theme = theme self.theme_dir = theme_dir self.set_margins(self.theme["lmargin-slide"], self.theme["tmargin-slide"]) self.img = None self.slide_title = None
def __init__(self, nomcom, pdfconfig, translations): FPDF.__init__(self) self.toc_entries = [] self.appendix_entries = [] self.commune = nomcom self.translations = translations self.pdfconfig = pdfconfig self.communelogopath = 'ecussons\\' + str(self.commune) + '.jpg'
def __init__(self, novel): Bformat = (130, 198) # 'B' format for trade paperbacks PocketBookformat = (108, 175) # PocketBook "pulp" paperback FPDF.__init__(self, 'P', 'mm', PocketBookformat) self.novel = novel self.inStoryText = False self.firstPage = 0
def __init__(self, chapterName='?', imageList=[]): FPDF.__init__(self) self.imageList = imageList self.sizePdfPortraitX = 210 self.sizePdfPortraitY = 240 self.sizePdfLandscapeX = 240 self.sizePdfLandscapeY = 210 self.imageCount = 0 self.chapterName = chapterName + '.pdf'
def __init__(self, batch, grid_data): # Landscape mode FPDF.__init__(self, orientation='L', unit='mm', format='A4') self.grid_data = grid_data['gridData'] self.cell_data = grid_data['cellData'] self.code_name = grid_data['codename'] self.batch = batch self.num_wells, self.num_samples = parse_batch(batch) self.make_table()
def __init__(self, datosPersonal): '''Parametros recibidos:1, Tipo Lista (ficha, nombre, tipov, cedula) Se ejecuta el metodo __init__ de la clase DetrasMyPDF()''' #Se ejecuta el init de la clase Padre FPDF.__init__(self, orientation='P',unit='mm',format=(55,84)) #Se guarda el parametro pasado self.datosPersonal = datosPersonal
def __init__(self, orientation,unit,format): FPDF.__init__(self, orientation=orientation,unit=unit,format=format) self.toc = [] self.numbering = False self.num_page_num = 0 self.toc_page_break_count = 1 self.set_left_margin(10) self.set_right_margin(10) self.do_header = False self.type = None self.toc_length = 0 self.doing_the_list = False self.vcs = [] self.toc_page_num = 2 self.dataset = None self.orientation = orientation self.orientation_changes = [0]
def __init__(self, outdir: str = ".") -> None: FPDF.__init__(self) HTMLMixin.__init__(self) self.logger = logging.getLogger(__name__) self.active_fields = None self.active_fileobject = None self.active_pdf = None self.anchor_element = None self.fileobjects = {} self.modified_reader = None self.rpa_pdf_document = None self.set_output_directory(outdir) listener = RobotLogListener() listener.register_protected_keywords(["RPA.PDF.decrypt"])
def __init__(self, company): FPDF.__init__(self) self.company = company
def __init__(self): ''' Se ejecuta el metodo __init__ de la clase MyPDF() y se e pasa como parametro el tamano del carnet''' FPDF.__init__(self, orientation='P',unit='mm',format=(55,85))
def __init__(self, orientation, format, page_nums): FPDF.__init__(self, orientation=orientation, unit='mm', format=format) self.page_nums_on = page_nums
def __init__(self, pdf_format): FPDF.__init__(self, format=pdf_format)
def __init__(self, json_path): FPDF.__init__(self) with open(json_path) as f: self.data = json.load(f)
def __init__(self, templates, fns, unit='pt', format='Letter'): FPDF.__init__(self, unit=unit, format=format) self.todos = set() self._templates = templates self._fns = fns
def __init__(self, sw, country): FPDF.__init__(self, 'P', 'mm', 'A4') self.sw = sw self.country = country
def __init__(self, *args, **kwargs): FPDF.__init__(self) self.args = args self.kwargs = kwargs self.setup() self.render()
def __init__(self, header_title): FPDF.__init__(self) self.headerText = header_title