tdf#131632 animation effects are missing features
regression from
commit 5352d45dd4a04f8f02cf7f6ad4169126d3b3586a
Date: Tue Feb 18 15:45:08 2020 +0200
convert AnimationImport to fast-parser APIs
Change-Id: I7227b122213c877b8ea5db25239eae8151597a8e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91320
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
diff --git a/include/xmloff/xmltoken.hxx b/include/xmloff/xmltoken.hxx
index a40aa97..5892f1e 100644
--- a/include/xmloff/xmltoken.hxx
+++ b/include/xmloff/xmltoken.hxx
@@ -1873,6 +1873,7 @@ namespace xmloff { namespace token {
XML_TEXT_INPUT,
XML_TEXT_JUSTIFY,
XML_TEXT_OUTLINE,
XML_TEXT_ONLY,
XML_TEXT_POSITION,
XML_TEXT_ROTATION_ANGLE,
XML_TEXT_ROTATION_SCALE,
@@ -2972,6 +2973,7 @@ namespace xmloff { namespace token {
XML_PRESET_ID,
XML_PRESET_SUB_TYPE,
XML_PRESET_CLASS,
XML_PRESET_PROPERTY,
XML_CUSTOM,
XML_ENTRANCE,
XML_EXIT,
diff --git a/xmloff/source/core/xmltoken.cxx b/xmloff/source/core/xmltoken.cxx
index 92abc4c..a9cf682 100644
--- a/xmloff/source/core/xmltoken.cxx
+++ b/xmloff/source/core/xmltoken.cxx
@@ -1878,6 +1878,7 @@ namespace xmloff::token {
TOKEN( "text-input", XML_TEXT_INPUT ),
TOKEN( "text-justify", XML_TEXT_JUSTIFY ),
TOKEN( "text-outline", XML_TEXT_OUTLINE ),
TOKEN( "text-only", XML_TEXT_ONLY ),
TOKEN( "text-position", XML_TEXT_POSITION ),
TOKEN( "text-rotation-angle", XML_TEXT_ROTATION_ANGLE ),
TOKEN( "text-rotation-scale", XML_TEXT_ROTATION_SCALE ),
@@ -2972,6 +2973,7 @@ namespace xmloff::token {
TOKEN( "preset-id", XML_PRESET_ID ),
TOKEN( "preset-sub-type", XML_PRESET_SUB_TYPE ),
TOKEN( "preset-class", XML_PRESET_CLASS ),
TOKEN( "preset-property", XML_PRESET_PROPERTY ),
TOKEN( "custom", XML_CUSTOM ),
TOKEN( "entrance", XML_ENTRANCE ),
TOKEN( "exit", XML_EXIT ),
diff --git a/xmloff/source/draw/animationimport.cxx b/xmloff/source/draw/animationimport.cxx
index 00e67ab..e2a6c01 100644
--- a/xmloff/source/draw/animationimport.cxx
+++ b/xmloff/source/draw/animationimport.cxx
@@ -1142,6 +1142,7 @@ void AnimationNodeContext::init_node( const css::uno::Reference< css::xml::sax:
// push all unknown attributes within the presentation namespace as user data
if (nNamespace == NAMESPACE_TOKEN(XML_NAMESPACE_PRESENTATION)
|| nNamespace == NAMESPACE_TOKEN(XML_NAMESPACE_PRESENTATION_SO52)
|| nNamespace == NAMESPACE_TOKEN(XML_NAMESPACE_PRESENTATION_OASIS)
|| nNamespace == NAMESPACE_TOKEN(XML_NAMESPACE_PRESENTATION_OOO))
{
aUserData.emplace_back( SvXMLImport::getNameFromToken(aIter.getToken()), makeAny( rValue ) );
diff --git a/xmloff/source/token/tokens.txt b/xmloff/source/token/tokens.txt
index 5d14dd6..cd94bd5 100644
--- a/xmloff/source/token/tokens.txt
+++ b/xmloff/source/token/tokens.txt
@@ -1791,6 +1791,7 @@ text-indent
text-input
text-justify
text-outline
text-only
text-position
text-rotation-angle
text-rotation-scale
@@ -2790,6 +2791,7 @@ node-type
preset-id
preset-sub-type
preset-class
preset-property
custom
entrance
exit