[Libreoffice-commits] core.git: filter/inc filter/source filter/uiconfig filter/UIConfig_xsltdlg.mk

abdulmajeed ahmed aalabdulrazzaq at kacst.edu.sa
Sat Jun 8 02:55:07 PDT 2013


 filter/UIConfig_xsltdlg.mk         |    1 
 filter/inc/filter.hrc              |    1 
 filter/source/pdf/impdialog.cxx    |  125 ++++++------------------
 filter/source/pdf/impdialog.hrc    |   11 --
 filter/source/pdf/impdialog.hxx    |   13 +-
 filter/source/pdf/impdialog.src    |   74 --------------
 filter/uiconfig/ui/pdflinkspage.ui |  192 +++++++++++++++++++++++++++++++++++++
 7 files changed, 235 insertions(+), 182 deletions(-)

New commits:
commit c5debaa9c46c879f1deee088d12bf2c951296706
Author: abdulmajeed ahmed <aalabdulrazzaq at kacst.edu.sa>
Date:   Sat Jun 8 11:49:29 2013 +0200

    convert pdf links tab page to .ui
    
    Change-Id: I305021366a2670a582f00433be2a6e26d745f587

diff --git a/filter/UIConfig_xsltdlg.mk b/filter/UIConfig_xsltdlg.mk
index 0a9294d..2b2c25f 100644
--- a/filter/UIConfig_xsltdlg.mk
+++ b/filter/UIConfig_xsltdlg.mk
@@ -10,6 +10,7 @@
 $(eval $(call gb_UIConfig_UIConfig,filter))
 
 $(eval $(call gb_UIConfig_add_uifiles,filter,\
+	filter/uiconfig/ui/pdflinkspage \
 	filter/uiconfig/ui/testxmlfilter \
 	filter/uiconfig/ui/xmlfiltersettings \
 ))
diff --git a/filter/inc/filter.hrc b/filter/inc/filter.hrc
index 7e372af..138d661 100644
--- a/filter/inc/filter.hrc
+++ b/filter/inc/filter.hrc
@@ -35,7 +35,6 @@
 #define HID_FILTER_PDF_INITIAL_VIEW   "HID_FILTER_PDF_INITIAL_VIEW"
 #define HID_FILTER_PDF_USER_INTERFACE "HID_FILTER_PDF_USER_INTERFACE"
 #define HID_FILTER_PDF_SECURITY       "HID_FILTER_PDF_SECURITY"
-#define HID_FILTER_PDF_LINKS          "HID_FILTER_PDF_LINKS"
 #define HID_FILTER_PDF_SIGNING        "HID_FILTER_PDF_SIGNING"
 
 #endif
diff --git a/filter/source/pdf/impdialog.cxx b/filter/source/pdf/impdialog.cxx
index 77d56e8..ece4ccb 100644
--- a/filter/source/pdf/impdialog.cxx
+++ b/filter/source/pdf/impdialog.cxx
@@ -1374,71 +1374,18 @@ void    ImpPDFTabSecurityPage::ImplPDFASecurityControl( sal_Bool bEnableSecurity
 // -----------------------------------------------------------------------------
 ImpPDFTabLinksPage::ImpPDFTabLinksPage( Window* pParent,
                                               const SfxItemSet& rCoreSet ) :
-    SfxTabPage( pParent, PDFFilterResId( RID_PDF_TAB_LINKS ), rCoreSet ),
+    SfxTabPage( pParent, "PdfLinksPage","filter/ui/pdflinkspage.ui",rCoreSet ),
 
-    maCbExprtBmkrToNmDst( this, PDFFilterResId( CB_EXP_BMRK_TO_DEST ) ),
-    maCbOOoToPDFTargets( this,  PDFFilterResId( CB_CNV_OOO_DOCTOPDF ) ),
-     maCbExportRelativeFsysLinks( this, PDFFilterResId( CB_ENAB_RELLINKFSYS ) ),
-
-    maFlDefaultTitle( this,  PDFFilterResId( FL_DEFAULT_LINK_ACTION ) ),
-    maRbOpnLnksDefault( this, PDFFilterResId( CB_VIEW_PDF_DEFAULT ) ),
     mbOpnLnksDefaultUserState( sal_False ),
-    maRbOpnLnksLaunch( this, PDFFilterResId( CB_VIEW_PDF_APPLICATION ) ),
     mbOpnLnksLaunchUserState( sal_False ),
-    maRbOpnLnksBrowser( this,  PDFFilterResId( CB_VIEW_PDF_BROWSER ) ),
     mbOpnLnksBrowserUserState( sal_False )
 {
-    FreeResource();
-
-    // pb: #i91991# checkboxes only double-spaced if necessary
-    long nDelta = 0;
-    Size aSize = maCbExprtBmkrToNmDst.GetSizePixel();
-    Size aMinSize = maCbExprtBmkrToNmDst.CalcMinimumSize();
-    long nLineHeight =
-        maCbExprtBmkrToNmDst.LogicToPixel( Size( 10, 10 ), MAP_APPFONT ).Height();
-    if ( aSize.Width() > aMinSize.Width() )
-    {
-        Size aNewSize( aSize.Width(), nLineHeight );
-        nDelta += ( aSize.Height() - nLineHeight );
-        maCbExprtBmkrToNmDst.SetSizePixel( aNewSize );
-        Point aNewPos = maCbOOoToPDFTargets.GetPosPixel();
-        aNewPos.Y() -= nDelta;
-        maCbOOoToPDFTargets.SetPosPixel( aNewPos );
-    }
-
-    aSize = maCbOOoToPDFTargets.GetSizePixel();
-    aMinSize = maCbOOoToPDFTargets.CalcMinimumSize();
-    if ( aSize.Width() > aMinSize.Width() )
-    {
-        Size aNewSize( aSize.Width(), nLineHeight );
-        nDelta += ( aSize.Height() - nLineHeight );
-        maCbOOoToPDFTargets.SetSizePixel( aNewSize );
-        Point aNewPos = maCbExportRelativeFsysLinks.GetPosPixel();
-        aNewPos.Y() -= nDelta;
-        maCbExportRelativeFsysLinks.SetPosPixel( aNewPos );
-    }
-
-    aSize = maCbExportRelativeFsysLinks.GetSizePixel();
-    aMinSize = maCbExportRelativeFsysLinks.CalcMinimumSize();
-    if ( aSize.Width() > aMinSize.Width() )
-    {
-        Size aNewSize( aSize.Width(), nLineHeight );
-        nDelta += ( aSize.Height() - nLineHeight );
-        maCbExportRelativeFsysLinks.SetSizePixel( aNewSize );
-    }
-
-    if ( nDelta > 0 )
-    {
-        Window* pWins[] =
-            { &maFlDefaultTitle, &maRbOpnLnksDefault, &maRbOpnLnksLaunch, &maRbOpnLnksBrowser, NULL };
-        Window** pCurrent = pWins;
-        while ( *pCurrent )
-        {
-            Point aNewPos = (*pCurrent)->GetPosPixel();
-            aNewPos.Y() -= nDelta;
-            (*pCurrent++)->SetPosPixel( aNewPos );
-        }
-    }
+    get(m_pCbExprtBmkrToNmDst,"export");
+    get(m_pCbOOoToPDFTargets ,"convert");
+    get(m_pCbExportRelativeFsysLinks ,"exporturl");
+    get(m_pRbOpnLnksDefault ,"default");
+    get(m_pRbOpnLnksLaunch ,"openpdf");
+    get(m_pRbOpnLnksBrowser ,"openinternet");
 }
 
 // -----------------------------------------------------------------------------
@@ -1456,7 +1403,7 @@ SfxTabPage*  ImpPDFTabLinksPage::Create( Window* pParent,
 // -----------------------------------------------------------------------------
 void ImpPDFTabLinksPage::GetFilterConfigItem( ImpPDFTabDialog* paParent  )
 {
-    paParent->mbExportRelativeFsysLinks = maCbExportRelativeFsysLinks.IsChecked();
+    paParent->mbExportRelativeFsysLinks = m_pCbExportRelativeFsysLinks->IsChecked();
 
     sal_Bool bIsPDFASel =  sal_False;
     if( paParent && paParent->GetTabPage( RID_PDF_TAB_GENER ) )
@@ -1466,9 +1413,9 @@ void ImpPDFTabLinksPage::GetFilterConfigItem( ImpPDFTabDialog* paParent  )
     if( !bIsPDFASel )
     {
 // ...get the control states
-        mbOpnLnksDefaultUserState = maRbOpnLnksDefault.IsChecked();
-        mbOpnLnksLaunchUserState =  maRbOpnLnksLaunch.IsChecked();
-        mbOpnLnksBrowserUserState = maRbOpnLnksBrowser.IsChecked();
+        mbOpnLnksDefaultUserState = m_pRbOpnLnksDefault->IsChecked();
+        mbOpnLnksLaunchUserState =  m_pRbOpnLnksLaunch->IsChecked();
+        mbOpnLnksBrowserUserState = m_pRbOpnLnksBrowser->IsChecked();
     }
 // the control states, or the saved is used
 // to form the stored selection
@@ -1478,33 +1425,33 @@ void ImpPDFTabLinksPage::GetFilterConfigItem( ImpPDFTabDialog* paParent  )
     else if( mbOpnLnksLaunchUserState )
         paParent->mnViewPDFMode = 1;
 
-    paParent->mbConvertOOoTargets = maCbOOoToPDFTargets.IsChecked();
-    paParent->mbExportBmkToPDFDestination = maCbExprtBmkrToNmDst.IsChecked();
+    paParent->mbConvertOOoTargets = m_pCbOOoToPDFTargets->IsChecked();
+    paParent->mbExportBmkToPDFDestination = m_pCbExprtBmkrToNmDst->IsChecked();
 }
 
 // -----------------------------------------------------------------------------
 void ImpPDFTabLinksPage::SetFilterConfigItem( const  ImpPDFTabDialog* paParent )
 {
-    maCbOOoToPDFTargets.Check( paParent->mbConvertOOoTargets );
-    maCbExprtBmkrToNmDst.Check( paParent->mbExportBmkToPDFDestination );
+    m_pCbOOoToPDFTargets->Check( paParent->mbConvertOOoTargets );
+    m_pCbExprtBmkrToNmDst->Check( paParent->mbExportBmkToPDFDestination );
 
-    maRbOpnLnksDefault.SetClickHdl( LINK( this, ImpPDFTabLinksPage, ClickRbOpnLnksDefaultHdl ) );
-    maRbOpnLnksBrowser.SetClickHdl( LINK( this, ImpPDFTabLinksPage, ClickRbOpnLnksBrowserHdl ) );
+    m_pRbOpnLnksDefault->SetClickHdl( LINK( this, ImpPDFTabLinksPage, ClickRbOpnLnksDefaultHdl ) );
+    m_pRbOpnLnksBrowser->SetClickHdl( LINK( this, ImpPDFTabLinksPage, ClickRbOpnLnksBrowserHdl ) );
 
-    maCbExportRelativeFsysLinks.Check( paParent->mbExportRelativeFsysLinks );
+    m_pCbExportRelativeFsysLinks->Check( paParent->mbExportRelativeFsysLinks );
     switch( paParent->mnViewPDFMode )
     {
     default:
     case 0:
-        maRbOpnLnksDefault.Check();
+        m_pRbOpnLnksDefault->Check();
         mbOpnLnksDefaultUserState = sal_True;
         break;
     case 1:
-        maRbOpnLnksLaunch.Check();
+        m_pRbOpnLnksLaunch->Check();
         mbOpnLnksLaunchUserState = sal_True;
         break;
     case 2:
-        maRbOpnLnksBrowser.Check();
+        m_pRbOpnLnksBrowser->Check();
         mbOpnLnksBrowserUserState = sal_True;
         break;
     }
@@ -1526,21 +1473,21 @@ void ImpPDFTabLinksPage::ImplPDFALinkControl( sal_Bool bEnableLaunch )
 // set the value and position of link type selection
     if( bEnableLaunch )
     {
-        maRbOpnLnksLaunch.Enable();
+        m_pRbOpnLnksLaunch->Enable();
 //restore user state with no PDF/A-1 selected
-        maRbOpnLnksDefault.Check( mbOpnLnksDefaultUserState );
-        maRbOpnLnksLaunch.Check( mbOpnLnksLaunchUserState );
-        maRbOpnLnksBrowser.Check( mbOpnLnksBrowserUserState );
+        m_pRbOpnLnksDefault->Check( mbOpnLnksDefaultUserState );
+        m_pRbOpnLnksLaunch->Check( mbOpnLnksLaunchUserState );
+        m_pRbOpnLnksBrowser->Check( mbOpnLnksBrowserUserState );
     }
     else
     {
 //save user state with no PDF/A-1 selected
-        mbOpnLnksDefaultUserState = maRbOpnLnksDefault.IsChecked();
-        mbOpnLnksLaunchUserState = maRbOpnLnksLaunch.IsChecked();
-        mbOpnLnksBrowserUserState = maRbOpnLnksBrowser.IsChecked();
-        maRbOpnLnksLaunch.Enable( sal_False );
+        mbOpnLnksDefaultUserState = m_pRbOpnLnksDefault->IsChecked();
+        mbOpnLnksLaunchUserState = m_pRbOpnLnksLaunch->IsChecked();
+        mbOpnLnksBrowserUserState = m_pRbOpnLnksBrowser->IsChecked();
+        m_pRbOpnLnksLaunch->Enable( sal_False );
         if( mbOpnLnksLaunchUserState )
-            maRbOpnLnksBrowser.Check();
+            m_pRbOpnLnksBrowser->Check();
     }
 }
 
@@ -1549,9 +1496,9 @@ void ImpPDFTabLinksPage::ImplPDFALinkControl( sal_Bool bEnableLaunch )
 // when PDF/A-1 was requested
 IMPL_LINK_NOARG(ImpPDFTabLinksPage, ClickRbOpnLnksDefaultHdl)
 {
-    mbOpnLnksDefaultUserState = maRbOpnLnksDefault.IsChecked();
-    mbOpnLnksLaunchUserState = maRbOpnLnksLaunch.IsChecked();
-    mbOpnLnksBrowserUserState = maRbOpnLnksBrowser.IsChecked();
+    mbOpnLnksDefaultUserState = m_pRbOpnLnksDefault->IsChecked();
+    mbOpnLnksLaunchUserState = m_pRbOpnLnksLaunch->IsChecked();
+    mbOpnLnksBrowserUserState = m_pRbOpnLnksBrowser->IsChecked();
     return 0;
 }
 
@@ -1560,9 +1507,9 @@ IMPL_LINK_NOARG(ImpPDFTabLinksPage, ClickRbOpnLnksDefaultHdl)
 // when PDF/A-1 was requested
 IMPL_LINK_NOARG(ImpPDFTabLinksPage, ClickRbOpnLnksBrowserHdl)
 {
-    mbOpnLnksDefaultUserState = maRbOpnLnksDefault.IsChecked();
-    mbOpnLnksLaunchUserState = maRbOpnLnksLaunch.IsChecked();
-    mbOpnLnksBrowserUserState = maRbOpnLnksBrowser.IsChecked();
+    mbOpnLnksDefaultUserState = m_pRbOpnLnksDefault->IsChecked();
+    mbOpnLnksLaunchUserState = m_pRbOpnLnksLaunch->IsChecked();
+    mbOpnLnksBrowserUserState = m_pRbOpnLnksBrowser->IsChecked();
     return 0;
 }
 
diff --git a/filter/source/pdf/impdialog.hrc b/filter/source/pdf/impdialog.hrc
index 938b622..edc0be2 100644
--- a/filter/source/pdf/impdialog.hrc
+++ b/filter/source/pdf/impdialog.hrc
@@ -165,17 +165,6 @@
 #define CB_ENDAB_COPY           143
 #define CB_ENAB_ACCESS          144
 
-//---> i56629 controls for link management
-#define CB_ENAB_RELLINKFSYS     150
-
-#define FL_DEFAULT_LINK_ACTION  151
-#define CB_VIEW_PDF_DEFAULT     152
-#define CB_VIEW_PDF_BROWSER     153
-#define CB_VIEW_PDF_APPLICATION 154
-
-#define CB_CNV_OOO_DOCTOPDF     155
-#define CB_EXP_BMRK_TO_DEST     156
-
 #define FL_GENERAL_VERTICAL  157
 #define FL_INITVIEW_VERTICAL 158
 #define FL_VPREFER_VERTICAL  158
diff --git a/filter/source/pdf/impdialog.hxx b/filter/source/pdf/impdialog.hxx
index b996de0..beee21e 100644
--- a/filter/source/pdf/impdialog.hxx
+++ b/filter/source/pdf/impdialog.hxx
@@ -398,16 +398,15 @@ public:
 //class to implement the relative link stuff
 class ImpPDFTabLinksPage : public SfxTabPage
 {
-    CheckBox                    maCbExprtBmkrToNmDst;
-    CheckBox                    maCbOOoToPDFTargets;
-    CheckBox                    maCbExportRelativeFsysLinks;
+    CheckBox*                   m_pCbExprtBmkrToNmDst;
+    CheckBox*                   m_pCbOOoToPDFTargets;
+    CheckBox*                   m_pCbExportRelativeFsysLinks;
 
-    FixedLine                   maFlDefaultTitle;
-    RadioButton                 maRbOpnLnksDefault;
+    RadioButton*                m_pRbOpnLnksDefault;
     sal_Bool                    mbOpnLnksDefaultUserState;
-    RadioButton                 maRbOpnLnksLaunch;
+    RadioButton*                m_pRbOpnLnksLaunch;
     sal_Bool                    mbOpnLnksLaunchUserState;
-    RadioButton                 maRbOpnLnksBrowser;
+    RadioButton*                m_pRbOpnLnksBrowser;
     sal_Bool                    mbOpnLnksBrowserUserState;
 
     DECL_LINK( ClickRbOpnLnksDefaultHdl, void* );
diff --git a/filter/source/pdf/impdialog.src b/filter/source/pdf/impdialog.src
index ec33d1f..fa0e1fe 100644
--- a/filter/source/pdf/impdialog.src
+++ b/filter/source/pdf/impdialog.src
@@ -915,80 +915,6 @@ TabPage  RID_PDF_TAB_SIGNING
 };
 
 //----------------------------------------------------------
-//tab page for PDF Export, links management
-TabPage  RID_PDF_TAB_LINKS
-{
-    HelpId = HID_FILTER_PDF_LINKS;
-    Text [ en-US ] = "---";
-    TAB_PDF_SIZE;
-    Hide = TRUE;
-
-    CheckBox CB_EXP_BMRK_TO_DEST
-    {
-        HelpID = "filter:CheckBox:RID_PDF_TAB_LINKS:CB_EXP_BMRK_TO_DEST";
-        Pos = MAP_APPFONT ( 6 , 3 ) ;
-        Size = MAP_APPFONT ( 164 , 16 ) ;
-        TabStop = TRUE ;
-        WordBreak = TRUE ;
-        Text[ en-US ] = "Export bookmarks as named destinations" ;
-    };
-
-    CheckBox CB_CNV_OOO_DOCTOPDF
-    {
-        HelpID = "filter:CheckBox:RID_PDF_TAB_LINKS:CB_CNV_OOO_DOCTOPDF";
-        Pos = MAP_APPFONT ( 6 , 22 ) ;
-        Size = MAP_APPFONT ( 164 , 16 ) ;
-        TabStop = TRUE ;
-        WordBreak = TRUE ;
-        Text[ en-US ] = "Convert document references to PDF targets" ;
-    };
-
-    CheckBox CB_ENAB_RELLINKFSYS
-    {
-        HelpID = "filter:CheckBox:RID_PDF_TAB_LINKS:CB_ENAB_RELLINKFSYS";
-        Pos = MAP_APPFONT ( 6 , 41 ) ;
-        Size = MAP_APPFONT ( 164 , 16 ) ;
-        TabStop = TRUE ;
-        WordBreak = TRUE ;
-        Text[ en-US ] = "Export URLs relative to file system" ;
-    };
-
-    FixedLine FL_DEFAULT_LINK_ACTION
-    {
-        Pos = MAP_APPFONT ( 6 , 60 ) ;
-        Size = MAP_APPFONT ( 164  , 8 ) ;
-        Text[ en-US ] = "Cross-document links" ;
-    };
-
-    RadioButton CB_VIEW_PDF_DEFAULT
-    {
-        HelpID = "filter:RadioButton:RID_PDF_TAB_LINKS:CB_VIEW_PDF_DEFAULT";
-        Pos = MAP_APPFONT ( 12 , 71 ) ;
-        Size = MAP_APPFONT ( 158 , 10 ) ;
-        TabStop = TRUE ;
-        Text[ en-US ] = "Default mode" ;
-    };
-
-    RadioButton CB_VIEW_PDF_APPLICATION
-    {
-        HelpID = "filter:RadioButton:RID_PDF_TAB_LINKS:CB_VIEW_PDF_APPLICATION";
-        Pos = MAP_APPFONT ( 12 , 84 ) ;
-        Size = MAP_APPFONT ( 158  , 10 ) ;
-        TabStop = TRUE ;
-        Text[ en-US ] = "Open with PDF reader application" ;
-    };
-
-    RadioButton CB_VIEW_PDF_BROWSER
-    {
-        HelpID = "filter:RadioButton:RID_PDF_TAB_LINKS:CB_VIEW_PDF_BROWSER";
-        Pos = MAP_APPFONT ( 12 , 97 ) ;
-        Size = MAP_APPFONT ( 158  , 10 ) ;
-        TabStop = TRUE ;
-        Text[ en-US ] = "Open with Internet browser" ;
-    };
-};
-
-//----------------------------------------------------------
 TabDialog  RID_PDF_EXPORT_DLG
 {
     HelpId = HID_FILTER_PDF_OPTIONS ;
diff --git a/filter/uiconfig/ui/pdflinkspage.ui b/filter/uiconfig/ui/pdflinkspage.ui
new file mode 100644
index 0000000..ad008d0
--- /dev/null
+++ b/filter/uiconfig/ui/pdflinkspage.ui
@@ -0,0 +1,192 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<interface>
+  <!-- interface-requires gtk+ 3.0 -->
+  <object class="GtkBox" id="PdfLinksPage">
+    <property name="visible">True</property>
+    <property name="can_focus">False</property>
+    <property name="border_width">6</property>
+    <property name="orientation">vertical</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="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="GtkCheckButton" id="export">
+                    <property name="label" translatable="yes">Export bookmarks as named destinations</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="image_position">right</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="convert">
+                    <property name="label" translatable="yes">_Convert document references to PDF targets</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="image_position">right</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="exporturl">
+                    <property name="label" translatable="yes">Export _URLs relative to file system</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="image_position">right</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">General</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="frame5">
+        <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="alignment5">
+            <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="grid2">
+                <property name="visible">True</property>
+                <property name="can_focus">False</property>
+                <child>
+                  <object class="GtkRadioButton" id="default">
+                    <property name="label" translatable="yes">Default mode</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>
+                  </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="openpdf">
+                    <property name="label" translatable="yes">Open with PDF reader application</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>
+                    <property name="group">default</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="GtkRadioButton" id="openinternet">
+                    <property name="label" translatable="yes">Open _with Internet browser</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>
+                    <property name="group">openpdf</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="label5">
+            <property name="visible">True</property>
+            <property name="can_focus">False</property>
+            <property name="label" translatable="yes">Cross-document links</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>
+  </object>
+</interface>


More information about the Libreoffice-commits mailing list