[Libreoffice-commits] core.git: sc/source sc/uiconfig sc/UIConfig_scalc.mk

Katarina Behrens bubli at bubli.org
Mon Jan 27 15:40:39 PST 2014


 sc/UIConfig_scalc.mk                 |    1 
 sc/source/ui/inc/inscodlg.hxx        |   60 +--
 sc/source/ui/miscdlgs/inscodlg.cxx   |  249 ++++++--------
 sc/source/ui/src/miscdlgs.src        |  205 ------------
 sc/uiconfig/scalc/ui/pastespecial.ui |  586 +++++++++++++++++++++++++++++++++++
 5 files changed, 727 insertions(+), 374 deletions(-)

New commits:
commit c7b9d7d01f4253828311ff102d6a064f51022d01
Author: Katarina Behrens <bubli at bubli.org>
Date:   Tue Jan 28 00:14:27 2014 +0100

    Converted Calc paste special dialog to .ui
    
    Change-Id: Ibe782ed765a20adb34bb6ddd226c3d5ed328e810

diff --git a/sc/UIConfig_scalc.mk b/sc/UIConfig_scalc.mk
index f688073..24e5359 100644
--- a/sc/UIConfig_scalc.mk
+++ b/sc/UIConfig_scalc.mk
@@ -117,6 +117,7 @@ $(eval $(call gb_UIConfig_add_uifiles,modules/scalc,\
 	sc/uiconfig/scalc/ui/optimalrowheightdialog \
 	sc/uiconfig/scalc/ui/optsortlists \
 	sc/uiconfig/scalc/ui/pagetemplatedialog \
+	sc/uiconfig/scalc/ui/pastespecial \
 	sc/uiconfig/scalc/ui/paradialog \
 	sc/uiconfig/scalc/ui/paratemplatedialog \
 	sc/uiconfig/scalc/ui/pivotfielddialog \
diff --git a/sc/source/ui/inc/inscodlg.hxx b/sc/source/ui/inc/inscodlg.hxx
index 1270e3f..e45c9e6 100644
--- a/sc/source/ui/inc/inscodlg.hxx
+++ b/sc/source/ui/inc/inscodlg.hxx
@@ -38,9 +38,9 @@ public:
 
     sal_uInt16      GetInsContentsCmdBits() const;
     sal_uInt16      GetFormulaCmdBits() const;
-    sal_Bool        IsSkipEmptyCells() const {return aBtnSkipEmptyCells.IsChecked();}
-    sal_Bool        IsTranspose() const {return aBtnTranspose.IsChecked();}
-    sal_Bool        IsLink() const {return aBtnLink.IsChecked();}
+    sal_Bool        IsSkipEmptyCells() const {return mpBtnSkipEmptyCells->IsChecked();}
+    sal_Bool        IsTranspose() const {return mpBtnTranspose->IsChecked();}
+    sal_Bool        IsLink() const {return mpBtnLink->IsChecked();}
     InsCellCmd  GetMoveMode();
 
     void    SetOtherDoc( sal_Bool bSet );
@@ -49,38 +49,28 @@ public:
     void    SetCellShiftDisabled( int nDisable );
 
 private:
-    FixedLine       aFlFrame;
-    CheckBox        aBtnInsAll;
-    CheckBox        aBtnInsStrings;
-    CheckBox        aBtnInsNumbers;
-    CheckBox        aBtnInsDateTime;
-    CheckBox        aBtnInsFormulas;
-    CheckBox        aBtnInsNotes;
-    CheckBox        aBtnInsAttrs;
-    CheckBox        aBtnInsObjects;
-
-    FixedLine       aFlSep1;
-    FixedLine       aFlOptions;
-    CheckBox        aBtnSkipEmptyCells;
-    CheckBox        aBtnTranspose;
-    CheckBox        aBtnLink;
-
-    FixedLine       aFlOperation;
-    RadioButton     aRbNoOp;
-    RadioButton     aRbAdd;
-    RadioButton     aRbSub;
-    RadioButton     aRbMul;
-    RadioButton     aRbDiv;
-
-    FixedLine       aFlSep2;
-    FixedLine       aFlMove;
-    RadioButton     aRbMoveNone;
-    RadioButton     aRbMoveDown;
-    RadioButton     aRbMoveRight;
-
-    OKButton        aBtnOk;
-    CancelButton    aBtnCancel;
-    HelpButton      aBtnHelp;
+    CheckBox*        mpBtnInsAll;
+    CheckBox*        mpBtnInsStrings;
+    CheckBox*        mpBtnInsNumbers;
+    CheckBox*        mpBtnInsDateTime;
+    CheckBox*        mpBtnInsFormulas;
+    CheckBox*        mpBtnInsNotes;
+    CheckBox*        mpBtnInsAttrs;
+    CheckBox*        mpBtnInsObjects;
+
+    CheckBox*        mpBtnSkipEmptyCells;
+    CheckBox*        mpBtnTranspose;
+    CheckBox*        mpBtnLink;
+
+    RadioButton*     mpRbNoOp;
+    RadioButton*     mpRbAdd;
+    RadioButton*     mpRbSub;
+    RadioButton*     mpRbMul;
+    RadioButton*     mpRbDiv;
+
+    RadioButton*     mpRbMoveNone;
+    RadioButton*     mpRbMoveDown;
+    RadioButton*     mpRbMoveRight;
 
     sal_Bool            bOtherDoc;
     sal_Bool            bFillMode;
diff --git a/sc/source/ui/miscdlgs/inscodlg.cxx b/sc/source/ui/miscdlgs/inscodlg.cxx
index 5a442ec..0b34132 100644
--- a/sc/source/ui/miscdlgs/inscodlg.cxx
+++ b/sc/source/ui/miscdlgs/inscodlg.cxx
@@ -43,42 +43,33 @@ ScInsertContentsDlg::ScInsertContentsDlg( Window*       pParent,
                                           sal_uInt16        nCheckDefaults,
                                           const OUString* pStrTitle )
 
- :  ModalDialog     ( pParent, ScResId( RID_SCDLG_INSCONT ) ),
-    //
-    aFlFrame        ( this, ScResId( FL_FRAME ) ),
-    aBtnInsAll      ( this, ScResId( BTN_INSALL ) ),
-    aBtnInsStrings  ( this, ScResId( BTN_INSSTRINGS ) ),
-    aBtnInsNumbers  ( this, ScResId( BTN_INSNUMBERS ) ),
-    aBtnInsDateTime ( this, ScResId( BTN_INSDATETIME ) ),
-    aBtnInsFormulas ( this, ScResId( BTN_INSFORMULAS ) ),
-    aBtnInsNotes    ( this, ScResId( BTN_INSNOTES ) ),
-    aBtnInsAttrs    ( this, ScResId( BTN_INSATTRS ) ),
-    aBtnInsObjects  ( this, ScResId( BTN_INSOBJECTS ) ),
-    aFlSep1         ( this, ScResId( FL_SEP1 ) ),
-    aFlOptions      ( this, ScResId( FL_OPTIONS ) ),
-    aBtnSkipEmptyCells( this, ScResId(BTN_SKIP_EMPTY ) ),
-    aBtnTranspose   ( this, ScResId( BTN_TRANSPOSE ) ),
-    aBtnLink        ( this, ScResId( BTN_LINK ) ),
-    aFlOperation    ( this, ScResId( FL_OPERATION ) ),
-    aRbNoOp         ( this, ScResId( BTN_OP_NOOP ) ),
-    aRbAdd          ( this, ScResId( BTN_OP_ADD ) ),
-    aRbSub          ( this, ScResId( BTN_OP_SUB  ) ),
-    aRbMul          ( this, ScResId( BTN_OP_MUL  ) ),
-    aRbDiv          ( this, ScResId( BTN_OP_DIV  ) ),
-    aFlSep2         ( this, ScResId( FL_SEP2 ) ),
-    aFlMove         ( this, ScResId( FL_MOVE ) ),
-    aRbMoveNone     ( this, ScResId( BTN_MV_NONE ) ),
-    aRbMoveDown     ( this, ScResId( BTN_MV_DOWN ) ),
-    aRbMoveRight    ( this, ScResId( BTN_MV_RIGHT ) ),
-    aBtnOk          ( this, ScResId( BTN_OK ) ),
-    aBtnCancel      ( this, ScResId( BTN_CANCEL ) ),
-    aBtnHelp        ( this, ScResId( BTN_HELP ) ),
+ :  ModalDialog     ( pParent, "PasteSpecial", "modules/scalc/ui/pastespecial.ui" ),
     bOtherDoc       ( false ),
     bFillMode       ( false ),
     bChangeTrack    ( false ),
     bMoveDownDisabled( false ),
     bMoveRightDisabled( false )
 {
+    get( mpBtnInsAll, "paste_all" );
+    get( mpBtnInsStrings, "text" );
+    get( mpBtnInsNumbers, "numbers" );
+    get( mpBtnInsDateTime, "datetime" );
+    get( mpBtnInsFormulas, "formulas" );
+    get( mpBtnInsNotes, "comments" );
+    get( mpBtnInsAttrs, "formats" );
+    get( mpBtnInsObjects, "objects" );
+    get( mpBtnSkipEmptyCells, "skip_empty" );
+    get( mpBtnTranspose, "transpose" );
+    get( mpBtnLink, "link" );
+    get( mpRbNoOp, "none" );
+    get( mpRbAdd, "add" );
+    get( mpRbSub, "subtract" );
+    get( mpRbMul, "multiply" );
+    get( mpRbDiv, "divide" );
+    get( mpRbMoveNone, "no_shift" );
+    get( mpRbMoveDown, "move_down" );
+    get( mpRbMoveRight, "move_right" );
+
     if ( pStrTitle )
         SetText( *pStrTitle );
 
@@ -89,52 +80,48 @@ ScInsertContentsDlg::ScInsertContentsDlg( Window*       pParent,
         ScInsertContentsDlg::nPreviousChecks2 = 0;
     }
 
-    aBtnInsAll.Check     ( ScInsertContentsDlg::bPreviousAllCheck );
-    aBtnInsStrings.Check ( IS_SET( IDF_STRING,
+    mpBtnInsAll->Check     ( ScInsertContentsDlg::bPreviousAllCheck );
+    mpBtnInsStrings->Check ( IS_SET( IDF_STRING,
                                    ScInsertContentsDlg::nPreviousChecks ) );
-    aBtnInsNumbers.Check ( IS_SET( IDF_VALUE,
+    mpBtnInsNumbers->Check ( IS_SET( IDF_VALUE,
                                    ScInsertContentsDlg::nPreviousChecks ) );
-    aBtnInsDateTime.Check( IS_SET( IDF_DATETIME,
+    mpBtnInsDateTime->Check( IS_SET( IDF_DATETIME,
                                    ScInsertContentsDlg::nPreviousChecks ) );
-    aBtnInsFormulas.Check( IS_SET( IDF_FORMULA,
+    mpBtnInsFormulas->Check( IS_SET( IDF_FORMULA,
                                    ScInsertContentsDlg::nPreviousChecks ) );
-    aBtnInsNotes.Check   ( IS_SET( IDF_NOTE,
+    mpBtnInsNotes->Check   ( IS_SET( IDF_NOTE,
                                    ScInsertContentsDlg::nPreviousChecks ) );
-    aBtnInsAttrs.Check   ( IS_SET( IDF_ATTRIB,
+    mpBtnInsAttrs->Check   ( IS_SET( IDF_ATTRIB,
                                    ScInsertContentsDlg::nPreviousChecks ) );
-    aBtnInsObjects.Check ( IS_SET( IDF_OBJECTS,
+    mpBtnInsObjects->Check ( IS_SET( IDF_OBJECTS,
                                    ScInsertContentsDlg::nPreviousChecks ) );
 
     switch( ScInsertContentsDlg::nPreviousFormulaChecks )
     {
-        case PASTE_NOFUNC: aRbNoOp.Check(sal_True); break;
-        case PASTE_ADD:    aRbAdd.Check(sal_True); break;
-        case PASTE_SUB:    aRbSub.Check(sal_True); break;
-        case PASTE_MUL:    aRbMul.Check(sal_True); break;
-        case PASTE_DIV:    aRbDiv.Check(sal_True); break;
+        case PASTE_NOFUNC: mpRbNoOp->Check(sal_True); break;
+        case PASTE_ADD:    mpRbAdd->Check(sal_True); break;
+        case PASTE_SUB:    mpRbSub->Check(sal_True); break;
+        case PASTE_MUL:    mpRbMul->Check(sal_True); break;
+        case PASTE_DIV:    mpRbDiv->Check(sal_True); break;
     }
 
     switch( ScInsertContentsDlg::nPreviousMoveMode )
     {
-        case INS_NONE:       aRbMoveNone.Check(sal_True); break;
-        case INS_CELLSDOWN:  aRbMoveDown.Check(sal_True); break;
-        case INS_CELLSRIGHT: aRbMoveRight.Check(sal_True); break;
+        case INS_NONE:       mpRbMoveNone->Check(sal_True); break;
+        case INS_CELLSDOWN:  mpRbMoveDown->Check(sal_True); break;
+        case INS_CELLSRIGHT: mpRbMoveRight->Check(sal_True); break;
     }
 
-    aBtnSkipEmptyCells.Check( ( ScInsertContentsDlg::nPreviousChecks2 & INS_CONT_NOEMPTY ) != 0);
-    aBtnTranspose.Check( ( ScInsertContentsDlg::nPreviousChecks2    & INS_CONT_TRANS ) != 0);
-    aBtnLink.Check( ( ScInsertContentsDlg::nPreviousChecks2             & INS_CONT_LINK  ) != 0);
+    mpBtnSkipEmptyCells->Check( ( ScInsertContentsDlg::nPreviousChecks2 & INS_CONT_NOEMPTY ) != 0);
+    mpBtnTranspose->Check( ( ScInsertContentsDlg::nPreviousChecks2    & INS_CONT_TRANS ) != 0);
+    mpBtnLink->Check( ( ScInsertContentsDlg::nPreviousChecks2             & INS_CONT_LINK  ) != 0);
 
-    DisableChecks( aBtnInsAll.IsChecked() );
+    DisableChecks( mpBtnInsAll->IsChecked() );
 
-    aFlSep1.SetStyle( aFlSep1.GetStyle() | WB_VERT );
-    aFlSep2.SetStyle( aFlSep2.GetStyle() | WB_VERT );
 
-    aBtnInsAll.SetClickHdl( LINK( this, ScInsertContentsDlg, InsAllHdl ) );
-    aBtnLink.SetClickHdl( LINK( this, ScInsertContentsDlg, LinkBtnHdl ) );
+    mpBtnInsAll->SetClickHdl( LINK( this, ScInsertContentsDlg, InsAllHdl ) );
+    mpBtnLink->SetClickHdl( LINK( this, ScInsertContentsDlg, LinkBtnHdl ) );
 
-    //-------------
-    FreeResource();
 }
 
 //------------------------------------------------------------------------
@@ -143,22 +130,22 @@ sal_uInt16 ScInsertContentsDlg::GetInsContentsCmdBits() const
 {
     ScInsertContentsDlg::nPreviousChecks = 0;
 
-    if ( aBtnInsStrings.IsChecked() )
+    if ( mpBtnInsStrings->IsChecked() )
         ScInsertContentsDlg::nPreviousChecks = IDF_STRING;
-    if ( aBtnInsNumbers.IsChecked() )
+    if ( mpBtnInsNumbers->IsChecked() )
         ScInsertContentsDlg::nPreviousChecks |= IDF_VALUE;
-    if ( aBtnInsDateTime.IsChecked())
+    if ( mpBtnInsDateTime->IsChecked())
         ScInsertContentsDlg::nPreviousChecks |= IDF_DATETIME;
-    if ( aBtnInsFormulas.IsChecked())
+    if ( mpBtnInsFormulas->IsChecked())
         ScInsertContentsDlg::nPreviousChecks |= IDF_FORMULA;
-    if ( aBtnInsNotes.IsChecked()   )
+    if ( mpBtnInsNotes->IsChecked()   )
         ScInsertContentsDlg::nPreviousChecks |= IDF_NOTE;
-    if ( aBtnInsAttrs.IsChecked()   )
+    if ( mpBtnInsAttrs->IsChecked()   )
         ScInsertContentsDlg::nPreviousChecks |= IDF_ATTRIB;
-    if ( aBtnInsObjects.IsChecked() )
+    if ( mpBtnInsObjects->IsChecked() )
         ScInsertContentsDlg::nPreviousChecks |= IDF_OBJECTS;
 
-    ScInsertContentsDlg::bPreviousAllCheck = aBtnInsAll.IsChecked();
+    ScInsertContentsDlg::bPreviousAllCheck = mpBtnInsAll->IsChecked();
 
     return ( (ScInsertContentsDlg::bPreviousAllCheck)
                 ? IDF_ALL
@@ -169,9 +156,9 @@ sal_uInt16 ScInsertContentsDlg::GetInsContentsCmdBits() const
 
 InsCellCmd ScInsertContentsDlg::GetMoveMode()
 {
-    if ( aRbMoveDown.IsChecked() )
+    if ( mpRbMoveDown->IsChecked() )
         return INS_CELLSDOWN;
-    if ( aRbMoveRight.IsChecked() )
+    if ( mpRbMoveRight->IsChecked() )
         return INS_CELLSRIGHT;
 
     return INS_NONE;
@@ -183,74 +170,68 @@ void ScInsertContentsDlg::DisableChecks( sal_Bool bInsAllChecked )
 {
     if ( bInsAllChecked )
     {
-        aBtnInsStrings.Disable();
-        aBtnInsNumbers.Disable();
-        aBtnInsDateTime.Disable();
-        aBtnInsFormulas.Disable();
-        aBtnInsNotes.Disable();
-        aBtnInsAttrs.Disable();
-        aBtnInsObjects.Disable();
+        mpBtnInsStrings->Disable();
+        mpBtnInsNumbers->Disable();
+        mpBtnInsDateTime->Disable();
+        mpBtnInsFormulas->Disable();
+        mpBtnInsNotes->Disable();
+        mpBtnInsAttrs->Disable();
+        mpBtnInsObjects->Disable();
     }
     else
     {
-        aBtnInsStrings.Enable();
-        aBtnInsNumbers.Enable();
-        aBtnInsDateTime.Enable();
-        aBtnInsFormulas.Enable();
-        aBtnInsNotes.Enable();
-        aBtnInsAttrs.Enable();
+        mpBtnInsStrings->Enable();
+        mpBtnInsNumbers->Enable();
+        mpBtnInsDateTime->Enable();
+        mpBtnInsFormulas->Enable();
+        mpBtnInsNotes->Enable();
+        mpBtnInsAttrs->Enable();
 
         //  "Objects" is disabled for "Fill Tables"
         if ( bFillMode )
-            aBtnInsObjects.Disable();
+            mpBtnInsObjects->Disable();
         else
-            aBtnInsObjects.Enable();
+            mpBtnInsObjects->Enable();
     }
 }
 
-// Link in anderes Dokument -> alles andere disabled
+// Link to other document -> everything else is disabled
 
 void ScInsertContentsDlg::TestModes()
 {
-    if ( bOtherDoc && aBtnLink.IsChecked() )
+    if ( bOtherDoc && mpBtnLink->IsChecked() )
     {
-        aBtnSkipEmptyCells.Disable();
-        aBtnTranspose.Disable();
-        aRbNoOp.Disable();
-        aRbAdd.Disable();
-        aRbSub.Disable();
-        aRbMul.Disable();
-        aRbDiv.Disable();
-        aFlOperation.Disable();
-
-        aRbMoveNone.Disable();
-        aRbMoveDown.Disable();
-        aRbMoveRight.Disable();
-        aFlMove.Disable();
-
-        aFlFrame.Disable();
-        aBtnInsAll.Disable();
+        mpBtnSkipEmptyCells->Disable();
+        mpBtnTranspose->Disable();
+        mpRbNoOp->Disable();
+        mpRbAdd->Disable();
+        mpRbSub->Disable();
+        mpRbMul->Disable();
+        mpRbDiv->Disable();
+
+        mpRbMoveNone->Disable();
+        mpRbMoveDown->Disable();
+        mpRbMoveRight->Disable();
+
+        mpBtnInsAll->Disable();
         DisableChecks(sal_True);
     }
     else
     {
-        aBtnSkipEmptyCells.Enable();
-        aBtnTranspose.Enable(!bFillMode);
-        aRbNoOp.Enable();
-        aRbAdd.Enable();
-        aRbSub.Enable();
-        aRbMul.Enable();
-        aRbDiv.Enable();
-        aFlOperation.Enable();
-
-        aRbMoveNone.Enable(!bFillMode && !bChangeTrack && !(bMoveDownDisabled && bMoveRightDisabled));
-        aRbMoveDown.Enable(!bFillMode && !bChangeTrack && !bMoveDownDisabled);
-        aRbMoveRight.Enable(!bFillMode && !bChangeTrack && !bMoveRightDisabled);
-        aFlMove.Enable(!bFillMode && !bChangeTrack && !(bMoveDownDisabled && bMoveRightDisabled));
-
-        aFlFrame.Enable();
-        aBtnInsAll.Enable();
-        DisableChecks( aBtnInsAll.IsChecked() );
+        mpBtnSkipEmptyCells->Enable();
+        mpBtnTranspose->Enable(!bFillMode);
+        mpRbNoOp->Enable();
+        mpRbAdd->Enable();
+        mpRbSub->Enable();
+        mpRbMul->Enable();
+        mpRbDiv->Enable();
+
+        mpRbMoveNone->Enable(!bFillMode && !bChangeTrack && !(bMoveDownDisabled && bMoveRightDisabled));
+        mpRbMoveDown->Enable(!bFillMode && !bChangeTrack && !bMoveDownDisabled);
+        mpRbMoveRight->Enable(!bFillMode && !bChangeTrack && !bMoveRightDisabled);
+
+        mpBtnInsAll->Enable();
+        DisableChecks( mpBtnInsAll->IsChecked() );
     }
 }
 
@@ -261,7 +242,7 @@ void ScInsertContentsDlg::SetOtherDoc( sal_Bool bSet )
         bOtherDoc = bSet;
         TestModes();
         if ( bSet )
-            aRbMoveNone.Check(sal_True);
+            mpRbMoveNone->Check(sal_True);
     }
 }
 
@@ -272,7 +253,7 @@ void ScInsertContentsDlg::SetFillMode( sal_Bool bSet )
         bFillMode = bSet;
         TestModes();
         if ( bSet )
-            aRbMoveNone.Check(sal_True);
+            mpRbMoveNone->Check(sal_True);
     }
 }
 
@@ -283,7 +264,7 @@ void ScInsertContentsDlg::SetChangeTrack( sal_Bool bSet )
         bChangeTrack = bSet;
         TestModes();
         if ( bSet )
-            aRbMoveNone.Check(sal_True);
+            mpRbMoveNone->Check(sal_True);
     }
 }
 
@@ -296,10 +277,10 @@ void ScInsertContentsDlg::SetCellShiftDisabled( int nDisable )
         bMoveDownDisabled = bDown;
         bMoveRightDisabled = bRight;
         TestModes();
-        if ( bMoveDownDisabled && aRbMoveDown.IsChecked() )
-            aRbMoveNone.Check(sal_True);
-        if ( bMoveRightDisabled && aRbMoveRight.IsChecked() )
-            aRbMoveNone.Check(sal_True);
+        if ( bMoveDownDisabled && mpRbMoveDown->IsChecked() )
+            mpRbMoveNone->Check(sal_True);
+        if ( bMoveRightDisabled && mpRbMoveRight->IsChecked() )
+            mpRbMoveNone->Check(sal_True);
     }
 }
 
@@ -308,7 +289,7 @@ void ScInsertContentsDlg::SetCellShiftDisabled( int nDisable )
 
 IMPL_LINK_NOARG(ScInsertContentsDlg, InsAllHdl)
 {
-    DisableChecks( aBtnInsAll.IsChecked() );
+    DisableChecks( mpBtnInsAll->IsChecked() );
 
     return 0;
 }
@@ -323,20 +304,20 @@ IMPL_LINK_NOARG(ScInsertContentsDlg, LinkBtnHdl)
 ScInsertContentsDlg::~ScInsertContentsDlg()
 {
     ScInsertContentsDlg::nPreviousChecks2 = 0;
-    if(aBtnSkipEmptyCells.IsChecked())
+    if(mpBtnSkipEmptyCells->IsChecked())
         ScInsertContentsDlg::nPreviousChecks2 |= INS_CONT_NOEMPTY;
-    if( aBtnTranspose.IsChecked())
+    if( mpBtnTranspose->IsChecked())
         ScInsertContentsDlg::nPreviousChecks2 |= INS_CONT_TRANS;
-    if( aBtnLink.IsChecked() )
+    if( mpBtnLink->IsChecked() )
         ScInsertContentsDlg::nPreviousChecks2 |= INS_CONT_LINK;
 
     if (!bFillMode)     // im FillMode ist None gecheckt und alle 3 disabled
     {
-        if ( aRbMoveNone.IsChecked() )
+        if ( mpRbMoveNone->IsChecked() )
             ScInsertContentsDlg::nPreviousMoveMode = INS_NONE;
-        else if ( aRbMoveDown.IsChecked() )
+        else if ( mpRbMoveDown->IsChecked() )
             ScInsertContentsDlg::nPreviousMoveMode = INS_CELLSDOWN;
-        else if ( aRbMoveRight.IsChecked() )
+        else if ( mpRbMoveRight->IsChecked() )
             ScInsertContentsDlg::nPreviousMoveMode = INS_CELLSRIGHT;
     }
 }
@@ -344,13 +325,13 @@ ScInsertContentsDlg::~ScInsertContentsDlg()
 sal_uInt16  ScInsertContentsDlg::GetFormulaCmdBits() const
 {
     ScInsertContentsDlg::nPreviousFormulaChecks = PASTE_NOFUNC;
-    if(aRbAdd.IsChecked())
+    if(mpRbAdd->IsChecked())
         ScInsertContentsDlg::nPreviousFormulaChecks = PASTE_ADD;
-    else if(aRbSub.IsChecked())
+    else if(mpRbSub->IsChecked())
         ScInsertContentsDlg::nPreviousFormulaChecks = PASTE_SUB;
-    else if(aRbMul.IsChecked())
+    else if(mpRbMul->IsChecked())
         ScInsertContentsDlg::nPreviousFormulaChecks = PASTE_MUL;
-    else if(aRbDiv.IsChecked())
+    else if(mpRbDiv->IsChecked())
         ScInsertContentsDlg::nPreviousFormulaChecks = PASTE_DIV;
     // Bits fuer Checkboxen ausblenden
     return ScInsertContentsDlg::nPreviousFormulaChecks;
diff --git a/sc/source/ui/src/miscdlgs.src b/sc/source/ui/src/miscdlgs.src
index be20fb5..20206df 100644
--- a/sc/source/ui/src/miscdlgs.src
+++ b/sc/source/ui/src/miscdlgs.src
@@ -19,211 +19,6 @@
 
 #include "miscdlgs.hrc"
 
-ModalDialog RID_SCDLG_INSCONT
-{
-    OutputSize = TRUE ;
-    HelpId = CMD_FID_INS_CELL_CONTENTS ;
-    SVLook = TRUE ;
-    Size = MAP_APPFONT ( 260 , 187 ) ;
-    Text [ en-US ] = "Paste Special" ;
-    Moveable = TRUE ;
-    Closeable = FALSE ;
-    OKButton BTN_OK
-    {
-        Pos = MAP_APPFONT ( 204 , 6 ) ;
-        Size = MAP_APPFONT ( 50 , 14 ) ;
-        TabStop = TRUE ;
-        DefButton = TRUE ;
-    };
-    CancelButton BTN_CANCEL
-    {
-        Pos = MAP_APPFONT ( 204 , 23 ) ;
-        Size = MAP_APPFONT ( 50 , 14 ) ;
-        TabStop = TRUE ;
-    };
-    HelpButton BTN_HELP
-    {
-        Pos = MAP_APPFONT ( 204 , 43 ) ;
-        Size = MAP_APPFONT ( 50 , 14 ) ;
-        TabStop = TRUE ;
-    };
-    CheckBox BTN_INSALL
-    {
-        HelpID = "sc:CheckBox:RID_SCDLG_INSCONT:BTN_INSALL";
-        Pos = MAP_APPFONT ( 12 , 14 ) ;
-        Size = MAP_APPFONT ( 84 , 10 ) ;
-        Text [ en-US ] = "~Paste all" ;
-        TabStop = TRUE ;
-    };
-    CheckBox BTN_INSSTRINGS
-    {
-        HelpID = "sc:CheckBox:RID_SCDLG_INSCONT:BTN_INSSTRINGS";
-        Pos = MAP_APPFONT ( 12 , 30 ) ;
-        Size = MAP_APPFONT ( 84 , 10 ) ;
-        Text [ en-US ] = "Te~xt" ;
-        TabStop = TRUE ;
-    };
-    CheckBox BTN_INSNUMBERS
-    {
-        HelpID = "sc:CheckBox:RID_SCDLG_INSCONT:BTN_INSNUMBERS";
-        Pos = MAP_APPFONT ( 12 , 44 ) ;
-        Size = MAP_APPFONT ( 84 , 10 ) ;
-        Text [ en-US ] = "~Numbers" ;
-        TabStop = TRUE ;
-    };
-    CheckBox BTN_INSDATETIME
-    {
-        HelpID = "sc:CheckBox:RID_SCDLG_INSCONT:BTN_INSDATETIME";
-        Pos = MAP_APPFONT ( 12 , 58 ) ;
-        Size = MAP_APPFONT ( 84 , 10 ) ;
-        Text [ en-US ] = "~Date & time" ;
-        TabStop = TRUE ;
-    };
-    CheckBox BTN_INSFORMULAS
-    {
-        HelpID = "sc:CheckBox:RID_SCDLG_INSCONT:BTN_INSFORMULAS";
-        Pos = MAP_APPFONT ( 12 , 72 ) ;
-        Size = MAP_APPFONT ( 84 , 10 ) ;
-        Text [ en-US ] = "~Formulas" ;
-        TabStop = TRUE ;
-    };
-    CheckBox BTN_INSATTRS
-    {
-        HelpID = "sc:CheckBox:RID_SCDLG_INSCONT:BTN_INSATTRS";
-        Pos = MAP_APPFONT ( 12 , 100 ) ;
-        Size = MAP_APPFONT ( 84 , 10 ) ;
-        Text [ en-US ] = "For~mats" ;
-        TabStop = TRUE ;
-    };
-    CheckBox BTN_INSOBJECTS
-    {
-        HelpID = "sc:CheckBox:RID_SCDLG_INSCONT:BTN_INSOBJECTS";
-        Pos = MAP_APPFONT ( 12 , 114 ) ;
-        Size = MAP_APPFONT ( 84 , 10 ) ;
-        Text [ en-US ] = "~Objects" ;
-        TabStop = TRUE ;
-    };
-    CheckBox BTN_INSNOTES
-    {
-        HelpID = "sc:CheckBox:RID_SCDLG_INSCONT:BTN_INSNOTES";
-        Pos = MAP_APPFONT ( 12 , 86 ) ;
-        Size = MAP_APPFONT ( 84 , 10 ) ;
-        Text [ en-US ] = "~Comments" ;
-        TabStop = TRUE ;
-    };
-    FixedLine FL_FRAME
-    {
-        Pos = MAP_APPFONT ( 6 , 3 ) ;
-        Size = MAP_APPFONT ( 93 , 8 ) ;
-        Text [ en-US ] = "Selection" ;
-    };
-    RadioButton BTN_OP_NOOP
-    {
-        HelpID = "sc:RadioButton:RID_SCDLG_INSCONT:BTN_OP_NOOP";
-        Pos = MAP_APPFONT ( 111 , 14 ) ;
-        Size = MAP_APPFONT ( 83 , 10 ) ;
-        Text [ en-US ] = "Non~e" ;
-    };
-    RadioButton BTN_OP_ADD
-    {
-        HelpID = "sc:RadioButton:RID_SCDLG_INSCONT:BTN_OP_ADD";
-        Pos = MAP_APPFONT ( 111 , 30 ) ;
-        Size = MAP_APPFONT ( 83 , 10 ) ;
-        Text [ en-US ] = "~Add" ;
-    };
-    RadioButton BTN_OP_SUB
-    {
-        HelpID = "sc:RadioButton:RID_SCDLG_INSCONT:BTN_OP_SUB";
-        Pos = MAP_APPFONT ( 111 , 44 ) ;
-        Size = MAP_APPFONT ( 83 , 10 ) ;
-        Text [ en-US ] = "~Subtract" ;
-    };
-    RadioButton BTN_OP_MUL
-    {
-        HelpID = "sc:RadioButton:RID_SCDLG_INSCONT:BTN_OP_MUL";
-        Pos = MAP_APPFONT ( 111 , 58 ) ;
-        Size = MAP_APPFONT ( 83 , 10 ) ;
-        Text [ en-US ] = "Multipl~y" ;
-    };
-    RadioButton BTN_OP_DIV
-    {
-        HelpID = "sc:RadioButton:RID_SCDLG_INSCONT:BTN_OP_DIV";
-        Pos = MAP_APPFONT ( 111 , 72 ) ;
-        Size = MAP_APPFONT ( 83 , 10 ) ;
-        Text [ en-US ] = "Di~vide" ;
-    };
-    FixedLine FL_OPERATION
-    {
-        Pos = MAP_APPFONT ( 105 , 3 ) ;
-        Size = MAP_APPFONT ( 93 , 8 ) ;
-        Text [ en-US ] = "Operations" ;
-    };
-    CheckBox BTN_SKIP_EMPTY
-    {
-        HelpID = "sc:CheckBox:RID_SCDLG_INSCONT:BTN_SKIP_EMPTY";
-        Pos = MAP_APPFONT ( 12 , 141 ) ;
-        Size = MAP_APPFONT ( 84 , 10 ) ;
-        Text [ en-US ] = "S~kip empty cells" ;
-    };
-    CheckBox BTN_TRANSPOSE
-    {
-        HelpID = "sc:CheckBox:RID_SCDLG_INSCONT:BTN_TRANSPOSE";
-        Pos = MAP_APPFONT ( 12 , 155 ) ;
-        Size = MAP_APPFONT ( 84 , 10 ) ;
-        Text [ en-US ] = "~Transpose" ;
-    };
-    CheckBox BTN_LINK
-    {
-        HelpID = "sc:CheckBox:RID_SCDLG_INSCONT:BTN_LINK";
-        Pos = MAP_APPFONT ( 12 , 169 ) ;
-        Size = MAP_APPFONT ( 84 , 10 ) ;
-        Text [ en-US ] = "~Link" ;
-    };
-    FixedLine FL_OPTIONS
-    {
-        Pos = MAP_APPFONT ( 6 , 130 ) ;
-        Size = MAP_APPFONT ( 93 , 8 ) ;
-        Text [ en-US ] = "Options" ;
-    };
-    RadioButton BTN_MV_NONE
-    {
-        HelpID = "sc:RadioButton:RID_SCDLG_INSCONT:BTN_MV_NONE";
-        Pos = MAP_APPFONT ( 111 , 141 ) ;
-        Size = MAP_APPFONT ( 83 , 10 ) ;
-        Text [ en-US ] = "Don't sh~ift" ;
-    };
-    RadioButton BTN_MV_DOWN
-    {
-        HelpID = "sc:RadioButton:RID_SCDLG_INSCONT:BTN_MV_DOWN";
-        Pos = MAP_APPFONT ( 111 , 155 ) ;
-        Size = MAP_APPFONT ( 83 , 10 ) ;
-        Text [ en-US ] = "Do~wn" ;
-    };
-    RadioButton BTN_MV_RIGHT
-    {
-        HelpID = "sc:RadioButton:RID_SCDLG_INSCONT:BTN_MV_RIGHT";
-        Pos = MAP_APPFONT ( 111 , 169 ) ;
-        Size = MAP_APPFONT ( 83 , 10 ) ;
-        Text [ en-US ] = "~Right" ;
-    };
-    FixedLine FL_MOVE
-    {
-        Pos = MAP_APPFONT ( 105 , 130 ) ;
-        Size = MAP_APPFONT ( 93 , 8 ) ;
-        Text [ en-US ] = "Shift cells" ;
-    };
-    FixedLine FL_SEP1
-    {
-        Pos = MAP_APPFONT( 102 , 14 ) ;
-        Size = MAP_APPFONT( 1 , 96 ) ;
-    };
-    FixedLine FL_SEP2
-    {
-        Pos = MAP_APPFONT( 102 , 127 ) ;
-        Size = MAP_APPFONT( 1 , 38 ) ;
-    };
-};
-
 ModalDialog RID_SCDLG_CHARTCOLROW
 {
     HelpID = "sc:ModalDialog:RID_SCDLG_CHARTCOLROW";
diff --git a/sc/uiconfig/scalc/ui/pastespecial.ui b/sc/uiconfig/scalc/ui/pastespecial.ui
new file mode 100644
index 0000000..01559c1
--- /dev/null
+++ b/sc/uiconfig/scalc/ui/pastespecial.ui
@@ -0,0 +1,586 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<interface>
+  <!-- interface-requires gtk+ 3.0 -->
+  <object class="GtkDialog" id="PasteSpecial">
+    <property name="can_focus">False</property>
+    <property name="border_width">6</property>
+    <property name="title" translatable="yes">Paste Special</property>
+    <property name="type_hint">dialog</property>
+    <child internal-child="vbox">
+      <object class="GtkBox" id="dialog-vbox1">
+        <property name="can_focus">False</property>
+        <property name="orientation">vertical</property>
+        <property name="spacing">12</property>
+        <child internal-child="action_area">
+          <object class="GtkButtonBox" id="dialog-action_area1">
+            <property name="can_focus">False</property>
+            <property name="layout_style">end</property>
+            <child>
+              <object class="GtkButton" id="ok">
+                <property name="label">gtk-ok</property>
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="has_default">True</property>
+                <property name="receives_default">True</property>
+                <property name="use_stock">True</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="cancel">
+                <property name="label">gtk-cancel</property>
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="receives_default">True</property>
+                <property name="use_stock">True</property>
+              </object>
+              <packing>
+                <property name="expand">False</property>
+                <property name="fill">True</property>
+                <property name="position">1</property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkButton" id="help">
+                <property name="label">gtk-help</property>
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="receives_default">True</property>
+                <property name="use_stock">True</property>
+              </object>
+              <packing>
+                <property name="expand">False</property>
+                <property name="fill">True</property>
+                <property name="position">2</property>
+              </packing>
+            </child>
+          </object>
+          <packing>
+            <property name="expand">False</property>
+            <property name="fill">True</property>
+            <property name="pack_type">end</property>
+            <property name="position">0</property>
+          </packing>
+        </child>
+        <child>
+          <object class="GtkGrid" id="grid1">
+            <property name="visible">True</property>
+            <property name="can_focus">False</property>
+            <property name="row_spacing">6</property>
+            <property name="column_spacing">12</property>
+            <child>
+              <object class="GtkFrame" id="frame1">
+                <property name="visible">True</property>
+                <property name="can_focus">False</property>
+                <property name="hexpand">True</property>
+                <property name="vexpand">True</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="left_padding">12</property>
+                    <property name="top_padding">6</property>
+                    <child>
+                      <object class="GtkBox" id="box1">
+                        <property name="visible">True</property>
+                        <property name="can_focus">False</property>
+                        <property name="orientation">vertical</property>
+                        <property name="spacing">6</property>
+                        <child>
+                          <object class="GtkCheckButton" id="paste_all">
+                            <property name="label" translatable="yes">_Paste all</property>
+                            <property name="visible">True</property>
+                            <property name="can_focus">True</property>
+                            <property name="receives_default">False</property>
+                            <property name="use_underline">True</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">0</property>
+                          </packing>
+                        </child>
+                        <child>
+                          <object class="GtkCheckButton" id="text">
+                            <property name="label" translatable="yes">Te_xt</property>
+                            <property name="visible">True</property>
+                            <property name="can_focus">True</property>
+                            <property name="receives_default">False</property>
+                            <property name="use_underline">True</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">1</property>
+                          </packing>
+                        </child>
+                        <child>
+                          <object class="GtkCheckButton" id="numbers">
+                            <property name="label" translatable="yes">_Numbers</property>
+                            <property name="visible">True</property>
+                            <property name="can_focus">True</property>
+                            <property name="receives_default">False</property>
+                            <property name="use_underline">True</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>
+                        <child>
+                          <object class="GtkCheckButton" id="datetime">
+                            <property name="label" translatable="yes">_Date & time</property>
+                            <property name="visible">True</property>
+                            <property name="can_focus">True</property>
+                            <property name="receives_default">False</property>
+                            <property name="use_underline">True</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">3</property>
+                          </packing>
+                        </child>
+                        <child>
+                          <object class="GtkCheckButton" id="formulas">
+                            <property name="label" translatable="yes">_Formulas</property>
+                            <property name="visible">True</property>
+                            <property name="can_focus">True</property>
+                            <property name="receives_default">False</property>
+                            <property name="use_underline">True</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">4</property>
+                          </packing>
+                        </child>
+                        <child>
+                          <object class="GtkCheckButton" id="comments">
+                            <property name="label" translatable="yes">_Comments</property>
+                            <property name="visible">True</property>
+                            <property name="can_focus">True</property>
+                            <property name="receives_default">False</property>
+                            <property name="use_underline">True</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>
+                        <child>
+                          <object class="GtkCheckButton" id="formats">
+                            <property name="label" translatable="yes">For_mats</property>
+                            <property name="visible">True</property>
+                            <property name="can_focus">True</property>
+                            <property name="receives_default">False</property>
+                            <property name="use_underline">True</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">6</property>
+                          </packing>
+                        </child>
+                        <child>
+                          <object class="GtkCheckButton" id="objects">
+                            <property name="label" translatable="yes">_Objects</property>
+                            <property name="visible">True</property>
+                            <property name="can_focus">True</property>
+                            <property name="receives_default">False</property>
+                            <property name="use_underline">True</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">7</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">Selection</property>
+                    <attributes>
+                      <attribute name="weight" value="bold"/>
+                    </attributes>
+                  </object>
+                </child>
+              </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="GtkFrame" id="frame2">
+                <property name="visible">True</property>
+                <property name="can_focus">False</property>
+                <property name="hexpand">True</property>
+                <property name="vexpand">True</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="left_padding">12</property>
+                    <property name="top_padding">6</property>
+                    <child>
+                      <object class="GtkBox" id="box4">
+                        <property name="visible">True</property>
+                        <property name="can_focus">False</property>
+                        <property name="orientation">vertical</property>
+                        <property name="spacing">6</property>
+                        <child>
+                          <object class="GtkRadioButton" id="none">
+                            <property name="label" translatable="yes">Non_e</property>
+                            <property name="visible">True</property>
+                            <property name="can_focus">True</property>
+                            <property name="receives_default">False</property>
+                            <property name="use_underline">True</property>
+                            <property name="xalign">0</property>
+                            <property name="active">True</property>
+                            <property name="draw_indicator">True</property>
+                            <property name="group">none</property>
+                          </object>
+                          <packing>
+                            <property name="expand">False</property>
+                            <property name="fill">True</property>
+                            <property name="position">0</property>
+                          </packing>
+                        </child>
+                        <child>
+                          <object class="GtkRadioButton" id="add">
+                            <property name="label" translatable="yes">_Add</property>
+                            <property name="visible">True</property>
+                            <property name="can_focus">True</property>
+                            <property name="receives_default">False</property>
+                            <property name="use_underline">True</property>
+                            <property name="xalign">0</property>
+                            <property name="active">True</property>
+                            <property name="draw_indicator">True</property>
+                            <property name="group">none</property>
+                          </object>
+                          <packing>
+                            <property name="expand">False</property>
+                            <property name="fill">True</property>
+                            <property name="position">1</property>
+                          </packing>
+                        </child>
+                        <child>
+                          <object class="GtkRadioButton" id="subtract">
+                            <property name="label" translatable="yes">_Subtract</property>
+                            <property name="visible">True</property>
+                            <property name="can_focus">True</property>
+                            <property name="receives_default">False</property>
+                            <property name="use_underline">True</property>
+                            <property name="xalign">0</property>
+                            <property name="active">True</property>
+                            <property name="draw_indicator">True</property>
+                            <property name="group">none</property>
+                          </object>
+                          <packing>
+                            <property name="expand">False</property>
+                            <property name="fill">True</property>
+                            <property name="position">2</property>
+                          </packing>
+                        </child>
+                        <child>
+                          <object class="GtkRadioButton" id="multiply">
+                            <property name="label" translatable="yes">Multipl_y</property>
+                            <property name="visible">True</property>
+                            <property name="can_focus">True</property>
+                            <property name="receives_default">False</property>
+                            <property name="use_underline">True</property>
+                            <property name="xalign">0</property>
+                            <property name="active">True</property>
+                            <property name="draw_indicator">True</property>
+                            <property name="group">none</property>
+                          </object>
+                          <packing>
+                            <property name="expand">False</property>
+                            <property name="fill">True</property>
+                            <property name="position">3</property>
+                          </packing>
+                        </child>
+                        <child>
+                          <object class="GtkRadioButton" id="divide">
+                            <property name="label" translatable="yes">Di_vide</property>
+                            <property name="visible">True</property>
+                            <property name="can_focus">True</property>
+                            <property name="receives_default">False</property>
+                            <property name="use_underline">True</property>
+                            <property name="xalign">0</property>
+                            <property name="active">True</property>
+                            <property name="draw_indicator">True</property>
+                            <property name="group">none</property>
+                          </object>
+                          <packing>
+                            <property name="expand">False</property>
+                            <property name="fill">True</property>
+                            <property name="position">4</property>
+                          </packing>
+                        </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">Operations</property>
+                    <attributes>
+                      <attribute name="weight" value="bold"/>
+                    </attributes>
+                  </object>
+                </child>
+              </object>
+              <packing>
+                <property name="left_attach">1</property>
+                <property name="top_attach">0</property>
+                <property name="width">1</property>
+                <property name="height">1</property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkFrame" id="frame3">
+                <property name="visible">True</property>
+                <property name="can_focus">False</property>
+                <property name="hexpand">True</property>
+                <property name="vexpand">True</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="left_padding">12</property>
+                    <property name="top_padding">6</property>
+                    <child>
+                      <object class="GtkBox" id="box3">
+                        <property name="visible">True</property>
+                        <property name="can_focus">False</property>
+                        <property name="orientation">vertical</property>
+                        <property name="spacing">6</property>
+                        <child>
+                          <object class="GtkCheckButton" id="skip_empty">
+                            <property name="label" translatable="yes">S_kip empty cells</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="use_underline">True</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">0</property>
+                          </packing>
+                        </child>
+                        <child>
+                          <object class="GtkCheckButton" id="transpose">
+                            <property name="label" translatable="yes">_Transpose</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="use_underline">True</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">1</property>
+                          </packing>
+                        </child>
+                        <child>
+                          <object class="GtkCheckButton" id="link">
+                            <property name="label" translatable="yes">_Link</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="use_underline">True</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="label3">
+                    <property name="visible">True</property>
+                    <property name="can_focus">False</property>
+                    <property name="label" translatable="yes">Options</property>
+                    <attributes>
+                      <attribute name="weight" value="bold"/>
+                    </attributes>
+                  </object>
+                </child>
+              </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="GtkFrame" id="frame4">
+                <property name="visible">True</property>
+                <property name="can_focus">False</property>
+                <property name="hexpand">True</property>
+                <property name="vexpand">True</property>
+                <property name="label_xalign">0</property>
+                <property name="shadow_type">none</property>
+                <child>
+                  <object class="GtkAlignment" id="alignment4">
+                    <property name="visible">True</property>
+                    <property name="can_focus">False</property>
+                    <property name="left_padding">12</property>
+                    <property name="top_padding">6</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">6</property>
+                        <child>
+                          <object class="GtkRadioButton" id="no_shift">
+                            <property name="label" translatable="yes">Don't sh_ift</property>
+                            <property name="visible">True</property>
+                            <property name="can_focus">True</property>
+                            <property name="receives_default">False</property>
+                            <property name="use_underline">True</property>
+                            <property name="xalign">0</property>
+                            <property name="active">True</property>
+                            <property name="draw_indicator">True</property>
+                            <property name="group">no_shift</property>
+                          </object>
+                          <packing>
+                            <property name="expand">False</property>
+                            <property name="fill">True</property>
+                            <property name="position">0</property>
+                          </packing>
+                        </child>
+                        <child>
+                          <object class="GtkRadioButton" id="move_down">
+                            <property name="label" translatable="yes">Do_wn</property>
+                            <property name="visible">True</property>
+                            <property name="can_focus">True</property>
+                            <property name="receives_default">False</property>
+                            <property name="use_underline">True</property>
+                            <property name="xalign">0</property>
+                            <property name="active">True</property>
+                            <property name="draw_indicator">True</property>
+                            <property name="group">no_shift</property>
+                          </object>
+                          <packing>
+                            <property name="expand">False</property>
+                            <property name="fill">True</property>
+                            <property name="position">1</property>
+                          </packing>
+                        </child>
+                        <child>
+                          <object class="GtkRadioButton" id="move_right">
+                            <property name="label" translatable="yes">_Right</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="use_underline">True</property>
+                            <property name="xalign">0</property>
+                            <property name="active">True</property>
+                            <property name="draw_indicator">True</property>
+                            <property name="group">no_shift</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="label4">
+                    <property name="visible">True</property>
+                    <property name="can_focus">False</property>
+                    <property name="label" translatable="yes">Shift cells</property>
+                    <attributes>
+                      <attribute name="weight" value="bold"/>
+                    </attributes>
+                  </object>
+                </child>
+              </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>
+          </object>
+          <packing>
+            <property name="expand">False</property>
+            <property name="fill">True</property>
+            <property name="position">1</property>
+          </packing>
+        </child>
+      </object>
+    </child>
+    <action-widgets>
+      <action-widget response="0">ok</action-widget>
+      <action-widget response="0">cancel</action-widget>
+      <action-widget response="0">help</action-widget>
+    </action-widgets>
+  </object>
+</interface>


More information about the Libreoffice-commits mailing list