Files
odfstudio/sc/source/core/data/defaulttablestyles.inc
T
Balazs Varga 62e3aba4cd Table Styles: add translatable UI names for default Calc table styles
The 60 default ECMA-376 table styles had only machine IDs like
"TableStyleLight1" as their names. For Online, generateJSON() sends
GetUIName() which fell back to the raw ID. Desktop was unaffected
because the sidebar/notebookbar .ui files have hardcoded display names.

Add TableStyleCategory enum and number to the TableStyle data struct
so assembleTableStyles() can compose translatable UI names like
"Table Style Light 1" using 3 new string resources. The UI name is
computed once at style generation time and stored in maUIName.

Also fix the Python generator to handle the "TableStyleLight14 "
trailing space bug from the OOXML spec XML, and force Unix line
endings on output.

Change-Id: Ia079a1f5f6e453cb729b5c26df4fe48c88642341
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/203045
Reviewed-by: Banobe Pascal <banobe.pascal@collabora.com>
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Reviewed-on: https://gerrit.collaboraoffice.com/c/core/+/176
Reviewed-by: Balázs Varga <balazs.varga@collabora.com>
Tested-by: Jenkins CPCI <releng@collaboraoffice.com>
(cherry picked from commit eaa07b76ba56b39b0346c0f7b7c28b86edcb7a9e)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/204567
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2026-04-29 16:19:45 +02:00

34 lines
24 KiB
PHP

/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
// WARNING: This file is automatically generated and should not be manually edited!
#include <defaulttablestyledata.hxx>
constexpr ThemeColor aThemeColors[] = { { 0, -0.3499862666707358f }, { 0, -0.1499984740745262f }, { 0, 0.0f }, { 1, 0.0f }, { 1, 0.1499984740745262f }, { 1, 0.249977111117893f }, { 1, 0.4499954222235786f }, { 4, -0.499984740745262f }, { 4, -0.249977111117893f }, { 4, 0.0f }, { 4, 0.3999755851924192f }, { 4, 0.5999938962981048f }, { 4, 0.7999816888943144f }, { 5, -0.499984740745262f }, { 5, -0.249977111117893f }, { 5, 0.0f }, { 5, 0.3999755851924192f }, { 5, 0.5999938962981048f }, { 5, 0.7999816888943144f }, { 6, -0.499984740745262f }, { 6, -0.249977111117893f }, { 6, 0.0f }, { 6, 0.3999755851924192f }, { 6, 0.5999938962981048f }, { 6, 0.7999816888943144f }, { 7, -0.499984740745262f }, { 7, -0.249977111117893f }, { 7, 0.0f }, { 7, 0.3999755851924192f }, { 7, 0.5999938962981048f }, { 7, 0.7999816888943144f }, { 8, -0.499984740745262f }, { 8, -0.249977111117893f }, { 8, 0.0f }, { 8, 0.3999755851924192f }, { 8, 0.5999938962981048f }, { 8, 0.7999816888943144f }, { 9, -0.499984740745262f }, { 9, -0.249977111117893f }, { 9, 0.0f }, { 9, 0.3999755851924192f }, { 9, 0.5999938962981048f }, { 9, 0.7999816888943144f } };
constexpr Fill aFills[] = { { 0 }, { 1 }, { 3 }, { 4 }, { 5 }, { 6 }, { 7 }, { 8 }, { 9 }, { 11 }, { 12 }, { 13 }, { 14 }, { 15 }, { 17 }, { 18 }, { 19 }, { 20 }, { 21 }, { 23 }, { 24 }, { 25 }, { 26 }, { 27 }, { 29 }, { 30 }, { 31 }, { 32 }, { 33 }, { 35 }, { 36 }, { 37 }, { 38 }, { 39 }, { 41 }, { 42 } };
constexpr Font aFonts[] = { { false, 2 }, { false, 3 }, { false, 8 }, { false, 14 }, { false, 20 }, { false, 26 }, { false, 32 }, { false, 38 }, { true, 2 }, { true, 3 }, { true, 8 }, { true, 14 }, { true, 20 }, { true, 26 }, { true, 32 }, { true, 38 } };
constexpr BorderElement aBorderElements[] = { { BorderElementStyle::THIN, 2 }, { BorderElementStyle::THIN, 3 }, { BorderElementStyle::THIN, 9 }, { BorderElementStyle::THIN, 10 }, { BorderElementStyle::THIN, 15 }, { BorderElementStyle::THIN, 16 }, { BorderElementStyle::THIN, 21 }, { BorderElementStyle::THIN, 22 }, { BorderElementStyle::THIN, 27 }, { BorderElementStyle::THIN, 28 }, { BorderElementStyle::THIN, 33 }, { BorderElementStyle::THIN, 34 }, { BorderElementStyle::THIN, 39 }, { BorderElementStyle::THIN, 40 }, { BorderElementStyle::MEDIUM, 2 }, { BorderElementStyle::MEDIUM, 3 }, { BorderElementStyle::MEDIUM, 9 }, { BorderElementStyle::MEDIUM, 15 }, { BorderElementStyle::MEDIUM, 21 }, { BorderElementStyle::MEDIUM, 27 }, { BorderElementStyle::MEDIUM, 33 }, { BorderElementStyle::MEDIUM, 39 }, { BorderElementStyle::THICK, 2 }, { BorderElementStyle::DOUBLE, 3 }, { BorderElementStyle::DOUBLE, 9 }, { BorderElementStyle::DOUBLE, 15 }, { BorderElementStyle::DOUBLE, 21 }, { BorderElementStyle::DOUBLE, 27 }, { BorderElementStyle::DOUBLE, 33 }, { BorderElementStyle::DOUBLE, 39 } };
constexpr Border aBorders[] = { { -1, -1, -1, -1, 0, 0 }, { -1, -1, -1, 14, -1, -1 }, { -1, -1, 1, -1, -1, -1 }, { -1, -1, 2, -1, -1, -1 }, { -1, -1, 4, -1, -1, -1 }, { -1, -1, 6, -1, -1, -1 }, { -1, -1, 8, -1, -1, -1 }, { -1, -1, 10, -1, -1, -1 }, { -1, -1, 12, -1, -1, -1 }, { -1, -1, 14, -1, -1, -1 }, { -1, 1, -1, -1, -1, -1 }, { -1, 2, -1, -1, -1, -1 }, { -1, 4, -1, -1, -1, -1 }, { -1, 6, -1, -1, -1, -1 }, { -1, 8, -1, -1, -1, -1 }, { -1, 10, -1, -1, -1, -1 }, { -1, 12, -1, -1, -1, -1 }, { -1, 14, -1, -1, -1, -1 }, { -1, 15, -1, -1, -1, -1 }, { -1, 16, -1, -1, -1, -1 }, { -1, 17, -1, -1, -1, -1 }, { -1, 18, -1, -1, -1, -1 }, { -1, 19, -1, -1, -1, -1 }, { -1, 20, -1, -1, -1, -1 }, { -1, 21, -1, -1, -1, -1 }, { -1, 22, -1, -1, -1, -1 }, { 1, -1, -1, -1, -1, -1 }, { 1, 1, -1, -1, -1, -1 }, { 1, 1, 1, 1, -1, -1 }, { 1, 1, 1, 1, 1, -1 }, { 1, 1, 1, 1, 1, 1 }, { 2, -1, -1, -1, -1, -1 }, { 2, 2, -1, -1, -1, -1 }, { 2, 2, 2, 2, -1, -1 }, { 2, 2, 2, 2, 2, 2 }, { 3, 3, 3, 3, 3, -1 }, { 3, 3, 3, 3, 3, 3 }, { 4, -1, -1, -1, -1, -1 }, { 4, 4, -1, -1, -1, -1 }, { 4, 4, 4, 4, -1, -1 }, { 4, 4, 4, 4, 4, 4 }, { 5, 5, 5, 5, 5, -1 }, { 5, 5, 5, 5, 5, 5 }, { 6, -1, -1, -1, -1, -1 }, { 6, 6, -1, -1, -1, -1 }, { 6, 6, 6, 6, -1, -1 }, { 6, 6, 6, 6, 6, 6 }, { 7, 7, 7, 7, 7, -1 }, { 7, 7, 7, 7, 7, 7 }, { 8, -1, -1, -1, -1, -1 }, { 8, 8, -1, -1, -1, -1 }, { 8, 8, 8, 8, -1, -1 }, { 8, 8, 8, 8, 8, 8 }, { 9, 9, 9, 9, 9, -1 }, { 9, 9, 9, 9, 9, 9 }, { 10, -1, -1, -1, -1, -1 }, { 10, 10, -1, -1, -1, -1 }, { 10, 10, 10, 10, -1, -1 }, { 10, 10, 10, 10, 10, 10 }, { 11, 11, 11, 11, 11, -1 }, { 11, 11, 11, 11, 11, 11 }, { 12, -1, -1, -1, -1, -1 }, { 12, 12, -1, -1, -1, -1 }, { 12, 12, 12, 12, -1, -1 }, { 12, 12, 12, 12, 12, 12 }, { 13, 13, 13, 13, 13, -1 }, { 13, 13, 13, 13, 13, 13 }, { 14, -1, -1, -1, -1, -1 }, { 15, -1, -1, -1, -1, -1 }, { 15, 15, -1, -1, -1, -1 }, { 15, 15, 1, 1, 1, 1 }, { 16, -1, -1, -1, -1, -1 }, { 17, -1, -1, -1, -1, -1 }, { 18, -1, -1, -1, -1, -1 }, { 19, -1, -1, -1, -1, -1 }, { 20, -1, -1, -1, -1, -1 }, { 21, -1, -1, -1, -1, -1 }, { 22, -1, -1, -1, -1, -1 }, { 23, -1, -1, -1, -1, -1 }, { 24, -1, -1, -1, -1, -1 }, { 25, -1, -1, -1, -1, -1 }, { 26, -1, -1, -1, -1, -1 }, { 27, -1, -1, -1, -1, -1 }, { 28, -1, -1, -1, -1, -1 }, { 29, -1, -1, -1, -1, -1 } };
constexpr Dxf aDxfs[] = { { -1, 2, -1 }, { -1, 3, -1 }, { -1, 4, -1 }, { -1, 5, -1 }, { -1, 6, -1 }, { -1, 7, -1 }, { -1, 8, -1 }, { -1, 26, -1 }, { -1, 31, -1 }, { -1, 37, -1 }, { -1, 43, -1 }, { -1, 49, -1 }, { -1, 55, -1 }, { -1, 61, -1 }, { -1, 78, -1 }, { 0, -1, -1 }, { 1, -1, -1 }, { 4, -1, -1 }, { 7, -1, -1 }, { 9, -1, -1 }, { 10, -1, -1 }, { 12, -1, -1 }, { 14, -1, -1 }, { 15, -1, -1 }, { 17, -1, -1 }, { 19, -1, -1 }, { 20, -1, -1 }, { 22, -1, -1 }, { 24, -1, -1 }, { 25, -1, -1 }, { 27, -1, -1 }, { 29, -1, -1 }, { 30, -1, -1 }, { 32, -1, -1 }, { 34, -1, -1 }, { 35, -1, -1 }, { 2, -1, 0 }, { 5, -1, 0 }, { 8, -1, 0 }, { 13, -1, 0 }, { 18, -1, 0 }, { 23, -1, 0 }, { 28, -1, 0 }, { 33, -1, 0 }, { -1, 27, 1 }, { -1, 28, 1 }, { -1, 29, 1 }, { -1, 30, 1 }, { -1, 33, 1 }, { -1, 34, 1 }, { -1, 35, 1 }, { -1, 39, 1 }, { -1, 40, 1 }, { -1, 41, 1 }, { -1, 45, 1 }, { -1, 46, 1 }, { -1, 47, 1 }, { -1, 51, 1 }, { -1, 52, 1 }, { -1, 53, 1 }, { -1, 57, 1 }, { -1, 58, 1 }, { -1, 59, 1 }, { -1, 63, 1 }, { -1, 64, 1 }, { -1, 65, 1 }, { -1, 69, 1 }, { -1, 70, 1 }, { 1, 0, 1 }, { 1, 30, 1 }, { 10, 0, 1 }, { 10, 36, 1 }, { 15, 0, 1 }, { 15, 42, 1 }, { 20, 0, 1 }, { 20, 48, 1 }, { 25, 0, 1 }, { 25, 54, 1 }, { 30, 0, 1 }, { 30, 60, 1 }, { 35, 0, 1 }, { 35, 66, 1 }, { -1, 32, 2 }, { -1, 38, 3 }, { -1, 44, 4 }, { -1, 50, 5 }, { -1, 56, 6 }, { -1, 62, 7 }, { 2, -1, 8 }, { 2, 17, 8 }, { 2, 18, 8 }, { 2, 25, 8 }, { 2, 77, 8 }, { 3, 67, 8 }, { 4, 1, 8 }, { 4, 9, 8 }, { 6, 67, 8 }, { 7, 1, 8 }, { 7, 9, 8 }, { 8, -1, 8 }, { 8, 18, 8 }, { 8, 25, 8 }, { 8, 77, 8 }, { 11, 67, 8 }, { 12, 1, 8 }, { 12, 9, 8 }, { 13, -1, 8 }, { 13, 18, 8 }, { 13, 25, 8 }, { 13, 77, 8 }, { 16, 67, 8 }, { 17, 1, 8 }, { 17, 9, 8 }, { 18, -1, 8 }, { 18, 18, 8 }, { 18, 25, 8 }, { 18, 77, 8 }, { 21, 67, 8 }, { 22, 1, 8 }, { 22, 9, 8 }, { 23, -1, 8 }, { 23, 18, 8 }, { 23, 25, 8 }, { 23, 77, 8 }, { 26, 67, 8 }, { 27, 1, 8 }, { 27, 9, 8 }, { 28, -1, 8 }, { 28, 18, 8 }, { 28, 25, 8 }, { 28, 77, 8 }, { 31, 67, 8 }, { 32, 1, 8 }, { 32, 9, 8 }, { 33, -1, 8 }, { 33, 18, 8 }, { 33, 25, 8 }, { 33, 77, 8 }, { -1, -1, 9 }, { -1, 10, 9 }, { -1, 18, 9 }, { -1, 19, 9 }, { -1, 20, 9 }, { -1, 21, 9 }, { -1, 22, 9 }, { -1, 23, 9 }, { -1, 24, 9 }, { -1, 26, 9 }, { -1, 68, 9 }, { -1, 71, 9 }, { -1, 72, 9 }, { -1, 73, 9 }, { -1, 74, 9 }, { -1, 75, 9 }, { -1, 76, 9 }, { -1, 78, 9 }, { -1, 79, 9 }, { -1, 80, 9 }, { -1, 81, 9 }, { -1, 82, 9 }, { -1, 83, 9 }, { -1, 84, 9 }, { -1, -1, 10 }, { -1, 11, 10 }, { -1, 31, 10 }, { -1, -1, 11 }, { -1, 12, 11 }, { -1, 37, 11 }, { -1, -1, 12 }, { -1, 13, 12 }, { -1, 43, 12 }, { -1, -1, 13 }, { -1, 14, 13 }, { -1, 49, 13 }, { -1, -1, 14 }, { -1, 15, 14 }, { -1, 55, 14 }, { -1, -1, 15 }, { -1, 16, 15 }, { -1, 61, 15 } };
constexpr TableStyleElement aTableStyleElements[] = { { ScTableStyleElement::FirstColumnStripe, 0 }, { ScTableStyleElement::SecondColumnStripe, 0 }, { ScTableStyleElement::FirstColumnStripe, 1 }, { ScTableStyleElement::SecondColumnStripe, 1 }, { ScTableStyleElement::FirstColumnStripe, 2 }, { ScTableStyleElement::SecondColumnStripe, 2 }, { ScTableStyleElement::FirstColumnStripe, 3 }, { ScTableStyleElement::SecondColumnStripe, 3 }, { ScTableStyleElement::FirstColumnStripe, 4 }, { ScTableStyleElement::SecondColumnStripe, 4 }, { ScTableStyleElement::FirstColumnStripe, 5 }, { ScTableStyleElement::SecondColumnStripe, 5 }, { ScTableStyleElement::FirstColumnStripe, 6 }, { ScTableStyleElement::SecondColumnStripe, 6 }, { ScTableStyleElement::FirstRowStripe, 7 }, { ScTableStyleElement::SecondRowStripe, 7 }, { ScTableStyleElement::FirstRowStripe, 8 }, { ScTableStyleElement::SecondRowStripe, 8 }, { ScTableStyleElement::FirstRowStripe, 9 }, { ScTableStyleElement::SecondRowStripe, 9 }, { ScTableStyleElement::FirstRowStripe, 10 }, { ScTableStyleElement::SecondRowStripe, 10 }, { ScTableStyleElement::FirstRowStripe, 11 }, { ScTableStyleElement::SecondRowStripe, 11 }, { ScTableStyleElement::FirstRowStripe, 12 }, { ScTableStyleElement::SecondRowStripe, 12 }, { ScTableStyleElement::FirstRowStripe, 13 }, { ScTableStyleElement::SecondRowStripe, 13 }, { ScTableStyleElement::TotalRow, 14 }, { ScTableStyleElement::FirstColumnStripe, 15 }, { ScTableStyleElement::FirstRowStripe, 15 }, { ScTableStyleElement::WholeTable, 16 }, { ScTableStyleElement::FirstColumnStripe, 16 }, { ScTableStyleElement::FirstRowStripe, 16 }, { ScTableStyleElement::FirstColumnStripe, 17 }, { ScTableStyleElement::FirstRowStripe, 17 }, { ScTableStyleElement::FirstColumnStripe, 18 }, { ScTableStyleElement::FirstRowStripe, 18 }, { ScTableStyleElement::FirstColumnStripe, 19 }, { ScTableStyleElement::FirstRowStripe, 19 }, { ScTableStyleElement::WholeTable, 20 }, { ScTableStyleElement::FirstColumnStripe, 20 }, { ScTableStyleElement::FirstRowStripe, 20 }, { ScTableStyleElement::FirstColumnStripe, 21 }, { ScTableStyleElement::FirstRowStripe, 21 }, { ScTableStyleElement::FirstColumnStripe, 22 }, { ScTableStyleElement::FirstRowStripe, 22 }, { ScTableStyleElement::FirstColumnStripe, 23 }, { ScTableStyleElement::FirstRowStripe, 23 }, { ScTableStyleElement::FirstColumnStripe, 24 }, { ScTableStyleElement::FirstRowStripe, 24 }, { ScTableStyleElement::FirstColumnStripe, 25 }, { ScTableStyleElement::FirstRowStripe, 25 }, { ScTableStyleElement::WholeTable, 26 }, { ScTableStyleElement::FirstColumnStripe, 26 }, { ScTableStyleElement::FirstRowStripe, 26 }, { ScTableStyleElement::FirstColumnStripe, 27 }, { ScTableStyleElement::FirstRowStripe, 27 }, { ScTableStyleElement::FirstColumnStripe, 28 }, { ScTableStyleElement::FirstRowStripe, 28 }, { ScTableStyleElement::FirstColumnStripe, 29 }, { ScTableStyleElement::FirstRowStripe, 29 }, { ScTableStyleElement::FirstColumnStripe, 30 }, { ScTableStyleElement::FirstRowStripe, 30 }, { ScTableStyleElement::FirstColumnStripe, 31 }, { ScTableStyleElement::FirstRowStripe, 31 }, { ScTableStyleElement::WholeTable, 32 }, { ScTableStyleElement::FirstColumnStripe, 32 }, { ScTableStyleElement::FirstRowStripe, 32 }, { ScTableStyleElement::FirstColumnStripe, 33 }, { ScTableStyleElement::FirstRowStripe, 33 }, { ScTableStyleElement::FirstColumnStripe, 34 }, { ScTableStyleElement::FirstRowStripe, 34 }, { ScTableStyleElement::FirstColumnStripe, 35 }, { ScTableStyleElement::FirstRowStripe, 35 }, { ScTableStyleElement::HeaderRow, 36 }, { ScTableStyleElement::WholeTable, 37 }, { ScTableStyleElement::WholeTable, 38 }, { ScTableStyleElement::WholeTable, 39 }, { ScTableStyleElement::HeaderRow, 39 }, { ScTableStyleElement::WholeTable, 40 }, { ScTableStyleElement::WholeTable, 41 }, { ScTableStyleElement::HeaderRow, 41 }, { ScTableStyleElement::WholeTable, 42 }, { ScTableStyleElement::WholeTable, 43 }, { ScTableStyleElement::HeaderRow, 43 }, { ScTableStyleElement::WholeTable, 44 }, { ScTableStyleElement::WholeTable, 45 }, { ScTableStyleElement::WholeTable, 46 }, { ScTableStyleElement::WholeTable, 47 }, { ScTableStyleElement::WholeTable, 48 }, { ScTableStyleElement::WholeTable, 49 }, { ScTableStyleElement::WholeTable, 50 }, { ScTableStyleElement::WholeTable, 51 }, { ScTableStyleElement::WholeTable, 52 }, { ScTableStyleElement::WholeTable, 53 }, { ScTableStyleElement::WholeTable, 54 }, { ScTableStyleElement::WholeTable, 55 }, { ScTableStyleElement::WholeTable, 56 }, { ScTableStyleElement::WholeTable, 57 }, { ScTableStyleElement::WholeTable, 58 }, { ScTableStyleElement::WholeTable, 59 }, { ScTableStyleElement::WholeTable, 60 }, { ScTableStyleElement::WholeTable, 61 }, { ScTableStyleElement::WholeTable, 62 }, { ScTableStyleElement::WholeTable, 63 }, { ScTableStyleElement::WholeTable, 64 }, { ScTableStyleElement::WholeTable, 65 }, { ScTableStyleElement::WholeTable, 66 }, { ScTableStyleElement::WholeTable, 67 }, { ScTableStyleElement::WholeTable, 68 }, { ScTableStyleElement::WholeTable, 69 }, { ScTableStyleElement::WholeTable, 70 }, { ScTableStyleElement::WholeTable, 71 }, { ScTableStyleElement::WholeTable, 72 }, { ScTableStyleElement::WholeTable, 73 }, { ScTableStyleElement::WholeTable, 74 }, { ScTableStyleElement::WholeTable, 75 }, { ScTableStyleElement::WholeTable, 76 }, { ScTableStyleElement::WholeTable, 77 }, { ScTableStyleElement::WholeTable, 78 }, { ScTableStyleElement::WholeTable, 79 }, { ScTableStyleElement::WholeTable, 80 }, { ScTableStyleElement::WholeTable, 81 }, { ScTableStyleElement::WholeTable, 82 }, { ScTableStyleElement::WholeTable, 83 }, { ScTableStyleElement::WholeTable, 84 }, { ScTableStyleElement::WholeTable, 85 }, { ScTableStyleElement::WholeTable, 86 }, { ScTableStyleElement::WholeTable, 87 }, { ScTableStyleElement::LastColumn, 88 }, { ScTableStyleElement::FirstColumn, 88 }, { ScTableStyleElement::HeaderRow, 88 }, { ScTableStyleElement::HeaderRow, 89 }, { ScTableStyleElement::HeaderRow, 90 }, { ScTableStyleElement::HeaderRow, 91 }, { ScTableStyleElement::TotalRow, 92 }, { ScTableStyleElement::TotalRow, 93 }, { ScTableStyleElement::FirstColumn, 94 }, { ScTableStyleElement::LastColumn, 95 }, { ScTableStyleElement::TotalRow, 96 }, { ScTableStyleElement::FirstColumn, 97 }, { ScTableStyleElement::LastColumn, 98 }, { ScTableStyleElement::LastColumn, 99 }, { ScTableStyleElement::FirstColumn, 99 }, { ScTableStyleElement::HeaderRow, 99 }, { ScTableStyleElement::HeaderRow, 100 }, { ScTableStyleElement::HeaderRow, 101 }, { ScTableStyleElement::TotalRow, 102 }, { ScTableStyleElement::TotalRow, 103 }, { ScTableStyleElement::FirstColumn, 104 }, { ScTableStyleElement::LastColumn, 105 }, { ScTableStyleElement::LastColumn, 106 }, { ScTableStyleElement::FirstColumn, 106 }, { ScTableStyleElement::HeaderRow, 106 }, { ScTableStyleElement::HeaderRow, 107 }, { ScTableStyleElement::HeaderRow, 108 }, { ScTableStyleElement::TotalRow, 109 }, { ScTableStyleElement::TotalRow, 110 }, { ScTableStyleElement::FirstColumn, 111 }, { ScTableStyleElement::LastColumn, 112 }, { ScTableStyleElement::LastColumn, 113 }, { ScTableStyleElement::FirstColumn, 113 }, { ScTableStyleElement::HeaderRow, 113 }, { ScTableStyleElement::HeaderRow, 114 }, { ScTableStyleElement::HeaderRow, 115 }, { ScTableStyleElement::TotalRow, 116 }, { ScTableStyleElement::TotalRow, 117 }, { ScTableStyleElement::FirstColumn, 118 }, { ScTableStyleElement::LastColumn, 119 }, { ScTableStyleElement::LastColumn, 120 }, { ScTableStyleElement::FirstColumn, 120 }, { ScTableStyleElement::HeaderRow, 120 }, { ScTableStyleElement::HeaderRow, 121 }, { ScTableStyleElement::HeaderRow, 122 }, { ScTableStyleElement::TotalRow, 123 }, { ScTableStyleElement::TotalRow, 124 }, { ScTableStyleElement::FirstColumn, 125 }, { ScTableStyleElement::LastColumn, 126 }, { ScTableStyleElement::LastColumn, 127 }, { ScTableStyleElement::FirstColumn, 127 }, { ScTableStyleElement::HeaderRow, 127 }, { ScTableStyleElement::HeaderRow, 128 }, { ScTableStyleElement::HeaderRow, 129 }, { ScTableStyleElement::TotalRow, 130 }, { ScTableStyleElement::TotalRow, 131 }, { ScTableStyleElement::FirstColumn, 132 }, { ScTableStyleElement::LastColumn, 133 }, { ScTableStyleElement::LastColumn, 134 }, { ScTableStyleElement::FirstColumn, 134 }, { ScTableStyleElement::HeaderRow, 134 }, { ScTableStyleElement::HeaderRow, 135 }, { ScTableStyleElement::HeaderRow, 136 }, { ScTableStyleElement::TotalRow, 137 }, { ScTableStyleElement::LastColumn, 138 }, { ScTableStyleElement::FirstColumn, 138 }, { ScTableStyleElement::HeaderRow, 138 }, { ScTableStyleElement::HeaderRow, 139 }, { ScTableStyleElement::HeaderRow, 140 }, { ScTableStyleElement::HeaderRow, 141 }, { ScTableStyleElement::HeaderRow, 142 }, { ScTableStyleElement::HeaderRow, 143 }, { ScTableStyleElement::HeaderRow, 144 }, { ScTableStyleElement::HeaderRow, 145 }, { ScTableStyleElement::HeaderRow, 146 }, { ScTableStyleElement::TotalRow, 147 }, { ScTableStyleElement::TotalRow, 148 }, { ScTableStyleElement::TotalRow, 149 }, { ScTableStyleElement::TotalRow, 150 }, { ScTableStyleElement::TotalRow, 151 }, { ScTableStyleElement::TotalRow, 152 }, { ScTableStyleElement::TotalRow, 153 }, { ScTableStyleElement::TotalRow, 154 }, { ScTableStyleElement::TotalRow, 155 }, { ScTableStyleElement::TotalRow, 156 }, { ScTableStyleElement::TotalRow, 157 }, { ScTableStyleElement::TotalRow, 158 }, { ScTableStyleElement::TotalRow, 159 }, { ScTableStyleElement::TotalRow, 160 }, { ScTableStyleElement::TotalRow, 161 }, { ScTableStyleElement::LastColumn, 162 }, { ScTableStyleElement::FirstColumn, 162 }, { ScTableStyleElement::HeaderRow, 163 }, { ScTableStyleElement::TotalRow, 164 }, { ScTableStyleElement::LastColumn, 165 }, { ScTableStyleElement::FirstColumn, 165 }, { ScTableStyleElement::HeaderRow, 166 }, { ScTableStyleElement::TotalRow, 167 }, { ScTableStyleElement::LastColumn, 168 }, { ScTableStyleElement::FirstColumn, 168 }, { ScTableStyleElement::HeaderRow, 169 }, { ScTableStyleElement::TotalRow, 170 }, { ScTableStyleElement::LastColumn, 171 }, { ScTableStyleElement::FirstColumn, 171 }, { ScTableStyleElement::HeaderRow, 172 }, { ScTableStyleElement::TotalRow, 173 }, { ScTableStyleElement::LastColumn, 174 }, { ScTableStyleElement::FirstColumn, 174 }, { ScTableStyleElement::HeaderRow, 175 }, { ScTableStyleElement::TotalRow, 176 }, { ScTableStyleElement::LastColumn, 177 }, { ScTableStyleElement::FirstColumn, 177 }, { ScTableStyleElement::HeaderRow, 178 }, { ScTableStyleElement::TotalRow, 179 } };
constexpr TableStyle aTableStyles[] = { { "TableStyleDark1", TableStyleCategory::Dark, 1, 7, { 76, 133, 137, 138, 139, 35, 34 } }, { "TableStyleDark10", TableStyleCategory::Dark, 10, 7, { 53, 82, 213, 195, 194, 52, 51 } }, { "TableStyleDark11", TableStyleCategory::Dark, 11, 7, { 66, 85, 213, 195, 194, 65, 64 } }, { "TableStyleDark2", TableStyleCategory::Dark, 2, 7, { 77, 133, 140, 141, 142, 37, 36 } }, { "TableStyleDark3", TableStyleCategory::Dark, 3, 7, { 78, 133, 149, 150, 151, 44, 43 } }, { "TableStyleDark4", TableStyleCategory::Dark, 4, 7, { 80, 133, 158, 159, 160, 50, 49 } }, { "TableStyleDark5", TableStyleCategory::Dark, 5, 7, { 81, 133, 167, 168, 169, 57, 56 } }, { "TableStyleDark6", TableStyleCategory::Dark, 6, 7, { 83, 133, 176, 177, 178, 63, 62 } }, { "TableStyleDark7", TableStyleCategory::Dark, 7, 7, { 84, 133, 185, 186, 187, 70, 69 } }, { "TableStyleDark8", TableStyleCategory::Dark, 8, 7, { 31, 75, 213, 195, 194, 30, 29 } }, { "TableStyleDark9", TableStyleCategory::Dark, 9, 7, { 40, 79, 213, 195, 194, 39, 38 } }, { "TableStyleLight1", TableStyleCategory::Light, 1, 7, { 86, 197, 205, 195, 194, 33, 32 } }, { "TableStyleLight10", TableStyleCategory::Light, 10, 9, { 93, 154, 215, 195, 194, 18, 19, 4, 5 } }, { "TableStyleLight11", TableStyleCategory::Light, 11, 9, { 96, 163, 216, 195, 194, 20, 21, 6, 7 } }, { "TableStyleLight12", TableStyleCategory::Light, 12, 9, { 99, 172, 217, 195, 194, 22, 23, 8, 9 } }, { "TableStyleLight13", TableStyleCategory::Light, 13, 9, { 102, 181, 218, 195, 194, 24, 25, 10, 11 } }, { "TableStyleLight14", TableStyleCategory::Light, 14, 9, { 105, 190, 219, 195, 194, 26, 27, 12, 13 } }, { "TableStyleLight15", TableStyleCategory::Light, 15, 7, { 89, 198, 213, 195, 194, 33, 32 } }, { "TableStyleLight16", TableStyleCategory::Light, 16, 7, { 91, 199, 214, 195, 194, 42, 41 } }, { "TableStyleLight17", TableStyleCategory::Light, 17, 7, { 94, 200, 215, 195, 194, 48, 47 } }, { "TableStyleLight18", TableStyleCategory::Light, 18, 7, { 97, 201, 216, 195, 194, 55, 54 } }, { "TableStyleLight19", TableStyleCategory::Light, 19, 7, { 100, 202, 217, 195, 194, 61, 60 } }, { "TableStyleLight2", TableStyleCategory::Light, 2, 7, { 124, 222, 223, 221, 220, 42, 41 } }, { "TableStyleLight20", TableStyleCategory::Light, 20, 7, { 103, 203, 218, 195, 194, 68, 67 } }, { "TableStyleLight21", TableStyleCategory::Light, 21, 7, { 106, 204, 219, 195, 194, 74, 73 } }, { "TableStyleLight3", TableStyleCategory::Light, 3, 7, { 125, 226, 227, 225, 224, 48, 47 } }, { "TableStyleLight4", TableStyleCategory::Light, 4, 7, { 126, 230, 231, 229, 228, 55, 54 } }, { "TableStyleLight5", TableStyleCategory::Light, 5, 7, { 127, 234, 235, 233, 232, 61, 60 } }, { "TableStyleLight6", TableStyleCategory::Light, 6, 7, { 128, 238, 239, 237, 236, 68, 67 } }, { "TableStyleLight7", TableStyleCategory::Light, 7, 7, { 129, 242, 243, 241, 240, 74, 73 } }, { "TableStyleLight8", TableStyleCategory::Light, 8, 9, { 87, 132, 213, 195, 194, 14, 15, 0, 1 } }, { "TableStyleLight9", TableStyleCategory::Light, 9, 9, { 90, 145, 214, 195, 194, 16, 17, 2, 3 } }, { "TableStyleMedium1", TableStyleCategory::Medium, 1, 7, { 88, 132, 213, 195, 194, 33, 32 } }, { "TableStyleMedium10", TableStyleCategory::Medium, 10, 7, { 114, 156, 157, 153, 152, 46, 45 } }, { "TableStyleMedium11", TableStyleCategory::Medium, 11, 7, { 116, 165, 166, 162, 161, 52, 51 } }, { "TableStyleMedium12", TableStyleCategory::Medium, 12, 7, { 118, 174, 175, 171, 170, 59, 58 } }, { "TableStyleMedium13", TableStyleCategory::Medium, 13, 7, { 120, 183, 184, 180, 179, 65, 64 } }, { "TableStyleMedium14", TableStyleCategory::Medium, 14, 7, { 122, 192, 193, 189, 188, 72, 71 } }, { "TableStyleMedium15", TableStyleCategory::Medium, 15, 7, { 109, 134, 28, 131, 130, 33, 32 } }, { "TableStyleMedium16", TableStyleCategory::Medium, 16, 7, { 108, 146, 28, 144, 143, 33, 32 } }, { "TableStyleMedium17", TableStyleCategory::Medium, 17, 7, { 108, 155, 28, 153, 152, 33, 32 } }, { "TableStyleMedium18", TableStyleCategory::Medium, 18, 7, { 108, 164, 28, 162, 161, 33, 32 } }, { "TableStyleMedium19", TableStyleCategory::Medium, 19, 7, { 108, 173, 28, 171, 170, 33, 32 } }, { "TableStyleMedium2", TableStyleCategory::Medium, 2, 7, { 92, 145, 214, 195, 194, 42, 41 } }, { "TableStyleMedium20", TableStyleCategory::Medium, 20, 7, { 108, 182, 28, 180, 179, 33, 32 } }, { "TableStyleMedium21", TableStyleCategory::Medium, 21, 7, { 108, 191, 28, 189, 188, 33, 32 } }, { "TableStyleMedium22", TableStyleCategory::Medium, 22, 7, { 111, 196, 206, 195, 194, 30, 29 } }, { "TableStyleMedium23", TableStyleCategory::Medium, 23, 7, { 113, 196, 207, 195, 194, 39, 38 } }, { "TableStyleMedium24", TableStyleCategory::Medium, 24, 7, { 115, 196, 208, 195, 194, 46, 45 } }, { "TableStyleMedium25", TableStyleCategory::Medium, 25, 7, { 117, 196, 209, 195, 194, 52, 51 } }, { "TableStyleMedium26", TableStyleCategory::Medium, 26, 7, { 119, 196, 210, 195, 194, 59, 58 } }, { "TableStyleMedium27", TableStyleCategory::Medium, 27, 7, { 121, 196, 211, 195, 194, 65, 64 } }, { "TableStyleMedium28", TableStyleCategory::Medium, 28, 7, { 123, 196, 212, 195, 194, 72, 71 } }, { "TableStyleMedium3", TableStyleCategory::Medium, 3, 7, { 95, 154, 215, 195, 194, 48, 47 } }, { "TableStyleMedium4", TableStyleCategory::Medium, 4, 7, { 98, 163, 216, 195, 194, 55, 54 } }, { "TableStyleMedium5", TableStyleCategory::Medium, 5, 7, { 101, 172, 217, 195, 194, 61, 60 } }, { "TableStyleMedium6", TableStyleCategory::Medium, 6, 7, { 104, 181, 218, 195, 194, 68, 67 } }, { "TableStyleMedium7", TableStyleCategory::Medium, 7, 7, { 107, 190, 219, 195, 194, 74, 73 } }, { "TableStyleMedium8", TableStyleCategory::Medium, 8, 7, { 110, 135, 136, 131, 130, 30, 29 } }, { "TableStyleMedium9", TableStyleCategory::Medium, 9, 7, { 112, 147, 148, 144, 143, 39, 38 } } };
/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */