[Libreoffice-commits] core.git: 4 commits - sd/AllLangResTarget_sd.mk sd/source sd/uiconfig sd/UIConfig_simpress.mk

Katarina Behrens bubli at bubli.org
Wed Aug 21 07:45:00 PDT 2013


 sd/AllLangResTarget_sd.mk                                |    1 
 sd/UIConfig_simpress.mk                                  |    1 
 sd/source/ui/animations/CustomAnimation.hrc              |    2 
 sd/source/ui/animations/CustomAnimation.src              |    5 
 sd/source/ui/animations/SlideTransitionPane.cxx          |  428 +++------------
 sd/source/ui/animations/SlideTransitionPane.hrc          |   62 --
 sd/source/ui/animations/SlideTransitionPane.hxx          |   39 -
 sd/source/ui/animations/SlideTransitionPane.src          |  210 -------
 sd/source/ui/sidebar/PanelFactory.cxx                    |    2 
 sd/source/ui/sidebar/SlideTransitionPanel.cxx            |   11 
 sd/source/ui/sidebar/SlideTransitionPanel.hxx            |    7 
 sd/source/ui/toolpanel/controls/SlideTransitionPanel.cxx |    5 
 sd/uiconfig/simpress/ui/slidetransitionspanel.ui         |  358 ++++++++++++
 13 files changed, 507 insertions(+), 624 deletions(-)

New commits:
commit 6cbb1d445b4342f279701c6bb92c095a364b69c2
Author: Katarina Behrens <bubli at bubli.org>
Date:   Wed Aug 21 16:42:24 2013 +0200

    Forgotten unit + useless properties
    
    Change-Id: I79545dd85f4ff0f21d959690eb1ba79fc2660a95

diff --git a/sd/uiconfig/simpress/ui/slidetransitionspanel.ui b/sd/uiconfig/simpress/ui/slidetransitionspanel.ui
index 0eac35c..ecdd38b 100644
--- a/sd/uiconfig/simpress/ui/slidetransitionspanel.ui
+++ b/sd/uiconfig/simpress/ui/slidetransitionspanel.ui
@@ -150,12 +150,10 @@
                 <child>
                   <object class="GtkCheckButton" id="loop_sound">
                     <property name="label" translatable="yes">Loop until next sound</property>
-                    <property name="use_action_appearance">False</property>
                     <property name="visible">True</property>
                     <property name="can_focus">True</property>
                     <property name="receives_default">False</property>
                     <property name="margin_left">12</property>
-                    <property name="use_action_appearance">False</property>
                     <property name="xalign">0</property>
                     <property name="draw_indicator">True</property>
                   </object>
@@ -205,11 +203,9 @@
                 <child>
                   <object class="GtkRadioButton" id="rb_mouse_click">
                     <property name="label" translatable="yes">On mouse click</property>
-                    <property name="use_action_appearance">False</property>
                     <property name="visible">True</property>
                     <property name="can_focus">True</property>
                     <property name="receives_default">False</property>
-                    <property name="use_action_appearance">False</property>
                     <property name="xalign">0</property>
                     <property name="active">True</property>
                     <property name="draw_indicator">True</property>
@@ -225,11 +221,9 @@
                 <child>
                   <object class="GtkRadioButton" id="rb_auto_after">
                     <property name="label" translatable="yes">Automatically after</property>
-                    <property name="use_action_appearance">False</property>
                     <property name="visible">True</property>
                     <property name="can_focus">True</property>
                     <property name="receives_default">False</property>
-                    <property name="use_action_appearance">False</property>
                     <property name="xalign">0</property>
                     <property name="active">True</property>
                     <property name="draw_indicator">True</property>
@@ -243,7 +237,7 @@
                   </packing>
                 </child>
                 <child>
-                  <object class="GtkSpinButton" id="auto_after_value:0">
+                  <object class="GtkSpinButton" id="auto_after_value:0sec">
                     <property name="visible">True</property>
                     <property name="can_focus">True</property>
                     <property name="invisible_char">●</property>
@@ -297,11 +291,9 @@
     <child>
       <object class="GtkButton" id="apply_to_all">
         <property name="label" translatable="yes">Apply to All Slides</property>
-        <property name="use_action_appearance">False</property>
         <property name="visible">True</property>
         <property name="can_focus">True</property>
         <property name="receives_default">True</property>
-        <property name="use_action_appearance">False</property>
       </object>
       <packing>
         <property name="expand">False</property>
@@ -317,11 +309,9 @@
         <child>
           <object class="GtkButton" id="play">
             <property name="label" translatable="yes">Play</property>
-            <property name="use_action_appearance">False</property>
             <property name="visible">True</property>
             <property name="can_focus">True</property>
             <property name="receives_default">True</property>
-            <property name="use_action_appearance">False</property>
           </object>
           <packing>
             <property name="expand">False</property>
@@ -332,11 +322,9 @@
         <child>
           <object class="GtkButton" id="slide_show">
             <property name="label" translatable="yes">Slide Show</property>
-            <property name="use_action_appearance">False</property>
             <property name="visible">True</property>
             <property name="can_focus">True</property>
             <property name="receives_default">True</property>
-            <property name="use_action_appearance">False</property>
           </object>
           <packing>
             <property name="expand">False</property>
@@ -354,11 +342,9 @@
     <child>
       <object class="GtkCheckButton" id="auto_preview">
         <property name="label" translatable="yes">Automatic preview</property>
-        <property name="use_action_appearance">False</property>
         <property name="visible">True</property>
         <property name="can_focus">True</property>
         <property name="receives_default">False</property>
-        <property name="use_action_appearance">False</property>
         <property name="xalign">0</property>
         <property name="draw_indicator">True</property>
       </object>
commit 247ba34ba540cf8e8a65fc88754136382bcfe33d
Author: Katarina Behrens <bubli at bubli.org>
Date:   Wed Aug 21 16:01:34 2013 +0200

    Removed now obsoleted .src/hrc files
    
    Change-Id: Id49f80c6ab633ebd874bb14d70860e44bc3eeed2

diff --git a/sd/AllLangResTarget_sd.mk b/sd/AllLangResTarget_sd.mk
index be1ec6e..868e212 100644
--- a/sd/AllLangResTarget_sd.mk
+++ b/sd/AllLangResTarget_sd.mk
@@ -36,7 +36,6 @@ $(eval $(call gb_SrsTarget_add_files,sd/res,\
     sd/source/ui/accessibility/accessibility.src \
     sd/source/ui/animations/CustomAnimationPane.src \
     sd/source/ui/animations/CustomAnimation.src \
-    sd/source/ui/animations/SlideTransitionPane.src \
     sd/source/ui/annotations/annotations.src \
     sd/source/ui/app/popup.src \
     sd/source/ui/app/res_bmp.src \
diff --git a/sd/source/ui/animations/CustomAnimation.hrc b/sd/source/ui/animations/CustomAnimation.hrc
index a8311b3..364def8 100644
--- a/sd/source/ui/animations/CustomAnimation.hrc
+++ b/sd/source/ui/animations/CustomAnimation.hrc
@@ -27,7 +27,6 @@
 // !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 
 #define DLG_CUSTOMANIMATIONPANE                         RID_CUSTOMANIMATION_START+0
-#define DLG_SLIDE_TRANSITION_PANE                       RID_CUSTOMANIMATION_START+3
 
 #define RID_EFFECT_CONTEXTMENU                          RID_CUSTOMANIMATION_START+0
 #define RID_CUSTOMANIMATION_ROTATION_POPUP              RID_CUSTOMANIMATION_START+9
diff --git a/sd/source/ui/animations/SlideTransitionPane.cxx b/sd/source/ui/animations/SlideTransitionPane.cxx
index 61743f3..e9149d4 100644
--- a/sd/source/ui/animations/SlideTransitionPane.cxx
+++ b/sd/source/ui/animations/SlideTransitionPane.cxx
@@ -20,7 +20,6 @@
 #include <com/sun/star/animations/XAnimationNode.hpp>
 
 #include "SlideTransitionPane.hxx"
-#include "SlideTransitionPane.hrc"
 #include "CustomAnimation.hrc"
 
 #include "TransitionPreset.hxx"
diff --git a/sd/source/ui/animations/SlideTransitionPane.hrc b/sd/source/ui/animations/SlideTransitionPane.hrc
deleted file mode 100644
index b5b0320..0000000
--- a/sd/source/ui/animations/SlideTransitionPane.hrc
+++ /dev/null
@@ -1,62 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- *   Licensed to the Apache Software Foundation (ASF) under one or more
- *   contributor license agreements. See the NOTICE file distributed
- *   with this work for additional information regarding copyright
- *   ownership. The ASF licenses this file to you under the Apache
- *   License, Version 2.0 (the "License"); you may not use this file
- *   except in compliance with the License. You may obtain a copy of
- *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-
-#ifndef _SD_SLIDETRANSITIONPANE_HRC
-#define _SD_SLIDETRANSITIONPANE_HRC
-
-#define FL_APPLY_TRANSITION    1
-// spec: 1
-#define LB_SLIDE_TRANSITIONS   2
-
-#define FL_MODIFY_TRANSITION   3
-#define FT_SPEED               4
-// spec: 2
-#define LB_SPEED               5
-#define FT_SOUND               6
-// spec: 3
-#define LB_SOUND               7
-// spec: 4
-#define CB_LOOP_SOUND          8
-
-#define FL_ADVANCE_SLIDE       9
-// spec: 5
-#define RB_ADVANCE_ON_MOUSE   10
-// spec: 6
-#define RB_ADVANCE_AUTO       11
-// spec: 7
-#define MF_ADVANCE_AUTO_AFTER 12
-
-#define FL_EMPTY1             13
-// spec: 8
-#define PB_APPLY_TO_ALL       14
-// spec: 9
-#define PB_PLAY               15
-// spec: 10
-#define PB_SLIDE_SHOW         16
-
-#define FL_EMPTY2             17
-// spec: 11
-#define CB_AUTO_PREVIEW       18
-
-#define STR_NO_TRANSITION     19
-
-
-#endif // _SD_SLIDETRANSITIONPANE_HRC
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/ui/animations/SlideTransitionPane.src b/sd/source/ui/animations/SlideTransitionPane.src
deleted file mode 100644
index d78f0a0..0000000
--- a/sd/source/ui/animations/SlideTransitionPane.src
+++ /dev/null
@@ -1,210 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- *   Licensed to the Apache Software Foundation (ASF) under one or more
- *   contributor license agreements. See the NOTICE file distributed
- *   with this work for additional information regarding copyright
- *   ownership. The ASF licenses this file to you under the Apache
- *   License, Version 2.0 (the "License"); you may not use this file
- *   except in compliance with the License. You may obtain a copy of
- *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-
-#include "CustomAnimation.hrc"
-#include "SlideTransitionPane.hrc"
-#include "helpids.h"
-#include <svtools/controldims.hrc>
-
-// Note: Sizes of 1 usually mean they are auto-calculated
-
-Control DLG_SLIDE_TRANSITION_PANE
-{
-    OutputSize = TRUE;
-    DialogControl = TRUE;
-    Size = MAP_APPFONT( 1, 1 );
-
-    Text [ en-US ] = "Slide Transition";
-
-    FixedLine FL_APPLY_TRANSITION
-    {
-        Size = MAP_APPFONT( 1, RSC_CD_FIXEDLINE_HEIGHT );
-        Text [ en-US ] = "Apply to selected slides";
-    };
-
-    ListBox LB_SLIDE_TRANSITIONS
-    {
-        HelpId = HID_SD_SLIDETRANSITIONPANE_LB_SLIDE_TRANSITIONS;
-        Border = TRUE ;
-        TabStop = TRUE ;
-        AutoHScroll = TRUE ;
-
-        Size = MAP_APPFONT( 1, 1 );
-    };
-
-    Fixedline FL_MODIFY_TRANSITION
-    {
-        Size = MAP_APPFONT( 1, RSC_CD_FIXEDLINE_HEIGHT );
-        Text [ en-US ] = "Modify transition";
-    };
-
-    FixedText FT_SPEED
-    {
-        Size = MAP_APPFONT( 1, RSC_CD_FIXEDTEXT_HEIGHT );
-        Text [ en-US ] = "S~peed";
-    };
-
-    ListBox LB_SPEED
-    {
-        HelpId = HID_SD_SLIDETRANSITIONPANE_LB_SPEED;
-        Border = TRUE ;
-        DropDown = TRUE ;
-        TabStop = TRUE ;
-
-        Size = MAP_APPFONT( 1, RSC_CD_DROPDOWN_HEIGHT );
-        StringList [ en-US ] =
-        {
-            < "Slow" ; > ;
-            < "Medium" ; > ;
-            < "Fast" ; > ;
-        };
-    };
-
-    FixedText FT_SOUND
-    {
-        Size = MAP_APPFONT( 1, RSC_CD_FIXEDTEXT_HEIGHT );
-        Text [ en-US ] = "So~und";
-    };
-
-    ListBox LB_SOUND
-    {
-        HelpId = HID_SD_SLIDETRANSITIONPANE_LB_SOUND;
-        Border = TRUE ;
-        DropDown = TRUE ;
-        TabStop = TRUE ;
-
-        Size = MAP_APPFONT( 1, RSC_CD_DROPDOWN_HEIGHT );
-
-        StringList [ en-US ] =
-        {
-            < "<No Sound>" ; > ;
-            < "<Stop Previous Sound>" ; > ;
-            < "Other Sound..." ; > ;
-        };
-    };
-
-    Checkbox CB_LOOP_SOUND
-    {
-        HelpId = HID_SD_SLIDETRANSITIONPANE_CB_LOOP_SOUND;
-        Size = MAP_APPFONT( 1, RSC_CD_CHECKBOX_HEIGHT );
-        TabStop = TRUE ;
-
-        Text [ en-US ] = "~Loop until next sound";
-    };
-
-    Fixedline FL_ADVANCE_SLIDE
-    {
-        Size = MAP_APPFONT( 1, RSC_CD_FIXEDLINE_HEIGHT );
-        Text [ en-US ] = "Advance slide";
-    };
-
-    RadioButton RB_ADVANCE_ON_MOUSE
-    {
-        HelpId = HID_SD_SLIDETRANSITIONPANE_RB_ADVANCE_ON_MOUSE;
-        Size = MAP_APPFONT( 1, RSC_CD_RADIOBUTTON_HEIGHT );
-        TabStop = TRUE ;
-
-        Text [ en-US ] = "O~n mouse click";
-    };
-
-    RadioButton RB_ADVANCE_AUTO
-    {
-        HelpId = HID_SD_SLIDETRANSITIONPANE_RB_ADVANCE_AUTO;
-        Size = MAP_APPFONT( 1, RSC_CD_RADIOBUTTON_HEIGHT );
-        TabStop = TRUE ;
-
-        Text [ en-US ] = "~Automatically after";
-    };
-
-    MetricField MF_ADVANCE_AUTO_AFTER
-    {
-        HelpId = HID_SD_SLIDETRANSITIONPANE_MF_ADVANCE_AUTO_AFTER;
-        Size = MAP_APPFONT( 1, RSC_CD_TEXTBOX_HEIGHT );
-
-        Border = TRUE ;
-        TabStop = TRUE ;
-        Repeat = TRUE ;
-        Spin = TRUE ;
-        Minimum = 0 ;
-        Maximum = 9999 ;
-        // fdo#59071, enable slide auto transition of 0.25 second
-        DecimalDigits = 2 ;
-        // spin size (increment value), each 0.25 second
-        SpinSize = 25 ;
-
-        Unit = FUNIT_CUSTOM ;
-        CustomUnitText [ en-US ] = "sec";
-    };
-
-    FixedLine FL_EMPTY1
-    {
-        Size = MAP_APPFONT( 1, RSC_CD_FIXEDLINE_HEIGHT );
-    };
-
-    PushButton PB_APPLY_TO_ALL
-    {
-        HelpId = HID_SD_SLIDETRANSITIONPANE_PB_APPLY_TO_ALL;
-        Size = MAP_APPFONT( 1, RSC_CD_PUSHBUTTON_HEIGHT );
-        TabStop = TRUE ;
-
-        Text [ en-US ] = "A~pply to All Slides";
-    };
-
-
-    PushButton PB_PLAY
-    {
-        HelpId = HID_SD_SLIDETRANSITIONPANE_PB_PLAY;
-        Size = MAP_APPFONT( 1, RSC_CD_PUSHBUTTON_HEIGHT );
-        TabStop = TRUE ;
-
-        Text [ en-US ] = "P~lay";
-    };
-
-    PushButton PB_SLIDE_SHOW
-    {
-        HelpId = HID_SD_SLIDETRANSITIONPANE_PB_SLIDE_SHOW;
-        Size = MAP_APPFONT( 1, RSC_CD_PUSHBUTTON_HEIGHT );
-        TabStop = TRUE ;
-
-        Text [ en-US ] = "Sli~de Show";
-    };
-
-    FixedLine FL_EMPTY2
-    {
-        Size = MAP_APPFONT( 1, RSC_CD_FIXEDLINE_HEIGHT );
-    };
-
-    Checkbox CB_AUTO_PREVIEW
-    {
-        HelpId = HID_SD_SLIDETRANSITIONPANE_CB_AUTO_PREVIEW;
-        Size = MAP_APPFONT( 1, RSC_CD_CHECKBOX_HEIGHT );
-        TabStop = TRUE ;
-
-        Text [ en-US ] = "Automatic p~review";
-    };
-
-    // --------------------
-
-    String STR_NO_TRANSITION
-    {
-        Text [ en-US ] = "No Transition";
-    };
-};
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
commit 463cbf54a1629a2ab1312641be3e609803f67da0
Author: Katarina Behrens <bubli at bubli.org>
Date:   Wed Aug 21 15:25:59 2013 +0200

    Removed dead (mostly widget-placing) code
    
    Change-Id: I26f0d7797325d8b907a92dd0b7c46cb8c5c6ac30

diff --git a/sd/source/ui/animations/SlideTransitionPane.cxx b/sd/source/ui/animations/SlideTransitionPane.cxx
index affd145..61743f3 100644
--- a/sd/source/ui/animations/SlideTransitionPane.cxx
+++ b/sd/source/ui/animations/SlideTransitionPane.cxx
@@ -476,7 +476,6 @@ SlideTransitionPane::SlideTransitionPane(
     mpCB_AUTO_PREVIEW->Check();      // automatic preview on
 
     // update control states before adding handlers
-    //updateLayout();
     updateControls();
 
     // set handlers
@@ -509,13 +508,6 @@ SlideTransitionPane::~SlideTransitionPane()
     removeListener();
 }
 
-void SlideTransitionPane::Resize()
-{
-    //updateLayout();
-}
-
-
-
 
 void SlideTransitionPane::DataChanged (const DataChangedEvent& rEvent)
 {
@@ -570,195 +562,6 @@ void SlideTransitionPane::onChangeCurrentPage()
     return pSelection;
 }
 
-/*void SlideTransitionPane::updateLayout()
-{
-    ::Size aPaneSize( GetSizePixel() );
-    if( aPaneSize.Width() < maMinSize.Width() )
-        aPaneSize.Width() = maMinSize.Width();
-
-    if( aPaneSize.Height() < maMinSize.Height() )
-        aPaneSize.Height() = maMinSize.Height();
-
-    // start layouting elements from bottom to top.  The remaining space is used
-    // for the topmost list box
-    ::Point aOffset( LogicToPixel( Point( 3, 3 ), MAP_APPFONT ) );
-    long nOffsetX = aOffset.getX();
-    long nOffsetY = aOffset.getY();
-    long nOffsetBtnX = LogicToPixel( Point( 6, 1 ), MAP_APPFONT ).getX();
-
-    const long nMinCtrlWidth = LogicToPixel( ::Point( 32, 1 ), MAP_APPFONT ).getX();
-    const long nTextIndent = LogicToPixel( ::Point( RSC_SP_CHK_TEXTINDENT, 1 ), MAP_APPFONT ).getX();
-
-    ::Point aUpperLeft( nOffsetX, aPaneSize.getHeight() - nOffsetY );
-    long nMaxWidth = aPaneSize.getWidth() - 2 * nOffsetX;
-
-    // auto preview check-box
-    ::Size aCtrlSize = mpCB_AUTO_PREVIEW.GetSizePixel();
-    aCtrlSize.setWidth( mpCB_AUTO_PREVIEW.CalcMinimumSize( nMaxWidth ).getWidth());
-    aUpperLeft.setY( aUpperLeft.getY() - aCtrlSize.getHeight());
-    mpCB_AUTO_PREVIEW.SetPosSizePixel( aUpperLeft, aCtrlSize );
-
-    // fixed line above check-box
-    aCtrlSize = maFL_EMPTY2.GetSizePixel();
-    aCtrlSize.setWidth( nMaxWidth );
-    aUpperLeft.setY( aUpperLeft.getY() - aCtrlSize.getHeight());
-    maFL_EMPTY2.SetPosSizePixel( aUpperLeft, aCtrlSize );
-
-    // buttons "Play" and "Slide Show"
-    long nPlayButtonWidth = mpPB_PLAY.CalcMinimumSize().getWidth() + 2 * nOffsetBtnX;
-    long nSlideShowButtonWidth = mpPB_SLIDE_SHOW.CalcMinimumSize().getWidth() + 2 * nOffsetBtnX;
-
-    if( (nPlayButtonWidth + nSlideShowButtonWidth + nOffsetX) <= nMaxWidth )
-    {
-        // place buttons side by side
-        aCtrlSize = mpPB_PLAY.GetSizePixel();
-        aUpperLeft.setY( aUpperLeft.getY() - aCtrlSize.getHeight());
-        aCtrlSize.setWidth( nPlayButtonWidth );
-        mpPB_PLAY.SetPosSizePixel( aUpperLeft, aCtrlSize );
-
-        aUpperLeft.setX( aUpperLeft.getX() + nPlayButtonWidth + nOffsetX );
-        aCtrlSize.setWidth( nSlideShowButtonWidth );
-        mpPB_SLIDE_SHOW.SetPosSizePixel( aUpperLeft, aCtrlSize );
-        aUpperLeft.setX( nOffsetX );
-    }
-    else
-    {
-        // place buttons on top of each other
-        aCtrlSize = mpPB_SLIDE_SHOW.GetSizePixel();
-        aUpperLeft.setY( aUpperLeft.getY() - aCtrlSize.getHeight());
-        aCtrlSize.setWidth( nSlideShowButtonWidth );
-        mpPB_SLIDE_SHOW.SetPosSizePixel( aUpperLeft, aCtrlSize );
-
-        aCtrlSize = mpPB_PLAY.GetSizePixel();
-        aUpperLeft.setY( aUpperLeft.getY() - aCtrlSize.getHeight() - nOffsetY );
-        aCtrlSize.setWidth( nPlayButtonWidth );
-        mpPB_PLAY.SetPosSizePixel( aUpperLeft, aCtrlSize );
-    }
-
-    // "Apply to All Slides" button
-    aCtrlSize = mpPB_APPLY_TO_ALL.GetSizePixel();
-    aCtrlSize.setWidth( mpPB_APPLY_TO_ALL.CalcMinimumSize( nMaxWidth ).getWidth() + 2 * nOffsetBtnX );
-    aUpperLeft.setY( aUpperLeft.getY() - aCtrlSize.getHeight() - nOffsetY );
-    mpPB_APPLY_TO_ALL.SetPosSizePixel( aUpperLeft, aCtrlSize );
-
-    // fixed line above "Apply to All Slides" button
-    aCtrlSize = maFL_EMPTY1.GetSizePixel();
-    aCtrlSize.setWidth( nMaxWidth );
-    aUpperLeft.setY( aUpperLeft.getY() - aCtrlSize.getHeight());
-    maFL_EMPTY1.SetPosSizePixel( aUpperLeft, aCtrlSize );
-
-    // advance automatically after ... seconds
-    long nItemWidth = mpRB_ADVANCE_AUTO.CalcMinimumSize().getWidth();
-
-    if( (nItemWidth + nMinCtrlWidth + nOffsetX) <= nMaxWidth )
-    {
-        long nBase = aUpperLeft.getY();
-
-        // place controls side by side
-        aCtrlSize = mpRB_ADVANCE_AUTO.GetSizePixel();
-        aUpperLeft.setY( nBase - aCtrlSize.getHeight());
-        aCtrlSize.setWidth( nItemWidth );
-        mpRB_ADVANCE_AUTO.SetPosSizePixel( aUpperLeft, aCtrlSize );
-
-        aCtrlSize = mpMF_ADVANCE_AUTO_AFTER.GetSizePixel();
-        aUpperLeft.setY( nBase - aCtrlSize.getHeight() );
-        aUpperLeft.setX( aUpperLeft.getX() + nItemWidth + nOffsetX );
-        aCtrlSize.setWidth( nMinCtrlWidth );
-        mpMF_ADVANCE_AUTO_AFTER.SetPosSizePixel( aUpperLeft, aCtrlSize );
-        aUpperLeft.setX( nOffsetX );
-    }
-    else
-    {
-        // place controls on top of each other
-        aCtrlSize = mpMF_ADVANCE_AUTO_AFTER.GetSizePixel();
-        aUpperLeft.setX( nOffsetX + nTextIndent );
-        aUpperLeft.setY( aUpperLeft.getY() - aCtrlSize.getHeight());
-        aCtrlSize.setWidth( nMinCtrlWidth );
-        mpMF_ADVANCE_AUTO_AFTER.SetPosSizePixel( aUpperLeft, aCtrlSize );
-
-        aCtrlSize = mpRB_ADVANCE_AUTO.GetSizePixel();
-        aUpperLeft.setY( aUpperLeft.getY() - aCtrlSize.getHeight() - nOffsetY );
-        aUpperLeft.setX( nOffsetX );
-        aCtrlSize.setWidth( nItemWidth );
-        mpRB_ADVANCE_AUTO.SetPosSizePixel( aUpperLeft, aCtrlSize );
-        aUpperLeft.setX( nOffsetX );
-    }
-
-    // check box "On mouse click"
-    aCtrlSize = mpRB_ADVANCE_ON_MOUSE.GetSizePixel();
-    aCtrlSize.setWidth( nMaxWidth );
-    aUpperLeft.setY( aUpperLeft.getY() - aCtrlSize.getHeight() - nOffsetY );
-    mpRB_ADVANCE_ON_MOUSE.SetPosSizePixel( aUpperLeft, aCtrlSize );
-
-    // fixed line "Advance slide"
-    aCtrlSize = maFL_ADVANCE_SLIDE.GetSizePixel();
-    aCtrlSize.setWidth( nMaxWidth );
-    aUpperLeft.setY( aUpperLeft.getY() - aCtrlSize.getHeight() - nOffsetY );
-    maFL_ADVANCE_SLIDE.SetPosSizePixel( aUpperLeft, aCtrlSize );
-
-    // check box "Loop until next sound"
-    long nFTSpeedWidth = mpFT_SPEED->CalcMinimumSize().getWidth() + 2 * nOffsetX;
-    long nFTSoundWidth = mpFT_SOUND.CalcMinimumSize().getWidth() + 2 * nOffsetX;
-    long nIndent = ::std::max( nFTSoundWidth, nFTSpeedWidth );
-
-    bool bStack = ( (nIndent + nMinCtrlWidth + nOffsetX) > nMaxWidth );
-
-    if( bStack )
-        nIndent = nTextIndent;
-
-    aCtrlSize = mpCB_LOOP_SOUND.GetSizePixel();
-    aCtrlSize.setWidth( nMaxWidth - nIndent );
-    aUpperLeft.setY( aUpperLeft.getY() - aCtrlSize.getHeight() - nOffsetY );
-    aUpperLeft.setX( nIndent );
-    mpCB_LOOP_SOUND.SetPosSizePixel( aUpperLeft, aCtrlSize );
-
-    aCtrlSize = mpLB_SOUND.GetSizePixel();
-    aCtrlSize.setWidth( ::std::max( nMaxWidth - nIndent, nMinCtrlWidth ) );
-    aUpperLeft.setY( aUpperLeft.getY() - aCtrlSize.getHeight() - nOffsetY );
-    mpLB_SOUND.SetPosSizePixel( aUpperLeft, aCtrlSize );
-    mpLB_SOUND.SetDropDownLineCount( 8 );
-    aUpperLeft.setX( nOffsetX );
-
-    aCtrlSize = mpFT_SOUND.GetSizePixel();
-    if( bStack )
-        aUpperLeft.setY( aUpperLeft.getY() - aCtrlSize.getHeight());
-    aCtrlSize.setWidth( nFTSoundWidth - 2 * nOffsetX );
-    mpFT_SOUND.SetPosSizePixel( aUpperLeft, aCtrlSize );
-
-    aUpperLeft.setX( nIndent );
-    aCtrlSize = mpLB_SPEED.GetSizePixel();
-    aCtrlSize.setWidth( ::std::max( nMaxWidth - nIndent, nMinCtrlWidth ) );
-    aUpperLeft.setY( aUpperLeft.getY() - aCtrlSize.getHeight() - nOffsetY );
-    mpLB_SPEED.SetPosSizePixel( aUpperLeft, aCtrlSize );
-    mpLB_SPEED.SetDropDownLineCount( 3 );
-    aUpperLeft.setX( nOffsetX );
-
-    aCtrlSize = mpFT_SPEED.GetSizePixel();
-    if( bStack )
-        aUpperLeft.setY( aUpperLeft.getY() - aCtrlSize.getHeight());
-    aCtrlSize.setWidth( nFTSpeedWidth - 2 * nOffsetX );
-    mpFT_SPEED.SetPosSizePixel( aUpperLeft, aCtrlSize );
-
-    // fixed line "Modify Transition"
-    aCtrlSize = maFL_MODIFY_TRANSITION.GetSizePixel();
-    aCtrlSize.setWidth( nMaxWidth );
-    aUpperLeft.setY( aUpperLeft.getY() - aCtrlSize.getHeight() - nOffsetY );
-    maFL_MODIFY_TRANSITION.SetPosSizePixel( aUpperLeft, aCtrlSize );
-
-    // fixed line "Apply to selected slides"
-    aCtrlSize = maFL_APPLY_TRANSITION.GetSizePixel();
-    aCtrlSize.setWidth( nMaxWidth );
-    ::Point aUpperLeftCorner( nOffsetX, nOffsetY );
-    maFL_APPLY_TRANSITION.SetPosSizePixel( aUpperLeftCorner, aCtrlSize );
-    aUpperLeftCorner.setY( aUpperLeftCorner.getY() + aCtrlSize.getHeight() + nOffsetY );
-    aUpperLeft.setY( aUpperLeft.getY() - nOffsetY );
-
-    // list box slide transitions
-    aCtrlSize.setWidth( nMaxWidth );
-    aCtrlSize.setHeight( aUpperLeft.getY() - aUpperLeftCorner.getY() );
-    mpLB_SLIDE_TRANSITIONS->SetPosSizePixel( aUpperLeftCorner, aCtrlSize );
-}*/
-
 void SlideTransitionPane::updateControls()
 {
     ::sd::slidesorter::SharedPageSelection pSelectedPages(getSelectedPages());
diff --git a/sd/source/ui/animations/SlideTransitionPane.hxx b/sd/source/ui/animations/SlideTransitionPane.hxx
index 5f04e4c..3948d38 100644
--- a/sd/source/ui/animations/SlideTransitionPane.hxx
+++ b/sd/source/ui/animations/SlideTransitionPane.hxx
@@ -60,7 +60,6 @@ public:
     virtual ~SlideTransitionPane();
 
     // Window
-    virtual void Resize();
     virtual void DataChanged (const DataChangedEvent& rEvent);
 
     void onSelectionChanged();
commit 16428c9600964a4945cf6fd0d938dea047d1248b
Author: Katarina Behrens <bubli at bubli.org>
Date:   Wed Aug 21 13:55:41 2013 +0200

    sidebar: converted slide transitions panel to .ui
    
    Change-Id: I681908baaf27682f04d26f4430c6198bf35ca5b6

diff --git a/sd/UIConfig_simpress.mk b/sd/UIConfig_simpress.mk
index 075223c..36e8d03 100644
--- a/sd/UIConfig_simpress.mk
+++ b/sd/UIConfig_simpress.mk
@@ -86,6 +86,7 @@ $(eval $(call gb_UIConfig_add_uifiles,modules/simpress,\
 	sd/uiconfig/simpress/ui/printeroptions \
 	sd/uiconfig/simpress/ui/prntopts \
 	sd/uiconfig/simpress/ui/sdviewpage \
+	sd/uiconfig/simpress/ui/slidetransitionspanel \
 	sd/uiconfig/simpress/ui/templatedialog \
 ))
 
diff --git a/sd/source/ui/animations/CustomAnimation.hrc b/sd/source/ui/animations/CustomAnimation.hrc
index 38a9f14..a8311b3 100644
--- a/sd/source/ui/animations/CustomAnimation.hrc
+++ b/sd/source/ui/animations/CustomAnimation.hrc
@@ -84,6 +84,7 @@
 #define STR_CUSTOMANIMATION_TRIGGER                     RID_CUSTOMANIMATION_START+35
 #define STR_CUSTOMANIMATION_LIST_HELPTEXT               RID_CUSTOMANIMATION_START+36
 #define STR_CUSTOMANIMATION_USERPATH                    RID_CUSTOMANIMATION_START+37
+#define STR_SLIDETRANSITION_NONE                        RID_CUSTOMANIMATION_START+38
 
 #define CM_WITH_CLICK               1
 #define CM_WITH_PREVIOUS            2
diff --git a/sd/source/ui/animations/CustomAnimation.src b/sd/source/ui/animations/CustomAnimation.src
index 74696b0..b6b222b 100644
--- a/sd/source/ui/animations/CustomAnimation.src
+++ b/sd/source/ui/animations/CustomAnimation.src
@@ -389,6 +389,11 @@ String STR_CUSTOMANIMATION_USERPATH
     Text [ en-US ] = "User paths";
 };
 
+String STR_SLIDETRANSITION_NONE
+{
+    Text [ en-US ] = "No transition";
+};
+
 Image IMG_CUSTOMANIMATION_ON_CLICK
 {
     ImageBitmap = Bitmap { File = "click_16.png" ; };
diff --git a/sd/source/ui/animations/SlideTransitionPane.cxx b/sd/source/ui/animations/SlideTransitionPane.cxx
index 451194e..affd145 100644
--- a/sd/source/ui/animations/SlideTransitionPane.cxx
+++ b/sd/source/ui/animations/SlideTransitionPane.cxx
@@ -370,15 +370,15 @@ bool lcl_findSoundInList( const ::std::vector< OUString > & rSoundList,
 
 OUString lcl_getSoundFileURL(
     const ::std::vector< OUString > & rSoundList,
-    const ListBox & rListBox )
+    const ListBox* rListBox )
 {
-    if( rListBox.GetSelectEntryCount() > 0 )
+    if( rListBox->GetSelectEntryCount() > 0 )
     {
-        sal_uInt16 nPos = rListBox.GetSelectEntryPos();
+        sal_uInt16 nPos = rListBox->GetSelectEntryPos();
         // the first three entries are no actual sounds
         if( nPos >= 3 )
         {
-            DBG_ASSERT( (sal_uInt32)(rListBox.GetEntryCount() - 3) == rSoundList.size(),
+            DBG_ASSERT( (sal_uInt32)(rListBox->GetEntryCount() - 3) == rSoundList.size(),
                         "Sound list-box is not synchronized to sound list" );
             nPos -= 3;
             if( rSoundList.size() > nPos )
@@ -391,29 +391,29 @@ OUString lcl_getSoundFileURL(
 
 struct lcl_AppendSoundToListBox : public ::std::unary_function< OUString, void >
 {
-    lcl_AppendSoundToListBox( ListBox & rListBox ) :
+    lcl_AppendSoundToListBox( ListBox*  rListBox ) :
             mrListBox( rListBox )
     {}
 
     void operator() ( const OUString & rString ) const
     {
         INetURLObject aURL( rString );
-        mrListBox.InsertEntry( aURL.GetBase(), LISTBOX_APPEND );
+        mrListBox->InsertEntry( aURL.GetBase(), LISTBOX_APPEND );
     }
 
 private:
-    ListBox & mrListBox;
+    ListBox*  mrListBox;
 };
 
 void lcl_FillSoundListBox(
     const ::std::vector< OUString > & rSoundList,
-    ListBox & rOutListBox )
+    ListBox*  rOutListBox )
 {
-    sal_uInt16 nCount = rOutListBox.GetEntryCount();
+    sal_uInt16 nCount = rOutListBox->GetEntryCount();
 
     // keep first three entries
     for( sal_uInt16 i=nCount - 1; i>=3; --i )
-        rOutListBox.RemoveEntry( i );
+        rOutListBox->RemoveEntry( i );
 
     ::std::for_each( rSoundList.begin(), rSoundList.end(),
                      lcl_AppendSoundToListBox( rOutListBox ));
@@ -433,46 +433,35 @@ SlideTransitionPane::SlideTransitionPane(
     ::Window * pParent,
     ViewShellBase & rBase,
     const Size& rMinSize,
-    SdDrawDocument* pDoc ) :
-        Control( pParent, SdResId( DLG_SLIDE_TRANSITION_PANE ) ),
+    SdDrawDocument* pDoc,
+    const cssu::Reference<css::frame::XFrame>& rxFrame ) :
+        PanelLayout( pParent, "SlideTransitionsPanel", "modules/simpress/ui/slidetransitionspanel.ui", rxFrame ),
 
         mrBase( rBase ),
         mpDrawDoc( pDoc ),
         maMinSize( rMinSize ),
-        maFL_APPLY_TRANSITION( this, SdResId( FL_APPLY_TRANSITION ) ),
-        maLB_SLIDE_TRANSITIONS( this, SdResId( LB_SLIDE_TRANSITIONS ) ),
-        maFL_MODIFY_TRANSITION( this, SdResId( FL_MODIFY_TRANSITION ) ),
-        maFT_SPEED( this, SdResId( FT_SPEED ) ),
-        maLB_SPEED( this, SdResId( LB_SPEED ) ),
-        maFT_SOUND( this, SdResId( FT_SOUND ) ),
-        maLB_SOUND( this, SdResId( LB_SOUND ) ),
-        maCB_LOOP_SOUND( this, SdResId( CB_LOOP_SOUND ) ),
-        maFL_ADVANCE_SLIDE( this, SdResId( FL_ADVANCE_SLIDE ) ),
-        maRB_ADVANCE_ON_MOUSE( this, SdResId( RB_ADVANCE_ON_MOUSE ) ),
-        maRB_ADVANCE_AUTO( this, SdResId( RB_ADVANCE_AUTO ) ),
-        maMF_ADVANCE_AUTO_AFTER( this, SdResId( MF_ADVANCE_AUTO_AFTER ) ),
-        maFL_EMPTY1( this, SdResId( FL_EMPTY1 ) ),
-        maPB_APPLY_TO_ALL( this, SdResId( PB_APPLY_TO_ALL ) ),
-        maPB_PLAY( this, SdResId( PB_PLAY ) ),
-        maPB_SLIDE_SHOW( this, SdResId( PB_SLIDE_SHOW ) ),
-        maFL_EMPTY2( this, SdResId( FL_EMPTY2 ) ),
-        maCB_AUTO_PREVIEW( this, SdResId( CB_AUTO_PREVIEW ) ),
-
-        maSTR_NO_TRANSITION( SD_RESSTR( STR_NO_TRANSITION ) ),
         mbHasSelection( false ),
         mbUpdatingControls( false ),
         mbIsMainViewChangePending( false ),
         maLateInitTimer()
 {
-    // use no resource ids from here on
-    FreeResource();
-
-    // use bold font for group headings (same font for all fixed lines):
-    Font font( maFL_APPLY_TRANSITION.GetFont() );
-    font.SetWeight( WEIGHT_BOLD );
-    maFL_APPLY_TRANSITION.SetFont( font );
-    maFL_MODIFY_TRANSITION.SetFont( font );
-    maFL_ADVANCE_SLIDE.SetFont( font );
+    get(mpLB_SLIDE_TRANSITIONS, "transitions_list");
+    get(mpFT_SPEED, "speed_label");
+    get(mpLB_SPEED, "speed_list");
+    get(mpFT_SOUND, "sound_label");
+    get(mpLB_SOUND, "sound_list");
+    get(mpCB_LOOP_SOUND, "loop_sound" );
+    get(mpRB_ADVANCE_ON_MOUSE, "rb_mouse_click");
+    get(mpRB_ADVANCE_AUTO, "rb_auto_after");
+    get(mpMF_ADVANCE_AUTO_AFTER, "auto_after_value");
+    get(mpPB_APPLY_TO_ALL, "apply_to_all");
+    get(mpPB_PLAY, "play");
+    get(mpPB_SLIDE_SHOW, "slide_show");
+    get(mpCB_AUTO_PREVIEW, "auto_preview");
+
+    String maSTR_NO_TRANSITION( SdResId(STR_SLIDETRANSITION_NONE) );
+    mpLB_SLIDE_TRANSITIONS->set_width_request(mpLB_SLIDE_TRANSITIONS->approximate_char_width() * 16);
+    mpLB_SLIDE_TRANSITIONS->set_height_request(mpLB_SLIDE_TRANSITIONS->GetTextHeight() * 16);
 
     if( pDoc )
         mxModel.set( pDoc->getUnoModel(), uno::UNO_QUERY );
@@ -481,30 +470,30 @@ SlideTransitionPane::SlideTransitionPane(
         mxView.set( mxModel->getCurrentController(), uno::UNO_QUERY );
 
     // fill list box of slide transitions
-    maLB_SLIDE_TRANSITIONS.InsertEntry( maSTR_NO_TRANSITION );
+    mpLB_SLIDE_TRANSITIONS->InsertEntry( maSTR_NO_TRANSITION );
 
     // set defaults
-    maCB_AUTO_PREVIEW.Check();      // automatic preview on
+    mpCB_AUTO_PREVIEW->Check();      // automatic preview on
 
     // update control states before adding handlers
-    updateLayout();
+    //updateLayout();
     updateControls();
 
     // set handlers
-    maPB_APPLY_TO_ALL.SetClickHdl( LINK( this, SlideTransitionPane, ApplyToAllButtonClicked ));
-    maPB_PLAY.SetClickHdl( LINK( this, SlideTransitionPane, PlayButtonClicked ));
-    maPB_SLIDE_SHOW.SetClickHdl( LINK( this, SlideTransitionPane, SlideShowButtonClicked ));
+    mpPB_APPLY_TO_ALL->SetClickHdl( LINK( this, SlideTransitionPane, ApplyToAllButtonClicked ));
+    mpPB_PLAY->SetClickHdl( LINK( this, SlideTransitionPane, PlayButtonClicked ));
+    mpPB_SLIDE_SHOW->SetClickHdl( LINK( this, SlideTransitionPane, SlideShowButtonClicked ));
 
-    maLB_SLIDE_TRANSITIONS.SetSelectHdl( LINK( this, SlideTransitionPane, TransitionSelected ));
+    mpLB_SLIDE_TRANSITIONS->SetSelectHdl( LINK( this, SlideTransitionPane, TransitionSelected ));
 
-    maLB_SPEED.SetSelectHdl( LINK( this, SlideTransitionPane, SpeedListBoxSelected ));
-    maLB_SOUND.SetSelectHdl( LINK( this, SlideTransitionPane, SoundListBoxSelected ));
-    maCB_LOOP_SOUND.SetClickHdl( LINK( this, SlideTransitionPane, LoopSoundBoxChecked ));
+    mpLB_SPEED->SetSelectHdl( LINK( this, SlideTransitionPane, SpeedListBoxSelected ));
+    mpLB_SOUND->SetSelectHdl( LINK( this, SlideTransitionPane, SoundListBoxSelected ));
+    mpCB_LOOP_SOUND->SetClickHdl( LINK( this, SlideTransitionPane, LoopSoundBoxChecked ));
 
-    maRB_ADVANCE_ON_MOUSE.SetToggleHdl( LINK( this, SlideTransitionPane, AdvanceSlideRadioButtonToggled ));
-    maRB_ADVANCE_AUTO.SetToggleHdl( LINK( this, SlideTransitionPane, AdvanceSlideRadioButtonToggled ));
-    maMF_ADVANCE_AUTO_AFTER.SetModifyHdl( LINK( this, SlideTransitionPane, AdvanceTimeModified ));
-    maCB_AUTO_PREVIEW.SetClickHdl( LINK( this, SlideTransitionPane, AutoPreviewClicked ));
+    mpRB_ADVANCE_ON_MOUSE->SetToggleHdl( LINK( this, SlideTransitionPane, AdvanceSlideRadioButtonToggled ));
+    mpRB_ADVANCE_AUTO->SetToggleHdl( LINK( this, SlideTransitionPane, AdvanceSlideRadioButtonToggled ));
+    mpMF_ADVANCE_AUTO_AFTER->SetModifyHdl( LINK( this, SlideTransitionPane, AdvanceTimeModified ));
+    mpCB_AUTO_PREVIEW->SetClickHdl( LINK( this, SlideTransitionPane, AutoPreviewClicked ));
     addListener();
 
     maLateInitTimer.SetTimeout(200);
@@ -522,7 +511,7 @@ SlideTransitionPane::~SlideTransitionPane()
 
 void SlideTransitionPane::Resize()
 {
-    updateLayout();
+    //updateLayout();
 }
 
 
@@ -540,13 +529,8 @@ void SlideTransitionPane::DataChanged (const DataChangedEvent& rEvent)
 void SlideTransitionPane::UpdateLook (void)
 {
     SetBackground(::sfx2::sidebar::Theme::GetWallpaper(::sfx2::sidebar::Theme::Paint_PanelBackground));
-    maFL_APPLY_TRANSITION.SetBackground(Wallpaper());
-    maFL_MODIFY_TRANSITION.SetBackground(Wallpaper());;
-    maFT_SPEED.SetBackground(Wallpaper());
-    maFT_SOUND.SetBackground(Wallpaper());
-    maFL_ADVANCE_SLIDE.SetBackground(Wallpaper());
-    maFL_EMPTY1.SetBackground(Wallpaper());
-    maFL_EMPTY2.SetBackground(Wallpaper());
+    mpFT_SPEED->SetBackground(Wallpaper());
+    mpFT_SOUND->SetBackground(Wallpaper());
 }
 
 
@@ -586,7 +570,7 @@ void SlideTransitionPane::onChangeCurrentPage()
     return pSelection;
 }
 
-void SlideTransitionPane::updateLayout()
+/*void SlideTransitionPane::updateLayout()
 {
     ::Size aPaneSize( GetSizePixel() );
     if( aPaneSize.Width() < maMinSize.Width() )
@@ -609,10 +593,10 @@ void SlideTransitionPane::updateLayout()
     long nMaxWidth = aPaneSize.getWidth() - 2 * nOffsetX;
 
     // auto preview check-box
-    ::Size aCtrlSize = maCB_AUTO_PREVIEW.GetSizePixel();
-    aCtrlSize.setWidth( maCB_AUTO_PREVIEW.CalcMinimumSize( nMaxWidth ).getWidth());
+    ::Size aCtrlSize = mpCB_AUTO_PREVIEW.GetSizePixel();
+    aCtrlSize.setWidth( mpCB_AUTO_PREVIEW.CalcMinimumSize( nMaxWidth ).getWidth());
     aUpperLeft.setY( aUpperLeft.getY() - aCtrlSize.getHeight());
-    maCB_AUTO_PREVIEW.SetPosSizePixel( aUpperLeft, aCtrlSize );
+    mpCB_AUTO_PREVIEW.SetPosSizePixel( aUpperLeft, aCtrlSize );
 
     // fixed line above check-box
     aCtrlSize = maFL_EMPTY2.GetSizePixel();
@@ -621,41 +605,41 @@ void SlideTransitionPane::updateLayout()
     maFL_EMPTY2.SetPosSizePixel( aUpperLeft, aCtrlSize );
 
     // buttons "Play" and "Slide Show"
-    long nPlayButtonWidth = maPB_PLAY.CalcMinimumSize().getWidth() + 2 * nOffsetBtnX;
-    long nSlideShowButtonWidth = maPB_SLIDE_SHOW.CalcMinimumSize().getWidth() + 2 * nOffsetBtnX;
+    long nPlayButtonWidth = mpPB_PLAY.CalcMinimumSize().getWidth() + 2 * nOffsetBtnX;
+    long nSlideShowButtonWidth = mpPB_SLIDE_SHOW.CalcMinimumSize().getWidth() + 2 * nOffsetBtnX;
 
     if( (nPlayButtonWidth + nSlideShowButtonWidth + nOffsetX) <= nMaxWidth )
     {
         // place buttons side by side
-        aCtrlSize = maPB_PLAY.GetSizePixel();
+        aCtrlSize = mpPB_PLAY.GetSizePixel();
         aUpperLeft.setY( aUpperLeft.getY() - aCtrlSize.getHeight());
         aCtrlSize.setWidth( nPlayButtonWidth );
-        maPB_PLAY.SetPosSizePixel( aUpperLeft, aCtrlSize );
+        mpPB_PLAY.SetPosSizePixel( aUpperLeft, aCtrlSize );
 
         aUpperLeft.setX( aUpperLeft.getX() + nPlayButtonWidth + nOffsetX );
         aCtrlSize.setWidth( nSlideShowButtonWidth );
-        maPB_SLIDE_SHOW.SetPosSizePixel( aUpperLeft, aCtrlSize );
+        mpPB_SLIDE_SHOW.SetPosSizePixel( aUpperLeft, aCtrlSize );
         aUpperLeft.setX( nOffsetX );
     }
     else
     {
         // place buttons on top of each other
-        aCtrlSize = maPB_SLIDE_SHOW.GetSizePixel();
+        aCtrlSize = mpPB_SLIDE_SHOW.GetSizePixel();
         aUpperLeft.setY( aUpperLeft.getY() - aCtrlSize.getHeight());
         aCtrlSize.setWidth( nSlideShowButtonWidth );
-        maPB_SLIDE_SHOW.SetPosSizePixel( aUpperLeft, aCtrlSize );
+        mpPB_SLIDE_SHOW.SetPosSizePixel( aUpperLeft, aCtrlSize );
 
-        aCtrlSize = maPB_PLAY.GetSizePixel();
+        aCtrlSize = mpPB_PLAY.GetSizePixel();
         aUpperLeft.setY( aUpperLeft.getY() - aCtrlSize.getHeight() - nOffsetY );
         aCtrlSize.setWidth( nPlayButtonWidth );
-        maPB_PLAY.SetPosSizePixel( aUpperLeft, aCtrlSize );
+        mpPB_PLAY.SetPosSizePixel( aUpperLeft, aCtrlSize );
     }
 
     // "Apply to All Slides" button
-    aCtrlSize = maPB_APPLY_TO_ALL.GetSizePixel();
-    aCtrlSize.setWidth( maPB_APPLY_TO_ALL.CalcMinimumSize( nMaxWidth ).getWidth() + 2 * nOffsetBtnX );
+    aCtrlSize = mpPB_APPLY_TO_ALL.GetSizePixel();
+    aCtrlSize.setWidth( mpPB_APPLY_TO_ALL.CalcMinimumSize( nMaxWidth ).getWidth() + 2 * nOffsetBtnX );
     aUpperLeft.setY( aUpperLeft.getY() - aCtrlSize.getHeight() - nOffsetY );
-    maPB_APPLY_TO_ALL.SetPosSizePixel( aUpperLeft, aCtrlSize );
+    mpPB_APPLY_TO_ALL.SetPosSizePixel( aUpperLeft, aCtrlSize );
 
     // fixed line above "Apply to All Slides" button
     aCtrlSize = maFL_EMPTY1.GetSizePixel();
@@ -664,47 +648,47 @@ void SlideTransitionPane::updateLayout()
     maFL_EMPTY1.SetPosSizePixel( aUpperLeft, aCtrlSize );
 
     // advance automatically after ... seconds
-    long nItemWidth = maRB_ADVANCE_AUTO.CalcMinimumSize().getWidth();
+    long nItemWidth = mpRB_ADVANCE_AUTO.CalcMinimumSize().getWidth();
 
     if( (nItemWidth + nMinCtrlWidth + nOffsetX) <= nMaxWidth )
     {
         long nBase = aUpperLeft.getY();
 
         // place controls side by side
-        aCtrlSize = maRB_ADVANCE_AUTO.GetSizePixel();
+        aCtrlSize = mpRB_ADVANCE_AUTO.GetSizePixel();
         aUpperLeft.setY( nBase - aCtrlSize.getHeight());
         aCtrlSize.setWidth( nItemWidth );
-        maRB_ADVANCE_AUTO.SetPosSizePixel( aUpperLeft, aCtrlSize );
+        mpRB_ADVANCE_AUTO.SetPosSizePixel( aUpperLeft, aCtrlSize );
 
-        aCtrlSize = maMF_ADVANCE_AUTO_AFTER.GetSizePixel();
+        aCtrlSize = mpMF_ADVANCE_AUTO_AFTER.GetSizePixel();
         aUpperLeft.setY( nBase - aCtrlSize.getHeight() );
         aUpperLeft.setX( aUpperLeft.getX() + nItemWidth + nOffsetX );
         aCtrlSize.setWidth( nMinCtrlWidth );
-        maMF_ADVANCE_AUTO_AFTER.SetPosSizePixel( aUpperLeft, aCtrlSize );
+        mpMF_ADVANCE_AUTO_AFTER.SetPosSizePixel( aUpperLeft, aCtrlSize );
         aUpperLeft.setX( nOffsetX );
     }
     else
     {
         // place controls on top of each other
-        aCtrlSize = maMF_ADVANCE_AUTO_AFTER.GetSizePixel();
+        aCtrlSize = mpMF_ADVANCE_AUTO_AFTER.GetSizePixel();
         aUpperLeft.setX( nOffsetX + nTextIndent );
         aUpperLeft.setY( aUpperLeft.getY() - aCtrlSize.getHeight());
         aCtrlSize.setWidth( nMinCtrlWidth );
-        maMF_ADVANCE_AUTO_AFTER.SetPosSizePixel( aUpperLeft, aCtrlSize );
+        mpMF_ADVANCE_AUTO_AFTER.SetPosSizePixel( aUpperLeft, aCtrlSize );
 
-        aCtrlSize = maRB_ADVANCE_AUTO.GetSizePixel();
+        aCtrlSize = mpRB_ADVANCE_AUTO.GetSizePixel();
         aUpperLeft.setY( aUpperLeft.getY() - aCtrlSize.getHeight() - nOffsetY );
         aUpperLeft.setX( nOffsetX );
         aCtrlSize.setWidth( nItemWidth );
-        maRB_ADVANCE_AUTO.SetPosSizePixel( aUpperLeft, aCtrlSize );
+        mpRB_ADVANCE_AUTO.SetPosSizePixel( aUpperLeft, aCtrlSize );
         aUpperLeft.setX( nOffsetX );
     }
 
     // check box "On mouse click"
-    aCtrlSize = maRB_ADVANCE_ON_MOUSE.GetSizePixel();
+    aCtrlSize = mpRB_ADVANCE_ON_MOUSE.GetSizePixel();
     aCtrlSize.setWidth( nMaxWidth );
     aUpperLeft.setY( aUpperLeft.getY() - aCtrlSize.getHeight() - nOffsetY );
-    maRB_ADVANCE_ON_MOUSE.SetPosSizePixel( aUpperLeft, aCtrlSize );
+    mpRB_ADVANCE_ON_MOUSE.SetPosSizePixel( aUpperLeft, aCtrlSize );
 
     // fixed line "Advance slide"
     aCtrlSize = maFL_ADVANCE_SLIDE.GetSizePixel();
@@ -713,8 +697,8 @@ void SlideTransitionPane::updateLayout()
     maFL_ADVANCE_SLIDE.SetPosSizePixel( aUpperLeft, aCtrlSize );
 
     // check box "Loop until next sound"
-    long nFTSpeedWidth = maFT_SPEED.CalcMinimumSize().getWidth() + 2 * nOffsetX;
-    long nFTSoundWidth = maFT_SOUND.CalcMinimumSize().getWidth() + 2 * nOffsetX;
+    long nFTSpeedWidth = mpFT_SPEED->CalcMinimumSize().getWidth() + 2 * nOffsetX;
+    long nFTSoundWidth = mpFT_SOUND.CalcMinimumSize().getWidth() + 2 * nOffsetX;
     long nIndent = ::std::max( nFTSoundWidth, nFTSpeedWidth );
 
     bool bStack = ( (nIndent + nMinCtrlWidth + nOffsetX) > nMaxWidth );
@@ -722,38 +706,38 @@ void SlideTransitionPane::updateLayout()
     if( bStack )
         nIndent = nTextIndent;
 
-    aCtrlSize = maCB_LOOP_SOUND.GetSizePixel();
+    aCtrlSize = mpCB_LOOP_SOUND.GetSizePixel();
     aCtrlSize.setWidth( nMaxWidth - nIndent );
     aUpperLeft.setY( aUpperLeft.getY() - aCtrlSize.getHeight() - nOffsetY );
     aUpperLeft.setX( nIndent );
-    maCB_LOOP_SOUND.SetPosSizePixel( aUpperLeft, aCtrlSize );
+    mpCB_LOOP_SOUND.SetPosSizePixel( aUpperLeft, aCtrlSize );
 
-    aCtrlSize = maLB_SOUND.GetSizePixel();
+    aCtrlSize = mpLB_SOUND.GetSizePixel();
     aCtrlSize.setWidth( ::std::max( nMaxWidth - nIndent, nMinCtrlWidth ) );
     aUpperLeft.setY( aUpperLeft.getY() - aCtrlSize.getHeight() - nOffsetY );
-    maLB_SOUND.SetPosSizePixel( aUpperLeft, aCtrlSize );
-    maLB_SOUND.SetDropDownLineCount( 8 );
+    mpLB_SOUND.SetPosSizePixel( aUpperLeft, aCtrlSize );
+    mpLB_SOUND.SetDropDownLineCount( 8 );
     aUpperLeft.setX( nOffsetX );
 
-    aCtrlSize = maFT_SOUND.GetSizePixel();
+    aCtrlSize = mpFT_SOUND.GetSizePixel();
     if( bStack )
         aUpperLeft.setY( aUpperLeft.getY() - aCtrlSize.getHeight());
     aCtrlSize.setWidth( nFTSoundWidth - 2 * nOffsetX );
-    maFT_SOUND.SetPosSizePixel( aUpperLeft, aCtrlSize );
+    mpFT_SOUND.SetPosSizePixel( aUpperLeft, aCtrlSize );
 
     aUpperLeft.setX( nIndent );
-    aCtrlSize = maLB_SPEED.GetSizePixel();
+    aCtrlSize = mpLB_SPEED.GetSizePixel();
     aCtrlSize.setWidth( ::std::max( nMaxWidth - nIndent, nMinCtrlWidth ) );
     aUpperLeft.setY( aUpperLeft.getY() - aCtrlSize.getHeight() - nOffsetY );
-    maLB_SPEED.SetPosSizePixel( aUpperLeft, aCtrlSize );
-    maLB_SPEED.SetDropDownLineCount( 3 );
+    mpLB_SPEED.SetPosSizePixel( aUpperLeft, aCtrlSize );
+    mpLB_SPEED.SetDropDownLineCount( 3 );
     aUpperLeft.setX( nOffsetX );
 
-    aCtrlSize = maFT_SPEED.GetSizePixel();
+    aCtrlSize = mpFT_SPEED.GetSizePixel();
     if( bStack )
         aUpperLeft.setY( aUpperLeft.getY() - aCtrlSize.getHeight());
     aCtrlSize.setWidth( nFTSpeedWidth - 2 * nOffsetX );
-    maFT_SPEED.SetPosSizePixel( aUpperLeft, aCtrlSize );
+    mpFT_SPEED.SetPosSizePixel( aUpperLeft, aCtrlSize );
 
     // fixed line "Modify Transition"
     aCtrlSize = maFL_MODIFY_TRANSITION.GetSizePixel();
@@ -772,8 +756,8 @@ void SlideTransitionPane::updateLayout()
     // list box slide transitions
     aCtrlSize.setWidth( nMaxWidth );
     aCtrlSize.setHeight( aUpperLeft.getY() - aUpperLeftCorner.getY() );
-    maLB_SLIDE_TRANSITIONS.SetPosSizePixel( aUpperLeftCorner, aCtrlSize );
-}
+    mpLB_SLIDE_TRANSITIONS->SetPosSizePixel( aUpperLeftCorner, aCtrlSize );
+}*/
 
 void SlideTransitionPane::updateControls()
 {
@@ -809,40 +793,40 @@ void SlideTransitionPane::updateControls()
 
     // detect current slide effect
     if( aEffect.mbEffectAmbiguous )
-        maLB_SLIDE_TRANSITIONS.SetNoSelection();
+        mpLB_SLIDE_TRANSITIONS->SetNoSelection();
     else
     {
         // ToDo: That 0 is "no transition" is documented nowhere except in the
         // CTOR of sdpage
         if( aEffect.mnType == 0 )
-            maLB_SLIDE_TRANSITIONS.SelectEntryPos( 0 );
+            mpLB_SLIDE_TRANSITIONS->SelectEntryPos( 0 );
         else
         {
             sal_uInt16 nEntry = lcl_getTransitionEffectIndex( mpDrawDoc, aEffect );
             if( nEntry == LISTBOX_ENTRY_NOTFOUND )
-                maLB_SLIDE_TRANSITIONS.SetNoSelection();
+                mpLB_SLIDE_TRANSITIONS->SetNoSelection();
             else
             {
                 // first entry in list is "none", so add 1 after translation
                 if( m_aPresetIndexes.find( nEntry ) != m_aPresetIndexes.end())
-                    maLB_SLIDE_TRANSITIONS.SelectEntryPos( m_aPresetIndexes[ nEntry ] + 1 );
+                    mpLB_SLIDE_TRANSITIONS->SelectEntryPos( m_aPresetIndexes[ nEntry ] + 1 );
                 else
-                    maLB_SLIDE_TRANSITIONS.SetNoSelection();
+                    mpLB_SLIDE_TRANSITIONS->SetNoSelection();
             }
         }
     }
 
     if( aEffect.mbDurationAmbiguous )
-        maLB_SPEED.SetNoSelection();
+        mpLB_SPEED->SetNoSelection();
     else
-        maLB_SPEED.SelectEntryPos(
+        mpLB_SPEED->SelectEntryPos(
             (aEffect.mfDuration > 2.0 )
             ? 0 : (aEffect.mfDuration < 2.0)
             ? 2 : 1 );       // else FADE_SPEED_FAST
 
     if( aEffect.mbSoundAmbiguous )
     {
-        maLB_SOUND.SetNoSelection();
+        mpLB_SOUND->SetNoSelection();
         maCurrentSoundFile = "";
     }
     else
@@ -850,7 +834,7 @@ void SlideTransitionPane::updateControls()
         maCurrentSoundFile = "";
         if( aEffect.mbStopSound )
         {
-            maLB_SOUND.SelectEntryPos( 1 );
+            mpLB_SOUND->SelectEntryPos( 1 );
         }
         else if( aEffect.mbSoundOn && !aEffect.maSound.isEmpty() )
         {
@@ -858,39 +842,39 @@ void SlideTransitionPane::updateControls()
             if( lcl_findSoundInList( maSoundList, aEffect.maSound, nPos ))
             {
                 // skip first three entries
-                maLB_SOUND.SelectEntryPos( (sal_uInt16)nPos + 3 );
+                mpLB_SOUND->SelectEntryPos( (sal_uInt16)nPos + 3 );
                 maCurrentSoundFile = aEffect.maSound;
             }
         }
         else
         {
-            maLB_SOUND.SelectEntryPos( 0 );
+            mpLB_SOUND->SelectEntryPos( 0 );
         }
     }
 
     if( aEffect.mbLoopSoundAmbiguous )
     {
-        maCB_LOOP_SOUND.SetState( STATE_DONTKNOW );
+        mpCB_LOOP_SOUND->SetState( STATE_DONTKNOW );
     }
     else
     {
-        maCB_LOOP_SOUND.Check( aEffect.mbLoopSound );
+        mpCB_LOOP_SOUND->Check( aEffect.mbLoopSound );
     }
 
     if( aEffect.mbPresChangeAmbiguous )
     {
-        maRB_ADVANCE_ON_MOUSE.Check( sal_False );
-        maRB_ADVANCE_AUTO.Check( sal_False );
+        mpRB_ADVANCE_ON_MOUSE->Check( sal_False );
+        mpRB_ADVANCE_AUTO->Check( sal_False );
     }
     else
     {
-        maRB_ADVANCE_ON_MOUSE.Check( aEffect.mePresChange == PRESCHANGE_MANUAL );
-        maRB_ADVANCE_AUTO.Check( aEffect.mePresChange == PRESCHANGE_AUTO );
-        maMF_ADVANCE_AUTO_AFTER.SetValue( aEffect.mfTime * 100.0);
+        mpRB_ADVANCE_ON_MOUSE->Check( aEffect.mePresChange == PRESCHANGE_MANUAL );
+        mpRB_ADVANCE_AUTO->Check( aEffect.mePresChange == PRESCHANGE_AUTO );
+        mpMF_ADVANCE_AUTO_AFTER->SetValue( aEffect.mfTime * 100.0);
     }
 
     SdOptions* pOptions = SD_MOD()->GetSdOptions(DOCUMENT_TYPE_IMPRESS);
-    maCB_AUTO_PREVIEW.Check( pOptions->IsPreviewTransitions() == sal_True );
+    mpCB_AUTO_PREVIEW->Check( pOptions->IsPreviewTransitions() == sal_True );
 
     mbUpdatingControls = false;
 
@@ -899,17 +883,17 @@ void SlideTransitionPane::updateControls()
 
 void SlideTransitionPane::updateControlState()
 {
-    maLB_SLIDE_TRANSITIONS.Enable( mbHasSelection );
-    maLB_SPEED.Enable( mbHasSelection );
-    maLB_SOUND.Enable( mbHasSelection );
-    maCB_LOOP_SOUND.Enable( mbHasSelection && (maLB_SOUND.GetSelectEntryPos() > 2));
-    maRB_ADVANCE_ON_MOUSE.Enable( mbHasSelection );
-    maRB_ADVANCE_AUTO.Enable( mbHasSelection );
-    maMF_ADVANCE_AUTO_AFTER.Enable( mbHasSelection && maRB_ADVANCE_AUTO.IsChecked());
-
-    maPB_APPLY_TO_ALL.Enable( mbHasSelection );
-    maPB_PLAY.Enable( mbHasSelection );
-    maCB_AUTO_PREVIEW.Enable( mbHasSelection );
+    mpLB_SLIDE_TRANSITIONS->Enable( mbHasSelection );
+    mpLB_SPEED->Enable( mbHasSelection );
+    mpLB_SOUND->Enable( mbHasSelection );
+    mpCB_LOOP_SOUND->Enable( mbHasSelection && (mpLB_SOUND->GetSelectEntryPos() > 2));
+    mpRB_ADVANCE_ON_MOUSE->Enable( mbHasSelection );
+    mpRB_ADVANCE_AUTO->Enable( mbHasSelection );
+    mpMF_ADVANCE_AUTO_AFTER->Enable( mbHasSelection && mpRB_ADVANCE_AUTO->IsChecked());
+
+    mpPB_APPLY_TO_ALL->Enable( mbHasSelection );
+    mpPB_PLAY->Enable( mbHasSelection );
+    mpCB_AUTO_PREVIEW->Enable( mbHasSelection );
 }
 
 void SlideTransitionPane::updateSoundList()
@@ -919,18 +903,18 @@ void SlideTransitionPane::updateSoundList()
     GalleryExplorer::FillObjList( GALLERY_THEME_SOUNDS, maSoundList );
     GalleryExplorer::FillObjList( GALLERY_THEME_USERSOUNDS, maSoundList );
 
-    lcl_FillSoundListBox( maSoundList, maLB_SOUND );
+    lcl_FillSoundListBox( maSoundList, mpLB_SOUND );
 }
 
 void SlideTransitionPane::openSoundFileDialog()
 {
-    if( ! maLB_SOUND.IsEnabled())
+    if( ! mpLB_SOUND->IsEnabled())
         return;
 
     SdOpenSoundFileDialog aFileDialog;
 
     OUString aFile;
-    DBG_ASSERT( maLB_SOUND.GetSelectEntryPos() == 2,
+    DBG_ASSERT( mpLB_SOUND->GetSelectEntryPos() == 2,
                 "Dialog should only open when \"Other sound\" is selected" );
     aFile = SvtPathOptions().GetGraphicPath();
 
@@ -975,7 +959,7 @@ void SlideTransitionPane::openSoundFileDialog()
 
         if( bValidSoundFile )
             // skip first three entries in list
-            maLB_SOUND.SelectEntryPos( (sal_uInt16)nPos + 3 );
+            mpLB_SOUND->SelectEntryPos( (sal_uInt16)nPos + 3 );
     }
 
     if( ! bValidSoundFile )
@@ -984,12 +968,12 @@ void SlideTransitionPane::openSoundFileDialog()
         {
             tSoundListType::size_type nPos = 0;
             if( lcl_findSoundInList( maSoundList, maCurrentSoundFile, nPos ))
-                maLB_SOUND.SelectEntryPos( (sal_uInt16)nPos + 3 );
+                mpLB_SOUND->SelectEntryPos( (sal_uInt16)nPos + 3 );
             else
-                maLB_SOUND.SelectEntryPos( 0 );  // NONE
+                mpLB_SOUND->SelectEntryPos( 0 );  // NONE
         }
         else
-            maLB_SOUND.SelectEntryPos( 0 );  // NONE
+            mpLB_SOUND->SelectEntryPos( 0 );  // NONE
     }
 }
 
@@ -999,11 +983,11 @@ impl::TransitionEffect SlideTransitionPane::getTransitionEffectFromControls() co
     aResult.setAllAmbiguous();
 
     // check first (aResult might be overwritten)
-    if( maLB_SLIDE_TRANSITIONS.IsEnabled() &&
-        maLB_SLIDE_TRANSITIONS.GetSelectEntryCount() > 0 )
+    if( mpLB_SLIDE_TRANSITIONS->IsEnabled() &&
+        mpLB_SLIDE_TRANSITIONS->GetSelectEntryCount() > 0 )
     {
         TransitionPresetPtr pPreset = lcl_getTransitionPresetByUIName(
-            mpDrawDoc, OUString( maLB_SLIDE_TRANSITIONS.GetSelectEntry()));
+            mpDrawDoc, OUString( mpLB_SLIDE_TRANSITIONS->GetSelectEntry()));
 
         if( pPreset.get())
         {
@@ -1018,10 +1002,10 @@ impl::TransitionEffect SlideTransitionPane::getTransitionEffectFromControls() co
     }
 
     // speed
-    if( maLB_SPEED.IsEnabled() &&
-        maLB_SPEED.GetSelectEntryCount() > 0 )
+    if( mpLB_SPEED->IsEnabled() &&
+        mpLB_SPEED->GetSelectEntryCount() > 0 )
     {
-        sal_uInt16 nPos = maLB_SPEED.GetSelectEntryPos();
+        sal_uInt16 nPos = mpLB_SPEED->GetSelectEntryPos();
         aResult.mfDuration = (nPos == 0)
             ? 3.0
             : (nPos == 1)
@@ -1033,17 +1017,17 @@ impl::TransitionEffect SlideTransitionPane::getTransitionEffectFromControls() co
     }
 
     // slide-advance mode
-    if( maRB_ADVANCE_ON_MOUSE.IsEnabled() && maRB_ADVANCE_AUTO.IsEnabled() &&
-        (maRB_ADVANCE_ON_MOUSE.IsChecked() || maRB_ADVANCE_AUTO.IsChecked()))
+    if( mpRB_ADVANCE_ON_MOUSE->IsEnabled() && mpRB_ADVANCE_AUTO->IsEnabled() &&
+        (mpRB_ADVANCE_ON_MOUSE->IsChecked() || mpRB_ADVANCE_AUTO->IsChecked()))
     {
-        if( maRB_ADVANCE_ON_MOUSE.IsChecked())
+        if( mpRB_ADVANCE_ON_MOUSE->IsChecked())
             aResult.mePresChange = PRESCHANGE_MANUAL;
         else
         {
             aResult.mePresChange = PRESCHANGE_AUTO;
-            if( maMF_ADVANCE_AUTO_AFTER.IsEnabled())
+            if( mpMF_ADVANCE_AUTO_AFTER->IsEnabled())
             {
-                aResult.mfTime = static_cast<double>(maMF_ADVANCE_AUTO_AFTER.GetValue() ) / 100.0 ;
+                aResult.mfTime = static_cast<double>(mpMF_ADVANCE_AUTO_AFTER->GetValue() ) / 100.0 ;
                 aResult.mbTimeAmbiguous = false;
             }
         }
@@ -1052,12 +1036,12 @@ impl::TransitionEffect SlideTransitionPane::getTransitionEffectFromControls() co
     }
 
     // sound
-    if( maLB_SOUND.IsEnabled())
+    if( mpLB_SOUND->IsEnabled())
     {
         maCurrentSoundFile = "";
-        if( maLB_SOUND.GetSelectEntryCount() > 0 )
+        if( mpLB_SOUND->GetSelectEntryCount() > 0 )
         {
-            sal_uInt16 nPos = maLB_SOUND.GetSelectEntryPos();
+            sal_uInt16 nPos = mpLB_SOUND->GetSelectEntryPos();
             aResult.mbStopSound = nPos == 1;
             aResult.mbSoundOn = nPos > 1;
             if( aResult.mbStopSound )
@@ -1067,7 +1051,7 @@ impl::TransitionEffect SlideTransitionPane::getTransitionEffectFromControls() co
             }
             else
             {
-                aResult.maSound = lcl_getSoundFileURL( maSoundList, maLB_SOUND );
+                aResult.maSound = lcl_getSoundFileURL( maSoundList, mpLB_SOUND );
                 aResult.mbSoundAmbiguous = false;
                 maCurrentSoundFile = aResult.maSound;
             }
@@ -1075,9 +1059,9 @@ impl::TransitionEffect SlideTransitionPane::getTransitionEffectFromControls() co
     }
 
     // sound loop
-    if( maCB_LOOP_SOUND.IsEnabled() )
+    if( mpCB_LOOP_SOUND->IsEnabled() )
     {
-        aResult.mbLoopSound = maCB_LOOP_SOUND.IsChecked();
+        aResult.mbLoopSound = mpCB_LOOP_SOUND->IsChecked();
         aResult.mbLoopSoundAmbiguous = false;
     }
 
@@ -1095,8 +1079,8 @@ void SlideTransitionPane::applyToSelectedPages()
             lcl_ApplyToPages( pSelectedPages, getTransitionEffectFromControls() );
             mrBase.GetDocShell()->SetModified();
         }
-        if( maCB_AUTO_PREVIEW.IsEnabled() &&
-            maCB_AUTO_PREVIEW.IsChecked())
+        if( mpCB_AUTO_PREVIEW->IsEnabled() &&
+            mpCB_AUTO_PREVIEW->IsChecked())
         {
             playCurrentEffect();
         }
@@ -1246,9 +1230,9 @@ IMPL_LINK_NOARG(SlideTransitionPane, SpeedListBoxSelected)
 
 IMPL_LINK_NOARG(SlideTransitionPane, SoundListBoxSelected)
 {
-    if( maLB_SOUND.GetSelectEntryCount() )
+    if( mpLB_SOUND->GetSelectEntryCount() )
     {
-        sal_uInt16 nPos = maLB_SOUND.GetSelectEntryPos();
+        sal_uInt16 nPos = mpLB_SOUND->GetSelectEntryPos();
         if( nPos == 2 )
         {
             // other sound ...
@@ -1269,7 +1253,7 @@ IMPL_LINK_NOARG(SlideTransitionPane, LoopSoundBoxChecked)
 IMPL_LINK_NOARG(SlideTransitionPane, AutoPreviewClicked)
 {
     SdOptions* pOptions = SD_MOD()->GetSdOptions(DOCUMENT_TYPE_IMPRESS);
-    pOptions->SetPreviewTransitions( maCB_AUTO_PREVIEW.IsChecked() ? sal_True : sal_False );
+    pOptions->SetPreviewTransitions( mpCB_AUTO_PREVIEW->IsChecked() ? sal_True : sal_False );
     return 0;
 }
 
@@ -1286,7 +1270,7 @@ IMPL_LINK_NOARG(SlideTransitionPane, LateInitCallback)
         const OUString aUIName( pPreset->getUIName() );
          if( !aUIName.isEmpty() )
         {
-            maLB_SLIDE_TRANSITIONS.InsertEntry( aUIName );
+            mpLB_SLIDE_TRANSITIONS->InsertEntry( aUIName );
             m_aPresetIndexes[ nIndex ] = (sal_uInt16)nUIIndex;
             ++nUIIndex;
         }
@@ -1299,7 +1283,7 @@ IMPL_LINK_NOARG(SlideTransitionPane, LateInitCallback)
     return 0;
 }
 
-::Window * createSlideTransitionPanel( ::Window* pParent, ViewShellBase& rBase )
+::Window * createSlideTransitionPanel( ::Window* pParent, ViewShellBase& rBase, const cssu::Reference<css::frame::XFrame>& rxFrame )
 {
     DialogListBox* pWindow = 0;
 
@@ -1309,7 +1293,7 @@ IMPL_LINK_NOARG(SlideTransitionPane, LateInitCallback)
         pWindow = new DialogListBox( pParent, WB_CLIPCHILDREN|WB_TABSTOP|WB_AUTOHSCROLL );
 
         Size aMinSize( pWindow->LogicToPixel( Size( 72, 216 ), MAP_APPFONT ) );
-        ::Window* pPaneWindow = new SlideTransitionPane( pWindow, rBase, aMinSize, pDocSh->GetDoc() );
+        ::Window* pPaneWindow = new SlideTransitionPane( pWindow, rBase, aMinSize, pDocSh->GetDoc(), rxFrame );
         pWindow->SetChildWindow( pPaneWindow, aMinSize );
         pWindow->SetText( pPaneWindow->GetText() );
     }
diff --git a/sd/source/ui/animations/SlideTransitionPane.hxx b/sd/source/ui/animations/SlideTransitionPane.hxx
index 523fc32..5f04e4c 100644
--- a/sd/source/ui/animations/SlideTransitionPane.hxx
+++ b/sd/source/ui/animations/SlideTransitionPane.hxx
@@ -28,6 +28,8 @@
 #include <vcl/fixed.hxx>
 #include <vcl/button.hxx>
 #include <vcl/field.hxx>
+#include <svx/sidebar/PanelLayout.hxx>
+#include <sfx2/sidebar/ControlFactory.hxx>
 #include <com/sun/star/drawing/XDrawView.hpp>
 #include <com/sun/star/frame/XModel.hpp>
 
@@ -46,14 +48,15 @@ namespace impl
     struct TransitionEffect;
 }
 
-class SlideTransitionPane : public Control
+class SlideTransitionPane : public PanelLayout
 {
 public:
     explicit SlideTransitionPane(
         ::Window * pParent,
         ViewShellBase & rBase,
         const Size& rMinSize,
-        SdDrawDocument* pDoc );
+        SdDrawDocument* pDoc,
+        const cssu::Reference<css::frame::XFrame>& rxFrame );
     virtual ~SlideTransitionPane();
 
     // Window
@@ -101,24 +104,19 @@ private:
     SdDrawDocument *  mpDrawDoc;
     Size              maMinSize;
 
-    FixedLine    maFL_APPLY_TRANSITION;
-    ListBox      maLB_SLIDE_TRANSITIONS;
-    FixedLine    maFL_MODIFY_TRANSITION;
-    FixedText    maFT_SPEED;
-    ListBox      maLB_SPEED;
-    FixedText    maFT_SOUND;
-    ListBox      maLB_SOUND;
-    CheckBox     maCB_LOOP_SOUND;
-    FixedLine    maFL_ADVANCE_SLIDE;
-    RadioButton  maRB_ADVANCE_ON_MOUSE;
-    RadioButton  maRB_ADVANCE_AUTO;
-    MetricField  maMF_ADVANCE_AUTO_AFTER;
-    FixedLine    maFL_EMPTY1;
-    PushButton   maPB_APPLY_TO_ALL;
-    PushButton   maPB_PLAY;
-    PushButton   maPB_SLIDE_SHOW;
-    FixedLine    maFL_EMPTY2;
-    CheckBox     maCB_AUTO_PREVIEW;
+    ListBox*      mpLB_SLIDE_TRANSITIONS;
+    FixedText*    mpFT_SPEED;
+    ListBox*      mpLB_SPEED;
+    FixedText*    mpFT_SOUND;
+    ListBox*      mpLB_SOUND;
+    CheckBox*     mpCB_LOOP_SOUND;
+    RadioButton*  mpRB_ADVANCE_ON_MOUSE;
+    RadioButton*  mpRB_ADVANCE_AUTO;
+    MetricField*  mpMF_ADVANCE_AUTO_AFTER;
+    PushButton*   mpPB_APPLY_TO_ALL;
+    PushButton*   mpPB_PLAY;
+    PushButton*   mpPB_SLIDE_SHOW;
+    CheckBox*     mpCB_AUTO_PREVIEW;
 
     OUString     maSTR_NO_TRANSITION;
 
diff --git a/sd/source/ui/sidebar/PanelFactory.cxx b/sd/source/ui/sidebar/PanelFactory.cxx
index f1677f3..1829526 100644
--- a/sd/source/ui/sidebar/PanelFactory.cxx
+++ b/sd/source/ui/sidebar/PanelFactory.cxx
@@ -190,7 +190,7 @@ Reference<ui::XUIElement> SAL_CALL PanelFactory::createUIElement (
     else if (EndsWith(rsUIElementResourceURL, gsResourceNameUsedMasterPages))
         pControl = CurrentMasterPagesSelector::Create(pParentWindow, *pBase, xSidebar);
     else if (EndsWith(rsUIElementResourceURL, gsResourceNameSlideTransitions))
-        pControl = new SlideTransitionPanel(pParentWindow, *pBase);
+        pControl = new SlideTransitionPanel(pParentWindow, *pBase, xFrame);
     else if (EndsWith(rsUIElementResourceURL, gsResourceNameTableDesign))
         pControl = createTableDesignPanel(pParentWindow, *pBase);
     else if (EndsWith(rsUIElementResourceURL, gsResourceNameNavigator))
diff --git a/sd/source/ui/sidebar/SlideTransitionPanel.cxx b/sd/source/ui/sidebar/SlideTransitionPanel.cxx
index 79b2ae2..f48f592 100644
--- a/sd/source/ui/sidebar/SlideTransitionPanel.cxx
+++ b/sd/source/ui/sidebar/SlideTransitionPanel.cxx
@@ -22,7 +22,7 @@
 
 
 namespace sd {
-    extern ::Window* createSlideTransitionPanel (::Window* pParent, ViewShellBase& rBase);
+    extern ::Window* createSlideTransitionPanel (::Window* pParent, ViewShellBase& rBase, const cssu::Reference<css::frame::XFrame>& rxFrame);
     extern sal_Int32 getSlideTransitionPanelMinimumHeight (::Window* pParent);
 }
 
@@ -34,8 +34,11 @@ namespace sd { namespace sidebar {
 
 SlideTransitionPanel::SlideTransitionPanel (
     ::Window* pParentWindow,
-    ViewShellBase& rViewShellBase)
-    : PanelBase(pParentWindow, rViewShellBase)
+    ViewShellBase& rViewShellBase,
+    const cssu::Reference<css::frame::XFrame>& rxFrame
+    )
+    : PanelBase(pParentWindow, rViewShellBase),
+      mxFrame( rxFrame )
 {
 #ifdef DEBUG
     SetText(OUString("sd:SlideTransitionPanel"));
@@ -56,7 +59,7 @@ SlideTransitionPanel::~SlideTransitionPanel (void)
     ::Window* pParentWindow,
     ViewShellBase& rViewShellBase)
 {
-    return createSlideTransitionPanel(pParentWindow, rViewShellBase);
+    return createSlideTransitionPanel(pParentWindow, rViewShellBase, mxFrame);
 }
 
 
diff --git a/sd/source/ui/sidebar/SlideTransitionPanel.hxx b/sd/source/ui/sidebar/SlideTransitionPanel.hxx
index 40094fe..1e44a26 100644
--- a/sd/source/ui/sidebar/SlideTransitionPanel.hxx
+++ b/sd/source/ui/sidebar/SlideTransitionPanel.hxx
@@ -19,6 +19,7 @@
 #define SD_SIDEBAR_PANELS_SLIDE_TRANSITION_PANEL_HXX
 
 #include "PanelBase.hxx"
+#include <sfx2/sidebar/ControlFactory.hxx>
 
 namespace sd { namespace sidebar {
 
@@ -28,7 +29,8 @@ class SlideTransitionPanel
 public:
     SlideTransitionPanel (
         ::Window* pParentWindow,
-        ViewShellBase& rViewShellBase);
+        ViewShellBase& rViewShellBase,
+        const cssu::Reference<css::frame::XFrame>& rxFrame );
     virtual ~SlideTransitionPanel (void);
 
     // ILayoutableWindow
@@ -38,6 +40,9 @@ protected:
     virtual ::Window* CreateWrappedControl (
         ::Window* pParentWindow,
         ViewShellBase& rViewShellBase);
+
+private:
+    cssu::Reference<css::frame::XFrame> mxFrame;
 };
 
 } } // end of namespace sd::sidebar
diff --git a/sd/source/ui/toolpanel/controls/SlideTransitionPanel.cxx b/sd/source/ui/toolpanel/controls/SlideTransitionPanel.cxx
index d8aa1df..6b01a59 100644
--- a/sd/source/ui/toolpanel/controls/SlideTransitionPanel.cxx
+++ b/sd/source/ui/toolpanel/controls/SlideTransitionPanel.cxx
@@ -30,7 +30,8 @@ namespace sd
 {
 
     class ViewShellBase;
-    extern ::Window * createSlideTransitionPanel( ::Window* pParent, ViewShellBase& rBase );
+    extern ::Window * createSlideTransitionPanel( ::Window* pParent, ViewShellBase& rBase,
+                                                  const cssu::Reference<css::frame::XFrame>& rxFrame );
 
 namespace toolpanel { namespace controls {
 
@@ -41,7 +42,7 @@ SlideTransitionPanel::SlideTransitionPanel(Window& i_rParentWindow, ToolPanelVie
     ,maPreferredSize( 100, 200 )
     ,m_pPanelViewShell( &i_rToolPanelShell )
 {
-    mpWrappedControl = createSlideTransitionPanel( &i_rParentWindow, i_rToolPanelShell.GetViewShellBase() );
+    mpWrappedControl = createSlideTransitionPanel( &i_rParentWindow, i_rToolPanelShell.GetViewShellBase(), NULL );
     mpWrappedControl->Show();
 }
 
diff --git a/sd/uiconfig/simpress/ui/slidetransitionspanel.ui b/sd/uiconfig/simpress/ui/slidetransitionspanel.ui
new file mode 100644
index 0000000..0eac35c
--- /dev/null
+++ b/sd/uiconfig/simpress/ui/slidetransitionspanel.ui
@@ -0,0 +1,372 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<interface>
+  <!-- interface-requires gtk+ 3.0 -->
+  <object class="GtkBox" id="box1">
+    <property name="visible">True</property>
+    <property name="can_focus">False</property>
+    <property name="orientation">vertical</property>
+    <property name="border_width">6</property>
+    <property name="spacing">12</property>
+    <child>
+      <object class="GtkFrame" id="frame3">
+        <property name="visible">True</property>
+        <property name="can_focus">False</property>
+        <property name="label_xalign">0</property>
+        <property name="shadow_type">none</property>
+        <child>
+          <object class="GtkAlignment" id="alignment3">
+            <property name="visible">True</property>
+            <property name="can_focus">False</property>
+            <property name="top_padding">6</property>
+            <property name="left_padding">12</property>
+            <child>
+              <object class="GtkTreeView" id="transitions_list">
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <child internal-child="selection">
+                  <object class="GtkTreeSelection" id="treeview-selection1"/>
+                </child>
+              </object>
+            </child>
+          </object>
+        </child>
+        <child type="label">
+          <object class="GtkLabel" id="label3">
+            <property name="visible">True</property>
+            <property name="can_focus">False</property>
+            <property name="label" translatable="yes">Apply to selected slides</property>
+            <attributes>
+              <attribute name="weight" value="bold"/>
+            </attributes>
+          </object>
+        </child>
+      </object>
+      <packing>
+        <property name="expand">False</property>
+        <property name="fill">True</property>
+        <property name="position">0</property>
+      </packing>
+    </child>
+    <child>
+      <object class="GtkFrame" id="frame1">
+        <property name="visible">True</property>
+        <property name="can_focus">False</property>
+        <property name="label_xalign">0</property>
+        <property name="shadow_type">none</property>
+        <child>
+          <object class="GtkAlignment" id="alignment1">
+            <property name="visible">True</property>
+            <property name="can_focus">False</property>
+            <property name="top_padding">6</property>
+            <property name="left_padding">12</property>
+            <child>
+              <object class="GtkBox" id="box2">
+                <property name="visible">True</property>
+                <property name="can_focus">False</property>
+                <property name="orientation">vertical</property>
+                <property name="spacing">12</property>
+                <child>
+                  <object class="GtkBox" id="box4">
+                    <property name="visible">True</property>
+                    <property name="can_focus">False</property>
+                    <property name="spacing">6</property>
+                    <child>
+                      <object class="GtkLabel" id="speed_label">
+                        <property name="visible">True</property>
+                        <property name="can_focus">False</property>
+                        <property name="label" translatable="yes">Speed:</property>
+                      </object>
+                      <packing>
+                        <property name="expand">False</property>
+                        <property name="fill">True</property>
+                        <property name="position">0</property>
+                      </packing>
+                    </child>
+                    <child>
+                      <object class="GtkComboBox" id="speed_list">
+                        <property name="visible">True</property>
+                        <property name="can_focus">False</property>
+                        <property name="hexpand">True</property>
+                        <items>
+                           <item translatable="yes">Slow</item>
+                           <item translatable="yes">Medium</item>
+                           <item translatable="yes">Fast</item>
+                        </items>
+                      </object>
+                      <packing>
+                        <property name="expand">False</property>
+                        <property name="fill">True</property>
+                        <property name="position">1</property>
+                      </packing>
+                    </child>
+                  </object>
+                  <packing>
+                    <property name="expand">False</property>
+                    <property name="fill">True</property>
+                    <property name="position">0</property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkBox" id="box5">
+                    <property name="visible">True</property>
+                    <property name="can_focus">False</property>
+                    <property name="spacing">6</property>
+                    <child>
+                      <object class="GtkLabel" id="sound_label">
+                        <property name="visible">True</property>
+                        <property name="can_focus">False</property>
+                        <property name="label" translatable="yes">Sound:</property>
+                      </object>
+                      <packing>
+                        <property name="expand">False</property>
+                        <property name="fill">True</property>
+                        <property name="position">0</property>
+                      </packing>
+                    </child>
+                    <child>
+                      <object class="GtkComboBoxText" id="sound_list">
+                        <property name="visible">True</property>
+                        <property name="can_focus">False</property>
+                        <property name="hexpand">True</property>
+                        <items>
+                           <item translatable="yes">No Sound</item>
+                           <item translatable="yes">Stop Previous Sound</item>
+                           <item translatable="yes">Other Sound...</item>
+                        </items>
+                      </object>
+                      <packing>
+                        <property name="expand">False</property>
+                        <property name="fill">True</property>
+                        <property name="position">1</property>
+                      </packing>
+                    </child>
+                  </object>
+                  <packing>
+                    <property name="expand">False</property>
+                    <property name="fill">True</property>
+                    <property name="position">1</property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkCheckButton" id="loop_sound">
+                    <property name="label" translatable="yes">Loop until next sound</property>
+                    <property name="use_action_appearance">False</property>
+                    <property name="visible">True</property>
+                    <property name="can_focus">True</property>
+                    <property name="receives_default">False</property>
+                    <property name="margin_left">12</property>
+                    <property name="use_action_appearance">False</property>
+                    <property name="xalign">0</property>
+                    <property name="draw_indicator">True</property>
+                  </object>
+                  <packing>
+                    <property name="expand">False</property>
+                    <property name="fill">True</property>
+                    <property name="position">2</property>
+                  </packing>
+                </child>
+              </object>
+            </child>
+          </object>
+        </child>
+        <child type="label">
+          <object class="GtkLabel" id="label1">
+            <property name="visible">True</property>
+            <property name="can_focus">False</property>
+            <property name="label" translatable="yes">Modify transition</property>
+            <attributes>
+              <attribute name="weight" value="bold"/>
+            </attributes>
+          </object>
+        </child>
+      </object>
+      <packing>
+        <property name="expand">False</property>
+        <property name="fill">True</property>
+        <property name="position">1</property>
+      </packing>
+    </child>
+    <child>
+      <object class="GtkFrame" id="frame2">
+        <property name="visible">True</property>
+        <property name="can_focus">False</property>
+        <property name="label_xalign">0</property>
+        <property name="shadow_type">none</property>
+        <child>
+          <object class="GtkAlignment" id="alignment2">
+            <property name="visible">True</property>
+            <property name="can_focus">False</property>
+            <property name="top_padding">6</property>
+            <property name="left_padding">12</property>
+            <child>
+              <object class="GtkGrid" id="grid1">
+                <property name="visible">True</property>
+                <property name="can_focus">False</property>
+                <child>
+                  <object class="GtkRadioButton" id="rb_mouse_click">
+                    <property name="label" translatable="yes">On mouse click</property>
+                    <property name="use_action_appearance">False</property>
+                    <property name="visible">True</property>
+                    <property name="can_focus">True</property>
+                    <property name="receives_default">False</property>
+                    <property name="use_action_appearance">False</property>
+                    <property name="xalign">0</property>
+                    <property name="active">True</property>
+                    <property name="draw_indicator">True</property>
+                    <property name="group">rb_mouse_click</property>
+                  </object>
+                  <packing>
+                    <property name="left_attach">0</property>
+                    <property name="top_attach">0</property>
+                    <property name="width">1</property>
+                    <property name="height">1</property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkRadioButton" id="rb_auto_after">
+                    <property name="label" translatable="yes">Automatically after</property>
+                    <property name="use_action_appearance">False</property>
+                    <property name="visible">True</property>
+                    <property name="can_focus">True</property>
+                    <property name="receives_default">False</property>
+                    <property name="use_action_appearance">False</property>
+                    <property name="xalign">0</property>
+                    <property name="active">True</property>
+                    <property name="draw_indicator">True</property>
+                    <property name="group">rb_mouse_click</property>
+                  </object>
+                  <packing>
+                    <property name="left_attach">0</property>
+                    <property name="top_attach">1</property>
+                    <property name="width">1</property>
+                    <property name="height">1</property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkSpinButton" id="auto_after_value:0">
+                    <property name="visible">True</property>
+                    <property name="can_focus">True</property>
+                    <property name="invisible_char">●</property>
+                  </object>
+                  <packing>
+                    <property name="left_attach">1</property>
+                    <property name="top_attach">1</property>
+                    <property name="width">1</property>
+                    <property name="height">1</property>
+                  </packing>
+                </child>
+                <child>
+                  <placeholder/>
+                </child>
+                <child>
+                  <placeholder/>
+                </child>
+                <child>
+                  <placeholder/>
+                </child>
+                <child>
+                  <placeholder/>
+                </child>
+                <child>
+                  <placeholder/>
+                </child>
+                <child>
+                  <placeholder/>
+                </child>
+              </object>
+            </child>
+          </object>
+        </child>
+        <child type="label">
+          <object class="GtkLabel" id="label2">
+            <property name="visible">True</property>
+            <property name="can_focus">False</property>
+            <property name="label" translatable="yes">Advance slide</property>
+            <attributes>
+              <attribute name="weight" value="bold"/>
+            </attributes>
+          </object>
+        </child>
+      </object>
+      <packing>
+        <property name="expand">False</property>
+        <property name="fill">True</property>
+        <property name="position">2</property>
+      </packing>
+    </child>
+    <child>
+      <object class="GtkButton" id="apply_to_all">
+        <property name="label" translatable="yes">Apply to All Slides</property>
+        <property name="use_action_appearance">False</property>
+        <property name="visible">True</property>
+        <property name="can_focus">True</property>
+        <property name="receives_default">True</property>
+        <property name="use_action_appearance">False</property>
+      </object>
+      <packing>
+        <property name="expand">False</property>
+        <property name="fill">True</property>
+        <property name="position">3</property>
+      </packing>
+    </child>
+    <child>
+      <object class="GtkBox" id="box3">
+        <property name="visible">True</property>
+        <property name="can_focus">False</property>
+        <property name="spacing">12</property>
+        <child>
+          <object class="GtkButton" id="play">
+            <property name="label" translatable="yes">Play</property>
+            <property name="use_action_appearance">False</property>
+            <property name="visible">True</property>
+            <property name="can_focus">True</property>
+            <property name="receives_default">True</property>
+            <property name="use_action_appearance">False</property>
+          </object>
+          <packing>
+            <property name="expand">False</property>
+            <property name="fill">True</property>
+            <property name="position">0</property>
+          </packing>
+        </child>
+        <child>
+          <object class="GtkButton" id="slide_show">
+            <property name="label" translatable="yes">Slide Show</property>
+            <property name="use_action_appearance">False</property>
+            <property name="visible">True</property>
+            <property name="can_focus">True</property>
+            <property name="receives_default">True</property>
+            <property name="use_action_appearance">False</property>
+          </object>
+          <packing>
+            <property name="expand">False</property>
+            <property name="fill">True</property>
+            <property name="position">1</property>
+          </packing>
+        </child>
+      </object>
+      <packing>
+        <property name="expand">False</property>
+        <property name="fill">True</property>
+        <property name="position">4</property>
+      </packing>
+    </child>
+    <child>
+      <object class="GtkCheckButton" id="auto_preview">
+        <property name="label" translatable="yes">Automatic preview</property>
+        <property name="use_action_appearance">False</property>
+        <property name="visible">True</property>
+        <property name="can_focus">True</property>
+        <property name="receives_default">False</property>
+        <property name="use_action_appearance">False</property>
+        <property name="xalign">0</property>
+        <property name="draw_indicator">True</property>
+      </object>
+      <packing>
+        <property name="expand">False</property>
+        <property name="fill">True</property>
+        <property name="position">5</property>
+      </packing>
+    </child>
+  </object>
+</interface>


More information about the Libreoffice-commits mailing list