LibreOffice LibreOffice 7.2 SDK API Reference

XSlideShowView.idl
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2/*
3 * This file is part of the LibreOffice project.
4 *
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 *
9 * This file incorporates work covered by the following license notice:
10 *
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18 */
19#ifndef __com_sun_star_presentation_XSlideShowView_idl__
20#define __com_sun_star_presentation_XSlideShowView_idl__
21
22#include <com/sun/star/uno/XInterface.idl>
23#include <com/sun/star/rendering/XSpriteCanvas.idl>
24#include <com/sun/star/util/XModifyListener.idl>
25#include <com/sun/star/awt/XPaintListener.idl>
26#include <com/sun/star/awt/XMouseListener.idl>
27#include <com/sun/star/awt/XMouseMotionListener.idl>
28#include <com/sun/star/awt/Rectangle.idl>
29#include <com/sun/star/geometry/IntegerSize2D.idl>
30
31module com { module sun { module star { module presentation {
32
41 interface XSlideShowView : ::com::sun::star::uno::XInterface
42{
51 ::com::sun::star::rendering::XSpriteCanvas getCanvas();
52
59 void clear();
60
75 ::com::sun::star::geometry::AffineMatrix2D getTransformation();
76
88 ::com::sun::star::geometry::IntegerSize2D getTranslationOffset();
89
98 void addTransformationChangedListener( [in] ::com::sun::star::util::XModifyListener xListener );
99
105 void removeTransformationChangedListener( [in] ::com::sun::star::util::XModifyListener xListener );
106
116 void addPaintListener( [in] ::com::sun::star::awt::XPaintListener xListener );
117
123 void removePaintListener( [in] ::com::sun::star::awt::XPaintListener xListener );
124
133 void addMouseListener( [in] com::sun::star::awt::XMouseListener xListener );
134
140 void removeMouseListener( [in] com::sun::star::awt::XMouseListener xListener );
141
150 void addMouseMotionListener( [in] com::sun::star::awt::XMouseMotionListener xListener );
151
157 void removeMouseMotionListener( [in] com::sun::star::awt::XMouseMotionListener xListener );
158
168 void setMouseCursor( [in] short nPointerShape );
169
173 ::com::sun::star::awt::Rectangle getCanvasArea();
174};
175
176}; }; }; };
177
178
179#endif
180
181/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
IntegerSize2D.idl
Rectangle.idl
XInterface.idl
XModifyListener.idl
XMouseListener.idl
XMouseMotionListener.idl
XPaintListener.idl
XSpriteCanvas.idl
com::sun::star::awt::XMouseListener
makes it possible to receive events from the mouse in a certain window.
Definition: XMouseListener.idl:41
com::sun::star::awt::XMouseMotionListener
makes it possible to receive mouse motion events on a window.
Definition: XMouseMotionListener.idl:34
com::sun::star::awt::XPaintListener
makes it possible to receive paint events.
Definition: XPaintListener.idl:34
com::sun::star::presentation::XSlideShowView
View interface to display slide show presentations on.
Definition: XSlideShowView.idl:42
com::sun::star::presentation::XSlideShowView::getCanvas
::com::sun::star::rendering::XSpriteCanvas getCanvas()
Get view canvas.
com::sun::star::presentation::XSlideShowView::removeMouseListener
void removeMouseListener([in] com::sun::star::awt::XMouseListener xListener)
Revoke a previously registered mouse listener.
com::sun::star::presentation::XSlideShowView::addMouseListener
void addMouseListener([in] com::sun::star::awt::XMouseListener xListener)
Add a mouse listener to the view.
com::sun::star::presentation::XSlideShowView::setMouseCursor
void setMouseCursor([in] short nPointerShape)
Change the mouse cursor currently in effect.
com::sun::star::presentation::XSlideShowView::removeMouseMotionListener
void removeMouseMotionListener([in] com::sun::star::awt::XMouseMotionListener xListener)
Revoke a previously registered mouse move listener.
com::sun::star::presentation::XSlideShowView::getCanvasArea
::com::sun::star::awt::Rectangle getCanvasArea()
Get rectangle defining area inside of canvas device which this slide show view uses.
com::sun::star::presentation::XSlideShowView::addTransformationChangedListener
void addTransformationChangedListener([in] ::com::sun::star::util::XModifyListener xListener)
Add a listener to get notified when the transformation matrix changes.
com::sun::star::presentation::XSlideShowView::clear
void clear()
This method clears the whole view area.
com::sun::star::presentation::XSlideShowView::removePaintListener
void removePaintListener([in] ::com::sun::star::awt::XPaintListener xListener)
Revoke a previously registered paint listener.
com::sun::star::presentation::XSlideShowView::getTransformation
::com::sun::star::geometry::AffineMatrix2D getTransformation()
Query the current transformation matrix for this view.
com::sun::star::presentation::XSlideShowView::getTranslationOffset
::com::sun::star::geometry::IntegerSize2D getTranslationOffset()
Query the current translation offset used to fill the physical screen while keeping aspect ratio.
com::sun::star::presentation::XSlideShowView::addMouseMotionListener
void addMouseMotionListener([in] com::sun::star::awt::XMouseMotionListener xListener)
Add a mouse motion listener to the view.
com::sun::star::presentation::XSlideShowView::addPaintListener
void addPaintListener([in] ::com::sun::star::awt::XPaintListener xListener)
Add a listener to get notified when this view needs a repaint.
com::sun::star::presentation::XSlideShowView::removeTransformationChangedListener
void removeTransformationChangedListener([in] ::com::sun::star::util::XModifyListener xListener)
Revoke a previously registered transformation matrix change listener.
com::sun::star::rendering::XSpriteCanvas
Specialization of a XCanvas, where moving, animated objects (called sprites) are supported.
Definition: XSpriteCanvas.idl:50
com::sun::star::uno::XInterface
base interface of all UNO interfaces
Definition: XInterface.idl:48
com::sun::star::util::XModifyListener
makes it possible to receive events when a model object changes.
Definition: XModifyListener.idl:34
com
Definition: Accessible.idl:22
com::sun::star::awt::Rectangle
specifies a rectangular area by position and size.
Definition: Rectangle.idl:30
com::sun::star::geometry::AffineMatrix2D
This structure defines a 2 by 3 affine matrix.
Definition: AffineMatrix2D.idl:63
com::sun::star::geometry::IntegerSize2D
This structure contains data representing a two-dimensional size.
Definition: IntegerSize2D.idl:31