From 6304720d8d7906d698018203e1c743683f0234f3 Mon Sep 17 00:00:00 2001 From: Nils Carlson Date: Fri, 5 Oct 2018 16:58:23 +0000 Subject: OpenDocument writer: Implement table caption numbering (#4949) Implement table caption numbering with a format "Table 1: ". Translations are enabled and numbering is consecutive for captioned tables, uncaptioned tables are not enumerated. Captioned figures are now also numbered consecutively and uncaptioned figures are not enumerated. --- test/tables.opendocument | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'test/tables.opendocument') diff --git a/test/tables.opendocument b/test/tables.opendocument index c04afd492..5c68476b8 100644 --- a/test/tables.opendocument +++ b/test/tables.opendocument @@ -63,7 +63,8 @@ -Demonstration of simple table syntax. +Table 1: Demonstration +of simple table syntax. Simple table without caption: @@ -196,7 +197,8 @@ spaces: -Demonstration of simple table syntax. +Table 2: Demonstration +of simple table syntax. Multiline table with caption: @@ -251,8 +253,8 @@ caption: -Here’s the caption. It may span multiple -lines. +Table 3: Here’s +the caption. It may span multiple lines. Multiline table without caption: -- cgit v1.2.3