diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2022-12-06 17:33:44 +0900 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2023-01-20 07:12:40 +0000 |
commit | 330afe0206fb2b8e952d3a46ec809a866fc6fe82 (patch) | |
tree | 575e362192cbeb3ba1caee8387643e1742763457 /solenv/clang-format | |
parent | d39f52508bab3943aedd290aec55fddfa130893d (diff) |
sw: read theme from OOXML file and set it to the draw page
This change extends writerfilter to use oox::ThemeFragmentHandler
to read the theme properties, and sets that to the one and only
draw page of a Writer document.
This change also removes ThemeTable and replaces it with the
ThemeHandler, which takes theme font data from svx::Theme
instead.
In addition, a test has been writen, which loads a document with
a theme, and asserts the draw page has the theme and the theme
properties currently supported.
Change-Id: Iff0048cd21ea030ac55287707852acc463ec3cb0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143699
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
(cherry picked from commit 312100003fc7cae358038aaec853584782c698f8)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145841
Tested-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'solenv/clang-format')
-rw-r--r-- | solenv/clang-format/excludelist | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/solenv/clang-format/excludelist b/solenv/clang-format/excludelist index 2a2788ce34c1..3a77d382b8c2 100644 --- a/solenv/clang-format/excludelist +++ b/solenv/clang-format/excludelist @@ -15257,7 +15257,6 @@ writerfilter/source/dmapper/TagLogger.hxx writerfilter/source/dmapper/TblStylePrHandler.cxx writerfilter/source/dmapper/TblStylePrHandler.hxx writerfilter/source/dmapper/TextEffectsHandler.cxx -writerfilter/source/dmapper/ThemeTable.cxx writerfilter/source/dmapper/TrackChangesHandler.cxx writerfilter/source/dmapper/WrapPolygonHandler.cxx writerfilter/source/ooxml/Handler.cxx |