aboutsummaryrefslogtreecommitdiff
path: root/tests/odt/native/simpleTableWithCaption.native
AgeCommit message (Collapse)AuthorFilesLines
2016-11-26[odt] Infer table's caption from the paragraph (#3224)hubertp-lshift1-0/+1
ODT's reader always put empty captions for the parsed tables. This commit 1) checks paragraphs that follow the table definition 2) treats specially a paragraph with a style named 'Table' 3) does some postprocessing of the paragraphs that combines tables followed immediately by captions The ODT writer used 'TableCaption' style name for the caption paragraph. This commit follows the open office approach which allows for appending captions to table but uses a built-in style named 'Table' instead of 'TableCaption'. Any users of odt format (both writer and reader) are therefore required to change the style's name to 'Table', if necessary.