diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 09:06:44 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 09:06:44 +0000 |
commit | ed5640d8b587fbcfed7dd7967f3de04b37a76f26 (patch) | |
tree | 7a5f7c6c9d02226d7471cb3cc8fbbf631b415303 /offapi/com/sun/star/presentation | |
parent | Initial commit. (diff) | |
download | libreoffice-ed5640d8b587fbcfed7dd7967f3de04b37a76f26.tar.xz libreoffice-ed5640d8b587fbcfed7dd7967f3de04b37a76f26.zip |
Adding upstream version 4:7.4.7.upstream/4%7.4.7upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'offapi/com/sun/star/presentation')
56 files changed, 4660 insertions, 0 deletions
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 <com/sun/star/presentation/Shape.idl> + +#include <com/sun/star/drawing/OLE2Shape.idl> + + + + module com { module sun { module star { module presentation { + + +/** This service is implemented by the chart presentation shape. + + <p>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 <com/sun/star/container/XIndexContainer.idl> + +#include <com/sun/star/container/XNamed.idl> + + + + module com { module sun { module star { module presentation { + + +/** A custom presentation can show the pages of its presentation in a + customized order. + + <p>Such a presentation can use certain pages more than once, + but it does not necessarily use all of the pages.</p> + */ +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 <com/sun/star/container/XNameContainer.idl> + +#include <com/sun/star/lang/XSingleServiceFactory.idl> + + + 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. + + <p>Each instance in this container implements the service + CustomPresentation. + <p>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. + + <p>These services are needed for the <code>insertByName</code> + and <code>replaceByName</code> 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 <com/sun/star/presentation/Shape.idl> + +#include <com/sun/star/drawing/TextShape.idl> + + + + module com { module sun { module star { module presentation { + + +/** This service is implemented by the date and time presentation shape. + + <p>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 <com/sun/star/document/HeaderFooterSettings.idl> +#include <com/sun/star/document/Settings.idl> + + +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 <com/sun/star/drawing/DrawPage.idl> + +#include <com/sun/star/document/LinkTarget.idl> + +#include <com/sun/star/presentation/FadeEffect.idl> + +#include <com/sun/star/presentation/AnimationSpeed.idl> + + + + 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. + + <p>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.</p> + */ + [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 <code>IsDateTimeFixed</code> 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 <code>IsDateTimeFixed</code> 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. + <br> + This is stored with the name <i>node-type</i> inside the + ::com::sun::star::animations::XAnimationNode::UserData sequence. + <br> + 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. + <br> + This is stored with the name <i>preset-class</i> inside the + ::com::sun::star::animations::XAnimationNode::UserData sequence. + <br> + 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 <com/sun/star/presentation/Shape.idl> + +#include <com/sun/star/drawing/TextShape.idl> + + + + module com { module sun { module star { module presentation { + + +/** This service is implemented by the footer presentation shape. + + <p>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 <com/sun/star/presentation/Shape.idl> + +#include <com/sun/star/drawing/GraphicObjectShape.idl> + + + + module com { module sun { module star { module presentation { + + +/** This service is implemented by the graphic presentation shape. + + <p>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 <com/sun/star/presentation/Shape.idl> + +#include <com/sun/star/drawing/PageShape.idl> + + + + module com { module sun { module star { module presentation { + + +/** This service is implemented by the handout presentation shape. + + <p>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 <com/sun/star/drawing/DrawingDocumentDrawView.idl> + + + 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 <com/sun/star/presentation/Shape.idl> + +#include <com/sun/star/drawing/TextShape.idl> + + + + module com { module sun { module star { module presentation { + + +/** This service is implemented by the header presentation shape. + + <p>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 <com/sun/star/presentation/Shape.idl> + +#include <com/sun/star/drawing/TextShape.idl> + + + + module com { module sun { module star { module presentation { + + +/** This service is implemented by the notes presentation shape. + + <p>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 <com/sun/star/drawing/DrawingDocumentDrawView.idl> + + + 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 <com/sun/star/presentation/Shape.idl> + +#include <com/sun/star/drawing/OLE2Shape.idl> + + + + module com { module sun { module star { module presentation { + + +/** This service is implemented by the OLE2 presentation shape. + + <p>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 <com/sun/star/drawing/XDrawView.idl> + +#include <com/sun/star/beans/XPropertySet.idl> + +#include <com/sun/star/frame/Controller.idl> + +#include <com/sun/star/drawing/XDrawPage.idl> + +#include <com/sun/star/awt/XWindow.idl> + + + 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 <com/sun/star/presentation/Shape.idl> + +#include <com/sun/star/drawing/TextShape.idl> + + + + module com { module sun { module star { module presentation { + + +/** This service is implemented by the outline presentation shape. + + <p>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 <com/sun/star/presentation/Shape.idl> + +#include <com/sun/star/drawing/PageShape.idl> + + + + module com { module sun { module star { module presentation { + + +/** This service is implemented by the page presentation shape. + + <p>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 <com/sun/star/drawing/XShape.idl> + + + 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 <com/sun/star/presentation/XPresentation.idl> + +#include <com/sun/star/beans/XPropertySet.idl> + + + + 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. + + <p>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. + + <p>This overrides the properties of the pages.</p> + */ + [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. + <p>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. + + <p>If this is set to <code>0</code>, no black screen is shown.</p> + */ + [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. + + <p>You can draw on the presentation with this pen.</p> + */ + [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 <com/sun/star/presentation/Presentation.idl> +#include <com/sun/star/presentation/XPresentation2.idl> + + + 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 <com/sun/star/drawing/GenericDrawingDocument.idl> +#include <com/sun/star/presentation/XPresentationSupplier.idl> +#include <com/sun/star/presentation/XCustomPresentationSupplier.idl> +#include <com/sun/star/document/XLinkTargetSupplier.idl> + + + + 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. + + <p>The following services are available at the + com::sun::star::lang::XMultiServiceFactory + only in a presentation application + + <ul> + <li>TitleTextShape</li> + <li>OutlinerShape</li> + <li>SubtitleShape</li> + <li>GraphicObjectShape</li> + <li>PageShape</li> + <li>OLE2Shape</li> + <li>ChartShape</li> + <li>NotesShape</li> + <li>HandoutShape</li> + <li>HeaderShape</li> + <li>FooterShape</li> + <li>SlideNumberShape</li> + <li>DateTimeShape</li> + <li>DocumentSettings</li> + <li>textfield::Header</li> + <li>textfield::Footer</li> + <li>textfield::DateTime</li> + </ul> + */ + 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 <com/sun/star/drawing/XDrawView.idl> + +#include <com/sun/star/beans/XPropertySet.idl> + +#include <com/sun/star/frame/Controller.idl> + +#include <com/sun/star/drawing/XDrawPage.idl> +#include <com/sun/star/awt/XWindow.idl> + + + +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 <com/sun/star/drawing/XDrawView.idl> + +#include <com/sun/star/beans/XPropertySet.idl> + +#include <com/sun/star/frame/Controller.idl> + +#include <com/sun/star/drawing/XDrawPage.idl> + +#include <com/sun/star/awt/XWindow.idl> + + +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 <com/sun/star/util/Color.idl> +#include <com/sun/star/presentation/AnimationEffect.idl> + +#include <com/sun/star/presentation/ClickAction.idl> + +#include <com/sun/star/presentation/AnimationSpeed.idl> + + + + 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. + + <p>This color is used if the property com::sun::star::drawing::Shape::DimPrev + is `TRUE` and com::sun::star::drawing::Shape::DimHide is `FALSE`.</p> + */ + [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`. + <p>Presentation objects are objects like TitleTextShape and + OutlinerShape.</p> + */ + [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. + + <p>The default behavior is to stop the sound after completing the + animation effect.</p> + */ + [property] boolean PlayFull; + + + /** This is the position of this shape in the order of the shapes which + can be animated on its page. + + <p>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.</p> + */ + [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. + <br> + 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. + <br> + 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 <com/sun/star/presentation/Shape.idl> + +#include <com/sun/star/drawing/TextShape.idl> + + + + module com { module sun { module star { module presentation { + + +/** This service is implemented by the slide number presentation shape. + + <p>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 <com/sun/star/presentation/XSlideShow.idl> + +module com { module sun { module star { module presentation { + +service SlideShow : XSlideShow; + +}; }; }; }; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ 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 <com/sun/star/drawing/XDrawView.idl> + +#include <com/sun/star/beans/XPropertySet.idl> + +#include <com/sun/star/frame/Controller.idl> + +#include <com/sun/star/drawing/XDrawPage.idl> + +#include <com/sun/star/awt/XWindow.idl> + + + 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 <com/sun/star/presentation/Shape.idl> + +#include <com/sun/star/drawing/TextShape.idl> + + + + module com { module sun { module star { module presentation { + + +/** This service is implemented by the subtitle presentation shape. + + <p>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. + <br> + This is stored inside the attribute + ::com::sun::star::animations::XIterateContainer::IterateType. + <br> + @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 <com/sun/star/presentation/Shape.idl> + +#include <com/sun/star/drawing/TextShape.idl> + + + + module com { module sun { module star { module presentation { + + +/** This service is implemented by the title and subtitle presentation shape. + + <p>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 <com/sun/star/presentation/XTransitionFactory.idl> + + +module com { module sun { module star { module presentation { + +service TransitionFactory : XTransitionFactory; + +}; }; }; }; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ 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 <com/sun/star/uno/XInterface.idl> + +#include <com/sun/star/container/XNameContainer.idl> + + + + 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 <com/sun/star/uno/XInterface.idl> + +#include <com/sun/star/drawing/XDrawPage.idl> + + + + 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 <com/sun/star/uno/XInterface.idl> + + + + 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 <com/sun/star/presentation/XPresentation.idl> +#include <com/sun/star/beans/XPropertySet.idl> +#include <com/sun/star/beans/PropertyValue.idl> +#include <com/sun/star/presentation/XSlideShowListener.idl> +#include <com/sun/star/presentation/XSlideShowController.idl> + + + 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 <com/sun/star/drawing/XDrawPage.idl> + + + + 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 <com/sun/star/uno/XInterface.idl> + +#include <com/sun/star/presentation/XPresentation.idl> + + + + 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 <com/sun/star/lang/XEventListener.idl> +#include <com/sun/star/awt/XMouseListener.idl> +#include <com/sun/star/drawing/XShape.idl> + +module com { module sun { module star { module presentation { + +/** Listener interface to receive shape-specific events.<p> + + @since OOo 2.4 + */ +interface XShapeEventListener : ::com::sun::star::lang::XEventListener +{ + /** Notify a clicked shape.<p> + + This method notifies the listener that a shape was + clicked.<p> + + @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 <com/sun/star/uno/XInterface.idl> +#include <com/sun/star/beans/PropertyValue.idl> +#include <com/sun/star/geometry/RealRectangle2D.idl> +#include <com/sun/star/rendering/XSpriteCanvas.idl> +#include <com/sun/star/animations/XAnimationNode.idl> +#include <com/sun/star/lang/XMultiServiceFactory.idl> +#include <com/sun/star/drawing/XDrawPage.idl> +#include <com/sun/star/drawing/XDrawPagesSupplier.idl> +#include <com/sun/star/drawing/XShape.idl> +#include <com/sun/star/presentation/XSlideShowView.idl> +#include <com/sun/star/presentation/XSlideShowListener.idl> +#include <com/sun/star/presentation/XShapeEventListener.idl> + +module com { module sun { module star { module presentation { + +/** Slide show interface to perform slide show presentations.<p> + + 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.<p> + + 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.<p> + + 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.<p> + + @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.<p> + + 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.<p> + + @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.<p> + + 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).<p> + + @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.<p> + + 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).<p> + + @param xShape + The shape to stop the activity for + */ + boolean stopShapeActivity( [in] ::com::sun::star::drawing::XShape xShape ); + + /** Jump to the given slide.<p> + + 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).<p> + + @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: + <ul> + <li>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 + </li> + <li>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. + </li> + <li>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. + </li> + </ul> + */ + 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.<p> + + 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).<p> + + @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.<p> + + @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.<p> + + @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: + <ul> + <li>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.</li> + <li>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.</li> + </ul> + A changed property is effective immediately. + */ + boolean setProperty( + [in] ::com::sun::star::beans::PropertyValue aShowProperty ); + + /** Add a view to the slide show.<p> + + 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.<p> + + @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.<p> + + 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.<p> + + @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.<p> + + 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.<p> + + @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.<p> + + 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 + <em>not</em> 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.<p> + + @param xListener + Listener interface to revoke from being called. + */ + void removeSlideShowListener( [in] XSlideShowListener xListener ); + + /** Add a shape event listener.<p> + + 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.<p> + + @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.<p> + + @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.<p> + + This method requests the slide show to display a special + cursor, whenever the mouse is hovering over the given shape.<p> + + @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 <com/sun/star/drawing/XDrawPage.idl> +#include <com/sun/star/container/XIndexAccess.idl> +#include <com/sun/star/lang/XComponent.idl> +#include <com/sun/star/presentation/XSlideShow.idl> + + + 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. + + <p>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. + <p>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. + <p>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. + <p>Remaining effects on the current slide will be skipped.*/ + void gotoNextSlide(); + + + /** goto and display previous slide. + <p>Remaining effects on the current slide will be skipped.*/ + void gotoPreviousSlide(); + + + /** goto and display last slide. + <p>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. + <p>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. + <p>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. + <p>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. + + <p>A deactivated + @see activate() + @see isActive() + */ + void deactivate(); + + + /** determines if the slide show is active. + + @return + `TRUE` for UI active slide show + <br> + `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. + + <p>You can draw on the presentation with this pen.</p> + */ + [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. + <br>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 <com/sun/star/animations/XAnimationListener.idl> + +module com { module sun { module star { module presentation { + +/** Listener interface to receive global slide show events.<p> + + @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 <com/sun/star/uno/XInterface.idl> +#include <com/sun/star/rendering/XSpriteCanvas.idl> +#include <com/sun/star/util/XModifyListener.idl> +#include <com/sun/star/awt/XPaintListener.idl> +#include <com/sun/star/awt/XMouseListener.idl> +#include <com/sun/star/awt/XMouseMotionListener.idl> +#include <com/sun/star/awt/Rectangle.idl> +#include <com/sun/star/geometry/IntegerSize2D.idl> + +module com { module sun { module star { module presentation { + +/** View interface to display slide show presentations on.<p> + + 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<p> + + @since OOo 2.4 + */ +interface XSlideShowView : ::com::sun::star::uno::XInterface +{ + /** Get view canvas.<p> + + This method gets the underlying XCanvas to display on this + view.<p> + + @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.<p> + + 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.<p> + + @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.<p> + + This method returns the translation offset of the view of the + view.<p> + + @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.<p> + + This method registers a listener with the view, which will get + called every time the transformation matrix changes.<p> + + @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.<p> + + @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.<p> + + This method registers a listener with the view, which will get + called every time the view needs an update of their screen + representation.<p> + + @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.<p> + + @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.<p> + + This method registers a listener with the view, which will get + called every time the mouse is clicked on the view.<p> + + @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.<p> + + @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.<p> + + This method registers a listener with the view, which will get + called every time the mouse is moved on the view.<p> + + @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.<p> + + @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.<p> + + This method changes the mouse cursor currently in effect, for + this view.<p> + + @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 <com/sun/star/uno/XInterface.idl> + +module com { module sun { module star { + +module rendering { interface XBitmap; }; + +module presentation { + +interface XSlideShowView; + +/** Transition interface to render custom transitions over time.<p> + + @since OOo 2.4 + */ +interface XTransition : ::com::sun::star::uno::XInterface +{ + /** Update transition on screen to given time state.<p> + + @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 <com/sun/star/presentation/XTransition.idl> +#include <com/sun/star/geometry/RealPoint2D.idl> + + +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.<p> + + This interface provides the necessary methods to query and create optional transition effects for a SlideShow<p> + + @since OOo 2.4 + */ +interface XTransitionFactory : ::com::sun::star::uno::XInterface +{ + /** Checks whether this instance provides an implementation for given transition id.<p> + */ + 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 <com/sun/star/text/TextField.idl> + + +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 <com/sun/star/text/TextField.idl> + + +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 <com/sun/star/text/TextField.idl> + + +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: */ |