[PATCH] convert half of optfltr.src to .ui

Andras Timar (via Code Review) gerrit at gerrit.libreoffice.org
Sun Mar 24 05:05:47 PDT 2013


Hi,

I have submitted a patch for review:

    https://gerrit.libreoffice.org/2961

To pull it, you can do:

    git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/61/2961/1

convert half of optfltr.src to .ui

Converted the "VBA Properties" half of optfltr.src to optfltrpage.ui.

Change-Id: Ie200377f2956aa243b1be859eb52972b79e9dc66
---
M cui/UI_cui.mk
M cui/source/options/optfltr.cxx
M cui/source/options/optfltr.hrc
M cui/source/options/optfltr.hxx
M cui/source/options/optfltr.src
A cui/uiconfig/ui/optfltrpage.ui
6 files changed, 308 insertions(+), 161 deletions(-)



diff --git a/cui/UI_cui.mk b/cui/UI_cui.mk
index fff3fda..c3b6fe7 100644
--- a/cui/UI_cui.mk
+++ b/cui/UI_cui.mk
@@ -37,6 +37,7 @@
 	cui/uiconfig/ui/optaccessibilitypage \
 	cui/uiconfig/ui/optadvancedpage \
 	cui/uiconfig/ui/optappearancepage \
+	cui/uiconfig/ui/optfltrpage \
 	cui/uiconfig/ui/optfontspage \
 	cui/uiconfig/ui/optgeneralpage \
 	cui/uiconfig/ui/optmemorypage \
diff --git a/cui/source/options/optfltr.cxx b/cui/source/options/optfltr.cxx
index df2d57e..2271fab 100644
--- a/cui/source/options/optfltr.cxx
+++ b/cui/source/options/optfltr.cxx
@@ -39,23 +39,19 @@
 // -----------------------------------------------------------------------
 
 OfaMSFilterTabPage::OfaMSFilterTabPage(Window* pParent, const SfxItemSet& rSet)
-    : SfxTabPage( pParent, CUI_RES( RID_OFAPAGE_MSFILTEROPT ), rSet ),
-    aMSWordGB       ( this, CUI_RES( GB_WORD        ) ),
-    aWBasicCodeCB   ( this, CUI_RES( CB_WBAS_CODE ) ),
-    aWBasicWbctblCB ( this, CUI_RES( CB_WBAS_WBCTBL ) ),
-    aWBasicStgCB    ( this, CUI_RES( CB_WBAS_STG  ) ),
-    aMSExcelGB      ( this, CUI_RES( GB_EXCEL     ) ),
-    aEBasicCodeCB   ( this, CUI_RES( CB_EBAS_CODE ) ),
-    aEBasicExectblCB( this, CUI_RES( CB_EBAS_EXECTBL ) ),
-    aEBasicStgCB    ( this, CUI_RES( CB_EBAS_STG  ) ),
-    aMSPPointGB     ( this, CUI_RES( GB_PPOINT    ) ),
-    aPBasicCodeCB   ( this, CUI_RES( CB_PBAS_CODE ) ),
-    aPBasicStgCB    ( this, CUI_RES( CB_PBAS_STG  ) )
+    : SfxTabPage( pParent, "OptFltrPage", "cui/ui/optfltrpage.ui", rSet )
 {
-    FreeResource();
+    get( aWBasicCodeCB      , "wo_basic"    );
+    get( aWBasicWbctblCB    , "wo_exec"     );
+    get( aWBasicStgCB       , "wo_saveorig" );
+    get( aEBasicCodeCB      , "ex_basic"    );
+    get( aEBasicExectblCB   , "ex_exec"     );
+    get( aEBasicStgCB       , "ex_saveorig" );
+    get( aPBasicCodeCB      , "pp_basic"    );
+    get( aPBasicStgCB       , "pp_saveorig" );
 
-    aWBasicCodeCB.SetClickHdl( LINK( this, OfaMSFilterTabPage, LoadWordBasicCheckHdl_Impl ) );
-    aEBasicCodeCB.SetClickHdl( LINK( this, OfaMSFilterTabPage, LoadExcelBasicCheckHdl_Impl ) );
+    aWBasicCodeCB->SetClickHdl( LINK( this, OfaMSFilterTabPage, LoadWordBasicCheckHdl_Impl ) );
+    aEBasicCodeCB->SetClickHdl( LINK( this, OfaMSFilterTabPage, LoadExcelBasicCheckHdl_Impl ) );
 }
 
 OfaMSFilterTabPage::~OfaMSFilterTabPage()
@@ -64,13 +60,13 @@
 
 IMPL_LINK_NOARG(OfaMSFilterTabPage, LoadWordBasicCheckHdl_Impl)
 {
-    aWBasicWbctblCB.Enable( aWBasicCodeCB.IsChecked() );
+    aWBasicWbctblCB->Enable( aWBasicCodeCB->IsChecked() );
     return 0;
 }
 
 IMPL_LINK_NOARG(OfaMSFilterTabPage, LoadExcelBasicCheckHdl_Impl)
 {
-    aEBasicExectblCB.Enable( aEBasicCodeCB.IsChecked() );
+    aEBasicExectblCB->Enable( aEBasicCodeCB->IsChecked() );
     return 0;
 }
 
@@ -85,23 +81,23 @@
     SvtFilterOptions& rOpt = SvtFilterOptions::Get();
 
     sal_Bool bFlag;
-    if( aWBasicCodeCB.GetSavedValue() != (bFlag = aWBasicCodeCB.IsChecked()))
+    if( aWBasicCodeCB->GetSavedValue() != (bFlag = aWBasicCodeCB->IsChecked()))
         rOpt.SetLoadWordBasicCode( bFlag );
-    if( aWBasicWbctblCB.GetSavedValue() != (bFlag = aWBasicWbctblCB.IsChecked()))
+    if( aWBasicWbctblCB->GetSavedValue() != (bFlag = aWBasicWbctblCB->IsChecked()))
         rOpt.SetLoadWordBasicExecutable( bFlag );
-    if( aWBasicStgCB.GetSavedValue() != (bFlag = aWBasicStgCB.IsChecked()))
+    if( aWBasicStgCB->GetSavedValue() != (bFlag = aWBasicStgCB->IsChecked()))
         rOpt.SetLoadWordBasicStorage( bFlag );
 
-    if( aEBasicCodeCB.GetSavedValue() != (bFlag = aEBasicCodeCB.IsChecked()))
+    if( aEBasicCodeCB->GetSavedValue() != (bFlag = aEBasicCodeCB->IsChecked()))
         rOpt.SetLoadExcelBasicCode( bFlag );
-    if( aEBasicExectblCB.GetSavedValue() != (bFlag = aEBasicExectblCB.IsChecked()))
+    if( aEBasicExectblCB->GetSavedValue() != (bFlag = aEBasicExectblCB->IsChecked()))
         rOpt.SetLoadExcelBasicExecutable( bFlag );
-    if( aEBasicStgCB.GetSavedValue() != (bFlag = aEBasicStgCB.IsChecked()))
+    if( aEBasicStgCB->GetSavedValue() != (bFlag = aEBasicStgCB->IsChecked()))
         rOpt.SetLoadExcelBasicStorage( bFlag );
 
-    if( aPBasicCodeCB.GetSavedValue() != (bFlag = aPBasicCodeCB.IsChecked()))
+    if( aPBasicCodeCB->GetSavedValue() != (bFlag = aPBasicCodeCB->IsChecked()))
         rOpt.SetLoadPPointBasicCode( bFlag );
-    if( aPBasicStgCB.GetSavedValue() != (bFlag = aPBasicStgCB.IsChecked()))
+    if( aPBasicStgCB->GetSavedValue() != (bFlag = aPBasicStgCB->IsChecked()))
         rOpt.SetLoadPPointBasicStorage( bFlag );
 
     return sal_False;
@@ -111,26 +107,26 @@
 {
     const SvtFilterOptions& rOpt = SvtFilterOptions::Get();
 
-    aWBasicCodeCB.Check( rOpt.IsLoadWordBasicCode() );
-    aWBasicCodeCB.SaveValue();
-    aWBasicWbctblCB.Check( rOpt.IsLoadWordBasicExecutable() );
-    aWBasicWbctblCB.SaveValue();
-    aWBasicStgCB.Check( rOpt.IsLoadWordBasicStorage() );
-    aWBasicStgCB.SaveValue();
-    LoadWordBasicCheckHdl_Impl( &aWBasicCodeCB );
+    aWBasicCodeCB->Check( rOpt.IsLoadWordBasicCode() );
+    aWBasicCodeCB->SaveValue();
+    aWBasicWbctblCB->Check( rOpt.IsLoadWordBasicExecutable() );
+    aWBasicWbctblCB->SaveValue();
+    aWBasicStgCB->Check( rOpt.IsLoadWordBasicStorage() );
+    aWBasicStgCB->SaveValue();
+    LoadWordBasicCheckHdl_Impl( aWBasicCodeCB );
 
-    aEBasicCodeCB.Check( rOpt.IsLoadExcelBasicCode() );
-    aEBasicCodeCB.SaveValue();
-    aEBasicExectblCB.Check( rOpt.IsLoadExcelBasicExecutable() );
-    aEBasicExectblCB.SaveValue();
-    aEBasicStgCB.Check( rOpt.IsLoadExcelBasicStorage() );
-    aEBasicStgCB.SaveValue();
-    LoadExcelBasicCheckHdl_Impl( &aEBasicCodeCB );
+    aEBasicCodeCB->Check( rOpt.IsLoadExcelBasicCode() );
+    aEBasicCodeCB->SaveValue();
+    aEBasicExectblCB->Check( rOpt.IsLoadExcelBasicExecutable() );
+    aEBasicExectblCB->SaveValue();
+    aEBasicStgCB->Check( rOpt.IsLoadExcelBasicStorage() );
+    aEBasicStgCB->SaveValue();
+    LoadExcelBasicCheckHdl_Impl( aEBasicCodeCB );
 
-    aPBasicCodeCB.Check( rOpt.IsLoadPPointBasicCode() );
-    aPBasicCodeCB.SaveValue();
-    aPBasicStgCB.Check( rOpt.IsLoadPPointBasicStorage() );
-    aPBasicStgCB.SaveValue();
+    aPBasicCodeCB->Check( rOpt.IsLoadPPointBasicCode() );
+    aPBasicCodeCB->SaveValue();
+    aPBasicStgCB->Check( rOpt.IsLoadPPointBasicStorage() );
+    aPBasicStgCB->SaveValue();
 }
 
 OfaMSFilterTabPage2::OfaMSFilterTabPage2( Window* pParent,
diff --git a/cui/source/options/optfltr.hrc b/cui/source/options/optfltr.hrc
index 9f1c01c..f1bf33a 100644
--- a/cui/source/options/optfltr.hrc
+++ b/cui/source/options/optfltr.hrc
@@ -21,19 +21,6 @@
 
 // defines ------------------------------------------------------------------
 
-#define GB_WORD         1
-#define GB_EXCEL        2
-#define GB_PPOINT       3
-
-#define CB_WBAS_CODE    1
-#define CB_WBAS_STG     2
-#define CB_EBAS_CODE    3
-#define CB_EBAS_EXECTBL 4
-#define CB_EBAS_STG     5
-#define CB_PBAS_CODE    6
-#define CB_PBAS_STG     7
-#define CB_WBAS_WBCTBL  8
-
 #define CLB_SETTINGS    1
 #define ST_CHG_MATH     1
 #define ST_CHG_WRITER   2
diff --git a/cui/source/options/optfltr.hxx b/cui/source/options/optfltr.hxx
index 655bc10..fb4fd06 100644
--- a/cui/source/options/optfltr.hxx
+++ b/cui/source/options/optfltr.hxx
@@ -29,17 +29,14 @@
 
 class OfaMSFilterTabPage : public SfxTabPage
 {
-    FixedLine       aMSWordGB;
-    CheckBox        aWBasicCodeCB;
-    CheckBox        aWBasicWbctblCB;
-    CheckBox        aWBasicStgCB;
-    FixedLine       aMSExcelGB;
-    CheckBox        aEBasicCodeCB;
-    CheckBox        aEBasicExectblCB;
-    CheckBox        aEBasicStgCB;
-    FixedLine       aMSPPointGB;
-    CheckBox        aPBasicCodeCB;
-    CheckBox        aPBasicStgCB;
+    CheckBox*       aWBasicCodeCB;
+    CheckBox*       aWBasicWbctblCB;
+    CheckBox*       aWBasicStgCB;
+    CheckBox*       aEBasicCodeCB;
+    CheckBox*       aEBasicExectblCB;
+    CheckBox*       aEBasicStgCB;
+    CheckBox*       aPBasicCodeCB;
+    CheckBox*       aPBasicStgCB;
 
     OfaMSFilterTabPage( Window* pParent, const SfxItemSet& rSet );
     virtual ~OfaMSFilterTabPage();
diff --git a/cui/source/options/optfltr.src b/cui/source/options/optfltr.src
index 2084005..f1d3ae3 100644
--- a/cui/source/options/optfltr.src
+++ b/cui/source/options/optfltr.src
@@ -20,100 +20,6 @@
 #include "optfltr.hrc"
 #include <cuires.hrc>
 
-// RID_OFAPAGE_MSFILTEROPT -----------------------------------------------------
-TabPage RID_OFAPAGE_MSFILTEROPT
-{
-    HelpID = "cui:TabPage:RID_OFAPAGE_MSFILTEROPT";
-    OutputSize = TRUE ;
-    Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ;
-    SVLook = TRUE ;
-    Hide = TRUE ;
-
-    FixedLine GB_WORD
-    {
-        Pos = MAP_APPFONT ( 6 , 3 ) ;
-        Size = MAP_APPFONT ( 248 , 8 ) ;
-        Text [ en-US ] = "Microsoft Word 97/2000/XP";
-    };
-    CheckBox CB_WBAS_CODE
-    {
-        HelpID = "cui:CheckBox:RID_OFAPAGE_MSFILTEROPT:CB_WBAS_CODE";
-        Pos = MAP_APPFONT ( 12 , 14 ) ;
-        Size = MAP_APPFONT ( 236 , 10 ) ;
-        TabStop = TRUE ;
-        Text [ en-US ] = "Load Basic ~code";
-    };
-    CheckBox CB_WBAS_WBCTBL
-    {
-        Pos = MAP_APPFONT ( 22 , 28 ) ;
-        Size = MAP_APPFONT ( 236 , 10 ) ;
-        TabStop = TRUE ;
-        Text [ en-US ] = "E~xecutable code";
-    };
-    CheckBox CB_WBAS_STG
-    {
-        HelpID = "cui:CheckBox:RID_OFAPAGE_MSFILTEROPT:CB_WBAS_STG";
-        Pos = MAP_APPFONT ( 12 , 42 ) ;
-        Size = MAP_APPFONT ( 236 , 10 ) ;
-        TabStop = TRUE ;
-        Text [ en-US ] = "Save ~original Basic code";
-    };
-
-    FixedLine GB_EXCEL
-    {
-        Pos = MAP_APPFONT ( 6 , 58 ) ;
-        Size = MAP_APPFONT ( 248 , 8 ) ;
-        Text [ en-US ] = "Microsoft Excel 97/2000/XP";
-    };
-    CheckBox CB_EBAS_CODE
-    {
-        HelpID = "cui:CheckBox:RID_OFAPAGE_MSFILTEROPT:CB_EBAS_CODE";
-        Pos = MAP_APPFONT ( 12 , 69 ) ;
-        Size = MAP_APPFONT ( 236 , 10 ) ;
-        TabStop = TRUE ;
-        Text [ en-US ] = "Lo~ad Basic code";
-    };
-    CheckBox CB_EBAS_EXECTBL
-    {
-        HelpID = "cui:CheckBox:RID_OFAPAGE_MSFILTEROPT:CB_EBAS_EXECTBL";
-        Pos = MAP_APPFONT ( 22 , 83 ) ;
-        Size = MAP_APPFONT ( 236 , 10 ) ;
-        TabStop = TRUE ;
-        Text [ en-US ] = "E~xecutable code";
-    };
-    CheckBox CB_EBAS_STG
-    {
-        HelpID = "cui:CheckBox:RID_OFAPAGE_MSFILTEROPT:CB_EBAS_STG";
-        Pos = MAP_APPFONT ( 12 , 97 ) ;
-        Size = MAP_APPFONT ( 236 , 10 ) ;
-        TabStop = TRUE ;
-        Text [ en-US ] = "Sa~ve original Basic code";
-    };
-
-    FixedLine GB_PPOINT
-    {
-        Pos = MAP_APPFONT ( 6 , 113 ) ;
-        Size = MAP_APPFONT ( 248 , 8 ) ;
-        Text [ en-US ] = "Microsoft PowerPoint 97/2000/XP";
-    };
-    CheckBox CB_PBAS_CODE
-    {
-        HelpID = "cui:CheckBox:RID_OFAPAGE_MSFILTEROPT:CB_PBAS_CODE";
-        Pos = MAP_APPFONT ( 12 , 124 ) ;
-        Size = MAP_APPFONT ( 236 , 10 ) ;
-        TabStop = TRUE ;
-        Text [ en-US ] = "Load Ba~sic code";
-    };
-    CheckBox CB_PBAS_STG
-    {
-        HelpID = "cui:CheckBox:RID_OFAPAGE_MSFILTEROPT:CB_PBAS_STG";
-        Pos = MAP_APPFONT ( 12 , 138 ) ;
-        Size = MAP_APPFONT ( 236 , 10 ) ;
-        TabStop = TRUE ;
-        Text [ en-US ] = "Sav~e original Basic code";
-    };
-};
-
 // RID_OFAPAGE_MSFILTEROPT2 -----------------------------------------------------
 TabPage RID_OFAPAGE_MSFILTEROPT2
 {
diff --git a/cui/uiconfig/ui/optfltrpage.ui b/cui/uiconfig/ui/optfltrpage.ui
new file mode 100644
index 0000000..01a3f4c
--- /dev/null
+++ b/cui/uiconfig/ui/optfltrpage.ui
@@ -0,0 +1,260 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<interface>
+  <!-- interface-requires gtk+ 3.0 -->
+  <object class="GtkBox" id="OptFltrPage">
+    <property name="visible">True</property>
+    <property name="can_focus">False</property>
+    <property name="border_width">6</property>
+    <property name="orientation">vertical</property>
+    <property name="spacing">12</property>
+    <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="left_padding">12</property>
+            <child>
+              <object class="GtkGrid" id="grid1">
+                <property name="visible">True</property>
+                <property name="can_focus">False</property>
+                <property name="row_spacing">6</property>
+                <child>
+                  <object class="GtkCheckButton" id="wo_basic">
+                    <property name="label" translatable="yes">Load Basic _code</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="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="GtkCheckButton" id="wo_exec">
+                    <property name="label" translatable="yes">E_xecutable code</property>
+                    <property name="visible">True</property>
+                    <property name="can_focus">True</property>
+                    <property name="receives_default">False</property>
+                    <property name="margin_left">24</property>
+                    <property name="use_underline">True</property>
+                    <property name="xalign">0</property>
+                    <property name="draw_indicator">True</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="GtkCheckButton" id="wo_saveorig">
+                    <property name="label" translatable="yes">Save _original Basic code</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="left_attach">0</property>
+                    <property name="top_attach">2</property>
+                    <property name="width">1</property>
+                    <property name="height">1</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">Microsoft Word 97/2000/XP</property>
+            <attributes>
+              <attribute name="weight" value="semibold"/>
+            </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="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="left_padding">12</property>
+            <child>
+              <object class="GtkGrid" id="grid2">
+                <property name="visible">True</property>
+                <property name="can_focus">False</property>
+                <property name="row_spacing">6</property>
+                <child>
+                  <object class="GtkCheckButton" id="ex_basic">
+                    <property name="label" translatable="yes">Lo_ad Basic code</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="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="GtkCheckButton" id="ex_exec">
+                    <property name="label" translatable="yes">E_xecutable code</property>
+                    <property name="visible">True</property>
+                    <property name="can_focus">True</property>
+                    <property name="receives_default">False</property>
+                    <property name="margin_left">24</property>
+                    <property name="use_underline">True</property>
+                    <property name="xalign">0</property>
+                    <property name="draw_indicator">True</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="GtkCheckButton" id="ex_saveorig">
+                    <property name="label" translatable="yes">Sa_ve original Basic code</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="left_attach">0</property>
+                    <property name="top_attach">2</property>
+                    <property name="width">1</property>
+                    <property name="height">1</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">Microsoft Excel 97/2000/XP</property>
+            <attributes>
+              <attribute name="weight" value="semibold"/>
+            </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="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="left_padding">12</property>
+            <child>
+              <object class="GtkGrid" id="grid3">
+                <property name="visible">True</property>
+                <property name="can_focus">False</property>
+                <property name="row_spacing">6</property>
+                <child>
+                  <object class="GtkCheckButton" id="pp_basic">
+                    <property name="label" translatable="yes">Load Ba_sic code</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="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="GtkCheckButton" id="pp_saveorig">
+                    <property name="label" translatable="yes">Sav_e original Basic code</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="left_attach">0</property>
+                    <property name="top_attach">1</property>
+                    <property name="width">1</property>
+                    <property name="height">1</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">Microsoft PowerPoint 97/2000/XP</property>
+            <attributes>
+              <attribute name="weight" value="semibold"/>
+            </attributes>
+          </object>
+        </child>
+      </object>
+      <packing>
+        <property name="expand">False</property>
+        <property name="fill">True</property>
+        <property name="position">2</property>
+      </packing>
+    </child>
+  </object>
+</interface>

-- 
To view, visit https://gerrit.libreoffice.org/2961
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie200377f2956aa243b1be859eb52972b79e9dc66
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Krisztian Pinter <pin.terminator at gmail.com>
Gerrit-Reviewer: LibreOffice gerrit bot <gerrit at libreoffice.org>



More information about the LibreOffice mailing list