Emily Bourke
56b211120c
Docx reader: Support new table features.
...
* Column spans
* Row spans
- The spec says that if the `val` attribute is ommitted, its value
should be assumed to be `continue`, and that its values are
restricted to {`restart`, `continue`}. If the value has any other
value, I think it seems reasonable to default it to `continue`. It
might cause problems if the spec is extended in the future by adding
a third possible value, in which case this would probably give
incorrect behaviour, and wouldn't error.
* Allow multiple header rows
* Include table description in simple caption
- The table description element is like alt text for a table (along
with the table caption element). It seems like we should include
this somewhere, but I’m not 100% sure how – I’m pairing it with the
simple caption for the moment. (Should it maybe go in the block
caption instead?)
* Detect table captions
- Check for caption paragraph style /and/ either the simple or
complex table field. This means the caption detection fails for
captions which don’t contain a field, as in an example doc I added
as a test. However, I think it’s better to be too conservative: a
missed table caption will still show up as a paragraph next to the
table, whereas if I incorrectly classify something else as a table
caption it could cause havoc by pairing it up with a table it’s
not at all related to, or dropping it entirely.
* Update tests and add new ones
Partially fixes : #6316
2021-05-28 20:15:23 +02:00
..
2021-05-28 20:15:23 +02:00
2017-08-06 19:36:25 -07:00
2021-05-28 20:15:23 +02:00
2019-09-21 11:37:21 -07:00
2018-04-17 09:29:54 -04:00
2017-02-04 12:56:30 +01:00
2017-02-04 12:56:30 +01:00
2019-02-06 21:14:46 -05:00
2020-04-28 07:53:06 -07:00
2017-02-04 12:56:30 +01:00
2018-04-25 17:00:21 -07:00
2018-04-25 17:00:21 -07:00
2017-02-04 12:56:30 +01:00
2017-02-04 12:56:30 +01:00
2017-02-04 12:56:30 +01:00
2017-02-04 12:56:30 +01:00
2017-02-04 12:56:30 +01:00
2017-02-04 12:56:30 +01:00
2017-12-04 14:56:57 -08:00
2019-09-21 11:18:15 -07:00
2019-09-21 11:18:15 -07:00
2018-01-27 11:46:41 -05:00
2018-02-22 13:05:44 -05:00
2019-09-20 22:13:29 -07:00
2017-02-04 12:56:30 +01:00
2017-02-04 12:56:30 +01:00
2019-09-21 11:37:21 -07:00
2018-04-25 17:00:21 -07:00
2017-02-04 12:56:30 +01:00
2017-02-04 12:56:30 +01:00
2017-02-04 12:56:30 +01:00
2019-01-26 16:14:35 -08:00
2019-01-26 16:14:35 -08:00
2018-04-25 17:00:21 -07:00
2017-02-04 12:56:30 +01:00
2017-02-04 12:56:30 +01:00
2017-02-04 12:56:30 +01:00
2017-02-04 12:56:30 +01:00
2017-02-04 12:56:30 +01:00
2017-02-04 12:56:30 +01:00
2017-02-04 12:56:30 +01:00
2017-02-04 12:56:30 +01:00
2017-02-04 12:56:30 +01:00
2018-04-25 17:00:21 -07:00
2017-02-04 12:56:30 +01:00
2018-04-25 17:00:21 -07:00
2017-02-04 12:56:30 +01:00
2017-02-04 12:56:30 +01:00
2017-02-04 12:56:30 +01:00
2017-02-04 12:56:30 +01:00
2017-02-04 12:56:30 +01:00
2021-04-29 09:11:44 -07:00
2021-04-29 09:11:44 -07:00
2017-02-04 12:56:30 +01:00
2017-02-04 12:56:30 +01:00
2018-02-23 11:50:33 -05:00
2017-02-04 12:56:30 +01:00
2017-02-04 12:56:30 +01:00
2017-02-04 12:56:30 +01:00
2017-02-04 12:56:30 +01:00
2018-04-25 17:00:21 -07:00
2020-07-07 09:04:38 +03:00
2018-01-27 08:08:25 -05:00
2017-02-04 12:56:30 +01:00
2018-04-25 17:00:21 -07:00
2017-02-04 12:56:30 +01:00
2018-01-16 13:22:02 -05:00
2018-01-16 13:22:02 -05:00
2018-04-25 17:00:21 -07:00
2017-02-04 12:56:30 +01:00
2017-02-04 12:56:30 +01:00
2018-04-25 17:00:21 -07:00
2017-02-04 12:56:30 +01:00
2017-12-13 15:16:44 -05:00
2017-12-13 15:16:44 -05:00
2018-12-10 19:24:56 -05:00
2019-02-18 15:49:36 -05:00
2020-10-02 09:30:05 -07:00
2017-12-13 15:16:44 -05:00
2017-12-13 15:16:44 -05:00
2019-11-03 12:54:42 -08:00
2019-11-03 12:54:42 -08:00
2017-02-04 12:56:30 +01:00
2019-09-21 11:18:15 -07:00
2019-09-21 11:18:15 -07:00
2019-09-21 11:37:21 -07:00
2019-09-21 11:37:21 -07:00
2018-04-25 17:00:21 -07:00
2017-02-04 12:56:30 +01:00
2018-04-25 17:00:21 -07:00
2017-02-04 12:56:30 +01:00
2017-02-04 12:56:30 +01:00
2019-09-21 11:37:21 -07:00
2018-02-28 16:32:20 -05:00
2018-02-28 16:32:20 -05:00
2018-03-13 22:16:54 -04:00
2018-03-13 22:16:54 -04:00
2018-04-25 17:00:21 -07:00
2017-02-04 12:56:30 +01:00
2018-04-25 17:00:21 -07:00
2017-02-04 12:56:30 +01:00
2018-04-25 17:00:21 -07:00
2017-02-04 12:56:30 +01:00
2017-12-31 09:36:42 -05:00
2017-12-31 09:36:42 -05:00
2018-01-02 11:32:48 -05:00
2018-01-02 11:32:48 -05:00
2018-01-02 11:32:48 -05:00
2018-01-02 11:32:48 -05:00
2020-12-13 14:09:59 +01:00
2020-12-13 14:09:59 +01:00
2017-12-27 10:03:00 -05:00
2021-05-28 20:15:23 +02:00
2019-02-12 17:26:37 -05:00
2019-02-12 17:26:37 -05:00
2017-02-04 12:56:30 +01:00
2017-02-04 12:56:30 +01:00
2021-05-28 20:15:23 +02:00
2021-05-28 20:15:23 +02:00
2021-05-28 20:15:23 +02:00
2021-05-28 20:15:23 +02:00
2021-05-28 20:15:23 +02:00
2021-05-28 20:15:23 +02:00
2021-05-28 20:15:23 +02:00
2021-05-28 20:15:23 +02:00
2021-05-28 20:15:23 +02:00
2021-05-28 20:15:23 +02:00
2018-02-15 15:06:01 -05:00
2021-05-28 20:15:23 +02:00
2018-04-25 17:00:21 -07:00
2021-05-28 20:15:23 +02:00
2021-05-28 20:15:23 +02:00
2018-04-25 17:00:21 -07:00
2021-05-28 20:15:23 +02:00
2017-02-04 12:56:30 +01:00
2017-02-04 12:56:30 +01:00
2017-02-04 12:56:30 +01:00
2017-02-04 12:56:30 +01:00
2017-02-04 12:56:30 +01:00
2017-02-04 12:56:30 +01:00
2017-02-04 12:56:30 +01:00
2017-02-04 12:56:30 +01:00
2017-02-04 12:56:30 +01:00
2017-02-04 12:56:30 +01:00
2017-02-04 12:56:30 +01:00
2017-02-04 12:56:30 +01:00
2017-02-04 12:56:30 +01:00
2017-02-04 12:56:30 +01:00
2020-10-06 21:03:00 -07:00
2020-10-06 21:03:00 -07:00
2017-02-04 12:56:30 +01:00
2017-02-04 12:56:30 +01:00
2019-02-18 15:49:00 -05:00
2019-02-18 15:49:00 -05:00
2017-02-04 12:56:30 +01:00
2017-02-04 12:56:30 +01:00
2017-12-30 22:43:33 -05:00
2017-12-31 09:29:51 -05:00
2017-02-04 12:56:30 +01:00
2017-02-04 12:56:30 +01:00