diff options
-rw-r--r-- | xmloff/source/draw/sdxmlimp.cxx | 1 | ||||
-rw-r--r-- | xmloff/source/draw/sdxmlimp_impl.hxx | 3 | ||||
-rw-r--r-- | xmloff/source/draw/ximpbody.cxx | 5 |
3 files changed, 8 insertions, 1 deletions
diff --git a/xmloff/source/draw/sdxmlimp.cxx b/xmloff/source/draw/sdxmlimp.cxx index 9a68a31634fd..6ba506ef6832 100644 --- a/xmloff/source/draw/sdxmlimp.cxx +++ b/xmloff/source/draw/sdxmlimp.cxx @@ -578,6 +578,7 @@ const SvXMLTokenMap& SdXMLImport::GetDrawPageElemTokenMap() { XML_NAMESPACE_PRESENTATION, XML_NOTES, XML_TOK_DRAWPAGE_NOTES }, { XML_NAMESPACE_ANIMATION, XML_PAR, XML_TOK_DRAWPAGE_PAR }, { XML_NAMESPACE_ANIMATION, XML_SEQ, XML_TOK_DRAWPAGE_SEQ }, + { XML_NAMESPACE_DRAW, XML_LAYER_SET, XML_TOK_DRAWPAGE_LAYER_SET }, XML_TOKEN_MAP_END }; diff --git a/xmloff/source/draw/sdxmlimp_impl.hxx b/xmloff/source/draw/sdxmlimp_impl.hxx index 40010440c597..e61f8866ff2f 100644 --- a/xmloff/source/draw/sdxmlimp_impl.hxx +++ b/xmloff/source/draw/sdxmlimp_impl.hxx @@ -110,7 +110,8 @@ enum SdXMLDrawPageElemTokenMap { XML_TOK_DRAWPAGE_NOTES, XML_TOK_DRAWPAGE_PAR, - XML_TOK_DRAWPAGE_SEQ + XML_TOK_DRAWPAGE_SEQ, + XML_TOK_DRAWPAGE_LAYER_SET }; enum SdXMLPresentationPlaceholderAttrTokenMap diff --git a/xmloff/source/draw/ximpbody.cxx b/xmloff/source/draw/ximpbody.cxx index 0b682b4a4494..de7a9cac23d1 100644 --- a/xmloff/source/draw/ximpbody.cxx +++ b/xmloff/source/draw/ximpbody.cxx @@ -35,6 +35,7 @@ #include <xmloff/xmlprmap.hxx> #include <xmloff/families.hxx> #include "ximpshow.hxx" +#include "layerimp.hxx" #include <PropertySetMerger.hxx> #include <animationimport.hxx> #include <osl/diagnose.hxx> @@ -258,6 +259,10 @@ SvXMLImportContextRef SdXMLDrawPageContext::CreateChildContext( sal_uInt16 nPref } break; } + case XML_TOK_DRAWPAGE_LAYER_SET: + { + xContext = new SdXMLLayerSetContext( GetSdImport(), nPrefix, rLocalName, xAttrList ); + } } // call parent when no own context was created |