LibreOffice
LibreOffice 24.2 SDK API Reference
|
View interface to display slide show presentations on. More...
import"XSlideShowView.idl";
Public Member Functions | |
::com::sun::star::rendering::XSpriteCanvas | getCanvas () |
Get view canvas. More... | |
void | clear () |
This method clears the whole view area. More... | |
::com::sun::star::geometry::AffineMatrix2D | getTransformation () |
Query the current transformation matrix for this view. More... | |
::com::sun::star::geometry::IntegerSize2D | getTranslationOffset () |
Query the current translation offset used to fill the physical screen while keeping aspect ratio. More... | |
void | addTransformationChangedListener ([in] ::com::sun::star::util::XModifyListener xListener) |
Add a listener to get notified when the transformation matrix changes. More... | |
void | removeTransformationChangedListener ([in] ::com::sun::star::util::XModifyListener xListener) |
Revoke a previously registered transformation matrix change listener. More... | |
void | addPaintListener ([in] ::com::sun::star::awt::XPaintListener xListener) |
Add a listener to get notified when this view needs a repaint. More... | |
void | removePaintListener ([in] ::com::sun::star::awt::XPaintListener xListener) |
Revoke a previously registered paint listener. More... | |
void | addMouseListener ([in] com::sun::star::awt::XMouseListener xListener) |
Add a mouse listener to the view. More... | |
void | removeMouseListener ([in] com::sun::star::awt::XMouseListener xListener) |
Revoke a previously registered mouse listener. More... | |
void | addMouseMotionListener ([in] com::sun::star::awt::XMouseMotionListener xListener) |
Add a mouse motion listener to the view. More... | |
void | removeMouseMotionListener ([in] com::sun::star::awt::XMouseMotionListener xListener) |
Revoke a previously registered mouse move listener. More... | |
void | setMouseCursor ([in] short nPointerShape) |
Change the mouse cursor currently in effect. More... | |
::com::sun::star::awt::Rectangle | getCanvasArea () |
Get rectangle defining area inside of canvas device which this slide show view uses. More... | |
Public Member Functions inherited from XInterface | |
any | queryInterface ([in] type aType) |
queries for a new interface to an existing UNO object. More... | |
void | acquire () |
increases the reference counter by one. More... | |
void | release () |
decreases the reference counter by one. More... | |
View interface to display slide show presentations on.
This interface provides the necessary methods to enable an XSlideShow interface to display a presentation. The slide show can be displayed simultaneously on multiple views
void addMouseListener | ( | [in] com::sun::star::awt::XMouseListener | xListener | ) |
Add a mouse listener to the view.
This method registers a listener with the view, which will get called every time the mouse is clicked on the view.
xListener | Listener interface to call when the mouse is clicked on the view. |
void addMouseMotionListener | ( | [in] com::sun::star::awt::XMouseMotionListener | xListener | ) |
Add a mouse motion listener to the view.
This method registers a listener with the view, which will get called every time the mouse is moved on the view.
xListener | Listener interface to call when the mouse is moved on the view. |
void addPaintListener | ( | [in] ::com::sun::star::awt::XPaintListener | xListener | ) |
Add a listener to get notified when this view needs a repaint.
This method registers a listener with the view, which will get called every time the view needs an update of their screen representation.
xListener | Listener interface to call when the view needs a repaint. |
void addTransformationChangedListener | ( | [in] ::com::sun::star::util::XModifyListener | xListener | ) |
Add a listener to get notified when the transformation matrix changes.
This method registers a listener with the view, which will get called every time the transformation matrix changes.
xListener | Listener interface to call when the transformation matrix changes. |
void clear | ( | ) |
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.
::com::sun::star::rendering::XSpriteCanvas getCanvas | ( | ) |
Get view canvas.
This method gets the underlying XCanvas to display on this view.
::com::sun::star::awt::Rectangle getCanvasArea | ( | ) |
Get rectangle defining area inside of canvas device which this slide show view uses.
::com::sun::star::geometry::AffineMatrix2D getTransformation | ( | ) |
Query the current transformation matrix for this view.
This method returns the transformation matrix of the view. When notified via the transformation change listener, the show will be displayed using the new transformation.
::com::sun::star::geometry::IntegerSize2D getTranslationOffset | ( | ) |
Query the current translation offset used to fill the physical screen while keeping aspect ratio.
This method returns the translation offset of the view of the view.
void removeMouseListener | ( | [in] com::sun::star::awt::XMouseListener | xListener | ) |
Revoke a previously registered mouse listener.
xListener | Listener interface to revoke from being called. |
void removeMouseMotionListener | ( | [in] com::sun::star::awt::XMouseMotionListener | xListener | ) |
Revoke a previously registered mouse move listener.
xListener | Listener interface to revoke from being called. |
void removePaintListener | ( | [in] ::com::sun::star::awt::XPaintListener | xListener | ) |
Revoke a previously registered paint listener.
xListener | Listener interface to revoke from being called. |
void removeTransformationChangedListener | ( | [in] ::com::sun::star::util::XModifyListener | xListener | ) |
Revoke a previously registered transformation matrix change listener.
xListener | Listener interface to revoke from being called. |
void setMouseCursor | ( | [in] short | nPointerShape | ) |
Change the mouse cursor currently in effect.
This method changes the mouse cursor currently in effect, for this view.
nPointerShape | New mouse cursor shape to display for this view. Must be from the com::sun::star::awt::SystemPointer constant group. |