diff options
author | Rüdiger Timm <rt@openoffice.org> | 2004-11-26 18:33:51 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2004-11-26 18:33:51 +0000 |
commit | c6836ecd44a3f3c2b9a256f9bdb65576b575cf15 (patch) | |
tree | ca5e7f0c02570f45e123938c07137d3a85e45924 /xmloff | |
parent | 543c2d44f303e4b0806150966383ff45fb162160 (diff) |
INTEGRATION: CWS presentationengine01 (1.18.252); FILE MERGED
2004/11/17 19:10:16 thb 1.18.252.5: RESYNC: (1.21-1.22); FILE MERGED
2004/10/12 22:23:32 thb 1.18.252.4: RESYNC: (1.20-1.21); FILE MERGED
2004/07/23 12:18:47 thb 1.18.252.3: RESYNC: (1.19-1.20); FILE MERGED
2004/07/06 12:56:11 thb 1.18.252.2: RESYNC: (1.18-1.19); FILE MERGED
2004/04/16 12:41:09 cl 1.18.252.1: smil support for impress
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/source/draw/ximpbody.cxx | 22 |
1 files changed, 20 insertions, 2 deletions
diff --git a/xmloff/source/draw/ximpbody.cxx b/xmloff/source/draw/ximpbody.cxx index d2e97b45fc92..52562d7f4e34 100644 --- a/xmloff/source/draw/ximpbody.cxx +++ b/xmloff/source/draw/ximpbody.cxx @@ -2,9 +2,9 @@ * * $RCSfile: ximpbody.cxx,v $ * - * $Revision: 1.24 $ + * $Revision: 1.25 $ * - * last change: $Author: obo $ $Date: 2004-11-18 09:08:32 $ + * last change: $Author: rt $ $Date: 2004-11-26 19:33:51 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -101,6 +101,10 @@ #include <com/sun/star/beans/XPropertySet.hpp> #endif +#ifndef _COM_SUN_STAR_ANIMATIONS_XANIMATIONNODESUPPLIER_HPP_ +#include <com/sun/star/animations/XAnimationNodeSupplier.hpp> +#endif + #ifndef _XMLOFF_XMLUCONV_HXX #include "xmluconv.hxx" #endif @@ -121,6 +125,10 @@ #include "PropertySetMerger.hxx" #endif +#ifndef _XMLOFF_ANIMATIONIMPORT_HXX +#include "animationimport.hxx" +#endif + using namespace ::rtl; using namespace ::com::sun::star; @@ -322,6 +330,16 @@ SvXMLImportContext *SdXMLDrawPageContext::CreateChildContext( USHORT nPrefix, } } } + case XML_TOK_DRAWPAGE_PAR: + case XML_TOK_DRAWPAGE_SEQ: + { + if( GetSdImport().IsImpress() ) + { + uno::Reference< animations::XAnimationNodeSupplier > xNodeSupplier(GetLocalShapesContext(), uno::UNO_QUERY); + if(xNodeSupplier.is()) + pContext = new xmloff::AnimationNodeContext( xNodeSupplier->getAnimationNode(), GetSdImport(), nPrefix, rLocalName, xAttrList ); + } + } } // call parent when no own context was created |