Kaydet (Commit) a80b3c06 authored tarafından Norbert Thiebaud's avatar Norbert Thiebaud

split idl with multiple class into one idl per.

Change-Id: I0703a647e2dd2082cee004b0bcd0d4988997e447
üst a0704a33
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* 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 .
*/
#ifndef _com_sun_star_presentation_SlideShow_idl
#define _com_sun_star_presentation_SlideShow_idl
#include <com/sun/star/presentation/XSlideShow.idl>
module com { module sun { module star { module presentation {
service SlideShow : XSlideShow;
}; }; }; };
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* 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 .
*/
#ifndef __com_sun_star_presentation_TransitionFactory_idl__
#define __com_sun_star_presentation_TransitionFactory_idl__
#include <com/sun/star/presentation/XTransitionFactory.idl>
module com { module sun { module star { module presentation {
service TransitionFactory : XTransitionFactory;
}; }; }; };
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
/************************************************************** /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
* *
* Licensed to the Apache Software Foundation (ASF) under one * This Source Code Form is subject to the terms of the Mozilla Public
* or more contributor license agreements. See the NOTICE file * License, v. 2.0. If a copy of the MPL was not distributed with this
* distributed with this work for additional information * file, You can obtain one at http://mozilla.org/MPL/2.0/.
* 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 * This file incorporates work covered by the following license notice:
* *
* Unless required by applicable law or agreed to in writing, * Licensed to the Apache Software Foundation (ASF) under one or more
* software distributed under the License is distributed on an * contributor license agreements. See the NOTICE file distributed
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * with this work for additional information regarding copyright
* KIND, either express or implied. See the License for the * ownership. The ASF licenses this file to you under the Apache
* specific language governing permissions and limitations * License, Version 2.0 (the "License"); you may not use this file
* under the License. * except in compliance with the License. You may obtain a copy of
* * the License at http://www.apache.org/licenses/LICENSE-2.0 .
*************************************************************/ */
#ifndef _com_sun_star_presentation_XSlideShow_idl #ifndef _com_sun_star_presentation_XSlideShow_idl
#define _com_sun_star_presentation_XSlideShow_idl #define _com_sun_star_presentation_XSlideShow_idl
#ifndef __com_sun_star_uno_XInterface_idl__
#include <com/sun/star/uno/XInterface.idl> #include <com/sun/star/uno/XInterface.idl>
#endif
#ifndef __com_sun_star_beans_PropertyValue_idl__
#include <com/sun/star/beans/PropertyValue.idl> #include <com/sun/star/beans/PropertyValue.idl>
#endif
#ifndef __com_sun_star_geometry_RealRectangle2D_idl__
#include <com/sun/star/geometry/RealRectangle2D.idl> #include <com/sun/star/geometry/RealRectangle2D.idl>
#endif
#ifndef __com_sun_star_rendering_XSpriteCanvas_idl__
#include <com/sun/star/rendering/XSpriteCanvas.idl> #include <com/sun/star/rendering/XSpriteCanvas.idl>
#endif
#ifndef __com_sun_star_animations_XAnimationNode_idl__
#include <com/sun/star/animations/XAnimationNode.idl> #include <com/sun/star/animations/XAnimationNode.idl>
#endif
#endif
#ifndef __com_sun_star_lang_XMultiServiceFactory_idl__
#include <com/sun/star/lang/XMultiServiceFactory.idl> #include <com/sun/star/lang/XMultiServiceFactory.idl>
#ifndef __com_sun_star_drawing_XDrawPage_idl__
#include <com/sun/star/drawing/XDrawPage.idl> #include <com/sun/star/drawing/XDrawPage.idl>
#endif
#ifndef __com_sun_star_drawing_XDrawPagesSupplier_idl__
#include <com/sun/star/drawing/XDrawPagesSupplier.idl> #include <com/sun/star/drawing/XDrawPagesSupplier.idl>
#endif
#ifndef __com_sun_star_drawing_XShape_idl__
#include <com/sun/star/drawing/XShape.idl> #include <com/sun/star/drawing/XShape.idl>
#endif
#ifndef __com_sun_star_presentation_XSlideShowView_idl__
#include <com/sun/star/presentation/XSlideShowView.idl> #include <com/sun/star/presentation/XSlideShowView.idl>
#endif
#ifndef __com_sun_star_presentation_XSlideShowListener_idl__
#include <com/sun/star/presentation/XSlideShowListener.idl> #include <com/sun/star/presentation/XSlideShowListener.idl>
#endif
#ifndef __com_sun_star_presentation_XShapeEventListener_idl__
#include <com/sun/star/presentation/XShapeEventListener.idl> #include <com/sun/star/presentation/XShapeEventListener.idl>
#endif
module com { module sun { module star { module presentation { module com { module sun { module star { module presentation {
/** Slideshow interface to perform slideshow presentations.<p> /** Slide show interface to perform slide show presentations.<p>
This interface provides the necessary methods to run and control a This interface provides the necessary methods to run and control a
slideshow from a given set of XDrawPage slides. The slideshow can slide show from a given set of XDrawPage slides. The slide show can
be displayed simultaneously on multiple targets.<p> be displayed simultaneously on multiple targets.<p>
Note: To controll a running slideshow inside a presentation, please Note: To control a running slide show inside a presentation, please
use <type>XPresentation2</type> and <type>XSlideShowController</type>. use <type>XPresentation2</type> and <type>XSlideShowController</type>.
@since OOo 3.0 @since OOo 3.0
*/ */
interface XSlideShow : ::com::sun::star::uno::XInterface interface XSlideShow : ::com::sun::star::uno::XInterface
{ {
/** Trigger the next effect of the slideshow.<p> /** Trigger the next effect of the slide show.<p>
This method triggers the next effect on the currently This method triggers the next effect on the currently
displayed slide. If there is currently no slideshow running, displayed slide. If there is currently no slide show running,
this method does nothing. If there are no more effects on the this method does nothing. If there are no more effects on the
current slide, a possible slide transition effect is issued current slide, a possible slide transition effect is issued
and the next slide is displayed.<p> and the next slide is displayed.<p>
...@@ -91,7 +63,7 @@ interface XSlideShow : ::com::sun::star::uno::XInterface ...@@ -91,7 +63,7 @@ interface XSlideShow : ::com::sun::star::uno::XInterface
*/ */
boolean nextEffect(); boolean nextEffect();
/** Undo the last effect in the main sequence of the slideshow.<p> /** Undo the last effect in the main sequence of the slide show.<p>
The current slide is displayed as if the last user-triggered effect The current slide is displayed as if the last user-triggered effect
has never been triggered. If there is no previous effect on the has never been triggered. If there is no previous effect on the
...@@ -99,7 +71,7 @@ interface XSlideShow : ::com::sun::star::uno::XInterface ...@@ -99,7 +71,7 @@ interface XSlideShow : ::com::sun::star::uno::XInterface
XSlideShowListener objects, which can then trigger a change to the XSlideShowListener objects, which can then trigger a change to the
previous slide. Note that this command is executed asynchronously. previous slide. Note that this command is executed asynchronously.
Multiple calls to update() may be necessary to complete its execution. Multiple calls to update() may be necessary to complete its execution.
If there is currently no slideshow running, this method does If there is currently no slide show running, this method does
nothing.<p> nothing.<p>
@return <TRUE/>, if the previous effect was successfully @return <TRUE/>, if the previous effect was successfully
...@@ -148,7 +120,8 @@ interface XSlideShow : ::com::sun::star::uno::XInterface ...@@ -148,7 +120,8 @@ interface XSlideShow : ::com::sun::star::uno::XInterface
The slide to display. The slide to display.
@param xDrawPages @param xDrawPages
For future use. For future use.
This parameter can be NULL when the ENABLE_PRESENTER_EXTRA_UI feature is disabled.
@param xAnimationNode @param xAnimationNode
The animation node determine the animations to display. The animation node determine the animations to display.
...@@ -161,7 +134,7 @@ interface XSlideShow : ::com::sun::star::uno::XInterface ...@@ -161,7 +134,7 @@ interface XSlideShow : ::com::sun::star::uno::XInterface
<li>name: Prefetch, value: ::com::sun::star::drawing::XDrawPage. When given, <li>name: Prefetch, value: ::com::sun::star::drawing::XDrawPage. When given,
this slide is prepared in the background to be displayed next. The next this slide is prepared in the background to be displayed next. The next
call to displaySlide() with the given slide may be faster if there was call to displaySlide() with the given slide may be faster if there was
enough time for prefatching. If the next call to displaySlide() uses enough time for prefetching. If the next call to displaySlide() uses
a different slide, this will still work but will not have any performance a different slide, this will still work but will not have any performance
improvements improvements
</li> </li>
...@@ -170,7 +143,7 @@ interface XSlideShow : ::com::sun::star::uno::XInterface ...@@ -170,7 +143,7 @@ interface XSlideShow : ::com::sun::star::uno::XInterface
are triggered. This is typically used when going back one are triggered. This is typically used when going back one
effect leads to the previous slide. On that slide all effect leads to the previous slide. On that slide all
effects have to be shown in order to continue the backward effects have to be shown in order to continue the backward
travelling. traveling.
When <FALSE/>, the default, then no main sequence effect is When <FALSE/>, the default, then no main sequence effect is
triggered. triggered.
</li> </li>
...@@ -208,7 +181,7 @@ interface XSlideShow : ::com::sun::star::uno::XInterface ...@@ -208,7 +181,7 @@ interface XSlideShow : ::com::sun::star::uno::XInterface
/** Query the currently displayed slide.<p> /** Query the currently displayed slide.<p>
@return the instance of the current slide. If there's no @return the instance of the current slide. If there's no
slideshow running at the moment, this method returns an slide show running at the moment, this method returns an
empty reference. empty reference.
*/ */
::com::sun::star::drawing::XDrawPage getCurrentSlide(); ::com::sun::star::drawing::XDrawPage getCurrentSlide();
...@@ -221,7 +194,7 @@ interface XSlideShow : ::com::sun::star::uno::XInterface ...@@ -221,7 +194,7 @@ interface XSlideShow : ::com::sun::star::uno::XInterface
void registerUserPaintPolygons([in] ::com::sun::star::lang::XMultiServiceFactory xDocFactory); void registerUserPaintPolygons([in] ::com::sun::star::lang::XMultiServiceFactory xDocFactory);
/** Change a property of the slideshow.<p> /** Change a property of the slide show.<p>
@param aShowProperty @param aShowProperty
Property values, which influence the way the slides are Property values, which influence the way the slides are
...@@ -300,7 +273,7 @@ interface XSlideShow : ::com::sun::star::uno::XInterface ...@@ -300,7 +273,7 @@ interface XSlideShow : ::com::sun::star::uno::XInterface
/** Add a slide show listener.<p> /** Add a slide show listener.<p>
This method adds a listener to the slide show, which will get This method adds a listener to the slide show, which will get
notified when a registerend shape is clicked upon, or a new notified when a registered shape is clicked upon, or a new
slide is about to be displayed. Note that the listeners will slide is about to be displayed. Note that the listeners will
<em>not</em> be notified, when the slide change is directly <em>not</em> be notified, when the slide change is directly
requested by one of the nextSlide(), previousSlide() or requested by one of the nextSlide(), previousSlide() or
...@@ -365,9 +338,8 @@ interface XSlideShow : ::com::sun::star::uno::XInterface ...@@ -365,9 +338,8 @@ interface XSlideShow : ::com::sun::star::uno::XInterface
}; };
service SlideShow : XSlideShow;
}; }; }; }; }; }; }; };
#endif #endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
/************************************************************** /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
* *
* Licensed to the Apache Software Foundation (ASF) under one * This Source Code Form is subject to the terms of the Mozilla Public
* or more contributor license agreements. See the NOTICE file * License, v. 2.0. If a copy of the MPL was not distributed with this
* distributed with this work for additional information * file, You can obtain one at http://mozilla.org/MPL/2.0/.
* 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 * This file incorporates work covered by the following license notice:
* *
* Unless required by applicable law or agreed to in writing, * Licensed to the Apache Software Foundation (ASF) under one or more
* software distributed under the License is distributed on an * contributor license agreements. See the NOTICE file distributed
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * with this work for additional information regarding copyright
* KIND, either express or implied. See the License for the * ownership. The ASF licenses this file to you under the Apache
* specific language governing permissions and limitations * License, Version 2.0 (the "License"); you may not use this file
* under the License. * except in compliance with the License. You may obtain a copy of
* * the License at http://www.apache.org/licenses/LICENSE-2.0 .
*************************************************************/ */
#ifndef __com_sun_star_presentation_XTransitionFactory_idl__ #ifndef __com_sun_star_presentation_XTransitionFactory_idl__
#define __com_sun_star_presentation_XTransitionFactory_idl__ #define __com_sun_star_presentation_XTransitionFactory_idl__
#ifndef __com_sun_star_presentation_XTransition_idl__
#include <com/sun/star/presentation/XTransition.idl> #include <com/sun/star/presentation/XTransition.idl>
#endif
#ifndef __com_sun_star_geometry_RealPoint2D_idl__
#include <com/sun/star/geometry/RealPoint2D.idl> #include <com/sun/star/geometry/RealPoint2D.idl>
#endif
module com { module sun { module star { module com { module sun { module star {
...@@ -40,7 +32,7 @@ module presentation { ...@@ -40,7 +32,7 @@ module presentation {
interface XTransition; interface XTransition;
interface XSlideShowView; interface XSlideShowView;
/** TransitionFactory interface to request optional custom Transition instances for slideshow transitions.<p> /** TransitionFactory interface to request optional custom Transition instances for slide show transitions.<p>
This interface provides the necessary methods to query and create optional transition effects for a SlideShow<p> This interface provides the necessary methods to query and create optional transition effects for a SlideShow<p>
...@@ -61,7 +53,7 @@ interface XTransitionFactory : ::com::sun::star::uno::XInterface ...@@ -61,7 +53,7 @@ interface XTransitionFactory : ::com::sun::star::uno::XInterface
Subtype for the transition (@see ::com::sun::star::animation::TransitionSubType) Subtype for the transition (@see ::com::sun::star::animation::TransitionSubType)
@param view @param view
Slideshow view to display on Slide show view to display on
@param leavingBitmap @param leavingBitmap
Bitmap of the slide that's going to leave the screen Bitmap of the slide that's going to leave the screen
...@@ -71,7 +63,7 @@ interface XTransitionFactory : ::com::sun::star::uno::XInterface ...@@ -71,7 +63,7 @@ interface XTransitionFactory : ::com::sun::star::uno::XInterface
@param slideOffset @param slideOffset
Offset in pixel from the top, left edge of the view, such that the Offset in pixel from the top, left edge of the view, such that the
slide displays similar to normal slideshow slide displays similar to normal slide show
*/ */
XTransition createTransition( [in] short transitionType, XTransition createTransition( [in] short transitionType,
[in] short transitionSubType, [in] short transitionSubType,
...@@ -80,9 +72,8 @@ interface XTransitionFactory : ::com::sun::star::uno::XInterface ...@@ -80,9 +72,8 @@ interface XTransitionFactory : ::com::sun::star::uno::XInterface
[in] com::sun::star::rendering::XBitmap enteringBitmap ); [in] com::sun::star::rendering::XBitmap enteringBitmap );
}; };
service TransitionFactory : XTransitionFactory;
}; }; }; }; }; }; }; };
#endif #endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment