--- layout: post status: publish published: true title: Bitmask values for w:tblLook w:val attribute in OOXML wordpress_id: 3096 wordpress_url: https://www.martineve.com/?p=3096 date: !binary |- MjAxNC0wNC0xNyAxMzowMToxOCArMDIwMA== date_gmt: !binary |- MjAxNC0wNC0xNyAxMjowMToxOCArMDIwMA== categories: - Technology tags: - Technology comments: [] ---
For my own reference:
0x0020 | Apply first row conditional formatting |
0x0040 | Apply last row conditional formatting |
0x0080 | Apply first column conditional formatting |
0x0100 | Apply last column conditional formatting |
0x0200 | Do not apply row banding conditional formatting |
0x0400 | Do not apply column banding conditional formatting |
If no bitmask on the row, it is inherited from table-level properties.
Seems to be set to 04A0 when heading is on, as opposed to 0480 when off.
Given that 0x0400 and 0x0080 seem to be irrelevant, it looks as though headings are controlled by: 0×0020 Apply first row conditional formatting