def __init__(self, querySet, reportElements): Report.__init__(self, querySet) self.__reportElements = reportElements #Set Root Report Properties self.title=self.__reportElements.title self.author=self.__reportElements.author self.subject=self.__reportElements.subject self.page_size=self.__reportElements.page_size self.margin_top=self.__reportElements.margin_top self.margin_bottom=self.__reportElements.margin_bottom self.margin_left=self.__reportElements.margin_left self.margin_right=self.__reportElements.margin_right self.groups=self.__reportElements.groups #Set Band Properties self.setHeaderElements() self.setDetailElemts() self.setFooterElements()
def __init__(self, queryset=None, T=None): " Initialise parent class & make any necessary modifications " Report.__init__(self, queryset) self.T = T
def __init__(self, queryset=None, fpn=1): print "INIT DE REPORTE" Report.__init__(self, queryset=queryset) self.first_page_number = fpn print self.first_page_number
def __init__(self, queryset=None): self.band_page_header.elements = self.band_page_header.bElements + self.header_elements self.band_page_header.height = self.header_height Report.__init__(self, queryset=queryset)