2010-10-27 12:53:26 +01:00
|
|
|
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
2012-06-21 14:30:25 +01:00
|
|
|
/*
|
|
|
|
* This file is part of the LibreOffice project.
|
|
|
|
*
|
|
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
*
|
|
|
|
* This file incorporates work covered by the following license notice:
|
|
|
|
*
|
|
|
|
* Licensed to the Apache Software Foundation (ASF) under one or more
|
|
|
|
* contributor license agreements. See the NOTICE file distributed
|
|
|
|
* with this work for additional information regarding copyright
|
|
|
|
* ownership. The ASF licenses this file to you under the Apache
|
|
|
|
* License, Version 2.0 (the "License"); you may not use this file
|
|
|
|
* except in compliance with the License. You may obtain a copy of
|
|
|
|
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
|
|
|
*/
|
2004-11-26 18:13:23 +00:00
|
|
|
|
2014-04-18 22:23:58 +02:00
|
|
|
#ifndef INCLUDED_SLIDESHOW_SOURCE_INC_ANIMATIONNODEFACTORY_HXX
|
|
|
|
#define INCLUDED_SLIDESHOW_SOURCE_INC_ANIMATIONNODEFACTORY_HXX
|
2004-11-26 18:13:23 +00:00
|
|
|
|
|
|
|
#include <com/sun/star/uno/Reference.hxx>
|
|
|
|
#include <com/sun/star/uno/XComponentContext.hpp>
|
|
|
|
#include <com/sun/star/animations/XAnimationNode.hpp>
|
|
|
|
|
2007-07-17 14:04:13 +00:00
|
|
|
#include "subsettableshapemanager.hxx"
|
|
|
|
#include "animationnode.hxx"
|
|
|
|
#include "slideshowcontext.hxx"
|
|
|
|
#include "eventqueue.hxx"
|
|
|
|
#include "activitiesqueue.hxx"
|
|
|
|
#include "usereventqueue.hxx"
|
2004-11-26 18:13:23 +00:00
|
|
|
|
2007-07-17 14:04:13 +00:00
|
|
|
#include <vector>
|
2004-11-26 18:13:23 +00:00
|
|
|
|
|
|
|
|
2006-12-13 14:52:42 +00:00
|
|
|
namespace slideshow
|
2004-11-26 18:13:23 +00:00
|
|
|
{
|
|
|
|
namespace internal
|
|
|
|
{
|
|
|
|
/* Definition of AnimationNodeFactory class */
|
|
|
|
|
2015-02-07 12:28:59 +01:00
|
|
|
namespace AnimationNodeFactory
|
2004-11-26 18:13:23 +00:00
|
|
|
{
|
2015-06-16 12:20:56 +02:00
|
|
|
/** Create an AnimationNode for the given XAnimationNode
|
2004-11-26 18:13:23 +00:00
|
|
|
*/
|
2015-10-29 10:47:45 +02:00
|
|
|
AnimationNodeSharedPtr createAnimationNode( const css::uno::Reference< css::animations::XAnimationNode >& xNode,
|
|
|
|
const ::basegfx::B2DVector& rSlideSize,
|
|
|
|
const SlideShowContext& rContext );
|
2004-11-26 18:13:23 +00:00
|
|
|
|
|
|
|
|
2015-08-10 14:04:31 -05:00
|
|
|
#if defined(DBG_UTIL)
|
2017-07-27 08:52:08 +02:00
|
|
|
void showTree( AnimationNodeSharedPtr const & pRootNode );
|
2004-11-26 18:13:23 +00:00
|
|
|
# define SHOW_NODE_TREE(a) AnimationNodeFactory::showTree(a)
|
|
|
|
#else
|
|
|
|
# define SHOW_NODE_TREE(a)
|
|
|
|
#endif
|
2015-02-07 12:28:59 +01:00
|
|
|
}
|
2004-11-26 18:13:23 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-04-18 22:23:58 +02:00
|
|
|
#endif // INCLUDED_SLIDESHOW_SOURCE_INC_ANIMATIONNODEFACTORY_HXX
|
2010-10-27 12:53:26 +01:00
|
|
|
|
|
|
|
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|