Example #1
0
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
Example #2
0
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
Example #3
0
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
Example #4
0
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
Example #5
0
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
Example #6
0
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
Example #7
0
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
Example #8
0
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
Example #9
0
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
Example #10
0
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
Example #11
0
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
Example #12
0
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