Construct the HTML table string with the 'border' and 'color' settings.
(self, border=1, color='white', line_color='black')
| 101 | self.col_count += 1 |
| 102 | |
| 103 | def to_string(self, border=1, color='white', line_color='black'): |
| 104 | """ Construct the HTML table string with the 'border' and 'color' settings. """ |
| 105 | if self.col_count == 0 and self.row_count == 0: |
| 106 | if self.is_empty: |
| 107 | self.add_value(utils.unquoted_str(''), border=0) |
| 108 | return html_table_frame(self.html, border, color, line_color, spacing=0) |
| 109 | return html_table_frame(self.html, border, color, line_color) |
| 110 | |
| 111 | def get_column(self): |
| 112 | """ Get the number of columns in the table. """ |
no test coverage detected