diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2023-05-25 13:15:41 +0900 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2023-05-25 10:05:21 +0200 |
commit | 9747d9a6ea954dfca4152d36fdb28a8b77fec84b (patch) | |
tree | 8f6771a7b1659e977a61ecb1020698d71a63a87f /xmloff/inc | |
parent | c557b30df03cb09ca7133d6921ece09a2a10eb3c (diff) |
xmloff: rename theme color names and color-table to theme-colors
For ODF it's not needed to abbreviate names and we prefer to use
full names. The theme color names in OOXML are abbreviated and the
same names were used also for ODF - this was changed now.
"color-table" used in "theme" element has reused the already
existing "color-table" element name in ODF, but they don't relate
to each other. The name was changed to "theme-colors", which makes
more sense anyway.
Change-Id: I61ec91895d301ad4343f2b977d5cbcf38e360b99
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152252
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'xmloff/inc')
-rw-r--r-- | xmloff/inc/XMLThemeContext.hxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/xmloff/inc/XMLThemeContext.hxx b/xmloff/inc/XMLThemeContext.hxx index a270d58bec99..ce6f5ec9bbb6 100644 --- a/xmloff/inc/XMLThemeContext.hxx +++ b/xmloff/inc/XMLThemeContext.hxx @@ -38,18 +38,18 @@ public: const css::uno::Reference<css::xml::sax::XFastAttributeList>& xAttribs) override; }; -/// Imports the color table of a theme -class XMLColorTableContext : public SvXMLImportContext +/// Imports the theme colors of a theme +class XMLThemeColorsContext : public SvXMLImportContext { model::Theme& mrTheme; std::shared_ptr<model::ColorSet> m_pColorSet; std::vector<css::util::Color> m_aColorScheme; public: - XMLColorTableContext(SvXMLImport& rImport, - css::uno::Reference<css::xml::sax::XFastAttributeList> const& xAttrList, - model::Theme& mrTheme); - ~XMLColorTableContext(); + XMLThemeColorsContext(SvXMLImport& rImport, + css::uno::Reference<css::xml::sax::XFastAttributeList> const& xAttrList, + model::Theme& mrTheme); + ~XMLThemeColorsContext(); css::uno::Reference<css::xml::sax::XFastContextHandler> SAL_CALL createFastChildContext( sal_Int32 nElement, |