(cls, col_count: int, col_width: Length)
| 234 | |
| 235 | @classmethod |
| 236 | def _tblGrid_xml(cls, col_count: int, col_width: Length) -> str: |
| 237 | xml = " <w:tblGrid>\n" |
| 238 | for _ in range(col_count): |
| 239 | xml += ' <w:gridCol w:w="%d"/>\n' % col_width.twips |
| 240 | xml += " </w:tblGrid>\n" |
| 241 | return xml |
| 242 | |
| 243 | @classmethod |
| 244 | def _trs_xml(cls, row_count: int, col_count: int, col_width: Length) -> str: |