diff options
Diffstat (limited to 'offapi/com/sun/star/presentation')
56 files changed, 6231 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 000000000000..d7c80c503c5a --- /dev/null +++ b/offapi/com/sun/star/presentation/AnimationEffect.idl @@ -0,0 +1,944 @@ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#ifndef __com_sun_star_presentation_AnimationEffect_idl__ +#define __com_sun_star_presentation_AnimationEffect_idl__ + + +//============================================================================= + + module com { module sun { module star { module presentation { + +//============================================================================= + +// DocMerge from xml: enum com::sun::star::presentation::AnimationEffect +/** specifies the animation effects for animating + text or objects. + */ +published enum AnimationEffect +{ + //------------------------------------------------------------------------- + // DOCUMENTATION OMITTED FOR AnimationEffect:: NONE, + + // DocMerge from xml: value com::sun::star::presentation::AnimationEffect::NONE + /** use no animation effects. + */ + NONE, + + //------------------------------------------------------------------------- + // DOCUMENTATION OMITTED FOR AnimationEffect:: FADE_FROM_LEFT, + + // DocMerge from xml: value com::sun::star::presentation::AnimationEffect::FADE_FROM_LEFT + /** use the animation effect "Fade from Left". + */ + FADE_FROM_LEFT, + + //------------------------------------------------------------------------- + // DOCUMENTATION OMITTED FOR AnimationEffect:: FADE_FROM_TOP, + + // DocMerge from xml: value com::sun::star::presentation::AnimationEffect::FADE_FROM_TOP + /** use the animation effect "Fade from Top". + */ + FADE_FROM_TOP, + + //------------------------------------------------------------------------- + // DOCUMENTATION OMITTED FOR AnimationEffect:: FADE_FROM_RIGHT, + + // DocMerge from xml: value com::sun::star::presentation::AnimationEffect::FADE_FROM_RIGHT + /** use the animation effect "Fade from Right". + */ + FADE_FROM_RIGHT, + + //------------------------------------------------------------------------- + // DOCUMENTATION OMITTED FOR AnimationEffect:: FADE_FROM_BOTTOM, + + // DocMerge from xml: value com::sun::star::presentation::AnimationEffect::FADE_FROM_BOTTOM + /** use the animation effect "Fade from Bottom". + */ + FADE_FROM_BOTTOM, + + //------------------------------------------------------------------------- + // DOCUMENTATION OMITTED FOR AnimationEffect:: FADE_TO_CENTER, + + // DocMerge from xml: value com::sun::star::presentation::AnimationEffect::FADE_TO_CENTER + /** use the animation effect "Fade to Center". + */ + FADE_TO_CENTER, + + //------------------------------------------------------------------------- + // DOCUMENTATION OMITTED FOR AnimationEffect:: FADE_FROM_CENTER, + + // DocMerge from xml: value com::sun::star::presentation::AnimationEffect::FADE_FROM_CENTER + /** use the animation effect "Fade from Center". + */ + FADE_FROM_CENTER, + + //------------------------------------------------------------------------- + // DOCUMENTATION OMITTED FOR AnimationEffect:: MOVE_FROM_LEFT, + + // DocMerge from xml: value com::sun::star::presentation::AnimationEffect::MOVE_FROM_LEFT + /** use the animation effect "Move from Left". + */ + MOVE_FROM_LEFT, + + //------------------------------------------------------------------------- + // DOCUMENTATION OMITTED FOR AnimationEffect:: MOVE_FROM_TOP, + + // DocMerge from xml: value com::sun::star::presentation::AnimationEffect::MOVE_FROM_TOP + /** use the animation effect "Move from Top". + */ + MOVE_FROM_TOP, + + //------------------------------------------------------------------------- + // DOCUMENTATION OMITTED FOR AnimationEffect:: MOVE_FROM_RIGHT, + + // DocMerge from xml: value com::sun::star::presentation::AnimationEffect::MOVE_FROM_RIGHT + /** use the animation effect "Move from Right". + */ + MOVE_FROM_RIGHT, + + //------------------------------------------------------------------------- + // DOCUMENTATION OMITTED FOR AnimationEffect:: MOVE_FROM_BOTTOM, + + // DocMerge from xml: value com::sun::star::presentation::AnimationEffect::MOVE_FROM_BOTTOM + /** use the animation effect "Move from Bottom". + */ + MOVE_FROM_BOTTOM, + + //------------------------------------------------------------------------- + // DOCUMENTATION OMITTED FOR AnimationEffect:: VERTICAL_STRIPES, + + // DocMerge from xml: value com::sun::star::presentation::AnimationEffect::VERTICAL_STRIPES + /** use the animation effect "Vertical Stripes". + */ + VERTICAL_STRIPES, + + //------------------------------------------------------------------------- + // DOCUMENTATION OMITTED FOR AnimationEffect:: HORIZONTAL_STRIPES, + + // DocMerge from xml: value com::sun::star::presentation::AnimationEffect::HORIZONTAL_STRIPES + /** use the animation effect "Horizontal Stripes". + */ + HORIZONTAL_STRIPES, + + //------------------------------------------------------------------------- + // DOCUMENTATION OMITTED FOR AnimationEffect:: CLOCKWISE, + + // DocMerge from xml: value com::sun::star::presentation::AnimationEffect::CLOCKWISE + /** use the animation effect "Clockwise". + */ + CLOCKWISE, + + //------------------------------------------------------------------------- + // DOCUMENTATION OMITTED FOR AnimationEffect:: COUNTERCLOCKWISE, + + // DocMerge from xml: value com::sun::star::presentation::AnimationEffect::COUNTERCLOCKWISE + /** use the animation effect "Counter Clockwise". + */ + COUNTERCLOCKWISE, + + //------------------------------------------------------------------------- + // DOCUMENTATION OMITTED FOR AnimationEffect:: FADE_FROM_UPPERLEFT, + + // DocMerge from xml: value com::sun::star::presentation::AnimationEffect::FADE_FROM_UPPERLEFT + /** use the animation effect "Fade from Upper Left". + */ + FADE_FROM_UPPERLEFT, + + //------------------------------------------------------------------------- + // DOCUMENTATION OMITTED FOR AnimationEffect:: FADE_FROM_UPPERRIGHT, + + // DocMerge from xml: value com::sun::star::presentation::AnimationEffect::FADE_FROM_UPPERRIGHT + /** use the animation effect "Fade from Upper Right". + */ + FADE_FROM_UPPERRIGHT, + + //------------------------------------------------------------------------- + // DOCUMENTATION OMITTED FOR AnimationEffect:: FADE_FROM_LOWERLEFT, + + // DocMerge from xml: value com::sun::star::presentation::AnimationEffect::FADE_FROM_LOWERLEFT + /** use the animation effect "Fade from Lower Left". + */ + FADE_FROM_LOWERLEFT, + + //------------------------------------------------------------------------- + // DOCUMENTATION OMITTED FOR AnimationEffect:: FADE_FROM_LOWERRIGHT, + + // DocMerge from xml: value com::sun::star::presentation::AnimationEffect::FADE_FROM_LOWERRIGHT + /** use the animation effect "Fade from Lower Right". + */ + FADE_FROM_LOWERRIGHT, + + //------------------------------------------------------------------------- + // DOCUMENTATION OMITTED FOR AnimationEffect:: CLOSE_VERTICAL, + + // DocMerge from xml: value com::sun::star::presentation::AnimationEffect::CLOSE_VERTICAL + /** use the animation effect "Close Vertical". + */ + CLOSE_VERTICAL, + + //------------------------------------------------------------------------- + // DOCUMENTATION OMITTED FOR AnimationEffect:: CLOSE_HORIZONTAL, + + // DocMerge from xml: value com::sun::star::presentation::AnimationEffect::CLOSE_HORIZONTAL + /** use the animation effect "Close Horizontal". + */ + CLOSE_HORIZONTAL, + + //------------------------------------------------------------------------- + // DOCUMENTATION OMITTED FOR AnimationEffect:: OPEN_VERTICAL, + + // DocMerge from xml: value com::sun::star::presentation::AnimationEffect::OPEN_VERTICAL + /** use the animation effect "Open Vertical". + */ + OPEN_VERTICAL, + + //------------------------------------------------------------------------- + // DOCUMENTATION OMITTED FOR AnimationEffect:: OPEN_HORIZONTAL, + + // DocMerge from xml: value com::sun::star::presentation::AnimationEffect::OPEN_HORIZONTAL + /** use the animation effect "Open Horizontal". + */ + OPEN_HORIZONTAL, + + //------------------------------------------------------------------------- + // DOCUMENTATION OMITTED FOR AnimationEffect:: PATH, + + // DocMerge from xml: value com::sun::star::presentation::AnimationEffect::PATH + /** use the animation effect "Path". + */ + PATH, + + //------------------------------------------------------------------------- + // DOCUMENTATION OMITTED FOR AnimationEffect:: MOVE_TO_LEFT, + + // DocMerge from xml: value com::sun::star::presentation::AnimationEffect::MOVE_TO_LEFT + /** use the animation effect "Move to Left". + */ + MOVE_TO_LEFT, + + //------------------------------------------------------------------------- + // DOCUMENTATION OMITTED FOR AnimationEffect:: MOVE_TO_TOP, + + // DocMerge from xml: value com::sun::star::presentation::AnimationEffect::MOVE_TO_TOP + /** use the animation effect "Move to Top". + */ + MOVE_TO_TOP, + + //------------------------------------------------------------------------- + // DOCUMENTATION OMITTED FOR AnimationEffect:: MOVE_TO_RIGHT, + + // DocMerge from xml: value com::sun::star::presentation::AnimationEffect::MOVE_TO_RIGHT + /** use the animation effect "Move to Right". + */ + MOVE_TO_RIGHT, + + //------------------------------------------------------------------------- + // DOCUMENTATION OMITTED FOR AnimationEffect:: MOVE_TO_BOTTOM, + + // DocMerge from xml: value com::sun::star::presentation::AnimationEffect::MOVE_TO_BOTTOM + /** use the animation effect "Move to Bottom". + */ + MOVE_TO_BOTTOM, + + //------------------------------------------------------------------------- + // DOCUMENTATION OMITTED FOR AnimationEffect:: SPIRALIN_LEFT, + + // DocMerge from xml: value com::sun::star::presentation::AnimationEffect::SPIRALIN_LEFT + /** use the animation effect "Spiral Inward Left". + */ + SPIRALIN_LEFT, + + //------------------------------------------------------------------------- + // DOCUMENTATION OMITTED FOR AnimationEffect:: SPIRALIN_RIGHT, + + // DocMerge from xml: value com::sun::star::presentation::AnimationEffect::SPIRALIN_RIGHT + /** use the animation effect "Spiral Inward Right". + */ + SPIRALIN_RIGHT, + + //------------------------------------------------------------------------- + // DOCUMENTATION OMITTED FOR AnimationEffect:: SPIRALOUT_LEFT, + + // DocMerge from xml: value com::sun::star::presentation::AnimationEffect::SPIRALOUT_LEFT + /** use the animation effect "Spiral Outward Left". + */ + SPIRALOUT_LEFT, + + //------------------------------------------------------------------------- + // DOCUMENTATION OMITTED FOR AnimationEffect:: SPIRALOUT_RIGHT, + + // DocMerge from xml: value com::sun::star::presentation::AnimationEffect::SPIRALOUT_RIGHT + /** use the animation effect "Spiral Outward Right". + */ + SPIRALOUT_RIGHT, + + //------------------------------------------------------------------------- + // DOCUMENTATION OMITTED FOR AnimationEffect:: DISSOLVE, + + // DocMerge from xml: value com::sun::star::presentation::AnimationEffect::DISSOLVE + /** use the animation effect "Spiral Inward Left". + */ + DISSOLVE, + + //------------------------------------------------------------------------- + // DOCUMENTATION OMITTED FOR AnimationEffect:: WAVYLINE_FROM_LEFT, + + // DocMerge from xml: value com::sun::star::presentation::AnimationEffect::WAVYLINE_FROM_LEFT + /** use the animation effect "Wavy Line from Left". + */ + WAVYLINE_FROM_LEFT, + + //------------------------------------------------------------------------- + // DOCUMENTATION OMITTED FOR AnimationEffect:: WAVYLINE_FROM_TOP, + + // DocMerge from xml: value com::sun::star::presentation::AnimationEffect::WAVYLINE_FROM_TOP + /** use the animation effect "Wavy Line from Top". + */ + WAVYLINE_FROM_TOP, + + //------------------------------------------------------------------------- + // DOCUMENTATION OMITTED FOR AnimationEffect:: WAVYLINE_FROM_RIGHT, + + // DocMerge from xml: value com::sun::star::presentation::AnimationEffect::WAVYLINE_FROM_RIGHT + /** use the animation effect "Wavy Line from Right". + */ + WAVYLINE_FROM_RIGHT, + + //------------------------------------------------------------------------- + // DOCUMENTATION OMITTED FOR AnimationEffect:: WAVYLINE_FROM_BOTTOM, + + // DocMerge from xml: value com::sun::star::presentation::AnimationEffect::WAVYLINE_FROM_BOTTOM + /** use the animation effect "Wavy Line from Button". + */ + WAVYLINE_FROM_BOTTOM, + + //------------------------------------------------------------------------- + // DOCUMENTATION OMITTED FOR AnimationEffect:: RANDOM, + + // DocMerge from xml: value com::sun::star::presentation::AnimationEffect::RANDOM + /** use the animation effect "Random". + */ + RANDOM, + + //------------------------------------------------------------------------- + // DOCUMENTATION OMITTED FOR AnimationEffect:: VERTICAL_LINES, + + // DocMerge from xml: value com::sun::star::presentation::AnimationEffect::VERTICAL_LINES + /** use the animation effect "Vertical Lines". + */ + VERTICAL_LINES, + + //------------------------------------------------------------------------- + // DOCUMENTATION OMITTED FOR AnimationEffect:: HORIZONTAL_LINES, + + // DocMerge from xml: value com::sun::star::presentation::AnimationEffect::HORIZONTAL_LINES + /** use the animation effect "Horizontal Lines". + */ + HORIZONTAL_LINES, + + //------------------------------------------------------------------------- + // DOCUMENTATION OMITTED FOR AnimationEffect:: LASER_FROM_LEFT, + + // DocMerge from xml: value com::sun::star::presentation::AnimationEffect::LASER_FROM_LEFT + /** use the animation effect "Wavy Line from Left". + */ + LASER_FROM_LEFT, + + //------------------------------------------------------------------------- + // DOCUMENTATION OMITTED FOR AnimationEffect:: LASER_FROM_TOP, + + // DocMerge from xml: value com::sun::star::presentation::AnimationEffect::LASER_FROM_TOP + /** use the animation effect "Laser from Top". + */ + LASER_FROM_TOP, + + //------------------------------------------------------------------------- + // DOCUMENTATION OMITTED FOR AnimationEffect:: LASER_FROM_RIGHT, + + // DocMerge from xml: value com::sun::star::presentation::AnimationEffect::LASER_FROM_RIGHT + /** use the animation effect "Laser from Right". + */ + LASER_FROM_RIGHT, + + //------------------------------------------------------------------------- + // DOCUMENTATION OMITTED FOR AnimationEffect:: LASER_FROM_BOTTOM, + + // DocMerge from xml: value com::sun::star::presentation::AnimationEffect::LASER_FROM_BOTTOM + /** use the animation effect "Laser from Bottom". + */ + LASER_FROM_BOTTOM, + + //------------------------------------------------------------------------- + // DOCUMENTATION OMITTED FOR AnimationEffect:: LASER_FROM_UPPERLEFT, + + // DocMerge from xml: value com::sun::star::presentation::AnimationEffect::LASER_FROM_UPPERLEFT + /** use the animation effect "Laser from Upper Left". + */ + LASER_FROM_UPPERLEFT, + + //------------------------------------------------------------------------- + // DOCUMENTATION OMITTED FOR AnimationEffect:: LASER_FROM_UPPERRIGHT, + + // DocMerge from xml: value com::sun::star::presentation::AnimationEffect::LASER_FROM_UPPERRIGHT + /** use the animation effect "Laser from Upper Right". + */ + LASER_FROM_UPPERRIGHT, + + //------------------------------------------------------------------------- + // DOCUMENTATION OMITTED FOR AnimationEffect:: LASER_FROM_LOWERLEFT, + + // DocMerge from xml: value com::sun::star::presentation::AnimationEffect::LASER_FROM_LOWERLEFT + /** use the animation effect "Laser from Lower Left". + */ + LASER_FROM_LOWERLEFT, + + //------------------------------------------------------------------------- + // DOCUMENTATION OMITTED FOR AnimationEffect:: LASER_FROM_LOWERRIGHT, + + // DocMerge from xml: value com::sun::star::presentation::AnimationEffect::LASER_FROM_LOWERRIGHT + /** use the animation effect "Laser from Lower Right". + */ + LASER_FROM_LOWERRIGHT, + + //------------------------------------------------------------------------- + // DOCUMENTATION OMITTED FOR AnimationEffect:: APPEAR, + + // DocMerge from xml: value com::sun::star::presentation::AnimationEffect::APPEAR + /** use the animation effect "Appear". + */ + APPEAR, + + //------------------------------------------------------------------------- + // DOCUMENTATION OMITTED FOR AnimationEffect:: HIDE + + // DocMerge from xml: value com::sun::star::presentation::AnimationEffect::HIDE + /** use the animation effect "Hide". + */ + HIDE, + + //------------------------------------------------------------------------- + // DOCUMENTATION OMITTED FOR AnimationEffect:: MOVE_FROM_UPPERLEFT, + + // DocMerge from xml: value com::sun::star::presentation::AnimationEffect::MOVE_FROM_UPPERLEFT + /** use the animation effect "Move from Upper Left". + */ + MOVE_FROM_UPPERLEFT, + + //------------------------------------------------------------------------- + // DOCUMENTATION OMITTED FOR AnimationEffect:: MOVE_FROM_UPPERRIGHT, + + // DocMerge from xml: value com::sun::star::presentation::AnimationEffect::MOVE_FROM_UPPERRIGHT + /** use the animation effect "Move from Upper Right". + */ + MOVE_FROM_UPPERRIGHT, + + //------------------------------------------------------------------------- + // DOCUMENTATION OMITTED FOR AnimationEffect:: MOVE_FROM_LOWERRIGHT, + + // DocMerge from xml: value com::sun::star::presentation::AnimationEffect::MOVE_FROM_LOWERRIGHT + /** use the animation effect "Move from Lower Right". + */ + MOVE_FROM_LOWERRIGHT, + + //------------------------------------------------------------------------- + // DOCUMENTATION OMITTED FOR AnimationEffect:: MOVE_FROM_LOWERLEFT, + + // DocMerge from xml: value com::sun::star::presentation::AnimationEffect::MOVE_FROM_LOWERLEFT + /** use the animation effect "Move from Lower Left". + */ + MOVE_FROM_LOWERLEFT, + + //------------------------------------------------------------------------- + // DOCUMENTATION OMITTED FOR AnimationEffect:: MOVE_TO_UPPERLEFT, + + // DocMerge from xml: value com::sun::star::presentation::AnimationEffect::MOVE_TO_UPPERLEFT + /** use the animation effect "Move to Upper Left". + */ + MOVE_TO_UPPERLEFT, + + //------------------------------------------------------------------------- + // DOCUMENTATION OMITTED FOR AnimationEffect:: MOVE_TO_UPPERRIGHT, + + // DocMerge from xml: value com::sun::star::presentation::AnimationEffect::MOVE_TO_UPPERRIGHT + /** use the animation effect "Move to Upper Right". + */ + MOVE_TO_UPPERRIGHT, + + //------------------------------------------------------------------------- + // DOCUMENTATION OMITTED FOR AnimationEffect:: MOVE_TO_LOWERRIGHT, + + // DocMerge from xml: value com::sun::star::presentation::AnimationEffect::MOVE_TO_LOWERRIGHT + /** use the animation effect "Move to Lower Right". + */ + MOVE_TO_LOWERRIGHT, + + //------------------------------------------------------------------------- + // DOCUMENTATION OMITTED FOR AnimationEffect:: MOVE_TO_LOWERLEFT, + + // DocMerge from xml: value com::sun::star::presentation::AnimationEffect::MOVE_TO_LOWERLEFT + /** use the animation effect "Move to Lower Left". + */ + MOVE_TO_LOWERLEFT, + + //------------------------------------------------------------------------- + // DOCUMENTATION OMITTED FOR AnimationEffect:: MOVE_SHORT_FROM_LEFT + + // DocMerge from xml: value com::sun::star::presentation::AnimationEffect::MOVE_SHORT_FROM_LEFT + /** use the animation effect "Move Short from Left". + */ + MOVE_SHORT_FROM_LEFT, + + //------------------------------------------------------------------------- + // DOCUMENTATION OMITTED FOR AnimationEffect:: MOVE_SHORT_FROM_UPPERLEFT + + // DocMerge from xml: value com::sun::star::presentation::AnimationEffect::MOVE_SHORT_FROM_UPPERLEFT + /** use the animation effect "Move Short from Upper Left". + */ + MOVE_SHORT_FROM_UPPERLEFT, + + //------------------------------------------------------------------------- + // DOCUMENTATION OMITTED FOR AnimationEffect:: MOVE_SHORT_FROM_TOP + + // DocMerge from xml: value com::sun::star::presentation::AnimationEffect::MOVE_SHORT_FROM_TOP + /** use the animation effect "Move Short from Top". + */ + MOVE_SHORT_FROM_TOP, + + //------------------------------------------------------------------------- + // DOCUMENTATION OMITTED FOR AnimationEffect:: MOVE_SHORT_FROM_UPPERRIGHT + + // DocMerge from xml: value com::sun::star::presentation::AnimationEffect::MOVE_SHORT_FROM_UPPERRIGHT + /** use the animation effect "Move Short from Upper Right". + */ + MOVE_SHORT_FROM_UPPERRIGHT, + + //------------------------------------------------------------------------- + // DOCUMENTATION OMITTED FOR AnimationEffect:: MOVE_SHORT_FROM_RIGHT + + // DocMerge from xml: value com::sun::star::presentation::AnimationEffect::MOVE_SHORT_FROM_RIGHT + /** use the animation effect "Move Short from Right". + */ + MOVE_SHORT_FROM_RIGHT, + + //------------------------------------------------------------------------- + // DOCUMENTATION OMITTED FOR AnimationEffect:: MOVE_SHORT_FROM_LOWERRIGHT + + // DocMerge from xml: value com::sun::star::presentation::AnimationEffect::MOVE_SHORT_FROM_LOWERRIGHT + /** use the animation effect "Move Short from Lower Right". + */ + MOVE_SHORT_FROM_LOWERRIGHT, + + //------------------------------------------------------------------------- + // DOCUMENTATION OMITTED FOR AnimationEffect:: MOVE_SHORT_FROM_BOTTOM + + // DocMerge from xml: value com::sun::star::presentation::AnimationEffect::MOVE_SHORT_FROM_BOTTOM + /** use the animation effect "Move Short from Bottom". + */ + MOVE_SHORT_FROM_BOTTOM, + + //------------------------------------------------------------------------- + // DOCUMENTATION OMITTED FOR AnimationEffect:: MOVE_SHORT_FROM_LOWERLEFT + + // DocMerge from xml: value com::sun::star::presentation::AnimationEffect::MOVE_SHORT_FROM_LOWERLEFT + /** use the animation effect "Move Short from Lower Left". + */ + MOVE_SHORT_FROM_LOWERLEFT, + + //------------------------------------------------------------------------- + // DOCUMENTATION OMITTED FOR AnimationEffect:: MOVE_SHORT_TO_LEFT + + // DocMerge from xml: value com::sun::star::presentation::AnimationEffect::MOVE_SHORT_TO_LEFT + /** use the animation effect "Move Short to Left". + */ + MOVE_SHORT_TO_LEFT, + + //------------------------------------------------------------------------- + // DOCUMENTATION OMITTED FOR AnimationEffect:: MOVE_SHORT_TO_UPPERLEFT + + // DocMerge from xml: value com::sun::star::presentation::AnimationEffect::MOVE_SHORT_TO_UPPERLEFT + /** use the animation effect "Move Short to Upper Left". + */ + MOVE_SHORT_TO_UPPERLEFT, + + //------------------------------------------------------------------------- + // DOCUMENTATION OMITTED FOR AnimationEffect:: MOVE_SHORT_TO_TOP + + // DocMerge from xml: value com::sun::star::presentation::AnimationEffect::MOVE_SHORT_TO_TOP + /** use the animation effect "Move Short to Top". + */ + MOVE_SHORT_TO_TOP, + + //------------------------------------------------------------------------- + // DOCUMENTATION OMITTED FOR AnimationEffect:: MOVE_SHORT_TO_UPPERRIGHT + + // DocMerge from xml: value com::sun::star::presentation::AnimationEffect::MOVE_SHORT_TO_UPPERRIGHT + /** use the animation effect "Move Short to Upper Right". + */ + MOVE_SHORT_TO_UPPERRIGHT, + + //------------------------------------------------------------------------- + // DOCUMENTATION OMITTED FOR AnimationEffect:: MOVE_SHORT_TO_RIGHT + + // DocMerge from xml: value com::sun::star::presentation::AnimationEffect::MOVE_SHORT_TO_RIGHT + /** use the animation effect "Move Short to Right". + */ + MOVE_SHORT_TO_RIGHT, + + //------------------------------------------------------------------------- + // DOCUMENTATION OMITTED FOR AnimationEffect:: MOVE_SHORT_TO_LOWERRIGHT + + // DocMerge from xml: value com::sun::star::presentation::AnimationEffect::MOVE_SHORT_TO_LOWERRIGHT + /** use the animation effect "Move Short to Lower Right". + */ + MOVE_SHORT_TO_LOWERRIGHT, + + //------------------------------------------------------------------------- + // DOCUMENTATION OMITTED FOR AnimationEffect:: MOVE_SHORT_TO_BOTTOM + + // DocMerge from xml: value com::sun::star::presentation::AnimationEffect::MOVE_SHORT_TO_BOTTOM + /** use the animation effect "Move Short to Bottom". + */ + MOVE_SHORT_TO_BOTTOM, + + //------------------------------------------------------------------------- + // DOCUMENTATION OMITTED FOR AnimationEffect:: MOVE_SHORT_TO_LOWERLEFT + + // DocMerge from xml: value com::sun::star::presentation::AnimationEffect::MOVE_SHORT_TO_LOWERLEFT + /** use the animation effect "Move Short to Lower Left". + */ + MOVE_SHORT_TO_LOWERLEFT, + + //------------------------------------------------------------------------- + // DOCUMENTATION OMITTED FOR AnimationEffect:: VERTICAL_CHECKERBOARD + + // DocMerge from xml: value com::sun::star::presentation::AnimationEffect::VERTICAL_CHECKERBOARD + /** use the animation effect "Vertical Checkerboard". + */ + VERTICAL_CHECKERBOARD, + + //------------------------------------------------------------------------- + // DOCUMENTATION OMITTED FOR AnimationEffect:: HORIZONTAL_CHECKERBOARD + + // DocMerge from xml: value com::sun::star::presentation::AnimationEffect::HORIZONTAL_CHECKERBOARD + /** use the animation effect "Horizontal Checkerboard". + */ + HORIZONTAL_CHECKERBOARD, + + //------------------------------------------------------------------------- + // DOCUMENTATION OMITTED FOR AnimationEffect:: HORIZONTAL_ROTATE + + // DocMerge from xml: value com::sun::star::presentation::AnimationEffect::HORIZONTAL_ROTATE + /** use the animation effect "Horizontal Rotate". + */ + HORIZONTAL_ROTATE, + + //------------------------------------------------------------------------- + // DOCUMENTATION OMITTED FOR AnimationEffect:: VERTICAL_ROTATE + + // DocMerge from xml: value com::sun::star::presentation::AnimationEffect::VERTICAL_ROTATE + /** use the animation effect "Vertical Rotate". + */ + VERTICAL_ROTATE, + + //------------------------------------------------------------------------- + // DOCUMENTATION OMITTED FOR AnimationEffect:: HORIZONTAL_STRETCH + + // DocMerge from xml: value com::sun::star::presentation::AnimationEffect::HORIZONTAL_STRETCH + /** use the animation effect "Horizontal Stretch". + */ + HORIZONTAL_STRETCH, + + //------------------------------------------------------------------------- + // DOCUMENTATION OMITTED FOR AnimationEffect:: VERTICAL_STRETCH + + // DocMerge from xml: value com::sun::star::presentation::AnimationEffect::VERTICAL_STRETCH + /** use the animation effect "Vertical Stretch". + */ + VERTICAL_STRETCH, + + //------------------------------------------------------------------------- + // DOCUMENTATION OMITTED FOR AnimationEffect:: STRETCH_FROM_LEFT + + // DocMerge from xml: value com::sun::star::presentation::AnimationEffect::STRETCH_FROM_LEFT + /** use the animation effect "Stretch From Left". + */ + STRETCH_FROM_LEFT, + + //------------------------------------------------------------------------- + // DOCUMENTATION OMITTED FOR AnimationEffect:: STRETCH_FROM_UPPERLEFT + + // DocMerge from xml: value com::sun::star::presentation::AnimationEffect::STRETCH_FROM_UPPERLEFT + /** use the animation effect "Stretch From Upper Left". + */ + STRETCH_FROM_UPPERLEFT, + + //------------------------------------------------------------------------- + // DOCUMENTATION OMITTED FOR AnimationEffect:: STRETCH_FROM_TOP + + // DocMerge from xml: value com::sun::star::presentation::AnimationEffect::STRETCH_FROM_TOP + /** use the animation effect "Stretch From Top". + */ + STRETCH_FROM_TOP, + + //------------------------------------------------------------------------- + // DOCUMENTATION OMITTED FOR AnimationEffect:: STRETCH_FROM_UPPERRIGHT + + // DocMerge from xml: value com::sun::star::presentation::AnimationEffect::STRETCH_FROM_UPPERRIGHT + /** use the animation effect "Stretch From Upper Right". + */ + STRETCH_FROM_UPPERRIGHT, + + //------------------------------------------------------------------------- + // DOCUMENTATION OMITTED FOR AnimationEffect:: STRETCH_FROM_RIGHT + + // DocMerge from xml: value com::sun::star::presentation::AnimationEffect::STRETCH_FROM_RIGHT + /** use the animation effect "Stretch From Right". + */ + STRETCH_FROM_RIGHT, + + //------------------------------------------------------------------------- + // DOCUMENTATION OMITTED FOR AnimationEffect:: STRETCH_FROM_LOWERRIGHT + + // DocMerge from xml: value com::sun::star::presentation::AnimationEffect::STRETCH_FROM_LOWERRIGHT + /** use the animation effect "Stretch From Lower Right". + */ + STRETCH_FROM_LOWERRIGHT, + + //------------------------------------------------------------------------- + // DOCUMENTATION OMITTED FOR AnimationEffect:: STRETCH_FROM_BOTTOM + + // DocMerge from xml: value com::sun::star::presentation::AnimationEffect::STRETCH_FROM_BOTTOM + /** use the animation effect "Stretch From Bottom". + */ + STRETCH_FROM_BOTTOM, + + //------------------------------------------------------------------------- + // DOCUMENTATION OMITTED FOR AnimationEffect:: STRETCH_FROM_LOWERLEFT + + // DocMerge from xml: value com::sun::star::presentation::AnimationEffect::STRETCH_FROM_LOWERLEFT + /** use the animation effect "Stretch From Lower Left". + */ + STRETCH_FROM_LOWERLEFT, + + //------------------------------------------------------------------------- + // DOCUMENTATION OMITTED FOR AnimationEffect:: ZOOM_IN + + // DocMerge from xml: value com::sun::star::presentation::AnimationEffect::ZOOM_IN + /** use the animation effect "Zoom In". + */ + ZOOM_IN, + + //------------------------------------------------------------------------- + // DOCUMENTATION OMITTED FOR AnimationEffect:: ZOOM_IN_SMALL + + // DocMerge from xml: value com::sun::star::presentation::AnimationEffect::ZOOM_IN_SMALL + /** use the animation effect "Zoom In Small". + */ + ZOOM_IN_SMALL, + + //------------------------------------------------------------------------- + // DOCUMENTATION OMITTED FOR AnimationEffect:: ZOOM_IN_SPIRAL + + // DocMerge from xml: value com::sun::star::presentation::AnimationEffect::ZOOM_IN_SPIRAL + /** use the animation effect "Zoom In Spiral". + */ + ZOOM_IN_SPIRAL, + + //------------------------------------------------------------------------- + // DOCUMENTATION OMITTED FOR AnimationEffect:: ZOOM_OUT + + // DocMerge from xml: value com::sun::star::presentation::AnimationEffect::ZOOM_OUT + /** use the animation effect "Zoom Out". + */ + ZOOM_OUT, + + //------------------------------------------------------------------------- + // DOCUMENTATION OMITTED FOR AnimationEffect:: ZOOM_OUT_SMALL + + // DocMerge from xml: value com::sun::star::presentation::AnimationEffect::ZOOM_OUT_SMALL + /** use the animation effect "Zoom Out Small". + */ + ZOOM_OUT_SMALL, + + //------------------------------------------------------------------------- + // DOCUMENTATION OMITTED FOR AnimationEffect:: ZOOM_OUT_SPIRAL + + // DocMerge from xml: value com::sun::star::presentation::AnimationEffect::ZOOM_OUT_SPIRAL + /** use the animation effect "Zoom Out Spiral". + */ + ZOOM_OUT_SPIRAL, + + //------------------------------------------------------------------------- + // DOCUMENTATION OMITTED FOR AnimationEffect:: ZOOM_IN_FROM_LEFT + + // DocMerge from xml: value com::sun::star::presentation::AnimationEffect::ZOOM_IN_FROM_LEFT + /** use the animation effect "Zoom In From Left". + */ + ZOOM_IN_FROM_LEFT, + + //------------------------------------------------------------------------- + // DOCUMENTATION OMITTED FOR AnimationEffect:: ZOOM_IN_FROM_UPPERLEFT + + // DocMerge from xml: value com::sun::star::presentation::AnimationEffect::ZOOM_IN_FROM_UPPERLEFT + /** use the animation effect "Zoom In From Upper Left". + */ + ZOOM_IN_FROM_UPPERLEFT, + + //------------------------------------------------------------------------- + // DOCUMENTATION OMITTED FOR AnimationEffect:: ZOOM_IN_FROM_TOP + + // DocMerge from xml: value com::sun::star::presentation::AnimationEffect::ZOOM_IN_FROM_TOP + /** use the animation effect "Zoom In From Top". + */ + ZOOM_IN_FROM_TOP, + + //------------------------------------------------------------------------- + // DOCUMENTATION OMITTED FOR AnimationEffect:: ZOOM_IN_FROM_UPPERRIGHT + + // DocMerge from xml: value com::sun::star::presentation::AnimationEffect::ZOOM_IN_FROM_UPPERRIGHT + /** use the animation effect "Zoom In From Upper Right". + */ + ZOOM_IN_FROM_UPPERRIGHT, + + //------------------------------------------------------------------------- + // DOCUMENTATION OMITTED FOR AnimationEffect:: ZOOM_IN_FROM_RIGHT + + // DocMerge from xml: value com::sun::star::presentation::AnimationEffect::ZOOM_IN_FROM_RIGHT + /** use the animation effect "Zoom In From Right". + */ + ZOOM_IN_FROM_RIGHT, + + //------------------------------------------------------------------------- + // DOCUMENTATION OMITTED FOR AnimationEffect:: ZOOM_IN_FROM_LOWERRIGHT + + // DocMerge from xml: value com::sun::star::presentation::AnimationEffect::ZOOM_IN_FROM_LOWERRIGHT + /** use the animation effect "Zoom In From Lower Right". + */ + ZOOM_IN_FROM_LOWERRIGHT, + + //------------------------------------------------------------------------- + // DOCUMENTATION OMITTED FOR AnimationEffect:: ZOOM_IN_FROM_BOTTOM + + // DocMerge from xml: value com::sun::star::presentation::AnimationEffect::ZOOM_IN_FROM_BOTTOM + /** use the animation effect "Zoom In From Bottom". + */ + ZOOM_IN_FROM_BOTTOM, + + //------------------------------------------------------------------------- + // DOCUMENTATION OMITTED FOR AnimationEffect:: ZOOM_IN_FROM_LOWERLEFT + + // DocMerge from xml: value com::sun::star::presentation::AnimationEffect::ZOOM_IN_FROM_LOWERLEFT + /** use the animation effect "Zoom In From Lower Left". + */ + ZOOM_IN_FROM_LOWERLEFT, + + //------------------------------------------------------------------------- + // DOCUMENTATION OMITTED FOR AnimationEffect:: ZOOM_IN_FROM_CENTER + + // DocMerge from xml: value com::sun::star::presentation::AnimationEffect::ZOOM_IN_FROM_CENTER + /** use the animation effect "Zoom In From Center". + */ + ZOOM_IN_FROM_CENTER, + + //------------------------------------------------------------------------- + // DOCUMENTATION OMITTED FOR AnimationEffect:: ZOOM_OUT_FROM_LEFT + + // DocMerge from xml: value com::sun::star::presentation::AnimationEffect::ZOOM_OUT_FROM_LEFT + /** use the animation effect "Zoom Out From Left". + */ + ZOOM_OUT_FROM_LEFT, + + //------------------------------------------------------------------------- + // DOCUMENTATION OMITTED FOR AnimationEffect:: ZOOM_OUT_FROM_UPPERLEFT + + // DocMerge from xml: value com::sun::star::presentation::AnimationEffect::ZOOM_OUT_FROM_UPPERLEFT + /** use the animation effect "Zoom Out From Upper Left". + */ + ZOOM_OUT_FROM_UPPERLEFT, + + //------------------------------------------------------------------------- + // DOCUMENTATION OMITTED FOR AnimationEffect:: ZOOM_OUT_FROM_TOP + + // DocMerge from xml: value com::sun::star::presentation::AnimationEffect::ZOOM_OUT_FROM_TOP + /** use the animation effect "Zoom Out From Top". + */ + ZOOM_OUT_FROM_TOP, + + //------------------------------------------------------------------------- + // DOCUMENTATION OMITTED FOR AnimationEffect:: ZOOM_OUT_FROM_UPPERRIGHT + + // DocMerge from xml: value com::sun::star::presentation::AnimationEffect::ZOOM_OUT_FROM_UPPERRIGHT + /** use the animation effect "Zoom Out From Upper Right". + */ + ZOOM_OUT_FROM_UPPERRIGHT, + + //------------------------------------------------------------------------- + // DOCUMENTATION OMITTED FOR AnimationEffect:: ZOOM_OUT_FROM_RIGHT + + // DocMerge from xml: value com::sun::star::presentation::AnimationEffect::ZOOM_OUT_FROM_RIGHT + /** use the animation effect "Zoom Out From Right". + */ + ZOOM_OUT_FROM_RIGHT, + + //------------------------------------------------------------------------- + // DOCUMENTATION OMITTED FOR AnimationEffect:: ZOOM_OUT_FROM_LOWERRIGHT + + // DocMerge from xml: value com::sun::star::presentation::AnimationEffect::ZOOM_OUT_FROM_LOWERRIGHT + /** use the animation effect "Zoom Out From Lower Right". + */ + ZOOM_OUT_FROM_LOWERRIGHT, + + //------------------------------------------------------------------------- + // DOCUMENTATION OMITTED FOR AnimationEffect:: ZOOM_OUT_FROM_BOTTOM + + // DocMerge from xml: value com::sun::star::presentation::AnimationEffect::ZOOM_OUT_FROM_BOTTOM + /** use the animation effect "Zoom Out From Bottom". + */ + ZOOM_OUT_FROM_BOTTOM, + + //------------------------------------------------------------------------- + // DOCUMENTATION OMITTED FOR AnimationEffect:: ZOOM_OUT_FROM_LOWERLEFT + + // DocMerge from xml: value com::sun::star::presentation::AnimationEffect::ZOOM_OUT_FROM_LOWERLEFT + /** use the animation effect "Zoom Out From Lower Left". + */ + ZOOM_OUT_FROM_LOWERLEFT, + + //------------------------------------------------------------------------- + // DOCUMENTATION OMITTED FOR AnimationEffect:: ZOOM_OUT_FROM_CENTER + + // DocMerge from xml: value com::sun::star::presentation::AnimationEffect::ZOOM_OUT_FROM_CENTER + /** use the animation effect "Zoom Out From Center". + */ + ZOOM_OUT_FROM_CENTER +}; + +//============================================================================= + +}; }; }; }; + +#endif diff --git a/offapi/com/sun/star/presentation/AnimationSpeed.idl b/offapi/com/sun/star/presentation/AnimationSpeed.idl new file mode 100644 index 000000000000..dd309319e71e --- /dev/null +++ b/offapi/com/sun/star/presentation/AnimationSpeed.idl @@ -0,0 +1,65 @@ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#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 diff --git a/offapi/com/sun/star/presentation/ChartShape.idl b/offapi/com/sun/star/presentation/ChartShape.idl new file mode 100644 index 000000000000..cf5802d78929 --- /dev/null +++ b/offapi/com/sun/star/presentation/ChartShape.idl @@ -0,0 +1,62 @@ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#ifndef __com_sun_star_presentation_ChartShape_idl__ +#define __com_sun_star_presentation_ChartShape_idl__ + +#ifndef __com_sun_star_presentation_Shape_idl__ +#include <com/sun/star/presentation/Shape.idl> +#endif + +#ifndef __com_sun_star_drawing_OLE2Shape_idl__ +#include <com/sun/star/drawing/OLE2Shape.idl> +#endif + + +//============================================================================= + + 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 <type scope="com::sun::star::drawing">MasterPage</type>. + */ +published service ChartShape +{ + service com::sun::star::presentation::Shape; + + service com::sun::star::drawing::OLE2Shape; +}; + +//============================================================================= + +}; }; }; }; + +#endif diff --git a/offapi/com/sun/star/presentation/ClickAction.idl b/offapi/com/sun/star/presentation/ClickAction.idl new file mode 100644 index 000000000000..03fcd487d7bf --- /dev/null +++ b/offapi/com/sun/star/presentation/ClickAction.idl @@ -0,0 +1,132 @@ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#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 diff --git a/offapi/com/sun/star/presentation/CustomPresentation.idl b/offapi/com/sun/star/presentation/CustomPresentation.idl new file mode 100644 index 000000000000..68bd79aede66 --- /dev/null +++ b/offapi/com/sun/star/presentation/CustomPresentation.idl @@ -0,0 +1,68 @@ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#ifndef __com_sun_star_presentation_CustomPresentation_idl__ +#define __com_sun_star_presentation_CustomPresentation_idl__ + +#ifndef __com_sun_star_container_XIndexContainer_idl__ +#include <com/sun/star/container/XIndexContainer.idl> +#endif + +#ifndef __com_sun_star_container_XNamed_idl__ +#include <com/sun/star/container/XNamed.idl> +#endif + + +//============================================================================= + + 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 diff --git a/offapi/com/sun/star/presentation/CustomPresentationAccess.idl b/offapi/com/sun/star/presentation/CustomPresentationAccess.idl new file mode 100644 index 000000000000..fe23098bfd36 --- /dev/null +++ b/offapi/com/sun/star/presentation/CustomPresentationAccess.idl @@ -0,0 +1,71 @@ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#ifndef __com_sun_star_presentation_CustomPresentationAccess_idl__ +#define __com_sun_star_presentation_CustomPresentationAccess_idl__ + +#ifndef __com_sun_star_container_XNameContainer_idl__ +#include <com/sun/star/container/XNameContainer.idl> +#endif + +#ifndef __com_sun_star_lang_XSingleServiceFactory_idl__ +#include <com/sun/star/lang/XSingleServiceFactory.idl> +#endif + +//============================================================================= + + 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 + <type>CustomPresentation</type>. + <p>The methods insertByName and replaceByName both replace + the name of the given <type>CustomPresentation</type> + */ + interface com::sun::star::container::XNameContainer; + + /** This interface lets you create empty instances of + the service <type>CustomPresentation</type>. + + <p>These services are needed for the <code>insertByName</code> + and <code>replaceByName</code> methods of this service + <type scope="com::sun::star::container">XNameContainer</type> interface. + */ + interface com::sun::star::lang::XSingleServiceFactory; +}; + +//============================================================================= + +}; }; }; }; + +#endif diff --git a/offapi/com/sun/star/presentation/DateTimeShape.idl b/offapi/com/sun/star/presentation/DateTimeShape.idl new file mode 100644 index 000000000000..8949d6f2d1ba --- /dev/null +++ b/offapi/com/sun/star/presentation/DateTimeShape.idl @@ -0,0 +1,62 @@ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#ifndef __com_sun_star_presentation_DateTimeShape_idl__ +#define __com_sun_star_presentation_DateTimeShape_idl__ + +#ifndef __com_sun_star_presentation_Shape_idl__ +#include <com/sun/star/presentation/Shape.idl> +#endif + +#ifndef __com_sun_star_drawing_TextShape_idl__ +#include <com/sun/star/drawing/TextShape.idl> +#endif + + +//============================================================================= + + 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 <type scope="com::sun::star::drawing">MasterPage</type>. + */ +service DateTimeShape +{ + service com::sun::star::presentation::Shape; + + service com::sun::star::drawing::TextShape; +}; + +//============================================================================= + +}; }; }; }; + +#endif diff --git a/offapi/com/sun/star/presentation/DocumentSettings.idl b/offapi/com/sun/star/presentation/DocumentSettings.idl new file mode 100644 index 000000000000..22bb3ed7238b --- /dev/null +++ b/offapi/com/sun/star/presentation/DocumentSettings.idl @@ -0,0 +1,120 @@ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#ifndef __com_sun_star_presentation_DocumentSettings_idl__ +#define __com_sun_star_presentation_DocumentSettings_idl__ + +#ifndef __com_sun_star_document_HeaderFooterSettings_idl__ +#include <com/sun/star/document/HeaderFooterSettings.idl> +#endif + +#ifndef __com_sun_star_document_Settings_idl__ +#include <com/sun/star/document/Settings.idl> +#endif + +//============================================================================= + +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 + */ + [optional, property] long PageNumberFormat; + + /** If this is true, the distance between two paragraphs is + the sum of ParaTopMargin of the previous and ParaBottomMargin of + the next paragraph. If false, only the greater of the two is + chosen. + */ + [optional, property] boolean ParagraphSummation; + +}; + +//============================================================================= + +}; }; }; }; + +#endif diff --git a/offapi/com/sun/star/presentation/DrawPage.idl b/offapi/com/sun/star/presentation/DrawPage.idl new file mode 100644 index 000000000000..14c0cd7b1647 --- /dev/null +++ b/offapi/com/sun/star/presentation/DrawPage.idl @@ -0,0 +1,177 @@ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#ifndef __com_sun_star_presentation_DrawPage_idl__ +#define __com_sun_star_presentation_DrawPage_idl__ + +#ifndef __com_sun_star_drawing_DrawPage_idl__ +#include <com/sun/star/drawing/DrawPage.idl> +#endif + +#ifndef __com_sun_star_document_LinkTarget_idl__ +#include <com/sun/star/document/LinkTarget.idl> +#endif + +#ifndef __com_sun_star_presentation_FadeEffect_idl__ +#include <com/sun/star/presentation/FadeEffect.idl> +#endif + +#ifndef __com_sun_star_presentation_AnimationSpeed_idl__ +#include <com/sun/star/presentation/AnimationSpeed.idl> +#endif + + +//============================================================================= + + module com { module sun { module star { module presentation { + +//============================================================================= + +/** This is the service provided by a <type scope="com::sun::star::drawing">DrawPage</type> inside a + <type>PresentationDocument</type>. + + @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 <member scope="com::sun::star::drawing">DrawPage::Change</member> is set to 1, + this is the time in seconds this page is shown before switching + to the next page. + */ + [property] long Duration; + + //------------------------------------------------------------------------- + + /** 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. + */ + [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; +}; + +//============================================================================= + +}; }; }; }; + +#endif diff --git a/offapi/com/sun/star/presentation/EffectCommands.idl b/offapi/com/sun/star/presentation/EffectCommands.idl new file mode 100644 index 000000000000..1c870a87edcf --- /dev/null +++ b/offapi/com/sun/star/presentation/EffectCommands.idl @@ -0,0 +1,76 @@ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#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 diff --git a/offapi/com/sun/star/presentation/EffectNodeType.idl b/offapi/com/sun/star/presentation/EffectNodeType.idl new file mode 100644 index 000000000000..5547badffb93 --- /dev/null +++ b/offapi/com/sun/star/presentation/EffectNodeType.idl @@ -0,0 +1,81 @@ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#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 + <member>::com::sun::star::animations::XAnimationNode::UserData</member> 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::AnimationNode +*/ +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 diff --git a/offapi/com/sun/star/presentation/EffectPresetClass.idl b/offapi/com/sun/star/presentation/EffectPresetClass.idl new file mode 100644 index 000000000000..7857dde6f635 --- /dev/null +++ b/offapi/com/sun/star/presentation/EffectPresetClass.idl @@ -0,0 +1,81 @@ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#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 a the class for a preset animation effect. + <br> + This is stored with the name <i>preset-class</i> inside the + <member>::com::sun::star::animations::XAnimationNode::UserData</member> 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::AnimationNode +*/ +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 diff --git a/offapi/com/sun/star/presentation/FadeEffect.idl b/offapi/com/sun/star/presentation/FadeEffect.idl new file mode 100644 index 000000000000..7eae9795602f --- /dev/null +++ b/offapi/com/sun/star/presentation/FadeEffect.idl @@ -0,0 +1,388 @@ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#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 diff --git a/offapi/com/sun/star/presentation/FooterShape.idl b/offapi/com/sun/star/presentation/FooterShape.idl new file mode 100644 index 000000000000..91b6bad681e2 --- /dev/null +++ b/offapi/com/sun/star/presentation/FooterShape.idl @@ -0,0 +1,62 @@ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#ifndef __com_sun_star_presentation_FooterShape_idl__ +#define __com_sun_star_presentation_FooterShape_idl__ + +#ifndef __com_sun_star_presentation_Shape_idl__ +#include <com/sun/star/presentation/Shape.idl> +#endif + +#ifndef __com_sun_star_drawing_TextShape_idl__ +#include <com/sun/star/drawing/TextShape.idl> +#endif + + +//============================================================================= + + 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 <type scope="com::sun::star::drawing">MasterPage</type>. + */ +service FooterShape +{ + service com::sun::star::presentation::Shape; + + service com::sun::star::drawing::TextShape; +}; + +//============================================================================= + +}; }; }; }; + +#endif diff --git a/offapi/com/sun/star/presentation/GraphicObjectShape.idl b/offapi/com/sun/star/presentation/GraphicObjectShape.idl new file mode 100644 index 000000000000..6171234401c3 --- /dev/null +++ b/offapi/com/sun/star/presentation/GraphicObjectShape.idl @@ -0,0 +1,62 @@ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#ifndef __com_sun_star_presentation_GraphicObjectShape_idl__ +#define __com_sun_star_presentation_GraphicObjectShape_idl__ + +#ifndef __com_sun_star_presentation_Shape_idl__ +#include <com/sun/star/presentation/Shape.idl> +#endif + +#ifndef __com_sun_star_drawing_GraphicObjectShape_idl__ +#include <com/sun/star/drawing/GraphicObjectShape.idl> +#endif + + +//============================================================================= + + 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 <type scope="com::sun::star::drawing">MasterPage</type>. + */ +published service GraphicObjectShape +{ + service com::sun::star::presentation::Shape; + + service com::sun::star::drawing::GraphicObjectShape; +}; + +//============================================================================= + +}; }; }; }; + +#endif diff --git a/offapi/com/sun/star/presentation/HandoutShape.idl b/offapi/com/sun/star/presentation/HandoutShape.idl new file mode 100644 index 000000000000..027c0fc26251 --- /dev/null +++ b/offapi/com/sun/star/presentation/HandoutShape.idl @@ -0,0 +1,62 @@ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#ifndef __com_sun_star_presentation_HandoutShape_idl__ +#define __com_sun_star_presentation_HandoutShape_idl__ + +#ifndef __com_sun_star_presentation_Shape_idl__ +#include <com/sun/star/presentation/Shape.idl> +#endif + +#ifndef __com_sun_star_drawing_PageShape_idl__ +#include <com/sun/star/drawing/PageShape.idl> +#endif + + +//============================================================================= + + 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 <type scope="com::sun::star::drawing">MasterPage</type>. + */ +published service HandoutShape +{ + service com::sun::star::presentation::Shape; + + service com::sun::star::drawing::PageShape; +}; + +//============================================================================= + +}; }; }; }; + +#endif diff --git a/offapi/com/sun/star/presentation/HandoutView.idl b/offapi/com/sun/star/presentation/HandoutView.idl new file mode 100644 index 000000000000..4312280f3cb6 --- /dev/null +++ b/offapi/com/sun/star/presentation/HandoutView.idl @@ -0,0 +1,59 @@ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#ifndef __com_sun_star_presentation_HandoutView_idl__ +#define __com_sun_star_presentation_HandoutView_idl__ + +#ifndef __com_sun_star_drawing_DrawingDocumentDrawView_idl__ +#include <com/sun/star/drawing/DrawingDocumentDrawView.idl> +#endif + +//============================================================================= + + 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 diff --git a/offapi/com/sun/star/presentation/HeaderShape.idl b/offapi/com/sun/star/presentation/HeaderShape.idl new file mode 100644 index 000000000000..2eabe32a309b --- /dev/null +++ b/offapi/com/sun/star/presentation/HeaderShape.idl @@ -0,0 +1,62 @@ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#ifndef __com_sun_star_presentation_HeaderShape_idl__ +#define __com_sun_star_presentation_HeaderShape_idl__ + +#ifndef __com_sun_star_presentation_Shape_idl__ +#include <com/sun/star/presentation/Shape.idl> +#endif + +#ifndef __com_sun_star_drawing_TextShape_idl__ +#include <com/sun/star/drawing/TextShape.idl> +#endif + + +//============================================================================= + + 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 <type scope="com::sun::star::drawing">MasterPage</type>. + */ +service HeaderShape +{ + service com::sun::star::presentation::Shape; + + service com::sun::star::drawing::TextShape; +}; + +//============================================================================= + +}; }; }; }; + +#endif diff --git a/offapi/com/sun/star/presentation/NotesShape.idl b/offapi/com/sun/star/presentation/NotesShape.idl new file mode 100644 index 000000000000..e191d3748e6a --- /dev/null +++ b/offapi/com/sun/star/presentation/NotesShape.idl @@ -0,0 +1,62 @@ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#ifndef __com_sun_star_presentation_NotesShape_idl__ +#define __com_sun_star_presentation_NotesShape_idl__ + +#ifndef __com_sun_star_presentation_Shape_idl__ +#include <com/sun/star/presentation/Shape.idl> +#endif + +#ifndef __com_sun_star_drawing_TextShape_idl__ +#include <com/sun/star/drawing/TextShape.idl> +#endif + + +//============================================================================= + + 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 <type scope="com::sun::star::drawing">MasterPage</type>. + */ +published service NotesShape +{ + service com::sun::star::presentation::Shape; + + service com::sun::star::drawing::TextShape; +}; + +//============================================================================= + +}; }; }; }; + +#endif diff --git a/offapi/com/sun/star/presentation/NotesView.idl b/offapi/com/sun/star/presentation/NotesView.idl new file mode 100644 index 000000000000..0d63cc63941b --- /dev/null +++ b/offapi/com/sun/star/presentation/NotesView.idl @@ -0,0 +1,59 @@ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#ifndef __com_sun_star_presentation_NotesView_idl__ +#define __com_sun_star_presentation_NotesView_idl__ + +#ifndef __com_sun_star_drawing_DrawingDocumentDrawView_idl__ +#include <com/sun/star/drawing/DrawingDocumentDrawView.idl> +#endif + +//============================================================================= + + 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 diff --git a/offapi/com/sun/star/presentation/OLE2Shape.idl b/offapi/com/sun/star/presentation/OLE2Shape.idl new file mode 100644 index 000000000000..dae7714b89a0 --- /dev/null +++ b/offapi/com/sun/star/presentation/OLE2Shape.idl @@ -0,0 +1,62 @@ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#ifndef __com_sun_star_presentation_OLE2Shape_idl__ +#define __com_sun_star_presentation_OLE2Shape_idl__ + +#ifndef __com_sun_star_presentation_Shape_idl__ +#include <com/sun/star/presentation/Shape.idl> +#endif + +#ifndef __com_sun_star_drawing_OLE2Shape_idl__ +#include <com/sun/star/drawing/OLE2Shape.idl> +#endif + + +//============================================================================= + + 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 <type scope="com::sun::star::drawing">MasterPage</type>. + */ +published service OLE2Shape +{ + service com::sun::star::presentation::Shape; + + service com::sun::star::drawing::OLE2Shape; +}; + +//============================================================================= + +}; }; }; }; + +#endif diff --git a/offapi/com/sun/star/presentation/OutlineView.idl b/offapi/com/sun/star/presentation/OutlineView.idl new file mode 100644 index 000000000000..13b12976f3ae --- /dev/null +++ b/offapi/com/sun/star/presentation/OutlineView.idl @@ -0,0 +1,109 @@ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#ifndef __com_sun_star_presentation_OutlineView_idl__ +#define __com_sun_star_presentation_OutlineView_idl__ + +#ifndef __com_sun_star_drawing_XDrawView_idl__ +#include <com/sun/star/drawing/XDrawView.idl> +#endif + +#ifndef __com_sun_star_beans_XPropertySet_idl__ +#include <com/sun/star/beans/XPropertySet.idl> +#endif + +#ifndef __com_sun_star_frame_Controller_idl__ +#include <com/sun/star/frame/Controller.idl> +#endif + +#ifndef __com_sun_star_lang_XServiceInfo_idl__ +#include <com/sun/star/lang/XServiceInfo.idl> +#endif + +#ifndef __com_sun_star_drawing_XDrawPage_idl__ +#include <com/sun/star/drawing/XDrawPage.idl> +#endif + +#ifndef __com_sun_star_awt_XWindow_idl__ +#include <com/sun/star/awt/XWindow.idl> +#endif + +//============================================================================= + + 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; + + //------------------------------------------------------------------------- + + /** provides the names of the services implemented by + this instance. + */ + interface com::sun::star::lang::XServiceInfo; + + //------------------------------------------------------------------------- + + /** This is the area that is currently visible. + */ + [readonly, property] com::sun::star::awt::Rectangle VisibleArea; + +}; + +//============================================================================= + +}; }; }; }; + +#endif diff --git a/offapi/com/sun/star/presentation/OutlinerShape.idl b/offapi/com/sun/star/presentation/OutlinerShape.idl new file mode 100644 index 000000000000..84678d23edf9 --- /dev/null +++ b/offapi/com/sun/star/presentation/OutlinerShape.idl @@ -0,0 +1,62 @@ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#ifndef __com_sun_star_presentation_OutlinerShape_idl__ +#define __com_sun_star_presentation_OutlinerShape_idl__ + +#ifndef __com_sun_star_presentation_Shape_idl__ +#include <com/sun/star/presentation/Shape.idl> +#endif + +#ifndef __com_sun_star_drawing_TextShape_idl__ +#include <com/sun/star/drawing/TextShape.idl> +#endif + + +//============================================================================= + + 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 <type scope="com::sun::star::drawing">MasterPage</type>. + */ +published service OutlinerShape +{ + service com::sun::star::presentation::Shape; + + service com::sun::star::drawing::TextShape; +}; + +//============================================================================= + +}; }; }; }; + +#endif diff --git a/offapi/com/sun/star/presentation/PageShape.idl b/offapi/com/sun/star/presentation/PageShape.idl new file mode 100644 index 000000000000..27e2c15c1eff --- /dev/null +++ b/offapi/com/sun/star/presentation/PageShape.idl @@ -0,0 +1,62 @@ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#ifndef __com_sun_star_presentation_PageShape_idl__ +#define __com_sun_star_presentation_PageShape_idl__ + +#ifndef __com_sun_star_presentation_Shape_idl__ +#include <com/sun/star/presentation/Shape.idl> +#endif + +#ifndef __com_sun_star_drawing_PageShape_idl__ +#include <com/sun/star/drawing/PageShape.idl> +#endif + + +//============================================================================= + + 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 <type scope="com::sun::star::drawing">MasterPage</type>. + */ +published service PageShape +{ + service com::sun::star::presentation::Shape; + + service com::sun::star::drawing::PageShape; +}; + +//============================================================================= + +}; }; }; }; + +#endif diff --git a/offapi/com/sun/star/presentation/ParagraphTarget.idl b/offapi/com/sun/star/presentation/ParagraphTarget.idl new file mode 100644 index 000000000000..755f10d835f0 --- /dev/null +++ b/offapi/com/sun/star/presentation/ParagraphTarget.idl @@ -0,0 +1,58 @@ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#ifndef __com_sun_star_presentation_ParagraphTarget_idl__ +#define __com_sun_star_presentation_ParagraphTarget_idl__ + +#ifndef __com_sun_star_drawing_XShape_idl__ +#include <com/sun/star/drawing/XShape.idl> +#endif + +//============================================================================= + + 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 diff --git a/offapi/com/sun/star/presentation/Presentation.idl b/offapi/com/sun/star/presentation/Presentation.idl new file mode 100644 index 000000000000..e8c220b00ff7 --- /dev/null +++ b/offapi/com/sun/star/presentation/Presentation.idl @@ -0,0 +1,159 @@ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#ifndef __com_sun_star_presentation_Presentation_idl__ +#define __com_sun_star_presentation_Presentation_idl__ + +#ifndef __com_sun_star_presentation_XPresentation_idl__ +#include <com/sun/star/presentation/XPresentation.idl> +#endif + +#ifndef __com_sun_star_beans_XPropertySet_idl__ +#include <com/sun/star/beans/XPropertySet.idl> +#endif + + +//============================================================================= + + module com { module sun { module star { module presentation { + +//============================================================================= + +/** This service is a presentation that is available from a + <type>PresentationDocument</type> via the + <type>XPresentationSupplier</type> 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 <literal>0</literal>, 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 diff --git a/offapi/com/sun/star/presentation/Presentation2.idl b/offapi/com/sun/star/presentation/Presentation2.idl new file mode 100644 index 000000000000..9ed9a9b0dd23 --- /dev/null +++ b/offapi/com/sun/star/presentation/Presentation2.idl @@ -0,0 +1,65 @@ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#ifndef __com_sun_star_presentation_Presentation2_idl__ +#define __com_sun_star_presentation_Presentation2_idl__ + +#ifndef __com_sun_star_presentation_Presentation_idl__ +#include <com/sun/star/presentation/Presentation.idl> +#endif + +#ifndef __com_sun_star_presentation_XPresentation2_idl__ +#include <com/sun/star/presentation/XPresentation2.idl> +#endif + +//============================================================================= + + module com { module sun { module star { module presentation { + +//============================================================================= + +/** enhances the Presentation service to give access to a <type>XPresentation2</type> interface. + + @since OOo 3.0 +*/ +service Presentation2 +{ + service Presentation; + + /** enhances the XPresentation interface to give access to + a <type>XSlideShowController</type> and + to start a presentation with arguments. + */ + interface com::sun::star::presentation::XPresentation2; + + //------------------------------------------------------------------------- +}; + +//============================================================================= + +}; }; }; }; + +#endif diff --git a/offapi/com/sun/star/presentation/PresentationDocument.idl b/offapi/com/sun/star/presentation/PresentationDocument.idl new file mode 100644 index 000000000000..401090dd09c2 --- /dev/null +++ b/offapi/com/sun/star/presentation/PresentationDocument.idl @@ -0,0 +1,105 @@ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#ifndef __com_sun_star_presentation_PresentationDocument_idl__ +#define __com_sun_star_presentation_PresentationDocument_idl__ + +#ifndef __com_sun_star_drawing_GenericDrawingDocument_idl__ +#include <com/sun/star/drawing/GenericDrawingDocument.idl> +#endif + +#ifndef __com_sun_star_presentation_XPresentationSupplier_idl__ +#include <com/sun/star/presentation/XPresentationSupplier.idl> +#endif + +#ifndef __com_sun_star_presentation_XCustomPresentationSupplier_idl__ +#include <com/sun/star/presentation/XCustomPresentationSupplier.idl> +#endif + +#ifndef __com_sun_star_document_XLinkTargetSupplier_idl__ +#include <com/sun/star/document/XLinkTargetSupplier.idl> +#endif + + +//============================================================================= + + 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 + <type scope="com::sun::star::lang">XMultiServiceFactory</type> + only in a presentation application + + <ul> + <li><type>TitleTextShape</type></li> + <li><type>OutlinerShape</type></li> + <li><type>SubtitleShape</type></li> + <li><type>GraphicObjectShape</type></li> + <li><type>PageShape</type></li> + <li><type>OLE2Shape</type></li> + <li><type>ChartShape</type></li> + <li><type>NotesShape</type></li> + <li><type>HandoutShape</type></li> + <li><type>HeaderShape</type></li> + <li><type>FooterShape</type></li> + <li><type>SlideNumberShape</type></li> + <li><type>DateTimeShape</type></li> + <li><type>DocumentSettings</type></li> + <li><type scope="textfield">Header</type></li> + <li><type scope="textfield">Footer</type></li> + <li><type scope="textfield">DateTime</type></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 diff --git a/offapi/com/sun/star/presentation/PresentationRange.idl b/offapi/com/sun/star/presentation/PresentationRange.idl new file mode 100644 index 000000000000..3df71eca5e30 --- /dev/null +++ b/offapi/com/sun/star/presentation/PresentationRange.idl @@ -0,0 +1,63 @@ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#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 diff --git a/offapi/com/sun/star/presentation/PresentationView.idl b/offapi/com/sun/star/presentation/PresentationView.idl new file mode 100644 index 000000000000..e989b8b075de --- /dev/null +++ b/offapi/com/sun/star/presentation/PresentationView.idl @@ -0,0 +1,117 @@ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#ifndef __com_sun_star_presentation_PresentationView_idl__ +#define __com_sun_star_presentation_PresentationView_idl__ + +#ifndef __com_sun_star_drawing_XDrawView_idl__ +#include <com/sun/star/drawing/XDrawView.idl> +#endif + +#ifndef __com_sun_star_beans_XPropertySet_idl__ +#include <com/sun/star/beans/XPropertySet.idl> +#endif + +#ifndef __com_sun_star_frame_Controller_idl__ +#include <com/sun/star/frame/Controller.idl> +#endif + +#ifndef __com_sun_star_lang_XServiceInfo_idl__ +#include <com/sun/star/lang/XServiceInfo.idl> +#endif + +#ifndef __com_sun_star_drawing_XDrawPage_idl__ +#include <com/sun/star/drawing/XDrawPage.idl> +#endif + +#ifndef __com_sun_star_awt_XWindow_idl__ +#include <com/sun/star/awt/XWindow.idl> +#endif + + +//============================================================================= + + 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; + + //------------------------------------------------------------------------- + + /** provides the names of the services implemented by + this instance. + */ + interface com::sun::star::lang::XServiceInfo; + + //------------------------------------------------------------------------- + + /** 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 diff --git a/offapi/com/sun/star/presentation/PreviewView.idl b/offapi/com/sun/star/presentation/PreviewView.idl new file mode 100644 index 000000000000..976b9b72193a --- /dev/null +++ b/offapi/com/sun/star/presentation/PreviewView.idl @@ -0,0 +1,119 @@ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#ifndef __com_sun_star_presentation_PreviewView_idl__ +#define __com_sun_star_presentation_PreviewView_idl__ + +#ifndef __com_sun_star_drawing_XDrawView_idl__ +#include <com/sun/star/drawing/XDrawView.idl> +#endif + +#ifndef __com_sun_star_beans_XPropertySet_idl__ +#include <com/sun/star/beans/XPropertySet.idl> +#endif + +#ifndef __com_sun_star_frame_Controller_idl__ +#include <com/sun/star/frame/Controller.idl> +#endif + +#ifndef __com_sun_star_lang_XServiceInfo_idl__ +#include <com/sun/star/lang/XServiceInfo.idl> +#endif + +#ifndef __com_sun_star_drawing_XDrawPage_idl__ +#include <com/sun/star/drawing/XDrawPage.idl> +#endif + +#ifndef __com_sun_star_awt_XWindow_idl__ +#include <com/sun/star/awt/XWindow.idl> +#endif + +//============================================================================= + + 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; + + //------------------------------------------------------------------------- + + /** provides the names of the services implemented by + this instance. + */ + interface com::sun::star::lang::XServiceInfo; + + //------------------------------------------------------------------------- + + /** 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 diff --git a/offapi/com/sun/star/presentation/Shape.idl b/offapi/com/sun/star/presentation/Shape.idl new file mode 100644 index 000000000000..f16c7a60e574 --- /dev/null +++ b/offapi/com/sun/star/presentation/Shape.idl @@ -0,0 +1,180 @@ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#ifndef __com_sun_star_presentation_Shape_idl__ +#define __com_sun_star_presentation_Shape_idl__ + +#ifndef __com_sun_star_util_Color_idl__ +#include <com/sun/star/util/Color.idl> +#endif + +#ifndef __com_sun_star_presentation_AnimationEffect_idl__ +#include <com/sun/star/presentation/AnimationEffect.idl> +#endif + +#ifndef __com_sun_star_presentation_ClickAction_idl__ +#include <com/sun/star/presentation/ClickAction.idl> +#endif + +#ifndef __com_sun_star_presentation_AnimationSpeed_idl__ +#include <com/sun/star/presentation/AnimationSpeed.idl> +#endif + + +//============================================================================= + + module com { module sun { module star { module presentation { + +//============================================================================= + +/** this service is supported from all shapes inside a <type>PresentationDocument</type>. + + + This usually enhances objects of type <type scope="com::sun::star::drawing">Shape</type> 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 <member scope="com::sun::star::drawing">Shape::DimPrev</member> + is <TRUE/> and <member scope="com::sun::star::drawing">Shape::DimHide</member> is <FALSE/>.</p> + */ + [property] com::sun::star::util::Color DimColor; + + //------------------------------------------------------------------------- + + /** If this property and the property <member scope="com::sun::star::drawing">Shape::DimPrev</member> + 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 <member scope="com::sun::star::drawing">Shape::DimColor</member> 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 <member scope="com::sun::star::drawing">Shape::OnClick</member>. + */ + [property] long Verb; + +}; + +//============================================================================= + +}; }; }; }; + +#endif diff --git a/offapi/com/sun/star/presentation/ShapeAnimationSubType.idl b/offapi/com/sun/star/presentation/ShapeAnimationSubType.idl new file mode 100644 index 000000000000..022f33f86b0e --- /dev/null +++ b/offapi/com/sun/star/presentation/ShapeAnimationSubType.idl @@ -0,0 +1,66 @@ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#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 diff --git a/offapi/com/sun/star/presentation/SlideNumberShape.idl b/offapi/com/sun/star/presentation/SlideNumberShape.idl new file mode 100644 index 000000000000..1a5375e2ce3b --- /dev/null +++ b/offapi/com/sun/star/presentation/SlideNumberShape.idl @@ -0,0 +1,62 @@ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#ifndef __com_sun_star_presentation_SlideNumberShape_idl__ +#define __com_sun_star_presentation_SlideNumberShape_idl__ + +#ifndef __com_sun_star_presentation_Shape_idl__ +#include <com/sun/star/presentation/Shape.idl> +#endif + +#ifndef __com_sun_star_drawing_TextShape_idl__ +#include <com/sun/star/drawing/TextShape.idl> +#endif + + +//============================================================================= + + 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 <type scope="com::sun::star::drawing">MasterPage</type>. + */ +service SlideNumberShape +{ + service com::sun::star::presentation::Shape; + + service com::sun::star::drawing::TextShape; +}; + +//============================================================================= + +}; }; }; }; + +#endif diff --git a/offapi/com/sun/star/presentation/SlidesView.idl b/offapi/com/sun/star/presentation/SlidesView.idl new file mode 100644 index 000000000000..c984281b1819 --- /dev/null +++ b/offapi/com/sun/star/presentation/SlidesView.idl @@ -0,0 +1,110 @@ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#ifndef __com_sun_star_presentation_SlidesView_idl__ +#define __com_sun_star_presentation_SlidesView_idl__ + +#ifndef __com_sun_star_drawing_XDrawView_idl__ +#include <com/sun/star/drawing/XDrawView.idl> +#endif + +#ifndef __com_sun_star_beans_XPropertySet_idl__ +#include <com/sun/star/beans/XPropertySet.idl> +#endif + +#ifndef __com_sun_star_frame_Controller_idl__ +#include <com/sun/star/frame/Controller.idl> +#endif + +#ifndef __com_sun_star_lang_XServiceInfo_idl__ +#include <com/sun/star/lang/XServiceInfo.idl> +#endif + +#ifndef __com_sun_star_drawing_XDrawPage_idl__ +#include <com/sun/star/drawing/XDrawPage.idl> +#endif + +#ifndef __com_sun_star_awt_XWindow_idl__ +#include <com/sun/star/awt/XWindow.idl> +#endif + +//============================================================================= + + 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; + + //------------------------------------------------------------------------- + + /** provides the names of the services implemented by + this instance. + */ + interface com::sun::star::lang::XServiceInfo; + + //------------------------------------------------------------------------- + + /** This is the area that is currently visible. + */ + [readonly, property] com::sun::star::awt::Rectangle VisibleArea; + +}; + +//============================================================================= + +}; }; }; }; + +#endif diff --git a/offapi/com/sun/star/presentation/SubtitleShape.idl b/offapi/com/sun/star/presentation/SubtitleShape.idl new file mode 100644 index 000000000000..3bb28ba0dcb7 --- /dev/null +++ b/offapi/com/sun/star/presentation/SubtitleShape.idl @@ -0,0 +1,62 @@ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#ifndef __com_sun_star_presentation_SubtitleShape_idl__ +#define __com_sun_star_presentation_SubtitleShape_idl__ + +#ifndef __com_sun_star_presentation_Shape_idl__ +#include <com/sun/star/presentation/Shape.idl> +#endif + +#ifndef __com_sun_star_drawing_TextShape_idl__ +#include <com/sun/star/drawing/TextShape.idl> +#endif + + +//============================================================================= + + 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 <type scope="com::sun::star::drawing">MasterPage</type>. + */ +published service SubtitleShape +{ + service com::sun::star::presentation::Shape; + + service com::sun::star::drawing::TextShape; +}; + +//============================================================================= + +}; }; }; }; + +#endif diff --git a/offapi/com/sun/star/presentation/TextAnimationType.idl b/offapi/com/sun/star/presentation/TextAnimationType.idl new file mode 100644 index 000000000000..e77cb9e70ed1 --- /dev/null +++ b/offapi/com/sun/star/presentation/TextAnimationType.idl @@ -0,0 +1,63 @@ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#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 <type scope=::com::sun::star::text>XTextRange</type> + is animated inside an <type scope=::com::sun::star::animations>IterateContainer</type>. + <br> + This is stored inside the attribute + <member scope=::com::sun::star::animations>IterateContainer::IterateType</member>. + <br> + @see ::com::sun::star::animations::IterateContainer +*/ +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 diff --git a/offapi/com/sun/star/presentation/TitleTextShape.idl b/offapi/com/sun/star/presentation/TitleTextShape.idl new file mode 100644 index 000000000000..f2856eeedf26 --- /dev/null +++ b/offapi/com/sun/star/presentation/TitleTextShape.idl @@ -0,0 +1,62 @@ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#ifndef __com_sun_star_presentation_TitleTextShape_idl__ +#define __com_sun_star_presentation_TitleTextShape_idl__ + +#ifndef __com_sun_star_presentation_Shape_idl__ +#include <com/sun/star/presentation/Shape.idl> +#endif + +#ifndef __com_sun_star_drawing_TextShape_idl__ +#include <com/sun/star/drawing/TextShape.idl> +#endif + + +//============================================================================= + + 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 <type scope="com::sun::star::drawing">MasterPage</type>. + */ +published service TitleTextShape +{ + service com::sun::star::presentation::Shape; + + service com::sun::star::drawing::TextShape; +}; + +//============================================================================= + +}; }; }; }; + +#endif diff --git a/offapi/com/sun/star/presentation/XCustomPresentationSupplier.idl b/offapi/com/sun/star/presentation/XCustomPresentationSupplier.idl new file mode 100644 index 000000000000..3949c9157932 --- /dev/null +++ b/offapi/com/sun/star/presentation/XCustomPresentationSupplier.idl @@ -0,0 +1,66 @@ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#ifndef __com_sun_star_presentation_XCustomPresentationSupplier_idl__ +#define __com_sun_star_presentation_XCustomPresentationSupplier_idl__ + +#ifndef __com_sun_star_uno_XInterface_idl__ +#include <com/sun/star/uno/XInterface.idl> +#endif + +#ifndef __com_sun_star_container_XNameContainer_idl__ +#include <com/sun/star/container/XNameContainer.idl> +#endif + + +//============================================================================= + + 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 <type>CustomPresentation</type>. + */ + com::sun::star::container::XNameContainer getCustomPresentations(); + +}; + +//============================================================================= + +}; }; }; }; + +#endif diff --git a/offapi/com/sun/star/presentation/XHandoutMasterSupplier.idl b/offapi/com/sun/star/presentation/XHandoutMasterSupplier.idl new file mode 100644 index 000000000000..c55af24981d3 --- /dev/null +++ b/offapi/com/sun/star/presentation/XHandoutMasterSupplier.idl @@ -0,0 +1,58 @@ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#ifndef __com_sun_star_presentation_XHandoutMasterSupplier_idl__ +#define __com_sun_star_presentation_XHandoutMasterSupplier_idl__ + +#ifndef __com_sun_star_uno_XInterface_idl__ +#include <com/sun/star/uno/XInterface.idl> +#endif + +#ifndef __com_sun_star_drawing_XDrawPage_idl__ +#include <com/sun/star/drawing/XDrawPage.idl> +#endif + + +//============================================================================= + + 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 <type>DrawPage</type>. + */ + com::sun::star::drawing::XDrawPage getHandoutMasterPage(); +}; + +//============================================================================= + +}; }; }; }; + +#endif diff --git a/offapi/com/sun/star/presentation/XPresentation.idl b/offapi/com/sun/star/presentation/XPresentation.idl new file mode 100644 index 000000000000..16c5715edff9 --- /dev/null +++ b/offapi/com/sun/star/presentation/XPresentation.idl @@ -0,0 +1,72 @@ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#ifndef __com_sun_star_presentation_XPresentation_idl__ +#define __com_sun_star_presentation_XPresentation_idl__ + +#ifndef __com_sun_star_uno_XInterface_idl__ +#include <com/sun/star/uno/XInterface.idl> +#endif + + +//============================================================================= + + module com { module sun { module star { module presentation { + +//============================================================================= + +/** With this interface you can control any object that implements + a <type>Presentation</type>. +*/ +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 diff --git a/offapi/com/sun/star/presentation/XPresentation2.idl b/offapi/com/sun/star/presentation/XPresentation2.idl new file mode 100644 index 000000000000..53e6ef4137d6 --- /dev/null +++ b/offapi/com/sun/star/presentation/XPresentation2.idl @@ -0,0 +1,99 @@ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#ifndef __com_sun_star_presentation_XPresentation2_idl__ +#define __com_sun_star_presentation_XPresentation2_idl__ + +#ifndef __com_sun_star_presentation_XPresentation_idl__ +#include <com/sun/star/presentation/XPresentation.idl> +#endif + +#ifndef __com_sun_star_beans_XPropertySet_idl__ +#include <com/sun/star/beans/XPropertySet.idl> +#endif + +#ifndef __com_sun_star_beans_PropertyValue_idl__ +#include <com/sun/star/beans/PropertyValue.idl> +#endif + +#ifndef __com_sun_star_presentation_XSlideShowListener_idl__ +#include <com/sun/star/presentation/XSlideShowListener.idl> +#endif + +#ifndef __com_sun_star_presentation_XSlideShowController_idl__ +#include <com/sun/star/presentation/XSlideShowController.idl> +#endif + +//============================================================================= + + module com { module sun { module star { module presentation { + +//============================================================================= + +/** enhances the XPresentation interface to give access to + a <type>XSlideShowController</type> 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 <service>Presentation</service> + */ + 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 diff --git a/offapi/com/sun/star/presentation/XPresentationPage.idl b/offapi/com/sun/star/presentation/XPresentationPage.idl new file mode 100644 index 000000000000..ca41ed35c220 --- /dev/null +++ b/offapi/com/sun/star/presentation/XPresentationPage.idl @@ -0,0 +1,61 @@ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#ifndef __com_sun_star_presentation_XPresentationPage_idl__ +#define __com_sun_star_presentation_XPresentationPage_idl__ + +#ifndef __com_sun_star_drawing_XDrawPage_idl__ +#include <com/sun/star/drawing/XDrawPage.idl> +#endif + + +//============================================================================= + + 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 diff --git a/offapi/com/sun/star/presentation/XPresentationSupplier.idl b/offapi/com/sun/star/presentation/XPresentationSupplier.idl new file mode 100644 index 000000000000..f014ad9b379e --- /dev/null +++ b/offapi/com/sun/star/presentation/XPresentationSupplier.idl @@ -0,0 +1,62 @@ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#ifndef __com_sun_star_presentation_XPresentationSupplier_idl__ +#define __com_sun_star_presentation_XPresentationSupplier_idl__ + +#ifndef __com_sun_star_uno_XInterface_idl__ +#include <com/sun/star/uno/XInterface.idl> +#endif + +#ifndef __com_sun_star_presentation_XPresentation_idl__ +#include <com/sun/star/presentation/XPresentation.idl> +#endif + + +//============================================================================= + + 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 diff --git a/offapi/com/sun/star/presentation/XShapeEventListener.idl b/offapi/com/sun/star/presentation/XShapeEventListener.idl new file mode 100644 index 000000000000..d2578ea8dfbe --- /dev/null +++ b/offapi/com/sun/star/presentation/XShapeEventListener.idl @@ -0,0 +1,66 @@ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#ifndef __com_sun_star_presentation_XShapeEventListener_idl__ +#define __com_sun_star_presentation_XShapeEventListener_idl__ + +#ifndef __com_sun_star_lang_XEventListener_idl__ +#include <com/sun/star/lang/XEventListener.idl> +#endif +#ifndef __com_sun_star_awt_XMouseListener_idl__ +#include <com/sun/star/awt/XMouseListener.idl> +#endif +#ifndef __com_sun_star_drawing_XShape_idl__ +#include <com/sun/star/drawing/XShape.idl> +#endif + +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 diff --git a/offapi/com/sun/star/presentation/XSlideShow.idl b/offapi/com/sun/star/presentation/XSlideShow.idl new file mode 100644 index 000000000000..6d3ff2a308b8 --- /dev/null +++ b/offapi/com/sun/star/presentation/XSlideShow.idl @@ -0,0 +1,378 @@ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#ifndef _com_sun_star_presentation_XSlideShow_idl +#define _com_sun_star_presentation_XSlideShow_idl + +#ifndef __com_sun_star_uno_XInterface_idl__ +#include <com/sun/star/uno/XInterface.idl> +#endif +#ifndef __com_sun_star_beans_PropertyValue_idl__ +#include <com/sun/star/beans/PropertyValue.idl> +#endif +#ifndef __com_sun_star_geometry_RealRectangle2D_idl__ +#include <com/sun/star/geometry/RealRectangle2D.idl> +#endif +#ifndef __com_sun_star_rendering_XSpriteCanvas_idl__ +#include <com/sun/star/rendering/XSpriteCanvas.idl> +#endif +#ifndef __com_sun_star_animations_XAnimationNode_idl__ +#include <com/sun/star/animations/XAnimationNode.idl> +#endif +#endif +#ifndef __com_sun_star_lang_XMultiServiceFactory_idl__ +#include <com/sun/star/lang/XMultiServiceFactory.idl> +#ifndef __com_sun_star_drawing_XDrawPage_idl__ +#include <com/sun/star/drawing/XDrawPage.idl> +#endif +#ifndef __com_sun_star_drawing_XDrawPagesSupplier_idl__ +#include <com/sun/star/drawing/XDrawPagesSupplier.idl> +#endif +#ifndef __com_sun_star_drawing_XShape_idl__ +#include <com/sun/star/drawing/XShape.idl> +#endif +#ifndef __com_sun_star_presentation_XSlideShowView_idl__ +#include <com/sun/star/presentation/XSlideShowView.idl> +#endif +#ifndef __com_sun_star_presentation_XSlideShowListener_idl__ +#include <com/sun/star/presentation/XSlideShowListener.idl> +#endif +#ifndef __com_sun_star_presentation_XShapeEventListener_idl__ +#include <com/sun/star/presentation/XShapeEventListener.idl> +#endif + +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 <type>XPresentation2</type> and <type>XSlideShowController</type>. + + @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 xPage + The slide to display. + + @param xDrawPages + For future use. + This parameter can be NULL when the ENABLE_PRESENTER_EXTRA_UI feature is disabled. + + @param xAnimationNode + 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 aAnimationNode, + [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 ); + +}; + +service SlideShow : XSlideShow; + +}; }; }; }; + +#endif + diff --git a/offapi/com/sun/star/presentation/XSlideShowController.idl b/offapi/com/sun/star/presentation/XSlideShowController.idl new file mode 100644 index 000000000000..e55d7dcadfb0 --- /dev/null +++ b/offapi/com/sun/star/presentation/XSlideShowController.idl @@ -0,0 +1,308 @@ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#ifndef __com_sun_star_presentation_XSlideShowController_idl__ +#define __com_sun_star_presentation_XSlideShowController_idl__ + +#ifndef __com_sun_star_drawing_XDrawPage_idl__ +#include <com/sun/star/drawing/XDrawPage.idl> +#endif + +#ifndef __com_sun_star_container_XIndexAccess_idl__ +#include <com/sun/star/container/XIndexAccess.idl> +#endif + +#ifndef __com_sun_star_lang_XComponent_idl__ +#include <com/sun/star/lang/XComponent.idl> +#endif + +#ifndef __com_sun_star_presentation_XSlideShow_idl__ +#include <com/sun/star/presentation/XSlideShow.idl> +#endif + +//============================================================================= + + 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 <type>XSlideShowController</type> from <type>XPresentation2</type> + */ + 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::IndexOutOfBoundException + 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 where 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 + <member>resume</member> is called. + */ + void pause(); + + //------------------------------------------------------------------------- + + /** resumes a paused slide show. + */ + void resume(); + + //------------------------------------------------------------------------- + + /** returns <TRUE/> if the slide show is currently paused. + + @see <member>pause</member> + @see <member>resume</member> + */ + boolean isPaused(); + + //------------------------------------------------------------------------- + + /** pauses the slide show and blanks the screen in the given color. + <p>Change attribute <member>Pause</member> to false to unpause + the slide show. + */ + void blankScreen( [in] long Color ); + + //------------------------------------------------------------------------- + + /** activates the user interface of this slide show. + + @see <member>deactivate()</member> + @see <member>isActive()</member> + */ + void activate(); + + //------------------------------------------------------------------------- + /** can be called to deactivate the user interface of this slide show. + + <p>A deactivated + @see <member>activate()</member> + @see <member>isActive()</member> + */ + 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; + + //------------------------------------------------------------------------- + + /** returns the actual <type>XSlideShow</type> instance that runs the + slide show. + <br>Normally all navigation should be done using this controller and + not the <type>XSlideShow</type> itself. */ + XSlideShow getSlideShow(); + + //------------------------------------------------------------------------- +}; + +//============================================================================= + +}; }; }; }; + +#endif diff --git a/offapi/com/sun/star/presentation/XSlideShowListener.idl b/offapi/com/sun/star/presentation/XSlideShowListener.idl new file mode 100644 index 000000000000..17d7cd7b5370 --- /dev/null +++ b/offapi/com/sun/star/presentation/XSlideShowListener.idl @@ -0,0 +1,80 @@ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#ifndef __com_sun_star_presentation_XSlideShowListener_idl__ +#define __com_sun_star_presentation_XSlideShowListener_idl__ + +#ifndef __com_sun_star_animations_XAnimationListener_idl__ +#include <com/sun/star/animations/XAnimationListener.idl> +#endif + +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 diff --git a/offapi/com/sun/star/presentation/XSlideShowView.idl b/offapi/com/sun/star/presentation/XSlideShowView.idl new file mode 100644 index 000000000000..f4873a5e6865 --- /dev/null +++ b/offapi/com/sun/star/presentation/XSlideShowView.idl @@ -0,0 +1,187 @@ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#ifndef __com_sun_star_presentation_XSlideShowView_idl__ +#define __com_sun_star_presentation_XSlideShowView_idl__ + +#ifndef __com_sun_star_uno_XInterface_idl__ +#include <com/sun/star/uno/XInterface.idl> +#endif +#ifndef __com_sun_star_rendering_XSpriteCanvas_idl__ +#include <com/sun/star/rendering/XSpriteCanvas.idl> +#endif +#ifndef __com_sun_star_util_XModifyListener_idl__ +#include <com/sun/star/util/XModifyListener.idl> +#endif +#ifndef __com_sun_star_awt_XPaintListener_idl__ +#include <com/sun/star/awt/XPaintListener.idl> +#endif +#ifndef __com_sun_star_awt_XMouseListener_idl__ +#include <com/sun/star/awt/XMouseListener.idl> +#endif +#ifndef __com_sun_star_awt_XMouseMotionListener_idl__ +#include <com/sun/star/awt/XMouseMotionListener.idl> +#endif +#ifndef __com_sun_star_awt_Rectangle_idl__ +#include <com/sun/star/awt/Rectangle.idl> +#endif + +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(); + + /** Add a listener to get notified when the transformation matrix changes.<p> + + This method registers a listener with the view, which will get + called everytime 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 everytime 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 everytime 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 everytime 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 diff --git a/offapi/com/sun/star/presentation/XTransition.idl b/offapi/com/sun/star/presentation/XTransition.idl new file mode 100644 index 000000000000..ddd201b05e0b --- /dev/null +++ b/offapi/com/sun/star/presentation/XTransition.idl @@ -0,0 +1,64 @@ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#ifndef __com_sun_star_presentation_XTransition_idl__ +#define __com_sun_star_presentation_XTransition_idl__ + +#ifndef __com_sun_star_uno_XInterface_idl__ +#include <com/sun/star/uno/XInterface.idl> +#endif + +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 + diff --git a/offapi/com/sun/star/presentation/XTransitionFactory.idl b/offapi/com/sun/star/presentation/XTransitionFactory.idl new file mode 100644 index 000000000000..89fa8871a6a1 --- /dev/null +++ b/offapi/com/sun/star/presentation/XTransitionFactory.idl @@ -0,0 +1,92 @@ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ +#ifndef __com_sun_star_presentation_XTransitionFactory_idl__ +#define __com_sun_star_presentation_XTransitionFactory_idl__ + +#ifndef __com_sun_star_presentation_XTransition_idl__ +#include <com/sun/star/presentation/XTransition.idl> +#endif +#ifndef __com_sun_star_geometry_RealPoint2D_idl__ +#include <com/sun/star/geometry/RealPoint2D.idl> +#endif + + +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::animation::TransitionType) + + @param transitionSubType + Subtype for the transition (@see ::com::sun::star::animation::TransitionSubType) + + @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 + + @param slideOffset + Offset in pixel from the top, left edge of the view, such that the + slide displays similar to normal slide show + */ + XTransition createTransition( [in] short transitionType, + [in] short transitionSubType, + [in] XSlideShowView view, + [in] com::sun::star::rendering::XBitmap leavingBitmap, + [in] com::sun::star::rendering::XBitmap enteringBitmap ); +}; + +service TransitionFactory : XTransitionFactory; + +}; }; }; }; + +#endif + diff --git a/offapi/com/sun/star/presentation/makefile.mk b/offapi/com/sun/star/presentation/makefile.mk new file mode 100644 index 000000000000..80689401852a --- /dev/null +++ b/offapi/com/sun/star/presentation/makefile.mk @@ -0,0 +1,96 @@ +#************************************************************************* +# +# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. +# +# Copyright 2000, 2010 Oracle and/or its affiliates. +# +# OpenOffice.org - a multi-platform office productivity suite +# +# This file is part of OpenOffice.org. +# +# OpenOffice.org is free software: you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License version 3 +# only, as published by the Free Software Foundation. +# +# OpenOffice.org is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Lesser General Public License version 3 for more details +# (a copy is included in the LICENSE file that accompanied this code). +# +# You should have received a copy of the GNU Lesser General Public License +# version 3 along with OpenOffice.org. If not, see +# <http://www.openoffice.org/license.html> +# for a copy of the LGPLv3 License. +# +#************************************************************************* + +PRJ=..$/..$/..$/.. + +PRJNAME=offapi + +TARGET=csspresentation +PACKAGE=com$/sun$/star$/presentation + +# --- Settings ----------------------------------------------------- +.INCLUDE : $(PRJ)$/util$/makefile.pmk + +# ------------------------------------------------------------------------ + +IDLFILES=\ + HeaderShape.idl\ + FooterShape.idl\ + DateTimeShape.idl\ + SlideNumberShape.idl\ + AnimationEffect.idl\ + AnimationSpeed.idl\ + ChartShape.idl\ + ClickAction.idl\ + CustomPresentation.idl\ + CustomPresentationAccess.idl\ + DocumentSettings.idl\ + DrawPage.idl\ + FadeEffect.idl\ + GraphicObjectShape.idl\ + HandoutShape.idl\ + HandoutView.idl\ + NotesShape.idl\ + NotesView.idl\ + OLE2Shape.idl\ + OutlinerShape.idl\ + OutlineView.idl\ + PageShape.idl\ + Presentation.idl\ + Presentation2.idl\ + PresentationDocument.idl\ + PresentationRange.idl\ + PresentationView.idl\ + PreviewView.idl\ + Shape.idl\ + SlidesView.idl\ + SubtitleShape.idl\ + TitleTextShape.idl\ + XCustomPresentationSupplier.idl\ + XHandoutMasterSupplier.idl\ + XPresentation.idl\ + XPresentationPage.idl\ + XPresentationSupplier.idl\ + EffectNodeType.idl\ + EffectPresetClass.idl\ + ParagraphTarget.idl\ + ShapeAnimationSubType.idl\ + TextAnimationType.idl\ + EffectCommands.idl\ + XShapeEventListener.idl\ + XSlideShow.idl\ + XSlideShowController.idl\ + XSlideShowListener.idl\ + XSlideShowView.idl\ + XPresentation2.idl\ + XTransition.idl\ + XTransitionFactory.idl + +# ------------------------------------------------------------------ + +.INCLUDE : target.mk +.INCLUDE : $(PRJ)$/util$/target.pmk 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 000000000000..7c47e1b29d6d --- /dev/null +++ b/offapi/com/sun/star/presentation/textfield/DateTime.idl @@ -0,0 +1,51 @@ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ + +#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 + 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 000000000000..7638565653d2 --- /dev/null +++ b/offapi/com/sun/star/presentation/textfield/Footer.idl @@ -0,0 +1,51 @@ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ + +#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 + 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 000000000000..9c2db2f64f79 --- /dev/null +++ b/offapi/com/sun/star/presentation/textfield/Header.idl @@ -0,0 +1,51 @@ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ + +#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 + diff --git a/offapi/com/sun/star/presentation/textfield/makefile.mk b/offapi/com/sun/star/presentation/textfield/makefile.mk new file mode 100644 index 000000000000..49220f824fb4 --- /dev/null +++ b/offapi/com/sun/star/presentation/textfield/makefile.mk @@ -0,0 +1,48 @@ +#************************************************************************* +# +# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. +# +# Copyright 2000, 2010 Oracle and/or its affiliates. +# +# OpenOffice.org - a multi-platform office productivity suite +# +# This file is part of OpenOffice.org. +# +# OpenOffice.org is free software: you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License version 3 +# only, as published by the Free Software Foundation. +# +# OpenOffice.org is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Lesser General Public License version 3 for more details +# (a copy is included in the LICENSE file that accompanied this code). +# +# You should have received a copy of the GNU Lesser General Public License +# version 3 along with OpenOffice.org. If not, see +# <http://www.openoffice.org/license.html> +# for a copy of the LGPLv3 License. +# +#************************************************************************* + +PRJ=..$/..$/..$/..$/.. + +PRJNAME=offapi + +TARGET=csspresentationtextfield +PACKAGE=com$/sun$/star$/presentation$/textfield + +# --- Settings ----------------------------------------------------- +.INCLUDE : $(PRJ)$/util$/makefile.pmk + +# ------------------------------------------------------------------------ + +IDLFILES=\ + Header.idl\ + Footer.idl\ + DateTime.idl + +# ------------------------------------------------------------------ + +.INCLUDE : target.mk +.INCLUDE : $(PRJ)$/util$/target.pmk |