Date: prev next · Thread: first prev next last
2013 Archives by date, by thread · List index


Is the below a deliberate change of XSlideShowView (which, after all, is unpublished thanks to <http://cgit.freedesktop.org/libreoffice/core/commit/?id=78cca63070ae6cf82b45ec3bc75fafa2db31a7f2> "Revert publishing of lots of UNO types"), or is it an accidental incompatible change of our stable UNO API?

Stephan

On 08/23/2013 05:19 AM, Siqi LIU wrote:
commit 7ba076d7fd46cce99f6fc7a5b26f74d8f207ec3d
Author: Siqi LIU <me@siqi.fr>
Date:   Fri Aug 23 10:05:28 2013 +0800

     extend the SlideShowView interface with getTranslationOffset

     Change-Id: I33f0eaa8a54902bb65a000b74ef25323423d01b4

diff --git a/offapi/com/sun/star/presentation/XSlideShowView.idl 
b/offapi/com/sun/star/presentation/XSlideShowView.idl
index 5804af2..81ecd86 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

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.