def __init__(self, pdf): render.__init__(self) self.pdf = pdf self.output_type = 'pdf'
def __init__(self, pdf, doc_format='pdf'): render.__init__(self) self.content = pdf self.output_type = doc_format
def __init__(self, txt): render.__init__(self) self.txt = txt self.output_type = "txt"
def __init__(self, xls): render.__init__(self) self.xls = xls self.output_type = 'xls'
def __init__(self, xls): render.__init__(self) self.xls = xls self.output_type='xls'
def __init__(self, txt): render.__init__(self) self.txt = txt self.output_type = 'txt'