From ce6e9e8817fa7c09625a3c587095bffc8a5eb598 Mon Sep 17 00:00:00 2001 From: Nils Carlson Date: Thu, 20 Sep 2018 21:30:32 +0000 Subject: ODT Writer: Improve table header row style handling This changes the way styles for cells in the header row and normal rows are handled in ODT tables. Previously a new (but identical) style was generated for every table, specifying the style of the cells within the table. After this change there are two style definitions for table cells, one for the cells in the header row, one for all other cells. This doesn't change the actual styles, but makes post-processing changes to the table styles much simpler as it is no longer necessary to introduce new styles for header rows and there are now only two styles where there was previously one per table. --- test/tables.opendocument | 184 +++++++++++++++++++++++------------------------ 1 file changed, 92 insertions(+), 92 deletions(-) (limited to 'test/tables.opendocument') diff --git a/test/tables.opendocument b/test/tables.opendocument index c331ecc43..c04afd492 100644 --- a/test/tables.opendocument +++ b/test/tables.opendocument @@ -6,59 +6,59 @@ - + Right - + Left - + Center - + Default - + 12 - + 12 - + 12 - + 12 - + 123 - + 123 - + 123 - + 123 - + 1 - + 1 - + 1 - + 1 @@ -73,59 +73,59 @@ caption: - + Right - + Left - + Center - + Default - + 12 - + 12 - + 12 - + 12 - + 123 - + 123 - + 123 - + 123 - + 1 - + 1 - + 1 - + 1 @@ -139,59 +139,59 @@ spaces: - + Right - + Left - + Center - + Default - + 12 - + 12 - + 12 - + 12 - + 123 - + 123 - + 123 - + 123 - + 1 - + 1 - + 1 - + 1 @@ -206,46 +206,46 @@ caption: - + Centered Header - + Left Aligned - + Right Aligned - + Default aligned - + First - + row - + 12.0 - + Example of a row that spans multiple lines. - + Second - + row - + 5.0 - + Here’s another one. Note the blank line between rows. @@ -262,46 +262,46 @@ caption: - + Centered Header - + Left Aligned - + Right Aligned - + Default aligned - + First - + row - + 12.0 - + Example of a row that spans multiple lines. - + Second - + row - + 5.0 - + Here’s another one. Note the blank line between rows. @@ -315,44 +315,44 @@ headers: - + 12 - + 12 - + 12 - + 12 - + 123 - + 123 - + 123 - + 123 - + 1 - + 1 - + 1 - + 1 @@ -365,31 +365,31 @@ headers: - + First - + row - + 12.0 - + Example of a row that spans multiple lines. - + Second - + row - + 5.0 - + Here’s another one. Note the blank line between rows. -- cgit v1.2.3