コード例 #1
0
 def __init__(self):
     OdmlTable.__init__(self)
     self.sheetname = "sheet1"
     self._marked_cols = ["Value"]
     self.document_info_style = XlsStyle(backcolor='white',
                                         fontcolor='gray80',
                                         fontstyle='bold 1')
     self.header_style = XlsStyle(backcolor='gray80',
                                  fontcolor='white',
                                  fontstyle='bold 1')
     self.first_style = XlsStyle(backcolor='dark_blue',
                                 fontcolor='white',
                                 fontstyle='')
     self.second_style = XlsStyle(backcolor='green',
                                  fontcolor='white',
                                  fontstyle='')
     self.first_marked_style = XlsStyle(backcolor='light_blue',
                                        fontcolor='black',
                                        fontstyle='')
     self.second_marked_style = XlsStyle(backcolor='lime',
                                         fontcolor='black',
                                         fontstyle='')
     self.highlight_style = XlsStyle(backcolor='red',
                                     fontcolor='black',
                                     fontstyle='')
     self._highlight_defaults = False
     self._pattern = 'alternating'
     self._changing_point = 'sections'
コード例 #2
0
 def __init__(self):
     OdmlTable.__init__(self)