summaryrefslogtreecommitdiffstats
path: root/offapi
diff options
context:
space:
mode:
authorSiqi LIU <me@siqi.fr>2013-08-23 10:05:28 +0800
committerSiqi LIU <me@siqi.fr>2013-08-23 11:18:28 +0800
commit7ba076d7fd46cce99f6fc7a5b26f74d8f207ec3d (patch)
treec2147da471ba2853fee977c6ccb8adf21ae5a6a7 /offapi
parentreplace pointericon png with a transparent background (diff)
downloadcore-7ba076d7fd46cce99f6fc7a5b26f74d8f207ec3d.tar.gz
core-7ba076d7fd46cce99f6fc7a5b26f74d8f207ec3d.zip
extend the SlideShowView interface with getTranslationOffset
Change-Id: I33f0eaa8a54902bb65a000b74ef25323423d01b4
Diffstat (limited to 'offapi')
-rw-r--r--offapi/com/sun/star/presentation/XSlideShowView.idl14
1 files changed, 14 insertions, 0 deletions
diff --git a/offapi/com/sun/star/presentation/XSlideShowView.idl b/offapi/com/sun/star/presentation/XSlideShowView.idl
index 5804af2b40bc..81ecd86fae1c 100644
--- a/offapi/com/sun/star/presentation/XSlideShowView.idl
+++ b/offapi/com/sun/star/presentation/XSlideShowView.idl
@@ -26,6 +26,7 @@
#include <com/sun/star/awt/XMouseListener.idl>
#include <com/sun/star/awt/XMouseMotionListener.idl>
#include <com/sun/star/awt/Rectangle.idl>
+#include <com/sun/star/geometry/IntegerSize2D.idl>
module com { module sun { module star { module presentation {
@@ -73,6 +74,19 @@ interface XSlideShowView : ::com::sun::star::uno::XInterface
*/
::com::sun::star::geometry::AffineMatrix2D getTransformation();
+ /** Query the current translation offset used to fill the physical screen while keeping aspect ratio.<p>
+
+ This method returns the traslation offset of the view of the
+ view.<p>
+
+ @return the slideshowview will be transformed in order to fill
+ the physical screen while keeping the aspect ratio.
+ In order to do so, we need to add a black border on the side. This method
+ return an IntegerSize2D which represent (x, y) translation.
+ x represents the width of the border on the left, for example.
+ */
+ ::com::sun::star::geometry::IntegerSize2D getTranslationOffset();
+
/** Add a listener to get notified when the transformation matrix changes.<p>
This method registers a listener with the view, which will get