summaryrefslogtreecommitdiff
path: root/stack.yaml
diff options
context:
space:
mode:
authorMichael Stahl <michael.stahl@allotropia.de>2023-05-01 14:21:16 +0200
committerJohn MacFarlane <jgm@berkeley.edu>2023-05-01 20:55:37 -0700
commit737446f33d9d8383bdd95d218f77391e0fc08a13 (patch)
tree5d42571a8452a0ea77fb77db12d87fc8220b43b1 /stack.yaml
parent2881c1274018a31e78ccba647cae4c2764fb5dad (diff)
Writers.OpenDocument: handle row header column cells as header cells
The previous commit prevented header column cells from being dropped on the floor, this one changes the paragraph style to "Table_20_Heading". Note that for the test input, the result is not correct: the AnnotatedTable type cannot represent the HTML input properly, as it only has a concept of header rows and header columns, but HTML can have an individual cell that is a header (not 100% sure but they way i read https://html.spec.whatwg.org/#header-and-data-cell-semantics the <th> cell here is both a row header cell and a column header cell while the other cells in the row and column are not header cells), and header cells may even appear "in the middle" of a table (see example in https://html.spec.whatwg.org/#the-th-element). So while this appears like it's the right thing to do for Writer.OpenDocument, it's not clear if this is going to make things better or worse overall. Fixes: #8764
Diffstat (limited to 'stack.yaml')
0 files changed, 0 insertions, 0 deletions