def data_seq_style(font_colour=0x08): style = xlwt.XFStyle() style.font = base_xls.font(bold=True, colour=font_colour) style.alignment = base_xls.alignment() style.borders = base_xls.borders(line=0x01) style.pattern = base_xls.pattern(solid_pattern=0x01, fore_colour=0x2A) return style
def section_title_style(): style = xlwt.XFStyle() style.font = base_xls.font(bold=True, colour=0x30, height=0x00EE) style.alignment = base_xls.alignment() style.borders = base_xls.borders(line=0x01) style.pattern = base_xls.pattern(solid_pattern=0x00, fore_colour=0x2A) return style
def data_title_style(): style = xlwt.XFStyle() style.font = base_xls.font(bold=True, colour=0x0C) style.alignment = base_xls.alignment() style.borders = base_xls.borders(line=0x01) style.pattern = base_xls.pattern(solid_pattern=0x01, fore_colour=0x29) return style
def description_style(): style = xlwt.XFStyle() style.font = base_xls.font(bold=True, colour=0x11) style.alignment = base_xls.alignment(inde=0) style.alignment.wrap = 1 style.borders = base_xls.borders(line=0x01) style.pattern = base_xls.pattern(solid_pattern=0x00, fore_colour=0x16) return style
def cell_style(): ''' ''' style = xlwt.XFStyle() style.font = base_xls.font(bold=True, colour=0x08) style.alignment = base_xls.alignment(horz=0x01) style.borders = base_xls.borders(line=0x01) style.pattern = base_xls.pattern(solid_pattern=0x01, fore_colour=0x2B) return style
def info_style(): ''' ''' style = xlwt.XFStyle() style.font = base_xls.font(bold=True, colour=0x08) style.alignment = base_xls.alignment() style.alignment.wrap = 1 style.borders = base_xls.borders(line=0x01) style.pattern = base_xls.pattern(solid_pattern=0x00, fore_colour=0x2A) return style