From ed5640d8b587fbcfed7dd7967f3de04b37a76f26 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 11:06:44 +0200 Subject: Adding upstream version 4:7.4.7. Signed-off-by: Daniel Baumann --- .../com/sun/star/presentation/AnimationEffect.idl | 374 +++++++++++++++++++++ .../com/sun/star/presentation/AnimationSpeed.idl | 53 +++ offapi/com/sun/star/presentation/ChartShape.idl | 49 +++ offapi/com/sun/star/presentation/ClickAction.idl | 109 ++++++ .../sun/star/presentation/CustomPresentation.idl | 55 +++ .../star/presentation/CustomPresentationAccess.idl | 58 ++++ offapi/com/sun/star/presentation/DateTimeShape.idl | 49 +++ .../com/sun/star/presentation/DocumentSettings.idl | 106 ++++++ offapi/com/sun/star/presentation/DrawPage.idl | 157 +++++++++ .../com/sun/star/presentation/EffectCommands.idl | 67 ++++ .../com/sun/star/presentation/EffectNodeType.idl | 72 ++++ .../sun/star/presentation/EffectPresetClass.idl | 52 +++ offapi/com/sun/star/presentation/FadeEffect.idl | 322 ++++++++++++++++++ offapi/com/sun/star/presentation/FooterShape.idl | 49 +++ .../sun/star/presentation/GraphicObjectShape.idl | 49 +++ offapi/com/sun/star/presentation/HandoutShape.idl | 49 +++ offapi/com/sun/star/presentation/HandoutView.idl | 47 +++ offapi/com/sun/star/presentation/HeaderShape.idl | 49 +++ offapi/com/sun/star/presentation/NotesShape.idl | 49 +++ offapi/com/sun/star/presentation/NotesView.idl | 47 +++ offapi/com/sun/star/presentation/OLE2Shape.idl | 49 +++ offapi/com/sun/star/presentation/OutlineView.idl | 75 +++++ offapi/com/sun/star/presentation/OutlinerShape.idl | 49 +++ offapi/com/sun/star/presentation/PageShape.idl | 49 +++ .../com/sun/star/presentation/ParagraphTarget.idl | 47 +++ offapi/com/sun/star/presentation/Presentation.idl | 133 ++++++++ offapi/com/sun/star/presentation/Presentation2.idl | 50 +++ .../sun/star/presentation/PresentationDocument.idl | 85 +++++ .../sun/star/presentation/PresentationRange.idl | 52 +++ .../com/sun/star/presentation/PresentationView.idl | 80 +++++ offapi/com/sun/star/presentation/PreviewView.idl | 83 +++++ offapi/com/sun/star/presentation/Shape.idl | 147 ++++++++ .../star/presentation/ShapeAnimationSubType.idl | 57 ++++ .../com/sun/star/presentation/SlideNumberShape.idl | 49 +++ offapi/com/sun/star/presentation/SlideShow.idl | 33 ++ offapi/com/sun/star/presentation/SlidesView.idl | 76 +++++ offapi/com/sun/star/presentation/SubtitleShape.idl | 49 +++ .../sun/star/presentation/TextAnimationType.idl | 54 +++ .../com/sun/star/presentation/TitleTextShape.idl | 49 +++ .../sun/star/presentation/TransitionFactory.idl | 34 ++ .../presentation/XCustomPresentationSupplier.idl | 52 +++ .../star/presentation/XHandoutMasterSupplier.idl | 45 +++ offapi/com/sun/star/presentation/XPresentation.idl | 58 ++++ .../com/sun/star/presentation/XPresentation2.idl | 71 ++++ .../sun/star/presentation/XPresentationPage.idl | 49 +++ .../star/presentation/XPresentationSupplier.idl | 48 +++ .../sun/star/presentation/XShapeEventListener.idl | 54 +++ offapi/com/sun/star/presentation/XSlideShow.idl | 344 +++++++++++++++++++ .../sun/star/presentation/XSlideShowController.idl | 267 +++++++++++++++ .../sun/star/presentation/XSlideShowListener.idl | 72 ++++ .../com/sun/star/presentation/XSlideShowView.idl | 181 ++++++++++ offapi/com/sun/star/presentation/XTransition.idl | 55 +++ .../sun/star/presentation/XTransitionFactory.idl | 79 +++++ .../sun/star/presentation/textfield/DateTime.idl | 41 +++ .../com/sun/star/presentation/textfield/Footer.idl | 41 +++ .../com/sun/star/presentation/textfield/Header.idl | 41 +++ 56 files changed, 4660 insertions(+) create mode 100644 offapi/com/sun/star/presentation/AnimationEffect.idl create mode 100644 offapi/com/sun/star/presentation/AnimationSpeed.idl create mode 100644 offapi/com/sun/star/presentation/ChartShape.idl create mode 100644 offapi/com/sun/star/presentation/ClickAction.idl create mode 100644 offapi/com/sun/star/presentation/CustomPresentation.idl create mode 100644 offapi/com/sun/star/presentation/CustomPresentationAccess.idl create mode 100644 offapi/com/sun/star/presentation/DateTimeShape.idl create mode 100644 offapi/com/sun/star/presentation/DocumentSettings.idl create mode 100644 offapi/com/sun/star/presentation/DrawPage.idl create mode 100644 offapi/com/sun/star/presentation/EffectCommands.idl create mode 100644 offapi/com/sun/star/presentation/EffectNodeType.idl create mode 100644 offapi/com/sun/star/presentation/EffectPresetClass.idl create mode 100644 offapi/com/sun/star/presentation/FadeEffect.idl create mode 100644 offapi/com/sun/star/presentation/FooterShape.idl create mode 100644 offapi/com/sun/star/presentation/GraphicObjectShape.idl create mode 100644 offapi/com/sun/star/presentation/HandoutShape.idl create mode 100644 offapi/com/sun/star/presentation/HandoutView.idl create mode 100644 offapi/com/sun/star/presentation/HeaderShape.idl create mode 100644 offapi/com/sun/star/presentation/NotesShape.idl create mode 100644 offapi/com/sun/star/presentation/NotesView.idl create mode 100644 offapi/com/sun/star/presentation/OLE2Shape.idl create mode 100644 offapi/com/sun/star/presentation/OutlineView.idl create mode 100644 offapi/com/sun/star/presentation/OutlinerShape.idl create mode 100644 offapi/com/sun/star/presentation/PageShape.idl create mode 100644 offapi/com/sun/star/presentation/ParagraphTarget.idl create mode 100644 offapi/com/sun/star/presentation/Presentation.idl create mode 100644 offapi/com/sun/star/presentation/Presentation2.idl create mode 100644 offapi/com/sun/star/presentation/PresentationDocument.idl create mode 100644 offapi/com/sun/star/presentation/PresentationRange.idl create mode 100644 offapi/com/sun/star/presentation/PresentationView.idl create mode 100644 offapi/com/sun/star/presentation/PreviewView.idl create mode 100644 offapi/com/sun/star/presentation/Shape.idl create mode 100644 offapi/com/sun/star/presentation/ShapeAnimationSubType.idl create mode 100644 offapi/com/sun/star/presentation/SlideNumberShape.idl create mode 100644 offapi/com/sun/star/presentation/SlideShow.idl create mode 100644 offapi/com/sun/star/presentation/SlidesView.idl create mode 100644 offapi/com/sun/star/presentation/SubtitleShape.idl create mode 100644 offapi/com/sun/star/presentation/TextAnimationType.idl create mode 100644 offapi/com/sun/star/presentation/TitleTextShape.idl create mode 100644 offapi/com/sun/star/presentation/TransitionFactory.idl create mode 100644 offapi/com/sun/star/presentation/XCustomPresentationSupplier.idl create mode 100644 offapi/com/sun/star/presentation/XHandoutMasterSupplier.idl create mode 100644 offapi/com/sun/star/presentation/XPresentation.idl create mode 100644 offapi/com/sun/star/presentation/XPresentation2.idl create mode 100644 offapi/com/sun/star/presentation/XPresentationPage.idl create mode 100644 offapi/com/sun/star/presentation/XPresentationSupplier.idl create mode 100644 offapi/com/sun/star/presentation/XShapeEventListener.idl create mode 100644 offapi/com/sun/star/presentation/XSlideShow.idl create mode 100644 offapi/com/sun/star/presentation/XSlideShowController.idl create mode 100644 offapi/com/sun/star/presentation/XSlideShowListener.idl create mode 100644 offapi/com/sun/star/presentation/XSlideShowView.idl create mode 100644 offapi/com/sun/star/presentation/XTransition.idl create mode 100644 offapi/com/sun/star/presentation/XTransitionFactory.idl create mode 100644 offapi/com/sun/star/presentation/textfield/DateTime.idl create mode 100644 offapi/com/sun/star/presentation/textfield/Footer.idl create mode 100644 offapi/com/sun/star/presentation/textfield/Header.idl (limited to 'offapi/com/sun/star/presentation') diff --git a/offapi/com/sun/star/presentation/AnimationEffect.idl b/offapi/com/sun/star/presentation/AnimationEffect.idl new file mode 100644 index 000000000..b88272dc5 --- /dev/null +++ b/offapi/com/sun/star/presentation/AnimationEffect.idl @@ -0,0 +1,374 @@ +/* -*- 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_AnimationEffect_idl__ +#define __com_sun_star_presentation_AnimationEffect_idl__ + + + + module com { module sun { module star { module presentation { + +/** specifies the animation effects for animating + text or objects. + */ +published enum AnimationEffect +{ + /** use no animation effects. + */ + NONE, + /** use the animation effect "Fade from Left". + */ + FADE_FROM_LEFT, + /** use the animation effect "Fade from Top". + */ + FADE_FROM_TOP, + /** use the animation effect "Fade from Right". + */ + FADE_FROM_RIGHT, + /** use the animation effect "Fade from Bottom". + */ + FADE_FROM_BOTTOM, + /** use the animation effect "Fade to Center". + */ + FADE_TO_CENTER, + /** use the animation effect "Fade from Center". + */ + FADE_FROM_CENTER, + /** use the animation effect "Move from Left". + */ + MOVE_FROM_LEFT, + /** use the animation effect "Move from Top". + */ + MOVE_FROM_TOP, + /** use the animation effect "Move from Right". + */ + MOVE_FROM_RIGHT, + /** use the animation effect "Move from Bottom". + */ + MOVE_FROM_BOTTOM, + /** use the animation effect "Vertical Stripes". + */ + VERTICAL_STRIPES, + /** use the animation effect "Horizontal Stripes". + */ + HORIZONTAL_STRIPES, + /** use the animation effect "Clockwise". + */ + CLOCKWISE, + /** use the animation effect "Counter Clockwise". + */ + COUNTERCLOCKWISE, + /** use the animation effect "Fade from Upper Left". + */ + FADE_FROM_UPPERLEFT, + /** use the animation effect "Fade from Upper Right". + */ + FADE_FROM_UPPERRIGHT, + /** use the animation effect "Fade from Lower Left". + */ + FADE_FROM_LOWERLEFT, + /** use the animation effect "Fade from Lower Right". + */ + FADE_FROM_LOWERRIGHT, + /** use the animation effect "Close Vertical". + */ + CLOSE_VERTICAL, + /** use the animation effect "Close Horizontal". + */ + CLOSE_HORIZONTAL, + /** use the animation effect "Open Vertical". + */ + OPEN_VERTICAL, + /** use the animation effect "Open Horizontal". + */ + OPEN_HORIZONTAL, + /** use the animation effect "Path". + */ + PATH, + /** use the animation effect "Move to Left". + */ + MOVE_TO_LEFT, + /** use the animation effect "Move to Top". + */ + MOVE_TO_TOP, + /** use the animation effect "Move to Right". + */ + MOVE_TO_RIGHT, + /** use the animation effect "Move to Bottom". + */ + MOVE_TO_BOTTOM, + /** use the animation effect "Spiral Inward Left". + */ + SPIRALIN_LEFT, + /** use the animation effect "Spiral Inward Right". + */ + SPIRALIN_RIGHT, + /** use the animation effect "Spiral Outward Left". + */ + SPIRALOUT_LEFT, + /** use the animation effect "Spiral Outward Right". + */ + SPIRALOUT_RIGHT, + /** use the animation effect "Spiral Inward Left". + */ + DISSOLVE, + /** use the animation effect "Wavy Line from Left". + */ + WAVYLINE_FROM_LEFT, + /** use the animation effect "Wavy Line from Top". + */ + WAVYLINE_FROM_TOP, + /** use the animation effect "Wavy Line from Right". + */ + WAVYLINE_FROM_RIGHT, + /** use the animation effect "Wavy Line from Button". + */ + WAVYLINE_FROM_BOTTOM, + /** use the animation effect "Random". + */ + RANDOM, + /** use the animation effect "Vertical Lines". + */ + VERTICAL_LINES, + /** use the animation effect "Horizontal Lines". + */ + HORIZONTAL_LINES, + /** use the animation effect "Wavy Line from Left". + */ + LASER_FROM_LEFT, + /** use the animation effect "Laser from Top". + */ + LASER_FROM_TOP, + /** use the animation effect "Laser from Right". + */ + LASER_FROM_RIGHT, + /** use the animation effect "Laser from Bottom". + */ + LASER_FROM_BOTTOM, + /** use the animation effect "Laser from Upper Left". + */ + LASER_FROM_UPPERLEFT, + /** use the animation effect "Laser from Upper Right". + */ + LASER_FROM_UPPERRIGHT, + /** use the animation effect "Laser from Lower Left". + */ + LASER_FROM_LOWERLEFT, + /** use the animation effect "Laser from Lower Right". + */ + LASER_FROM_LOWERRIGHT, + /** use the animation effect "Appear". + */ + APPEAR, + /** use the animation effect "Hide". + */ + HIDE, + /** use the animation effect "Move from Upper Left". + */ + MOVE_FROM_UPPERLEFT, + /** use the animation effect "Move from Upper Right". + */ + MOVE_FROM_UPPERRIGHT, + /** use the animation effect "Move from Lower Right". + */ + MOVE_FROM_LOWERRIGHT, + /** use the animation effect "Move from Lower Left". + */ + MOVE_FROM_LOWERLEFT, + /** use the animation effect "Move to Upper Left". + */ + MOVE_TO_UPPERLEFT, + /** use the animation effect "Move to Upper Right". + */ + MOVE_TO_UPPERRIGHT, + /** use the animation effect "Move to Lower Right". + */ + MOVE_TO_LOWERRIGHT, + /** use the animation effect "Move to Lower Left". + */ + MOVE_TO_LOWERLEFT, + /** use the animation effect "Move Short from Left". + */ + MOVE_SHORT_FROM_LEFT, + /** use the animation effect "Move Short from Upper Left". + */ + MOVE_SHORT_FROM_UPPERLEFT, + /** use the animation effect "Move Short from Top". + */ + MOVE_SHORT_FROM_TOP, + /** use the animation effect "Move Short from Upper Right". + */ + MOVE_SHORT_FROM_UPPERRIGHT, + /** use the animation effect "Move Short from Right". + */ + MOVE_SHORT_FROM_RIGHT, + /** use the animation effect "Move Short from Lower Right". + */ + MOVE_SHORT_FROM_LOWERRIGHT, + /** use the animation effect "Move Short from Bottom". + */ + MOVE_SHORT_FROM_BOTTOM, + /** use the animation effect "Move Short from Lower Left". + */ + MOVE_SHORT_FROM_LOWERLEFT, + /** use the animation effect "Move Short to Left". + */ + MOVE_SHORT_TO_LEFT, + /** use the animation effect "Move Short to Upper Left". + */ + MOVE_SHORT_TO_UPPERLEFT, + /** use the animation effect "Move Short to Top". + */ + MOVE_SHORT_TO_TOP, + /** use the animation effect "Move Short to Upper Right". + */ + MOVE_SHORT_TO_UPPERRIGHT, + /** use the animation effect "Move Short to Right". + */ + MOVE_SHORT_TO_RIGHT, + /** use the animation effect "Move Short to Lower Right". + */ + MOVE_SHORT_TO_LOWERRIGHT, + /** use the animation effect "Move Short to Bottom". + */ + MOVE_SHORT_TO_BOTTOM, + /** use the animation effect "Move Short to Lower Left". + */ + MOVE_SHORT_TO_LOWERLEFT, + /** use the animation effect "Vertical Checkerboard". + */ + VERTICAL_CHECKERBOARD, + /** use the animation effect "Horizontal Checkerboard". + */ + HORIZONTAL_CHECKERBOARD, + /** use the animation effect "Horizontal Rotate". + */ + HORIZONTAL_ROTATE, + /** use the animation effect "Vertical Rotate". + */ + VERTICAL_ROTATE, + /** use the animation effect "Horizontal Stretch". + */ + HORIZONTAL_STRETCH, + /** use the animation effect "Vertical Stretch". + */ + VERTICAL_STRETCH, + /** use the animation effect "Stretch From Left". + */ + STRETCH_FROM_LEFT, + /** use the animation effect "Stretch From Upper Left". + */ + STRETCH_FROM_UPPERLEFT, + /** use the animation effect "Stretch From Top". + */ + STRETCH_FROM_TOP, + /** use the animation effect "Stretch From Upper Right". + */ + STRETCH_FROM_UPPERRIGHT, + /** use the animation effect "Stretch From Right". + */ + STRETCH_FROM_RIGHT, + /** use the animation effect "Stretch From Lower Right". + */ + STRETCH_FROM_LOWERRIGHT, + /** use the animation effect "Stretch From Bottom". + */ + STRETCH_FROM_BOTTOM, + /** use the animation effect "Stretch From Lower Left". + */ + STRETCH_FROM_LOWERLEFT, + /** use the animation effect "Zoom In". + */ + ZOOM_IN, + /** use the animation effect "Zoom In Small". + */ + ZOOM_IN_SMALL, + /** use the animation effect "Zoom In Spiral". + */ + ZOOM_IN_SPIRAL, + /** use the animation effect "Zoom Out". + */ + ZOOM_OUT, + /** use the animation effect "Zoom Out Small". + */ + ZOOM_OUT_SMALL, + /** use the animation effect "Zoom Out Spiral". + */ + ZOOM_OUT_SPIRAL, + /** use the animation effect "Zoom In From Left". + */ + ZOOM_IN_FROM_LEFT, + /** use the animation effect "Zoom In From Upper Left". + */ + ZOOM_IN_FROM_UPPERLEFT, + /** use the animation effect "Zoom In From Top". + */ + ZOOM_IN_FROM_TOP, + /** use the animation effect "Zoom In From Upper Right". + */ + ZOOM_IN_FROM_UPPERRIGHT, + /** use the animation effect "Zoom In From Right". + */ + ZOOM_IN_FROM_RIGHT, + /** use the animation effect "Zoom In From Lower Right". + */ + ZOOM_IN_FROM_LOWERRIGHT, + /** use the animation effect "Zoom In From Bottom". + */ + ZOOM_IN_FROM_BOTTOM, + /** use the animation effect "Zoom In From Lower Left". + */ + ZOOM_IN_FROM_LOWERLEFT, + /** use the animation effect "Zoom In From Center". + */ + ZOOM_IN_FROM_CENTER, + /** use the animation effect "Zoom Out From Left". + */ + ZOOM_OUT_FROM_LEFT, + /** use the animation effect "Zoom Out From Upper Left". + */ + ZOOM_OUT_FROM_UPPERLEFT, + /** use the animation effect "Zoom Out From Top". + */ + ZOOM_OUT_FROM_TOP, + /** use the animation effect "Zoom Out From Upper Right". + */ + ZOOM_OUT_FROM_UPPERRIGHT, + /** use the animation effect "Zoom Out From Right". + */ + ZOOM_OUT_FROM_RIGHT, + /** use the animation effect "Zoom Out From Lower Right". + */ + ZOOM_OUT_FROM_LOWERRIGHT, + /** use the animation effect "Zoom Out From Bottom". + */ + ZOOM_OUT_FROM_BOTTOM, + /** use the animation effect "Zoom Out From Lower Left". + */ + ZOOM_OUT_FROM_LOWERLEFT, + /** use the animation effect "Zoom Out From Center". + */ + ZOOM_OUT_FROM_CENTER +}; + + +}; }; }; }; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/presentation/AnimationSpeed.idl b/offapi/com/sun/star/presentation/AnimationSpeed.idl new file mode 100644 index 000000000..90f997056 --- /dev/null +++ b/offapi/com/sun/star/presentation/AnimationSpeed.idl @@ -0,0 +1,53 @@ +/* -*- 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_AnimationSpeed_idl__ +#define __com_sun_star_presentation_AnimationSpeed_idl__ + + + + module com { module sun { module star { module presentation { + + +/** specifies the speed values of animation/fade effects. + */ +published enum AnimationSpeed +{ + + /** set the speed from the animation/fade to slow. + */ + SLOW, + + + /** set the speed from the animation/fade to medium. + */ + MEDIUM, + + + /** set the speed from the animation/fade to fast. + */ + FAST + +}; + + +}; }; }; }; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/presentation/ChartShape.idl b/offapi/com/sun/star/presentation/ChartShape.idl new file mode 100644 index 000000000..91092d2da --- /dev/null +++ b/offapi/com/sun/star/presentation/ChartShape.idl @@ -0,0 +1,49 @@ +/* -*- 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_ChartShape_idl__ +#define __com_sun_star_presentation_ChartShape_idl__ + +#include + +#include + + + + module com { module sun { module star { module presentation { + + +/** This service is implemented by the chart presentation shape. + +

Presentation shapes can be used in a presentation + page layouts and their position and size is by default set + by the presentation shapes on the com::sun::star::drawing::MasterPage. + */ +published service ChartShape +{ + service com::sun::star::presentation::Shape; + + service com::sun::star::drawing::OLE2Shape; +}; + + +}; }; }; }; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/presentation/ClickAction.idl b/offapi/com/sun/star/presentation/ClickAction.idl new file mode 100644 index 000000000..b4c265aac --- /dev/null +++ b/offapi/com/sun/star/presentation/ClickAction.idl @@ -0,0 +1,109 @@ +/* -*- 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_ClickAction_idl__ +#define __com_sun_star_presentation_ClickAction_idl__ + + + + module com { module sun { module star { module presentation { + + +/** This enumeration specifies the actions which can be processed when + a user clicks on an object. + */ +published enum ClickAction +{ + + /** No action is performed on click. + */ + NONE, + + + /** The presentation jumps to the previous page. + */ + PREVPAGE, + + + /** The presentation jumps to the next page. + */ + NEXTPAGE, + + + /** The presentation continues with the first page. + */ + FIRSTPAGE, + + + /** The presentation continues with the last page. + */ + LASTPAGE, + + + /** The presentation jumps to a bookmark. + */ + BOOKMARK, + + + /** The presentation jumps to another document. + */ + DOCUMENT, + + + /** The object renders itself invisible after a click. + */ + INVISIBLE, + + + /** A sound is played after a click. + */ + SOUND, + + + /** An OLE verb is performed on this object. + */ + VERB, + + + /** The object vanishes with its effect. + */ + VANISH, + + + /** Another program is executed after a click. + */ + PROGRAM, + + + /** A star basic macro is executed after the click. + */ + MACRO, + + + /** The presentation is stopped after the click. + */ + STOPPRESENTATION + +}; + + +}; }; }; }; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/presentation/CustomPresentation.idl b/offapi/com/sun/star/presentation/CustomPresentation.idl new file mode 100644 index 000000000..81a5e7e21 --- /dev/null +++ b/offapi/com/sun/star/presentation/CustomPresentation.idl @@ -0,0 +1,55 @@ +/* -*- 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_CustomPresentation_idl__ +#define __com_sun_star_presentation_CustomPresentation_idl__ + +#include + +#include + + + + module com { module sun { module star { module presentation { + + +/** A custom presentation can show the pages of its presentation in a + customized order. + +

Such a presentation can use certain pages more than once, + but it does not necessarily use all of the pages.

+ */ +published service CustomPresentation +{ + /** This is the container of the names of pages in this customized + presentation. + */ + interface com::sun::star::container::XIndexContainer; + + /** This gives you access to the name of this customized presentation. + */ + interface com::sun::star::container::XNamed; + +}; + + +}; }; }; }; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/presentation/CustomPresentationAccess.idl b/offapi/com/sun/star/presentation/CustomPresentationAccess.idl new file mode 100644 index 000000000..3398d67e0 --- /dev/null +++ b/offapi/com/sun/star/presentation/CustomPresentationAccess.idl @@ -0,0 +1,58 @@ +/* -*- 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_CustomPresentationAccess_idl__ +#define __com_sun_star_presentation_CustomPresentationAccess_idl__ + +#include + +#include + + + module com { module sun { module star { module presentation { + + +/** This is a container for custom presentations. + */ +published service CustomPresentationAccess +{ + /** This is the container of the custom presentations. + +

Each instance in this container implements the service + CustomPresentation. +

The methods insertByName and replaceByName both replace + the name of the given CustomPresentation + */ + interface com::sun::star::container::XNameContainer; + + /** This interface lets you create empty instances of + the service CustomPresentation. + +

These services are needed for the insertByName + and replaceByName methods of this service + com::sun::star::container::XNameContainer interface. + */ + interface com::sun::star::lang::XSingleServiceFactory; +}; + + +}; }; }; }; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/presentation/DateTimeShape.idl b/offapi/com/sun/star/presentation/DateTimeShape.idl new file mode 100644 index 000000000..36644b70e --- /dev/null +++ b/offapi/com/sun/star/presentation/DateTimeShape.idl @@ -0,0 +1,49 @@ +/* -*- 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_DateTimeShape_idl__ +#define __com_sun_star_presentation_DateTimeShape_idl__ + +#include + +#include + + + + module com { module sun { module star { module presentation { + + +/** This service is implemented by the date and time presentation shape. + +

Presentation shapes can be used in a presentation + page layouts and their position and size is by default set + by the presentation shapes on the com::sun::star::drawing::MasterPage. + */ +service DateTimeShape +{ + service com::sun::star::presentation::Shape; + + service com::sun::star::drawing::TextShape; +}; + + +}; }; }; }; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/presentation/DocumentSettings.idl b/offapi/com/sun/star/presentation/DocumentSettings.idl new file mode 100644 index 000000000..613b8cac5 --- /dev/null +++ b/offapi/com/sun/star/presentation/DocumentSettings.idl @@ -0,0 +1,106 @@ +/* -*- 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_DocumentSettings_idl__ +#define __com_sun_star_presentation_DocumentSettings_idl__ + +#include +#include + + +module com { module sun { module star { module presentation { + + +/** describes properties that apply to the whole presentation document. + */ +published service DocumentSettings +{ + /** This service documents the common properties of an office document + */ + service com::sun::star::document::Settings; + + + /** This service configures the header and footer settings during print + */ + [optional] service com::sun::star::document::HeaderFooterSettings; + + + /** provides access to the properties. + */ + interface com::sun::star::beans::XPropertySet; + + + /** enables or disables the printing of the drawing pages + */ + [optional, property] boolean IsPrintDrawing; + + /** enables or disables the printing of the notes pages + */ + [optional, property] boolean IsPrintNotes; + + /** enables or disables the printing of the handout pages + */ + [optional, property] boolean IsPrintHandout; + + /** enables or disables the printing of the outline pages + */ + [optional, property] boolean IsPrintOutline; + + /** enables or disables the printing of draw pages that + are marked hidden + */ + [optional, property] boolean IsPrintHiddenPages; + + // Note: the following properties exist also in + // css::drawing::DocumentSettings + + + /** enables or disables the fitting of the page to the printable + area during print + */ + [optional, property] boolean IsPrintFitPage; + + /** if this is true and the paper size for printing is larger than + the paper size of the printer than the content is tiled over + multiple pages. + */ + [optional, property] boolean IsPrintTilePage; + + /** is the number format used for page number fields + + Values 0-7 are supported. + + @see com::sun::star::style::NumberingType + */ + [optional, property] long PageNumberFormat; + + /** If this is true, the distance between two paragraphs is + the sum of ParaBottomMargin of the previous and ParaTopMargin of + the next paragraph. If false, only the greater of the two is + chosen. + */ + [optional, property] boolean ParagraphSummation; + +}; + + +}; }; }; }; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/presentation/DrawPage.idl b/offapi/com/sun/star/presentation/DrawPage.idl new file mode 100644 index 000000000..0e070470a --- /dev/null +++ b/offapi/com/sun/star/presentation/DrawPage.idl @@ -0,0 +1,157 @@ +/* -*- 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_DrawPage_idl__ +#define __com_sun_star_presentation_DrawPage_idl__ + +#include + +#include + +#include + +#include + + + + module com { module sun { module star { module presentation { + + +/** This is the service provided by a com::sun::star::drawing::DrawPage inside a + PresentationDocument. + + @see PresentationDocument + */ +published service DrawPage +{ + service com::sun::star::drawing::DrawPage; + + /** Every page is a link target inside the document object model. + */ + service com::sun::star::document::LinkTarget; + + + /** specifies how the page change is triggered. + +

If this is 0, the user must click to start each object animation + and to change the page. If set to 1, the page is + automatically switched. If it is set to 2, all object effects run + automatically, but the user has to click on the page to change it.

+ */ + [property] long Change; + + + /** If the property com::sun::star::drawing::DrawPage::Change is set to 1, + this is the time in seconds this page is shown before switching + to the next page. + */ + [property] long Duration; + + /** If the property com::sun::star::drawing::DrawPage::Change is set to 1, + this is the time in seconds this page is shown before switching + to the next page, also permitting sub-second precision here. + */ + [optional, property] double HighResDuration; + + /** This is the effect that is used to fade in this page. + */ + [property] com::sun::star::presentation::FadeEffect Effect; + + + /** If this property is not ZERO, this number specifies a presentation + layout for this page. + */ + [property] short Layout; + + + /** Defines the speed of the fade-in effect of this page. + @see TransitionSpeed + */ + [property] com::sun::star::presentation::AnimationSpeed Speed; + + /** defines if a header presentation shape from the master page is visible + on this page. + */ + + [optional, property] boolean IsHeaderVisible; + + + /** defines the text that is displayed in a header textfield rendered on this + page. + */ + [optional, property] string HeaderText; + + + /** defines if a footer presentation shape from the master page is visible + on this page. + */ + + [optional, property] boolean IsFooterVisible; + + + /** defines the text that is displayed in a footer textfield rendered on this + page. + */ + [optional, property] string FooterText; + + + /** defines if a page number presentation shape from the master page is visible + on this page. + */ + + [optional, property] boolean IsPageNumberVisible; + + + /** defines if a date and time presentation shape from the master page is visible + on this page. + */ + + [optional, property] boolean IsDateTimeVisible; + + + /** defines if a date and time text field shows a fixed string value or the + current date on this page. + */ + + [optional, property] boolean IsDateTimeFixed; + + + /** defines the text that is displayed in a date and time textfield rendered on this + page. This value is only used if IsDateTimeFixed is `TRUE`. + */ + [optional, property] string DateTimeText; + + + /** defines the format that is used to format a date and time text field on + this page. This is only used if IsDateTimeFixed is `FALSE`. + */ + [optional, property] long DateTimeFormat; + + /** Specifies slide transition time in seconds. + @since LibreOffice 6.1 + @see Speed + */ + [property, optional] double TransitionDuration; +}; + + +}; }; }; }; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/presentation/EffectCommands.idl b/offapi/com/sun/star/presentation/EffectCommands.idl new file mode 100644 index 000000000..248527195 --- /dev/null +++ b/offapi/com/sun/star/presentation/EffectCommands.idl @@ -0,0 +1,67 @@ +/* -*- 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_EffectCommands_idl__ +#define __com_sun_star_presentation_EffectCommands_idl__ + + + module com { module sun { module star { module presentation { + + +/** + @see ::com::sun::star::animations::XCommand +*/ +constants EffectCommands +{ + /** the command is user defined + */ + const short CUSTOM = 0; + + /** the command is an OLE verb. + Required parameters are + "Verb" of type long that specifies the verb to execute. + */ + const short VERB = 1; + + /** the command starts playing on a media object. + Optional parameters are + "MediaTime" of type double that specifies the start + time in milliseconds. If not given, play continues at + last position known. + */ + const short PLAY = 2; + + /** the command toggles the pause status on a media object. + */ + const short TOGGLEPAUSE = 3; + + /** the command stops the animation on a media object + */ + const short STOP = 4; + + /** the command stops all currently running sound effects. + */ + const short STOPAUDIO = 5; +}; + + +}; }; }; }; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/presentation/EffectNodeType.idl b/offapi/com/sun/star/presentation/EffectNodeType.idl new file mode 100644 index 000000000..53382eaa1 --- /dev/null +++ b/offapi/com/sun/star/presentation/EffectNodeType.idl @@ -0,0 +1,72 @@ +/* -*- 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_EffectNodeType_idl__ +#define __com_sun_star_presentation_EffectNodeType_idl__ + + + module com { module sun { module star { module presentation { + + +/** This constants defines a type for an animation effect node. +
+ This is stored with the name node-type inside the + ::com::sun::star::animations::XAnimationNode::UserData sequence. +
+ This does not manipulate the timing or synchronization. + It can be used to quickly identify semantic blocks inside an animation hierarchy. + + @see ::com::sun::star::animations::XAnimationNode +*/ +constants EffectNodeType +{ + /** This node has no special meaning. + */ + const short DEFAULT = 0; + + /** This node contains an effect that starts on click. + */ + const short ON_CLICK = 1; + + /** This node contains an effect that starts with a previous effect. + */ + const short WITH_PREVIOUS = 2; + + /** This node contains an effect that starts after a previous effect has finished. + */ + const short AFTER_PREVIOUS = 3; + + /** This is the main sequence for effects that is automatically started. + */ + const short MAIN_SEQUENCE = 4; + + /** This is the root sequence. + */ + const short TIMING_ROOT = 5; + + /** This is a sequence with effects that starts due to user interaction. + */ + const short INTERACTIVE_SEQUENCE = 6; +}; + + +}; }; }; }; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/presentation/EffectPresetClass.idl b/offapi/com/sun/star/presentation/EffectPresetClass.idl new file mode 100644 index 000000000..9ff0e1201 --- /dev/null +++ b/offapi/com/sun/star/presentation/EffectPresetClass.idl @@ -0,0 +1,52 @@ +/* -*- 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_EffectPresetClass_idl__ +#define __com_sun_star_presentation_EffectPresetClass_idl__ + + + module com { module sun { module star { module presentation { + + +/** This constants defines the class for a preset animation effect. +
+ This is stored with the name preset-class inside the + ::com::sun::star::animations::XAnimationNode::UserData sequence. +
+ This does not manipulate the timing or synchronization. + It can be used to quickly identify preset animations inside an animation hierarchy. + + @see ::com::sun::star::animations::XAnimationNode +*/ +constants EffectPresetClass +{ + const short CUSTOM = 0; + const short ENTRANCE = 1; + const short EXIT = 2; + const short EMPHASIS = 3; + const short MOTIONPATH = 4; + const short OLEACTION = 5; + const short MEDIACALL = 6; +}; + + +}; }; }; }; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/presentation/FadeEffect.idl b/offapi/com/sun/star/presentation/FadeEffect.idl new file mode 100644 index 000000000..6d88e4f68 --- /dev/null +++ b/offapi/com/sun/star/presentation/FadeEffect.idl @@ -0,0 +1,322 @@ +/* -*- 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_FadeEffect_idl__ +#define __com_sun_star_presentation_FadeEffect_idl__ + + + + module com { module sun { module star { module presentation { + + +/** specifies the fade effects to fade one page into another. + */ +published enum FadeEffect +{ + + /** use no fade effects. + */ + NONE, + + + /** use the fade effect "Fade from Left". + */ + FADE_FROM_LEFT, + + + /** use the fade effect "Fade from Top". + */ + FADE_FROM_TOP, + + + /** use the fade effect "Fade from Right". + */ + FADE_FROM_RIGHT, + + + /** use the fade effect "Fade from Bottom". + */ + FADE_FROM_BOTTOM, + + + /** use the fade effect "Fade to Center". + */ + FADE_TO_CENTER, + + + /** use the fade effect "Fade from Center". + */ + FADE_FROM_CENTER, + + + /** use the fade effect "Move from Left". + */ + MOVE_FROM_LEFT, + + + /** use the fade effect "Move from Top". + */ + MOVE_FROM_TOP, + + + /** use the fade effect "Move from Right". + */ + MOVE_FROM_RIGHT, + + + /** use the fade effect "Move from Bottom". + */ + MOVE_FROM_BOTTOM, + + + /** use the fade effect "Roll from Left". + */ + ROLL_FROM_LEFT, + + + /** use the fade effect "Roll from Top". + */ + ROLL_FROM_TOP, + + + /** use the fade effect "Roll from Right". + */ + ROLL_FROM_RIGHT, + + + /** use the fade effect "Roll from Bottom". + */ + ROLL_FROM_BOTTOM, + + + /** use the fade effect "Vertical Stripes". + */ + VERTICAL_STRIPES, + + + /** use the fade effect "Horizontal Stripes". + */ + HORIZONTAL_STRIPES, + + + /** use the fade effect "Clockwise". + */ + CLOCKWISE, + + + /** use the fade effect "Counter Clockwise". + */ + COUNTERCLOCKWISE, + + + /** use the fade effect "Fade from Upper Left". + */ + FADE_FROM_UPPERLEFT, + + + /** use the fade effect "Fade from Upper Right". + */ + FADE_FROM_UPPERRIGHT, + + + /** use the fade effect "Fade from Lower Left". + */ + FADE_FROM_LOWERLEFT, + + + /** use the fade effect "Fade from Lower Right". + */ + FADE_FROM_LOWERRIGHT, + + + /** use the fade effect "Close Vertical". + */ + CLOSE_VERTICAL, + + + /** use the fade effect "Close Horizontal". + */ + CLOSE_HORIZONTAL, + + + /** use the fade effect "Open Vertical". + */ + OPEN_VERTICAL, + + + /** use the fade effect "Open Horizontal". + */ + OPEN_HORIZONTAL, + + + /** use the fade effect "Spiral Inward Left". + */ + SPIRALIN_LEFT, + + + /** use the fade effect "Spiral Inward Right". + */ + SPIRALIN_RIGHT, + + + /** use the fade effect "Spiral Outward Left". + */ + SPIRALOUT_LEFT, + + + /** use the fade effect "Spiral Outward Right". + */ + SPIRALOUT_RIGHT, + + + /** use the fade effect "Dissolve". + */ + DISSOLVE, + + + /** use the fade effect "Wavy Line from Left". + */ + WAVYLINE_FROM_LEFT, + + + /** use the fade effect "Wavy Line from Top". + */ + WAVYLINE_FROM_TOP, + + + /** use the fade effect "Wavy Line from Right". + */ + WAVYLINE_FROM_RIGHT, + + + /** use the fade effect "Wavy Line from Bottom". + */ + WAVYLINE_FROM_BOTTOM, + + + /** use the fade effect "Random". + */ + RANDOM, + + + /** use the fade effect "Stretch from Left". + */ + STRETCH_FROM_LEFT, + + + /** use the fade effect "Stretch from Top". + */ + STRETCH_FROM_TOP, + + + /** use the fade effect "Stretch from Right". + */ + STRETCH_FROM_RIGHT, + + + /** use the fade effect "Stretch from Bottom". + */ + STRETCH_FROM_BOTTOM, + + + /** use the fade effect "Vertical Lines". + */ + VERTICAL_LINES, + + + /** use the fade effect "Horizontal Lines". + */ + HORIZONTAL_LINES, + + + /** use the fade effect "Move from Upper Left". + */ + MOVE_FROM_UPPERLEFT, + + + /** use the fade effect "Move from Upper Right". + */ + MOVE_FROM_UPPERRIGHT, + + + /** use the fade effect "Move from Lower Right". + */ + MOVE_FROM_LOWERRIGHT, + + + /** use the fade effect "Move from Lower Left". + */ + MOVE_FROM_LOWERLEFT, + + + /** use the fade effect "Uncover to Left". + */ + UNCOVER_TO_LEFT, + + + /** use the fade effect "Uncover to Upper Left". + */ + UNCOVER_TO_UPPERLEFT, + + + /** use the fade effect "Uncover to Top". + */ + UNCOVER_TO_TOP, + + + /** use the fade effect "Uncover to Upper Right". + */ + UNCOVER_TO_UPPERRIGHT, + + + /** use the fade effect "Uncover to Right". + */ + UNCOVER_TO_RIGHT, + + + /** use the fade effect "Uncover to Lower Right". + */ + UNCOVER_TO_LOWERRIGHT, + + + /** use the fade effect "Uncover to Bottom". + */ + UNCOVER_TO_BOTTOM, + + + /** use the fade effect "Uncover to Lower Left". + */ + UNCOVER_TO_LOWERLEFT, + + + /** use the fade effect "Vertical Checkerboard". + */ + VERTICAL_CHECKERBOARD, + + + /** use the fade effect "Horizontal Checkerboard". + */ + HORIZONTAL_CHECKERBOARD +}; + + +}; }; }; }; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/presentation/FooterShape.idl b/offapi/com/sun/star/presentation/FooterShape.idl new file mode 100644 index 000000000..3841a7e92 --- /dev/null +++ b/offapi/com/sun/star/presentation/FooterShape.idl @@ -0,0 +1,49 @@ +/* -*- 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_FooterShape_idl__ +#define __com_sun_star_presentation_FooterShape_idl__ + +#include + +#include + + + + module com { module sun { module star { module presentation { + + +/** This service is implemented by the footer presentation shape. + +

Presentation shapes can be used in a presentation + page layouts and their position and size is by default set + by the presentation shapes on the com::sun::star::drawing::MasterPage. + */ +service FooterShape +{ + service com::sun::star::presentation::Shape; + + service com::sun::star::drawing::TextShape; +}; + + +}; }; }; }; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/presentation/GraphicObjectShape.idl b/offapi/com/sun/star/presentation/GraphicObjectShape.idl new file mode 100644 index 000000000..3806fc0e1 --- /dev/null +++ b/offapi/com/sun/star/presentation/GraphicObjectShape.idl @@ -0,0 +1,49 @@ +/* -*- 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_GraphicObjectShape_idl__ +#define __com_sun_star_presentation_GraphicObjectShape_idl__ + +#include + +#include + + + + module com { module sun { module star { module presentation { + + +/** This service is implemented by the graphic presentation shape. + +

Presentation shapes can be used in a presentation + page layouts and their position and size is by default set + by the presentation shapes on the com::sun::star::drawing::MasterPage. + */ +published service GraphicObjectShape +{ + service com::sun::star::presentation::Shape; + + service com::sun::star::drawing::GraphicObjectShape; +}; + + +}; }; }; }; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/presentation/HandoutShape.idl b/offapi/com/sun/star/presentation/HandoutShape.idl new file mode 100644 index 000000000..767bd7d6e --- /dev/null +++ b/offapi/com/sun/star/presentation/HandoutShape.idl @@ -0,0 +1,49 @@ +/* -*- 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_HandoutShape_idl__ +#define __com_sun_star_presentation_HandoutShape_idl__ + +#include + +#include + + + + module com { module sun { module star { module presentation { + + +/** This service is implemented by the handout presentation shape. + +

Presentation shapes can be used in a presentation + page layouts and their position and size is by default set + by the presentation shapes on the com::sun::star::drawing::MasterPage. + */ +published service HandoutShape +{ + service com::sun::star::presentation::Shape; + + service com::sun::star::drawing::PageShape; +}; + + +}; }; }; }; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/presentation/HandoutView.idl b/offapi/com/sun/star/presentation/HandoutView.idl new file mode 100644 index 000000000..86ef8e78c --- /dev/null +++ b/offapi/com/sun/star/presentation/HandoutView.idl @@ -0,0 +1,47 @@ +/* -*- 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_HandoutView_idl__ +#define __com_sun_star_presentation_HandoutView_idl__ + +#include + + + module com { module sun { module star { module presentation { + + +/** This component integrates a view to a handout page inside a presentation + document into the desktop. + + @since OOo 1.1.2 + */ +published service HandoutView +{ + + /** this services offers the integration of this component into the + desktop and the basic interfaces and properties of a draw view. + */ + service com::sun::star::drawing::DrawingDocumentDrawView; +}; + + +}; }; }; }; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/presentation/HeaderShape.idl b/offapi/com/sun/star/presentation/HeaderShape.idl new file mode 100644 index 000000000..8d380ec93 --- /dev/null +++ b/offapi/com/sun/star/presentation/HeaderShape.idl @@ -0,0 +1,49 @@ +/* -*- 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_HeaderShape_idl__ +#define __com_sun_star_presentation_HeaderShape_idl__ + +#include + +#include + + + + module com { module sun { module star { module presentation { + + +/** This service is implemented by the header presentation shape. + +

Presentation shapes can be used in a presentation + page layouts and their position and size is by default set + by the presentation shapes on the com::sun::star::drawing::MasterPage. + */ +service HeaderShape +{ + service com::sun::star::presentation::Shape; + + service com::sun::star::drawing::TextShape; +}; + + +}; }; }; }; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/presentation/NotesShape.idl b/offapi/com/sun/star/presentation/NotesShape.idl new file mode 100644 index 000000000..bcf950c22 --- /dev/null +++ b/offapi/com/sun/star/presentation/NotesShape.idl @@ -0,0 +1,49 @@ +/* -*- 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_NotesShape_idl__ +#define __com_sun_star_presentation_NotesShape_idl__ + +#include + +#include + + + + module com { module sun { module star { module presentation { + + +/** This service is implemented by the notes presentation shape. + +

Presentation shapes can be used in a presentation + page layouts and their position and size is by default set + by the presentation shapes on the com::sun::star::drawing::MasterPage. + */ +published service NotesShape +{ + service com::sun::star::presentation::Shape; + + service com::sun::star::drawing::TextShape; +}; + + +}; }; }; }; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/presentation/NotesView.idl b/offapi/com/sun/star/presentation/NotesView.idl new file mode 100644 index 000000000..65e6de6c7 --- /dev/null +++ b/offapi/com/sun/star/presentation/NotesView.idl @@ -0,0 +1,47 @@ +/* -*- 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_NotesView_idl__ +#define __com_sun_star_presentation_NotesView_idl__ + +#include + + + module com { module sun { module star { module presentation { + + +/** This component integrates a view to a handout page inside a presentation + document into the desktop. + + @since OOo 1.1.2 + */ +published service NotesView +{ + + /** this services offers the integration of this component into the + desktop and the basic interfaces and properties of a draw view. + */ + service com::sun::star::drawing::DrawingDocumentDrawView; +}; + + +}; }; }; }; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/presentation/OLE2Shape.idl b/offapi/com/sun/star/presentation/OLE2Shape.idl new file mode 100644 index 000000000..8914c92ff --- /dev/null +++ b/offapi/com/sun/star/presentation/OLE2Shape.idl @@ -0,0 +1,49 @@ +/* -*- 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_OLE2Shape_idl__ +#define __com_sun_star_presentation_OLE2Shape_idl__ + +#include + +#include + + + + module com { module sun { module star { module presentation { + + +/** This service is implemented by the OLE2 presentation shape. + +

Presentation shapes can be used in a presentation + page layouts and their position and size is by default set + by the presentation shapes on the com::sun::star::drawing::MasterPage. + */ +published service OLE2Shape +{ + service com::sun::star::presentation::Shape; + + service com::sun::star::drawing::OLE2Shape; +}; + + +}; }; }; }; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/presentation/OutlineView.idl b/offapi/com/sun/star/presentation/OutlineView.idl new file mode 100644 index 000000000..2eb9d7d2c --- /dev/null +++ b/offapi/com/sun/star/presentation/OutlineView.idl @@ -0,0 +1,75 @@ +/* -*- 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_OutlineView_idl__ +#define __com_sun_star_presentation_OutlineView_idl__ + +#include + +#include + +#include + +#include + +#include + + + module com { module sun { module star { module presentation { + + +/** This component integrates an outline view to a presentation + document into the desktop. + + In an outline view, the textual contents of presentation text objects + from all presentation pages are presented as a continuous outline text. + + @since OOo 1.1.2 + */ +published service OutlineView +{ + + /** this services offers the integration of this component into the + desktop. + */ + service com::sun::star::frame::Controller; + + + /** lets you access the window for this view + */ + interface com::sun::star::awt::XWindow; + + + + /** lets you access the properties of this service. + */ + interface com::sun::star::beans::XPropertySet; + + + /** This is the area that is currently visible. + */ + [readonly, property] com::sun::star::awt::Rectangle VisibleArea; + +}; + + +}; }; }; }; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/presentation/OutlinerShape.idl b/offapi/com/sun/star/presentation/OutlinerShape.idl new file mode 100644 index 000000000..be5267493 --- /dev/null +++ b/offapi/com/sun/star/presentation/OutlinerShape.idl @@ -0,0 +1,49 @@ +/* -*- 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_OutlinerShape_idl__ +#define __com_sun_star_presentation_OutlinerShape_idl__ + +#include + +#include + + + + module com { module sun { module star { module presentation { + + +/** This service is implemented by the outline presentation shape. + +

Presentation shapes can be used in a presentation + page layouts and their position and size is by default set + by the presentation shapes on the com::sun::star::drawing::MasterPage. + */ +published service OutlinerShape +{ + service com::sun::star::presentation::Shape; + + service com::sun::star::drawing::TextShape; +}; + + +}; }; }; }; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/presentation/PageShape.idl b/offapi/com/sun/star/presentation/PageShape.idl new file mode 100644 index 000000000..0730b1ee2 --- /dev/null +++ b/offapi/com/sun/star/presentation/PageShape.idl @@ -0,0 +1,49 @@ +/* -*- 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_PageShape_idl__ +#define __com_sun_star_presentation_PageShape_idl__ + +#include + +#include + + + + module com { module sun { module star { module presentation { + + +/** This service is implemented by the page presentation shape. + +

Presentation shapes can be used in a presentation + page layouts and their position and size is by default set + by the presentation shapes on the com::sun::star::drawing::MasterPage. + */ +published service PageShape +{ + service com::sun::star::presentation::Shape; + + service com::sun::star::drawing::PageShape; +}; + + +}; }; }; }; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/presentation/ParagraphTarget.idl b/offapi/com/sun/star/presentation/ParagraphTarget.idl new file mode 100644 index 000000000..ad36ed7bb --- /dev/null +++ b/offapi/com/sun/star/presentation/ParagraphTarget.idl @@ -0,0 +1,47 @@ +/* -*- 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_ParagraphTarget_idl__ +#define __com_sun_star_presentation_ParagraphTarget_idl__ + +#include + + + module com { module sun { module star { module presentation { + + +/** an event has a source that causes an event to be fired and a trigger + that defines under which condition an event should be raised and + an offset if the event should be raised a defined amount of time + after the event is triggered. +*/ +struct ParagraphTarget +{ + /** */ + com::sun::star::drawing::XShape Shape; + + /** */ + short Paragraph; +}; + + +}; }; }; }; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/presentation/Presentation.idl b/offapi/com/sun/star/presentation/Presentation.idl new file mode 100644 index 000000000..6ba0c95bb --- /dev/null +++ b/offapi/com/sun/star/presentation/Presentation.idl @@ -0,0 +1,133 @@ +/* -*- 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_Presentation_idl__ +#define __com_sun_star_presentation_Presentation_idl__ + +#include + +#include + + + + module com { module sun { module star { module presentation { + + +/** This service is a presentation that is available from a + PresentationDocument via the + XPresentationSupplier interface. + */ +published service Presentation +{ + /** lets you start and stop a presentation. + +

It also gives you access to the more advanced features, like + rehearse timing and the live modes. + */ + interface com::sun::star::presentation::XPresentation; + + + /** This is the standard interface for access to the properties from this + service. + */ + interface com::sun::star::beans::XPropertySet; + + + /** enables/disables the shape animations. + */ + [property] boolean AllowAnimations; + + + /** If this string is not empty, it contains the name of a customized + show that is used for the presentation. + */ + [property] string CustomShow; + + + /** If this string is not empty, it contains the name of the page where + the presentation is started. + */ + [property] string FirstPage; + + + /** If this property is set to `TRUE`, the window of the presentation is + always on top of all other windows. + */ + [property] boolean IsAlwaysOnTop; + + + /** If this property is `TRUE`, all pages are changed automatically. + +

This overrides the properties of the pages.

+ */ + [property] boolean IsAutomatic; + + + /** If this property is set to `TRUE`, the presentation is repeated + endlessly. + */ + [property] boolean IsEndless; + + + /** If this property is set to `TRUE`, the presentation runs in + full-screen mode. + */ + [property] boolean IsFullScreen; + + + /** With this property, you can set the presentation to live mode. +

Implementations that have no live mode capability may ignore this + property and always return false. + */ + [property] boolean IsLivePresentation; + + + /** If this property is `TRUE`, the mouse is visible during the + presentation. + */ + [property] boolean IsMouseVisible; + + + /** is the duration of the black screen after the + presentation has finished. + +

If this is set to 0, no black screen is shown.

+ */ + [property] long Pause; + + + /** If this is set to `TRUE`, the Navigator is opened at the start of the + presentation. + */ + [property] boolean StartWithNavigator; + + + /** If this is `TRUE`, a pen is shown during presentation. + +

You can draw on the presentation with this pen.

+ */ + [property] boolean UsePen; + +}; + + +}; }; }; }; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/presentation/Presentation2.idl b/offapi/com/sun/star/presentation/Presentation2.idl new file mode 100644 index 000000000..406f04245 --- /dev/null +++ b/offapi/com/sun/star/presentation/Presentation2.idl @@ -0,0 +1,50 @@ +/* -*- 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_Presentation2_idl__ +#define __com_sun_star_presentation_Presentation2_idl__ + +#include +#include + + + module com { module sun { module star { module presentation { + + +/** enhances the Presentation service to give access to a XPresentation2 interface. + + @since OOo 3.0 +*/ +service Presentation2 +{ + service Presentation; + + /** enhances the XPresentation interface to give access to + a XSlideShowController and + to start a presentation with arguments. + */ + interface com::sun::star::presentation::XPresentation2; + +}; + + +}; }; }; }; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/presentation/PresentationDocument.idl b/offapi/com/sun/star/presentation/PresentationDocument.idl new file mode 100644 index 000000000..55622acfc --- /dev/null +++ b/offapi/com/sun/star/presentation/PresentationDocument.idl @@ -0,0 +1,85 @@ +/* -*- 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_PresentationDocument_idl__ +#define __com_sun_star_presentation_PresentationDocument_idl__ + +#include +#include +#include +#include + + + + module com { module sun { module star { module presentation { + + +/** This is the service provided by a presentation document. + */ +service PresentationDocument +{ + /** This is a basic service for a drawing document. + +

The following services are available at the + com::sun::star::lang::XMultiServiceFactory + only in a presentation application + +

    +
  • TitleTextShape
  • +
  • OutlinerShape
  • +
  • SubtitleShape
  • +
  • GraphicObjectShape
  • +
  • PageShape
  • +
  • OLE2Shape
  • +
  • ChartShape
  • +
  • NotesShape
  • +
  • HandoutShape
  • +
  • HeaderShape
  • +
  • FooterShape
  • +
  • SlideNumberShape
  • +
  • DateTimeShape
  • +
  • DocumentSettings
  • +
  • textfield::Header
  • +
  • textfield::Footer
  • +
  • textfield::DateTime
  • +
+ */ + service com::sun::star::drawing::GenericDrawingDocument; + + /** lets you access the presentation of this document. + */ + interface com::sun::star::presentation::XPresentationSupplier; + + /** lets you access the custom presentations of this + document. + */ + interface com::sun::star::presentation::XCustomPresentationSupplier; + + /** gives you access to the first link hierarchy inside + a document, the pages. + */ + interface com::sun::star::document::XLinkTargetSupplier; + +}; + + +}; }; }; }; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/presentation/PresentationRange.idl b/offapi/com/sun/star/presentation/PresentationRange.idl new file mode 100644 index 000000000..03fa04b4b --- /dev/null +++ b/offapi/com/sun/star/presentation/PresentationRange.idl @@ -0,0 +1,52 @@ +/* -*- 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_PresentationRange_idl__ +#define __com_sun_star_presentation_PresentationRange_idl__ + + + + module com { module sun { module star { module presentation { + + +/** specifies which part of the presentation is to show. + */ +published enum PresentationRange +{ + /** use all slides. + */ + PRESENTATIONRANGE_ALL, + + + /** use only the active slide. + */ + PRESENTATIONRANGE_FROM_PAGE, + + + /** use an individual choice of slides. + */ + PRESENTATIONRANGE_INDIVIDUAL + +}; + + +}; }; }; }; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/presentation/PresentationView.idl b/offapi/com/sun/star/presentation/PresentationView.idl new file mode 100644 index 000000000..9300dcb85 --- /dev/null +++ b/offapi/com/sun/star/presentation/PresentationView.idl @@ -0,0 +1,80 @@ +/* -*- 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_PresentationView_idl__ +#define __com_sun_star_presentation_PresentationView_idl__ + +#include + +#include + +#include + +#include +#include + + + +module com { module sun { module star { module presentation { + + +/** This component integrates a view to a slide show of a presentation + document into the desktop. + */ +published service PresentationView +{ + + /** this services offers the integration of this component into the + desktop. + */ + service com::sun::star::frame::Controller; + + + /** lets you access the window for this view + */ + interface com::sun::star::awt::XWindow; + + + /** lets you set/get the current page displayed by this + view. + */ + interface com::sun::star::drawing::XDrawView; + + + /** lets you access the properties of this service. + */ + interface com::sun::star::beans::XPropertySet; + + + /** This is the drawing page that is currently visible. + */ + [property] com::sun::star::drawing::XDrawPage CurrentPage; + + + /** This is the area that is currently visible. + */ + [readonly, property] com::sun::star::awt::Rectangle VisibleArea; + +}; + + +}; }; }; }; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/presentation/PreviewView.idl b/offapi/com/sun/star/presentation/PreviewView.idl new file mode 100644 index 000000000..5542f4d7c --- /dev/null +++ b/offapi/com/sun/star/presentation/PreviewView.idl @@ -0,0 +1,83 @@ +/* -*- 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_PreviewView_idl__ +#define __com_sun_star_presentation_PreviewView_idl__ + +#include + +#include + +#include + +#include + +#include + + +module com { module sun { module star { module presentation { + + +/** This component integrates a preview view to a slide show of a presentation + document into the desktop. + + @since OOo 1.1.2 + */ +published service PreviewView +{ + + /** this services offers the integration of this component into the + desktop. + */ + service com::sun::star::frame::Controller; + + + /** lets you access the window for this view + */ + interface com::sun::star::awt::XWindow; + + + /** lets you set/get the current page displayed by this + view. + */ + interface com::sun::star::drawing::XDrawView; + + + + /** lets you access the properties of this service. + */ + interface com::sun::star::beans::XPropertySet; + + + /** This is the drawing page that is currently visible. + */ + [property] com::sun::star::drawing::XDrawPage CurrentPage; + + + /** This is the area that is currently visible. + */ + [readonly, property] com::sun::star::awt::Rectangle VisibleArea; + +}; + + +}; }; }; }; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/presentation/Shape.idl b/offapi/com/sun/star/presentation/Shape.idl new file mode 100644 index 000000000..9b2a63409 --- /dev/null +++ b/offapi/com/sun/star/presentation/Shape.idl @@ -0,0 +1,147 @@ +/* -*- 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_Shape_idl__ +#define __com_sun_star_presentation_Shape_idl__ + +#include +#include + +#include + +#include + + + + module com { module sun { module star { module presentation { + + +/** this service is supported from all shapes inside a PresentationDocument. + + + This usually enhances objects of type com::sun::star::drawing::Shape with + presentation properties. +*/ +published service Shape +{ + + /** is a generic URL for the property OnClick. + */ + [property] string Bookmark; + + + /** This is the color for dimming this shape. + +

This color is used if the property com::sun::star::drawing::Shape::DimPrev + is `TRUE` and com::sun::star::drawing::Shape::DimHide is `FALSE`.

+ */ + [property] com::sun::star::util::Color DimColor; + + + /** If this property and the property com::sun::star::drawing::Shape::DimPrev + are both `TRUE`, the shape is hidden instead of dimmed to a color. + */ + [property] boolean DimHide; + + + /** If this property is `TRUE`, this shape is dimmed to the color of + property com::sun::star::drawing::Shape::DimColor after executing its + animation effect. + */ + [property] boolean DimPrevious; + + + /** selects the animation effect of this shape. + */ + [property] com::sun::star::presentation::AnimationEffect Effect; + + + /** If this is a default presentation object and if it is empty, + this property is `TRUE`. + */ + [property] boolean IsEmptyPresentationObject; + + + /** If this is a presentation object, this property is `TRUE`. +

Presentation objects are objects like TitleTextShape and + OutlinerShape.

+ */ + [readonly, property] boolean IsPresentationObject; + + + /** selects an action performed after the user clicks + on this shape. + */ + [property] com::sun::star::presentation::ClickAction OnClick; + + + /** If this property is `TRUE`, the sound of this shape is played in + full. + +

The default behavior is to stop the sound after completing the + animation effect.

+ */ + [property] boolean PlayFull; + + + /** This is the position of this shape in the order of the shapes which + can be animated on its page. + +

The animations are executed in this order, starting at the shape + with the PresentationOrder "one." You can change the order by + changing this number. Setting it to "one" makes this shape the + first shape in the execution order for the animation effects.

+ */ + [property] long PresentationOrder; + + + /** This is the URL to a sound file that is played while the animation + effect of this shape is running. + */ + [property] string Sound; + + + /** If this property is set to `TRUE`, a sound is played while the + animation effect is executed. + */ + [property] boolean SoundOn; + + + /** This is the speed of the animation effect. + */ + [property] com::sun::star::presentation::AnimationSpeed Speed; + + + /** This is the animation effect for the text inside this shape. + */ + [property] com::sun::star::presentation::AnimationEffect TextEffect; + + + /** specifies an "OLE2" verb for the ClickAction VERB in + the property com::sun::star::drawing::Shape::OnClick. + */ + [property] long Verb; + +}; + + +}; }; }; }; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/presentation/ShapeAnimationSubType.idl b/offapi/com/sun/star/presentation/ShapeAnimationSubType.idl new file mode 100644 index 000000000..57214c385 --- /dev/null +++ b/offapi/com/sun/star/presentation/ShapeAnimationSubType.idl @@ -0,0 +1,57 @@ +/* -*- 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_ShapeAnimationSubType_idl__ +#define __com_sun_star_presentation_ShapeAnimationSubType_idl__ + + + module com { module sun { module star { module presentation { + + +/** Defines the whole shape or a subitem as a target for an + effect. + + @see ::com::sun::star::animations::XAnimate::SubItem + @see ::com::sun::star::animations::XIterateContainer::SubItem +*/ +constants ShapeAnimationSubType +{ + /** the whole shape is a target + */ + const short AS_WHOLE = 0; + + /** only the background is a target. +
+ The Background of a shape is the whole shape except all + visible elements that are part of the shapes text. + */ + const short ONLY_BACKGROUND = 1; + + /** only the text is a target. +
+ This includes all glyphs, font decorations and bullets. + */ + const short ONLY_TEXT = 2; +}; + + +}; }; }; }; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/presentation/SlideNumberShape.idl b/offapi/com/sun/star/presentation/SlideNumberShape.idl new file mode 100644 index 000000000..399d9d7ca --- /dev/null +++ b/offapi/com/sun/star/presentation/SlideNumberShape.idl @@ -0,0 +1,49 @@ +/* -*- 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_SlideNumberShape_idl__ +#define __com_sun_star_presentation_SlideNumberShape_idl__ + +#include + +#include + + + + module com { module sun { module star { module presentation { + + +/** This service is implemented by the slide number presentation shape. + +

Presentation shapes can be used in a presentation + page layouts and their position and size is by default set + by the presentation shapes on the com::sun::star::drawing::MasterPage. + */ +service SlideNumberShape +{ + service com::sun::star::presentation::Shape; + + service com::sun::star::drawing::TextShape; +}; + + +}; }; }; }; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/presentation/SlideShow.idl b/offapi/com/sun/star/presentation/SlideShow.idl new file mode 100644 index 000000000..acd61536b --- /dev/null +++ b/offapi/com/sun/star/presentation/SlideShow.idl @@ -0,0 +1,33 @@ +/* -*- 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 + +module com { module sun { module star { module presentation { + +service SlideShow : XSlideShow; + +}; }; }; }; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/presentation/SlidesView.idl b/offapi/com/sun/star/presentation/SlidesView.idl new file mode 100644 index 000000000..0e8d0a527 --- /dev/null +++ b/offapi/com/sun/star/presentation/SlidesView.idl @@ -0,0 +1,76 @@ +/* -*- 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_SlidesView_idl__ +#define __com_sun_star_presentation_SlidesView_idl__ + +#include + +#include + +#include + +#include + +#include + + + module com { module sun { module star { module presentation { + + +/** This component integrates a slides view to a presentation + document into the desktop. + + In a slides view, the pages of a presentation document are displayed + to the user as thumbnails and can be arranged and cut/copied to/from + the clipboard. + + @since OOo 1.1.2 + */ +published service SlidesView +{ + + /** this services offers the integration of this component into the + desktop. + */ + service com::sun::star::frame::Controller; + + + /** lets you access the window for this view + */ + interface com::sun::star::awt::XWindow; + + + + /** lets you access the properties of this service. + */ + interface com::sun::star::beans::XPropertySet; + + + /** This is the area that is currently visible. + */ + [readonly, property] com::sun::star::awt::Rectangle VisibleArea; + +}; + + +}; }; }; }; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/presentation/SubtitleShape.idl b/offapi/com/sun/star/presentation/SubtitleShape.idl new file mode 100644 index 000000000..5c02523ab --- /dev/null +++ b/offapi/com/sun/star/presentation/SubtitleShape.idl @@ -0,0 +1,49 @@ +/* -*- 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_SubtitleShape_idl__ +#define __com_sun_star_presentation_SubtitleShape_idl__ + +#include + +#include + + + + module com { module sun { module star { module presentation { + + +/** This service is implemented by the subtitle presentation shape. + +

Presentation shapes can be used in a presentation + page layouts and their position and size is by default set + by the presentation shapes on the com::sun::star::drawing::MasterPage. + */ +published service SubtitleShape +{ + service com::sun::star::presentation::Shape; + + service com::sun::star::drawing::TextShape; +}; + + +}; }; }; }; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/presentation/TextAnimationType.idl b/offapi/com/sun/star/presentation/TextAnimationType.idl new file mode 100644 index 000000000..bd3dbf2ea --- /dev/null +++ b/offapi/com/sun/star/presentation/TextAnimationType.idl @@ -0,0 +1,54 @@ +/* -*- 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_TextAnimationType_idl__ +#define __com_sun_star_presentation_TextAnimationType_idl__ + + + module com { module sun { module star { module presentation { + + +/** Defines how a target ::com::sun::star::text::XTextRange + is animated inside an ::com::sun::star::animations::XIterateContainer. +
+ This is stored inside the attribute + ::com::sun::star::animations::XIterateContainer::IterateType. +
+ @see ::com::sun::star::animations::XIterateContainer +*/ +constants TextAnimationType +{ + /** the text is animated paragraph by paragraph + */ + const short BY_PARAGRAPH = 0; + + /** the text is animated word by word + */ + const short BY_WORD = 1; + + /** the text is animated letter by letter. + */ + const short BY_LETTER = 2; +}; + + +}; }; }; }; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/presentation/TitleTextShape.idl b/offapi/com/sun/star/presentation/TitleTextShape.idl new file mode 100644 index 000000000..25b6cb211 --- /dev/null +++ b/offapi/com/sun/star/presentation/TitleTextShape.idl @@ -0,0 +1,49 @@ +/* -*- 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_TitleTextShape_idl__ +#define __com_sun_star_presentation_TitleTextShape_idl__ + +#include + +#include + + + + module com { module sun { module star { module presentation { + + +/** This service is implemented by the title and subtitle presentation shape. + +

Presentation shapes can be used in a presentation + page layouts and their position and size is by default set + by the presentation shapes on the com::sun::star::drawing::MasterPage. + */ +published service TitleTextShape +{ + service com::sun::star::presentation::Shape; + + service com::sun::star::drawing::TextShape; +}; + + +}; }; }; }; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/presentation/TransitionFactory.idl b/offapi/com/sun/star/presentation/TransitionFactory.idl new file mode 100644 index 000000000..a4c93c9f9 --- /dev/null +++ b/offapi/com/sun/star/presentation/TransitionFactory.idl @@ -0,0 +1,34 @@ +/* -*- 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 + + +module com { module sun { module star { module presentation { + +service TransitionFactory : XTransitionFactory; + +}; }; }; }; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/presentation/XCustomPresentationSupplier.idl b/offapi/com/sun/star/presentation/XCustomPresentationSupplier.idl new file mode 100644 index 000000000..aca8f8a33 --- /dev/null +++ b/offapi/com/sun/star/presentation/XCustomPresentationSupplier.idl @@ -0,0 +1,52 @@ +/* -*- 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_XCustomPresentationSupplier_idl__ +#define __com_sun_star_presentation_XCustomPresentationSupplier_idl__ + +#include + +#include + + + + module com { module sun { module star { module presentation { + + +/** must be supported to provide access to customized + presentations of a presentation document. + + @see XCustomPresentation + @see XCustomPresentationAccess + */ +published interface XCustomPresentationSupplier: com::sun::star::uno::XInterface +{ + + /** @returns + the CustomPresentation. + */ + com::sun::star::container::XNameContainer getCustomPresentations(); + +}; + + +}; }; }; }; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/presentation/XHandoutMasterSupplier.idl b/offapi/com/sun/star/presentation/XHandoutMasterSupplier.idl new file mode 100644 index 000000000..bc3c2cb46 --- /dev/null +++ b/offapi/com/sun/star/presentation/XHandoutMasterSupplier.idl @@ -0,0 +1,45 @@ +/* -*- 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_XHandoutMasterSupplier_idl__ +#define __com_sun_star_presentation_XHandoutMasterSupplier_idl__ + +#include + +#include + + + + module com { module sun { module star { module presentation { + + +/** returns the handout master page for this document + */ +published interface XHandoutMasterSupplier: com::sun::star::uno::XInterface +{ + /** returns the DrawPage. + */ + com::sun::star::drawing::XDrawPage getHandoutMasterPage(); +}; + + +}; }; }; }; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/presentation/XPresentation.idl b/offapi/com/sun/star/presentation/XPresentation.idl new file mode 100644 index 000000000..c673fe278 --- /dev/null +++ b/offapi/com/sun/star/presentation/XPresentation.idl @@ -0,0 +1,58 @@ +/* -*- 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_XPresentation_idl__ +#define __com_sun_star_presentation_XPresentation_idl__ + +#include + + + + module com { module sun { module star { module presentation { + + +/** With this interface you can control any object that implements + a Presentation. +*/ +published interface XPresentation: com::sun::star::uno::XInterface +{ + + /** The presentation is shown in full-screen and started from the + beginning. + */ + void start(); + + + /** The presentation is stopped and the full-screen mode will end. + */ + void end(); + + + /** Starts the presentation from the beginning and shows the + actual running time to the user. + */ + void rehearseTimings(); + +}; + + +}; }; }; }; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/presentation/XPresentation2.idl b/offapi/com/sun/star/presentation/XPresentation2.idl new file mode 100644 index 000000000..fb7b552b1 --- /dev/null +++ b/offapi/com/sun/star/presentation/XPresentation2.idl @@ -0,0 +1,71 @@ +/* -*- 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_XPresentation2_idl__ +#define __com_sun_star_presentation_XPresentation2_idl__ + +#include +#include +#include +#include +#include + + + module com { module sun { module star { module presentation { + + +/** enhances the XPresentation interface to give access to + a XSlideShowController and + to start a presentation with arguments. + + @since OOo 3.0 +*/ +interface XPresentation2 +{ + + /** allows to start and stop the presentation. + */ + interface XPresentation; + + + /** gives access to the properties of the slide show. + */ + interface com::sun::star::beans::XPropertySet; + + + /** start the slide show with the given arguments. + All arguments override the values from Presentation. + */ + void startWithArguments( [in] sequence< ::com::sun::star::beans::PropertyValue > Arguments ); + + + /** returns true if the slide show is currently running */ + boolean isRunning(); + + + /** if the slide show is running, this returns a controller object to + control the running slide show. */ + XSlideShowController getController(); +}; + + +}; }; }; }; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/presentation/XPresentationPage.idl b/offapi/com/sun/star/presentation/XPresentationPage.idl new file mode 100644 index 000000000..7594248ca --- /dev/null +++ b/offapi/com/sun/star/presentation/XPresentationPage.idl @@ -0,0 +1,49 @@ +/* -*- 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_XPresentationPage_idl__ +#define __com_sun_star_presentation_XPresentationPage_idl__ + +#include + + + + module com { module sun { module star { module presentation { + + +/** describes a page from a presentation. + + @see com::sun::star::drawing::DrawPage + */ +published interface XPresentationPage: com::sun::star::drawing::XDrawPage +{ + + /** return the note page from the current page in the presentation, + the name for the note page in the user interface note view, and one of the views + from a presentation page. + */ + com::sun::star::drawing::XDrawPage getNotesPage(); + +}; + + +}; }; }; }; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/presentation/XPresentationSupplier.idl b/offapi/com/sun/star/presentation/XPresentationSupplier.idl new file mode 100644 index 000000000..81887e3b6 --- /dev/null +++ b/offapi/com/sun/star/presentation/XPresentationSupplier.idl @@ -0,0 +1,48 @@ +/* -*- 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_XPresentationSupplier_idl__ +#define __com_sun_star_presentation_XPresentationSupplier_idl__ + +#include + +#include + + + + module com { module sun { module star { module presentation { + + +/** controls a presentation directly. This supplier will do this. + */ +published interface XPresentationSupplier: com::sun::star::uno::XInterface +{ + + /** + @returns an interface to control a presentation. + */ + com::sun::star::presentation::XPresentation getPresentation(); + +}; + + +}; }; }; }; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/presentation/XShapeEventListener.idl b/offapi/com/sun/star/presentation/XShapeEventListener.idl new file mode 100644 index 000000000..61f7c74b8 --- /dev/null +++ b/offapi/com/sun/star/presentation/XShapeEventListener.idl @@ -0,0 +1,54 @@ +/* -*- 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_XShapeEventListener_idl__ +#define __com_sun_star_presentation_XShapeEventListener_idl__ + +#include +#include +#include + +module com { module sun { module star { module presentation { + +/** Listener interface to receive shape-specific events.

+ + @since OOo 2.4 + */ +interface XShapeEventListener : ::com::sun::star::lang::XEventListener +{ + /** Notify a clicked shape.

+ + This method notifies the listener that a shape was + clicked.

+ + @param xShape + The shape that was clicked upon. + + @param aOriginalEvent + The original mouse click event that generated this notification. + */ + void click( [in] ::com::sun::star::drawing::XShape xShape, + [in] ::com::sun::star::awt::MouseEvent aOriginalEvent ); +}; + +}; }; }; }; + + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/presentation/XSlideShow.idl b/offapi/com/sun/star/presentation/XSlideShow.idl new file mode 100644 index 000000000..fe232b372 --- /dev/null +++ b/offapi/com/sun/star/presentation/XSlideShow.idl @@ -0,0 +1,344 @@ +/* -*- 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_XSlideShow_idl +#define _com_sun_star_presentation_XSlideShow_idl + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +module com { module sun { module star { module presentation { + +/** Slide show interface to perform slide show presentations.

+ + This interface provides the necessary methods to run and control a + slide show from a given set of XDrawPage slides. The slide show can + be displayed simultaneously on multiple targets.

+ + Note: To control a running slide show inside a presentation, please + use XPresentation2 and XSlideShowController. + + @since OOo 3.0 + */ +interface XSlideShow : ::com::sun::star::uno::XInterface +{ + /** Trigger the next effect of the slide show.

+ + This method triggers the next effect on the currently + displayed slide. If there is currently no slide show running, + this method does nothing. If there are no more effects on the + current slide, a possible slide transition effect is issued + and the next slide is displayed.

+ + @return `TRUE`, if the next effect was successfully + triggered. This method returns `FALSE`, if there is no show + running, the last effect on the last slide was already + triggered, or the implementation failed to trigger the next + effect. + */ + boolean nextEffect(); + + /** Undo the last effect in the main sequence of the slide show.

+ + The current slide is displayed as if the last user-triggered effect + has never been triggered. If there is no previous effect on the + current slide then slideEnded(true) is called at the registered + XSlideShowListener objects, which can then trigger a change to the + previous slide. Note that this command is executed asynchronously. + Multiple calls to update() may be necessary to complete its execution. + If there is currently no slide show running, this method does + nothing.

+ + @return `TRUE`, if the previous effect was successfully + triggered. This method returns `FALSE`, if there is no show + running, the first effect on the first slide was not yet + triggered, or the implementation failed to trigger the previous + effect. + */ + boolean previousEffect(); + + /** Start a shape-intrinsic animation or activity.

+ + This method starts an animation or activity intrinsic to the + given shape. Shape-intrinsic activities are things like video + playback for multimedia shapes, sounds, GIF animations and + drawing layer animations (flipping between shapes in a group, + or scroll text).

+ + @param xShape + The shape to start the activity for + */ + boolean startShapeActivity( [in] ::com::sun::star::drawing::XShape xShape ); + + /** Stop a shape-intrinsic animation or activity.

+ + This method stops an animation or activity intrinsic to the + given shape. Shape-intrinsic activities are things like video + playback for multimedia shapes, sounds, GIF animations and + drawing layer animations (flipping between shapes in a group, + or scroll text).

+ + @param xShape + The shape to stop the activity for + */ + boolean stopShapeActivity( [in] ::com::sun::star::drawing::XShape xShape ); + + /** Jump to the given slide.

+ + This method ends all effects on the current slide, displays a + possible slide transition, followed by the given slide. If the + current slide is equal to the requested slide here, this + method does nothing (this especially means, that any currently + active effects will remain running).

+ + @param xSlide + The slide to display. + + @param xDrawPages + For future use. + + @param AnimationNode + The animation node determine the animations to display. + + @param aProperties + Sequence of property values, which influence the way the + slide is displayed. Currently, the + following values are recognized: +

    +
  • name: Prefetch, value: ::com::sun::star::drawing::XDrawPage. When given, + 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 + enough time for prefetching. If the next call to displaySlide() uses + a different slide, this will still work but will not have any performance + improvements +
  • +
  • name: SkipAllMainSequenceEffects, value: boolean. + When `TRUE` then all main sequence effects on the new slide + are triggered. This is typically used when going back one + effect leads to the previous slide. On that slide all + effects have to be shown in order to continue the backward + traveling. + When `FALSE`, the default, then no main sequence effect is + triggered. +
  • +
  • name: SkipSlideTransition, value: boolean. + When `TRUE` then the slide transition animation, if there + is any, is not displayed. This is typically used when going + back one effect leads to the previous slide. Typically used + together with SkipAllMainSequenceEffects also being `TRUE`. + When `FALSE`, the default, then the slide transition + effect, if it exists, is played. +
  • +
+ */ + void displaySlide( + [in] ::com::sun::star::drawing::XDrawPage xSlide, + [in] ::com::sun::star::drawing::XDrawPagesSupplier xDrawPages, + [in] ::com::sun::star::animations::XAnimationNode AnimationNode, + [in] sequence< ::com::sun::star::beans::PropertyValue > aProperties ); + + /** Change the pause state of the slide show.

+ + This method either pauses the slide show (all currently + running effects are stopped), or starts a previously stopped + show again (all paused effects start again).

+ + @param bPauseShow + When `TRUE`, the show is paused. When `FALSE`, and the show + was paused, it starts running at the paused position again. + + @return `TRUE`, if the requested action was successfully + performed. + */ + boolean pause( [in] boolean bPauseShow ); + + /** Query the currently displayed slide.

+ + @return the instance of the current slide. If there's no + slide show running at the moment, this method returns an + empty reference. + */ + ::com::sun::star::drawing::XDrawPage getCurrentSlide(); + + /** Register drawn polygons in presentation mode + + @param xDocFactory + + */ + + void registerUserPaintPolygons([in] ::com::sun::star::lang::XMultiServiceFactory xDocFactory); + + /** Change a property of the slide show.

+ + @param aShowProperty + Property values, which influence the way the slides are + shown. Note that this might possibly be a subset of what is + supported on show(). Currently, the following values + are recognized: +

    +
  • name: AutomaticAdvancement, value: double. When given, effects + and slides are advanced automatically. The double value specifies + the timeout between the end of one effect until the start of the + next one. Negative values are truncated to zero here. When given, + but with empty value, automatic advancement is disabled again.
  • +
  • name: UserPaintColor, value: long. When given, the slide show + will display a small stylus as the mouse cursor. When pressing the + left mouse key, the user can paint a thin line in the given color.
  • +
+ A changed property is effective immediately. + */ + boolean setProperty( + [in] ::com::sun::star::beans::PropertyValue aShowProperty ); + + /** Add a view to the slide show.

+ + This method adds a view to the slide show. After successful + completion of this method, the slide show will be visible on + the added view, scaled according to the view's output area.

+ + @param xView + The view to add + + @return `TRUE`, if the view has been successfully + added. Otherwise, `FALSE` is returned (e.g. if the view is + already added). + */ + boolean addView( [in] XSlideShowView xView ); + + /** Remove view from the slide show.

+ + This method removes the given view from the slide show. After + successful completion of this method, the slide show will + cease to display on this view.

+ + @param xView + View to remove + + @return `TRUE`, if the view was successfully removed, `FALSE` + otherwise (e.g. if the view was not added in the first place). + */ + boolean removeView( [in] XSlideShowView xView ); + + /** Update the animations.

+ + This method updates all currently active slide animations. The + XSlideShow implementations do not render animations + automatically, but must be called from their clients. This + allows for various update mechanisms to be employed, ranging + from a dedicated rendering thread, over timer-based updates, + to rendering in an idle function. Either way, the client of + this interface decide about the details.

+ + @param nNextTimeout + Via this value, the implementation can return a timeout value, + denoting the maximal time span that must not be exceeded from + the return of this method to the next update call. Otherwise, + the animations might show visible jerks. + + @return `TRUE`, if further update calls are required. If + `FALSE` is returned, no further update calls are necessary, + until anyone of the other interface methods is called (most + notably, the next/previousSlide(), nextEffect() and show() + methods will nearly always make further update() calls + necessary). + */ + boolean update( [out] double nNextTimeout ); + + /** Add a slide show listener.

+ + This method adds a listener to the slide show, which will get + notified when a registered shape is clicked upon, or a new + slide is about to be displayed. Note that the listeners will + not be notified, when the slide change is directly + requested by one of the nextSlide(), previousSlide() or + displaySlide() methods. + + @param xListener + Listener to add. + */ + void addSlideShowListener( [in] XSlideShowListener xListener ); + + /** Revoke a previously registered slide show listener.

+ + @param xListener + Listener interface to revoke from being called. + */ + void removeSlideShowListener( [in] XSlideShowListener xListener ); + + /** Add a shape event listener.

+ + This method adds a listener to the slide show, which will get + notified when a mouse click is performed on the given + shape. This can be used by clients of the slide show to + trigger external actions, such as jumps to different slides.

+ + @param xListener + Listener to add. + + @param xShape + Shape to register a listener for. + */ + void addShapeEventListener( + [in] XShapeEventListener xListener, + [in] ::com::sun::star::drawing::XShape xShape ); + + /** Revoke a previously registered shape event listener.

+ + @param xListener + Listener interface to revoke from being called. + + @param xShape + Shape for which the listener should be revoked. + */ + void removeShapeEventListener( + [in] XShapeEventListener xListener, + [in] ::com::sun::star::drawing::XShape xShape ); + + /** Set a special mouse cursor for a shape.

+ + This method requests the slide show to display a special + cursor, whenever the mouse is hovering over the given shape.

+ + @param xShape + Shape to display a special mouse cursor. + + @param nPointerShape + Type of mouse cursor to display. Must be one of the + ::com::sun::star::awt::SystemPointer values. + */ + void setShapeCursor( + [in] ::com::sun::star::drawing::XShape xShape, + [in] short nPointerShape ); + +}; + +}; }; }; }; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/presentation/XSlideShowController.idl b/offapi/com/sun/star/presentation/XSlideShowController.idl new file mode 100644 index 000000000..2d93e33c9 --- /dev/null +++ b/offapi/com/sun/star/presentation/XSlideShowController.idl @@ -0,0 +1,267 @@ +/* -*- 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_XSlideShowController_idl__ +#define __com_sun_star_presentation_XSlideShowController_idl__ + +#include +#include +#include +#include + + + module com { module sun { module star { module presentation { + + +/** interface to control a running slide show. + + @see XPresentation2 + @since OOo 3.0 +*/ +interface XSlideShowController +{ + + /** returns true if the slide show is still running. + If this returns false, this component is already disposed. + You can start a new slide show and get a new instance + of XSlideShowController from XPresentation2 + */ + boolean isRunning(); + + + /** @returns + the number of slides in this slide show. + + @see getSlideByIndex + */ + long getSlideCount(); + + + /** gives access to the slides that will be shown in this slide show. + +

Slides are returned in the order they will be displayed in the + presentation which can be different than the orders of slides in + the document. Not all slides must be present and each slide can + be used more than once. + + @returns + the slide at the specified index. + + @param Index + specifies the position in the list of slides that are displayed + in this slide show. The first index is 0. + + @throws com::sun::star::lang::IndexOutOfBoundsException + if the index is not valid. + + */ + ::com::sun::star::drawing::XDrawPage getSlideByIndex( [in] long Index ) + raises( com::sun::star::lang::IndexOutOfBoundsException ); + + + /** adds a listener that receives events while the slide show is running. */ + void addSlideShowListener( [in] XSlideShowListener Listener ); + + + /** removes a listener. */ + void removeSlideShowListener( [in] XSlideShowListener Listener ); + + + /** start next effects that wait on a generic trigger. +

If no generic triggers are waiting the next + slide will be displayed. + */ + void gotoNextEffect(); + + + /** undo the last effects that were triggered by a generic trigger. +

If there is no previous effect that can be undone then the + previous slide will be displayed. + */ + void gotoPreviousEffect(); + + + /** goto and display first slide */ + void gotoFirstSlide(); + + + /** goto and display next slide. +

Remaining effects on the current slide will be skipped.*/ + void gotoNextSlide(); + + + /** goto and display previous slide. +

Remaining effects on the current slide will be skipped.*/ + void gotoPreviousSlide(); + + + /** goto and display last slide. +

Remaining effects on the current slide will be skipped.*/ + void gotoLastSlide(); + + + /** goto the given textual bookmark */ + void gotoBookmark( [in] string Bookmark ); + + + /** jumps to the given slide. +

The slide can also be a slide that would normally not be shown during + the current slide show. + + @throws com::sun::star::lang::IllegalArgumentException + if the given page is not a valid slide of the document for + which this slide show is started. Also not allowed are master, + notes and handout pages. + */ + void gotoSlide( [in] com::sun::star::drawing::XDrawPage Page ) + raises( com::sun::star::lang::IllegalArgumentException ); + + + /** jumps to the slide at the given index. + */ + void gotoSlideIndex( [in] long Index ); + + + /** stop all currently played sounds */ + void stopSound(); + + + /** pauses the slide show. All effects are paused. +

The slide show continues on next user input or if + resume() is called. + */ + void pause(); + + + /** resumes a paused slide show. + */ + void resume(); + + + /** returns `TRUE` if the slide show is currently paused. + + @see pause() + @see resume() + */ + boolean isPaused(); + + + /** pauses the slide show and blanks the screen in the given color. +

Change attribute Pause to false to unpause + the slide show. + */ + void blankScreen( [in] long Color ); + + + /** activates the user interface of this slide show. + + @see deactivate() + @see isActive() + */ + void activate(); + + /** can be called to deactivate the user interface of this slide show. + +

A deactivated + @see activate() + @see isActive() + */ + void deactivate(); + + + /** determines if the slide show is active. + + @return + `TRUE` for UI active slide show +
+ `FALSE` otherwise + */ + boolean isActive(); + + + /** returns slide that is currently displayed */ + com::sun::star::drawing::XDrawPage getCurrentSlide(); + + + /** returns the index of the current slide. */ + long getCurrentSlideIndex(); + + + /** the index for the slide that is displayed next. */ + long getNextSlideIndex(); + + + /** returns `TRUE` if the slide show was started to run endlessly. + */ + boolean isEndless(); + + + /** Returns `TRUE` if the slide show was started in full-screen mode. + */ + boolean isFullScreen(); + + + /** If this attribute is set to `TRUE`, the window of the slide show is + always on top of all other windows. + */ + [attribute] boolean AlwaysOnTop; + + + /** If this attribute is `TRUE`, the mouse is visible during the + slide show. + */ + [attribute] boolean MouseVisible; + + + /** If this is `TRUE`, a pen is shown during presentation. + +

You can draw on the presentation with this pen.

+ */ + [attribute] boolean UsePen; + + + /** This attribute changes the color of the pen. */ + [attribute] long PenColor; + + /** This attribute changes the width of the pen. + + @since LibreOffice 4.2 + */ + [attribute] double PenWidth; + + + /** This method clears ink drawing from the slideshow being played + + @since LibreOffice 7.2 + */ + void setEraseAllInk( [in] boolean EraseAllInk ); + + /** returns the actual XSlideShow instance that runs the + slide show. +
Normally all navigation should be done using this controller and + not the XSlideShow itself. */ + XSlideShow getSlideShow(); + +}; + + +}; }; }; }; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/presentation/XSlideShowListener.idl b/offapi/com/sun/star/presentation/XSlideShowListener.idl new file mode 100644 index 000000000..9a4d56568 --- /dev/null +++ b/offapi/com/sun/star/presentation/XSlideShowListener.idl @@ -0,0 +1,72 @@ +/* -*- 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_XSlideShowListener_idl__ +#define __com_sun_star_presentation_XSlideShowListener_idl__ + +#include + +module com { module sun { module star { module presentation { + +/** Listener interface to receive global slide show events.

+ + @see XShapeEventListener + + @since OOo 3.0 + */ +interface XSlideShowListener : ::com::sun::star::animations::XAnimationListener +{ + /** Notify that the slide show is paused + */ + void paused(); + + /** Notify that the slide show is resumed from a paused state */ + void resumed(); + + /** Notify that a new slide starts to become visible. */ + void slideTransitionStarted(); + + /** Notify that the slide transition of the current slide ended. */ + void slideTransitionEnded(); + + /** Notify that the last animation from the main sequence + of the current slide has ended. */ + void slideAnimationsEnded(); + + /** Notify that the current slide has ended, + e.g. the user has clicked on the slide. + Calling displaySlide() twice will not issue this event. + @param reverse + For the default order (forward) this flag is `FALSE`. + When the main sequence was traversed in reverse order then this + flag is `TRUE`. + */ + void slideEnded( [in] boolean reverse ); + + /** Notifies that a hyperlink has been clicked. + @param hyperLink hyperlink URL + */ + void hyperLinkClicked( [in] string hyperLink ); +}; + +}; }; }; }; + + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/presentation/XSlideShowView.idl b/offapi/com/sun/star/presentation/XSlideShowView.idl new file mode 100644 index 000000000..eaf25c86b --- /dev/null +++ b/offapi/com/sun/star/presentation/XSlideShowView.idl @@ -0,0 +1,181 @@ +/* -*- 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_XSlideShowView_idl__ +#define __com_sun_star_presentation_XSlideShowView_idl__ + +#include +#include +#include +#include +#include +#include +#include +#include + +module com { module sun { module star { module presentation { + +/** View interface to display slide show presentations on.

+ + This interface provides the necessary methods to enable an + XSlideShow interface to display a presentation. The slide show can + be displayed simultaneously on multiple views

+ + @since OOo 2.4 + */ +interface XSlideShowView : ::com::sun::star::uno::XInterface +{ + /** Get view canvas.

+ + This method gets the underlying XCanvas to display on this + view.

+ + @return XSpriteCanvas to display on. Must be valid, and the + same object, as long as this view is added to any slide show. + */ + ::com::sun::star::rendering::XSpriteCanvas getCanvas(); + + /** This method clears the whole view area. + + The slide show uses this method to fully erase the view + content. Since the slide show has no notion of view size, this + is the only reliable way to wholly clear the view. + */ + void clear(); + + /** Query the current transformation matrix for this view.

+ + This method returns the transformation matrix of the + view. When notified via the transformation change listener, + the show will be displayed using the new transformation.

+ + @return the view transformation matrix. Note that the slide + show itself will paint all slides as one-by-one boxes, one + therefore has to at least provide a scaling at this matrix to + blow this up to the desired device pixel size (640 times 480, + or whatever size the output view has). Furthermore, the aspect + ratio of the scaling should match that of the slides + (otherwise, the slides will be scaled anisotropically). + */ + ::com::sun::star::geometry::AffineMatrix2D getTransformation(); + + /** Query the current translation offset used to fill the physical screen while keeping aspect ratio.

+ + This method returns the translation offset of the view of the + view.

+ + @return the slideshowview will be transformed in order to fill + the physical screen while keeping the aspect ratio. + In order to do so, we need to add a black border on the side. This method + return an IntegerSize2D which represent (x, y) translation. + x represents the width of the border on the left, for example. + */ + ::com::sun::star::geometry::IntegerSize2D getTranslationOffset(); + + /** Add a listener to get notified when the transformation matrix changes.

+ + This method registers a listener with the view, which will get + called every time the transformation matrix changes.

+ + @param xListener + Listener interface to call when the transformation matrix changes. + */ + void addTransformationChangedListener( [in] ::com::sun::star::util::XModifyListener xListener ); + + /** Revoke a previously registered transformation matrix change listener.

+ + @param xListener + Listener interface to revoke from being called. + */ + void removeTransformationChangedListener( [in] ::com::sun::star::util::XModifyListener xListener ); + + /** Add a listener to get notified when this view needs a repaint.

+ + This method registers a listener with the view, which will get + called every time the view needs an update of their screen + representation.

+ + @param xListener + Listener interface to call when the view needs a repaint. + */ + void addPaintListener( [in] ::com::sun::star::awt::XPaintListener xListener ); + + /** Revoke a previously registered paint listener.

+ + @param xListener + Listener interface to revoke from being called. + */ + void removePaintListener( [in] ::com::sun::star::awt::XPaintListener xListener ); + + /** Add a mouse listener to the view.

+ + This method registers a listener with the view, which will get + called every time the mouse is clicked on the view.

+ + @param xListener + Listener interface to call when the mouse is clicked on the view. + */ + void addMouseListener( [in] com::sun::star::awt::XMouseListener xListener ); + + /** Revoke a previously registered mouse listener.

+ + @param xListener + Listener interface to revoke from being called. + */ + void removeMouseListener( [in] com::sun::star::awt::XMouseListener xListener ); + + /** Add a mouse motion listener to the view.

+ + This method registers a listener with the view, which will get + called every time the mouse is moved on the view.

+ + @param xListener + Listener interface to call when the mouse is moved on the view. + */ + void addMouseMotionListener( [in] com::sun::star::awt::XMouseMotionListener xListener ); + + /** Revoke a previously registered mouse move listener.

+ + @param xListener + Listener interface to revoke from being called. + */ + void removeMouseMotionListener( [in] com::sun::star::awt::XMouseMotionListener xListener ); + + /** Change the mouse cursor currently in effect.

+ + This method changes the mouse cursor currently in effect, for + this view.

+ + @param nPointerShape + New mouse cursor shape to display for this view. Must be from + the ::com::sun::star::awt::SystemPointer constant group. + */ + void setMouseCursor( [in] short nPointerShape ); + + /** Get rectangle defining area inside of canvas device which + this slide show view uses. + */ + ::com::sun::star::awt::Rectangle getCanvasArea(); +}; + +}; }; }; }; + + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/presentation/XTransition.idl b/offapi/com/sun/star/presentation/XTransition.idl new file mode 100644 index 000000000..e99c2560f --- /dev/null +++ b/offapi/com/sun/star/presentation/XTransition.idl @@ -0,0 +1,55 @@ +/* -*- 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_XTransition_idl__ +#define __com_sun_star_presentation_XTransition_idl__ + +#include + +module com { module sun { module star { + +module rendering { interface XBitmap; }; + +module presentation { + +interface XSlideShowView; + +/** Transition interface to render custom transitions over time.

+ + @since OOo 2.4 + */ +interface XTransition : ::com::sun::star::uno::XInterface +{ + /** Update transition on screen to given time state.

+ + @param t + Time on the transition timeline to display. Must be in the + [0,1] range. + */ + void update( [in] double t ); + + void viewChanged( [in] XSlideShowView view, + [in] com::sun::star::rendering::XBitmap leavingBitmap, + [in] com::sun::star::rendering::XBitmap enteringBitmap ); +}; + +}; }; }; }; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/presentation/XTransitionFactory.idl b/offapi/com/sun/star/presentation/XTransitionFactory.idl new file mode 100644 index 000000000..144556526 --- /dev/null +++ b/offapi/com/sun/star/presentation/XTransitionFactory.idl @@ -0,0 +1,79 @@ +/* -*- 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_XTransitionFactory_idl__ +#define __com_sun_star_presentation_XTransitionFactory_idl__ + +#include +#include + + +module com { module sun { module star { + +module rendering { interface XBitmap; }; + +module presentation { + +interface XTransition; +interface XSlideShowView; + +/** TransitionFactory interface to request optional custom Transition instances for slide show transitions.

+ + This interface provides the necessary methods to query and create optional transition effects for a SlideShow

+ + @since OOo 2.4 + */ +interface XTransitionFactory : ::com::sun::star::uno::XInterface +{ + /** Checks whether this instance provides an implementation for given transition id.

+ */ + boolean hasTransition( [in] short transitionType, [in] short transitionSubType ); + + /** Actually create a transition for the given transition id + + @param transitionType + Main type of transition (@see ::com::sun::star::animations::TransitionType) + + @param transitionSubType + Subtype for the transition (@see ::com::sun::star::animations::TransitionSubType) + + @param transitionFadeColor + Color to use (for some transitions) + + @param view + Slide show view to display on + + @param leavingBitmap + Bitmap of the slide that's going to leave the screen + + @param enteringBitmap + Bitmap of the slide that's going to enter the screen + */ + XTransition createTransition( [in] short transitionType, + [in] short transitionSubType, + [in] long transitionFadeColor, + [in] XSlideShowView view, + [in] com::sun::star::rendering::XBitmap leavingBitmap, + [in] com::sun::star::rendering::XBitmap enteringBitmap ); +}; + +}; }; }; }; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/presentation/textfield/DateTime.idl b/offapi/com/sun/star/presentation/textfield/DateTime.idl new file mode 100644 index 000000000..ea1c9e1df --- /dev/null +++ b/offapi/com/sun/star/presentation/textfield/DateTime.idl @@ -0,0 +1,41 @@ +/* -*- 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_textfield_DateTime_idl__ +#define __com_sun_star_presentation_textfield_DateTime_idl__ + +#include + + +module com { module sun { module star { module presentation { module textfield { + +/** specifies service of a presentation date and time text field. + @see com::sun::star::text::TextField +*/ +service DateTime +{ + service com::sun::star::text::TextField; +}; + + +}; }; }; }; }; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/presentation/textfield/Footer.idl b/offapi/com/sun/star/presentation/textfield/Footer.idl new file mode 100644 index 000000000..9439548bb --- /dev/null +++ b/offapi/com/sun/star/presentation/textfield/Footer.idl @@ -0,0 +1,41 @@ +/* -*- 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_textfield_Footer_idl__ +#define __com_sun_star_presentation_textfield_Footer_idl__ + +#include + + +module com { module sun { module star { module presentation { module textfield { + +/** specifies service of a presentation footer text field. + @see com::sun::star::text::TextField +*/ +service Footer +{ + service com::sun::star::text::TextField; +}; + + +}; }; }; }; }; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/presentation/textfield/Header.idl b/offapi/com/sun/star/presentation/textfield/Header.idl new file mode 100644 index 000000000..9d85329a5 --- /dev/null +++ b/offapi/com/sun/star/presentation/textfield/Header.idl @@ -0,0 +1,41 @@ +/* -*- 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_textfield_Header_idl__ +#define __com_sun_star_presentation_textfield_Header_idl__ + +#include + + +module com { module sun { module star { module presentation { module textfield { + +/** specifies service of a presentation header text field. + @see com::sun::star::text::TextField +*/ +service Header +{ + service com::sun::star::text::TextField; +}; + + +}; }; }; }; }; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ -- cgit v1.2.3