[Libreoffice-commits] core.git: filter/inc filter/source filter/uiconfig filter/UIConfig_xsltdlg.mk
abdulmajeed ahmed
aalabdulrazzaq at kacst.edu.sa
Fri Jun 21 06:54:39 PDT 2013
filter/UIConfig_xsltdlg.mk | 1
filter/inc/filter.hrc | 1
filter/source/pdf/impdialog.cxx | 96 +++----
filter/source/pdf/impdialog.hrc | 20 -
filter/source/pdf/impdialog.hxx | 27 --
filter/source/pdf/impdialog.src | 135 ----------
filter/uiconfig/ui/pdfuserinterfacepage.ui | 384 +++++++++++++++++++++++++++++
7 files changed, 440 insertions(+), 224 deletions(-)
New commits:
commit dbf1360e9fd4ac4a346e918344ef40213fb28914
Author: abdulmajeed ahmed <aalabdulrazzaq at kacst.edu.sa>
Date: Fri Jun 21 15:52:40 2013 +0200
Convert to .ui pdf userinterface tab page
Change-Id: I9203a63b2d6d1ab14ebee17611a78221755af082
diff --git a/filter/UIConfig_xsltdlg.mk b/filter/UIConfig_xsltdlg.mk
index 2b2c25f..f3f309c 100644
--- a/filter/UIConfig_xsltdlg.mk
+++ b/filter/UIConfig_xsltdlg.mk
@@ -11,6 +11,7 @@ $(eval $(call gb_UIConfig_UIConfig,filter))
$(eval $(call gb_UIConfig_add_uifiles,filter,\
filter/uiconfig/ui/pdflinkspage \
+ filter/uiconfig/ui/pdfuserinterfacepage \
filter/uiconfig/ui/testxmlfilter \
filter/uiconfig/ui/xmlfiltersettings \
))
diff --git a/filter/inc/filter.hrc b/filter/inc/filter.hrc
index 138d661..91c936a 100644
--- a/filter/inc/filter.hrc
+++ b/filter/inc/filter.hrc
@@ -33,7 +33,6 @@
#define HID_FILTER_PDF_OPTIONS "HID_FILTER_PDF_OPTIONS"
#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_SIGNING "HID_FILTER_PDF_SIGNING"
diff --git a/filter/source/pdf/impdialog.cxx b/filter/source/pdf/impdialog.cxx
index ece4ccb..21e98af 100644
--- a/filter/source/pdf/impdialog.cxx
+++ b/filter/source/pdf/impdialog.cxx
@@ -1023,33 +1023,25 @@ IMPL_LINK( ImpPDFTabOpnFtrPage, ToggleRbMagnHdl, void*, )
// -----------------------------------------------------------------------------
ImpPDFTabViewerPage::ImpPDFTabViewerPage( Window* pParent,
const SfxItemSet& rCoreSet ) :
- SfxTabPage( pParent, PDFFilterResId( RID_PDF_TAB_VPREFER ), rCoreSet ),
-
- maFlWindowOptions( this, PDFFilterResId( FL_WINOPT ) ),
- maCbResWinInit( this, PDFFilterResId( CB_WNDOPT_RESINIT ) ),
- maCbCenterWindow( this, PDFFilterResId( CB_WNDOPT_CNTRWIN ) ),
- maCbOpenFullScreen( this, PDFFilterResId( CB_WNDOPT_OPNFULL ) ),
- maCbDispDocTitle( this, PDFFilterResId( CB_DISPDOCTITLE ) ),
-
- m_aVerticalLine(this, PDFFilterResId(FL_VPREFER_VERTICAL)),
-
- maFlUIOptions( this, PDFFilterResId( FL_USRIFOPT ) ),
- maCbHideViewerMenubar( this, PDFFilterResId( CB_UOP_HIDEVMENUBAR ) ),
- maCbHideViewerToolbar( this, PDFFilterResId( CB_UOP_HIDEVTOOLBAR ) ),
- maCbHideViewerWindowControls( this, PDFFilterResId( CB_UOP_HIDEVWINCTRL ) ),
- maFlTransitions( this, PDFFilterResId( FL_TRANSITIONS ) ),
- maCbTransitionEffects( this, PDFFilterResId( CB_TRANSITIONEFFECTS ) ),
- mbIsPresentation( sal_True ),
- maFlBookmarks( this, PDFFilterResId( FL_BOOKMARKS ) ),
- maRbAllBookmarkLevels( this, PDFFilterResId( RB_ALLBOOKMARKLEVELS ) ),
- maRbVisibleBookmarkLevels( this, PDFFilterResId( RB_VISIBLEBOOKMARKLEVELS ) ),
- maNumBookmarkLevels( this, PDFFilterResId( NUM_BOOKMARKLEVELS ) )
+ SfxTabPage( pParent, "PdfUserInterfacePage","filter/ui/pdfuserinterfacepage.ui", rCoreSet )
+
{
- FreeResource();
- maRbAllBookmarkLevels.SetToggleHdl( LINK( this, ImpPDFTabViewerPage, ToggleRbBookmarksHdl ) );
- maRbVisibleBookmarkLevels.SetToggleHdl( LINK( this, ImpPDFTabViewerPage, ToggleRbBookmarksHdl ) );
- maNumBookmarkLevels.SetAccessibleName(maRbVisibleBookmarkLevels.GetText());
- maNumBookmarkLevels.SetAccessibleRelationLabeledBy(&maRbVisibleBookmarkLevels);
+ get(m_pCbResWinInit,"resize");
+ get(m_pCbCenterWindow,"center");
+ get(m_pCbOpenFullScreen,"open");
+ get(m_pCbDispDocTitle,"display");
+ get(m_pCbHideViewerMenubar,"menubar");
+ get(m_pCbHideViewerToolbar,"toolbar");
+ get(m_pCbHideViewerWindowControls,"window");
+ get(m_pCbTransitionEffects,"effects");
+ get(m_pRbAllBookmarkLevels,"allbookmarks");
+ get(m_pRbVisibleBookmarkLevels,"visiblebookmark");
+ get(m_pNumBookmarkLevels,"visiblelevel");
+
+ m_pRbAllBookmarkLevels->SetToggleHdl( LINK( this, ImpPDFTabViewerPage, ToggleRbBookmarksHdl ) );
+ m_pRbVisibleBookmarkLevels->SetToggleHdl( LINK( this, ImpPDFTabViewerPage, ToggleRbBookmarksHdl ) );
+ m_pNumBookmarkLevels->SetAccessibleName(m_pRbVisibleBookmarkLevels->GetText());
+ m_pNumBookmarkLevels->SetAccessibleRelationLabeledBy(m_pRbVisibleBookmarkLevels);
}
// -----------------------------------------------------------------------------
@@ -1060,7 +1052,7 @@ ImpPDFTabViewerPage::~ImpPDFTabViewerPage()
// -----------------------------------------------------------------------------
IMPL_LINK( ImpPDFTabViewerPage, ToggleRbBookmarksHdl, void*, )
{
- maNumBookmarkLevels.Enable( maRbVisibleBookmarkLevels.IsChecked() );
+ m_pNumBookmarkLevels->Enable( m_pRbVisibleBookmarkLevels->IsChecked() );
return 0;
}
// -----------------------------------------------------------------------------
@@ -1073,42 +1065,42 @@ SfxTabPage* ImpPDFTabViewerPage::Create( Window* pParent,
// -----------------------------------------------------------------------------
void ImpPDFTabViewerPage::GetFilterConfigItem( ImpPDFTabDialog* paParent )
{
- paParent->mbHideViewerMenubar = maCbHideViewerMenubar.IsChecked();
- paParent->mbHideViewerToolbar = maCbHideViewerToolbar.IsChecked( );
- paParent->mbHideViewerWindowControls = maCbHideViewerWindowControls.IsChecked();
- paParent->mbResizeWinToInit = maCbResWinInit.IsChecked();
- paParent->mbOpenInFullScreenMode = maCbOpenFullScreen.IsChecked();
- paParent->mbCenterWindow = maCbCenterWindow.IsChecked();
- paParent->mbDisplayPDFDocumentTitle = maCbDispDocTitle.IsChecked();
- paParent->mbUseTransitionEffects = maCbTransitionEffects.IsChecked();
- paParent->mnOpenBookmarkLevels = maRbAllBookmarkLevels.IsChecked() ?
- -1 : static_cast<sal_Int32>(maNumBookmarkLevels.GetValue());
+ paParent->mbHideViewerMenubar = m_pCbHideViewerMenubar->IsChecked();
+ paParent->mbHideViewerToolbar = m_pCbHideViewerToolbar->IsChecked( );
+ paParent->mbHideViewerWindowControls = m_pCbHideViewerWindowControls->IsChecked();
+ paParent->mbResizeWinToInit = m_pCbResWinInit->IsChecked();
+ paParent->mbOpenInFullScreenMode = m_pCbOpenFullScreen->IsChecked();
+ paParent->mbCenterWindow = m_pCbCenterWindow->IsChecked();
+ paParent->mbDisplayPDFDocumentTitle = m_pCbDispDocTitle->IsChecked();
+ paParent->mbUseTransitionEffects = m_pCbTransitionEffects->IsChecked();
+ paParent->mnOpenBookmarkLevels = m_pRbAllBookmarkLevels->IsChecked() ?
+ -1 : static_cast<sal_Int32>(m_pNumBookmarkLevels->GetValue());
}
// -----------------------------------------------------------------------------
void ImpPDFTabViewerPage::SetFilterConfigItem( const ImpPDFTabDialog* paParent )
{
- maCbHideViewerMenubar.Check( paParent->mbHideViewerMenubar );
- maCbHideViewerToolbar.Check( paParent->mbHideViewerToolbar );
- maCbHideViewerWindowControls.Check( paParent->mbHideViewerWindowControls );
-
- maCbResWinInit.Check( paParent->mbResizeWinToInit );
- maCbOpenFullScreen.Check( paParent->mbOpenInFullScreenMode );
- maCbCenterWindow.Check( paParent->mbCenterWindow );
- maCbDispDocTitle.Check( paParent->mbDisplayPDFDocumentTitle );
+ m_pCbHideViewerMenubar->Check( paParent->mbHideViewerMenubar );
+ m_pCbHideViewerToolbar->Check( paParent->mbHideViewerToolbar );
+ m_pCbHideViewerWindowControls->Check( paParent->mbHideViewerWindowControls );
+
+ m_pCbResWinInit->Check( paParent->mbResizeWinToInit );
+ m_pCbOpenFullScreen->Check( paParent->mbOpenInFullScreenMode );
+ m_pCbCenterWindow->Check( paParent->mbCenterWindow );
+ m_pCbDispDocTitle->Check( paParent->mbDisplayPDFDocumentTitle );
mbIsPresentation = paParent->mbIsPresentation;
- maCbTransitionEffects.Check( paParent->mbUseTransitionEffects );
- maCbTransitionEffects.Enable( mbIsPresentation );
+ m_pCbTransitionEffects->Check( paParent->mbUseTransitionEffects );
+ m_pCbTransitionEffects->Enable( mbIsPresentation );
if( paParent->mnOpenBookmarkLevels < 0 )
{
- maRbAllBookmarkLevels.Check( sal_True );
- maNumBookmarkLevels.Enable( sal_False );
+ m_pRbAllBookmarkLevels->Check( sal_True );
+ m_pNumBookmarkLevels->Enable( sal_False );
}
else
{
- maRbVisibleBookmarkLevels.Check( sal_True );
- maNumBookmarkLevels.Enable( sal_True );
- maNumBookmarkLevels.SetValue( paParent->mnOpenBookmarkLevels );
+ m_pRbVisibleBookmarkLevels->Check( sal_True );
+ m_pNumBookmarkLevels->Enable( sal_True );
+ m_pNumBookmarkLevels->SetValue( paParent->mnOpenBookmarkLevels );
}
}
diff --git a/filter/source/pdf/impdialog.hrc b/filter/source/pdf/impdialog.hrc
index edc0be2..7785756 100644
--- a/filter/source/pdf/impdialog.hrc
+++ b/filter/source/pdf/impdialog.hrc
@@ -113,26 +113,6 @@
#define RB_PGLY_CONTFAC 97
#define CB_PGLY_FIRSTLEFT 98
-//controls for viewer preferences tab page
-#define FL_WINOPT 100
-#define CB_WNDOPT_RESINIT 101
-#define CB_WNDOPT_CNTRWIN 102
-#define CB_WNDOPT_OPNFULL 103
-#define CB_DISPDOCTITLE 104
-
-#define FL_USRIFOPT 105
-#define CB_UOP_HIDEVMENUBAR 106
-#define CB_UOP_HIDEVTOOLBAR 107
-#define CB_UOP_HIDEVWINCTRL 108
-
-#define FL_TRANSITIONS 109
-#define CB_TRANSITIONEFFECTS 110
-
-#define FL_BOOKMARKS 111
-#define RB_ALLBOOKMARKLEVELS 112
-#define RB_VISIBLEBOOKMARKLEVELS 113
-#define NUM_BOOKMARKLEVELS 114
-
//controls for security preferences tab page
#define FL_PWD_GROUP 119
#define BTN_SET_PWD 120
diff --git a/filter/source/pdf/impdialog.hxx b/filter/source/pdf/impdialog.hxx
index beee21e..f3921f1 100644
--- a/filter/source/pdf/impdialog.hxx
+++ b/filter/source/pdf/impdialog.hxx
@@ -296,27 +296,22 @@ public:
//class tab page viewer
class ImpPDFTabViewerPage : public SfxTabPage
{
- FixedLine maFlWindowOptions;
- CheckBox maCbResWinInit;
- CheckBox maCbCenterWindow;
- CheckBox maCbOpenFullScreen;
- CheckBox maCbDispDocTitle;
+ CheckBox* m_pCbResWinInit;
+ CheckBox* m_pCbCenterWindow;
+ CheckBox* m_pCbOpenFullScreen;
+ CheckBox* m_pCbDispDocTitle;
- FixedLine m_aVerticalLine;
- FixedLine maFlUIOptions;
- CheckBox maCbHideViewerMenubar;
- CheckBox maCbHideViewerToolbar;
- CheckBox maCbHideViewerWindowControls;
+ CheckBox* m_pCbHideViewerMenubar;
+ CheckBox* m_pCbHideViewerToolbar;
+ CheckBox* m_pCbHideViewerWindowControls;
- FixedLine maFlTransitions;
- CheckBox maCbTransitionEffects;
+ CheckBox* m_pCbTransitionEffects;
sal_Bool mbIsPresentation;
- FixedLine maFlBookmarks;
- RadioButton maRbAllBookmarkLevels;
- RadioButton maRbVisibleBookmarkLevels;
- NumericField maNumBookmarkLevels;
+ RadioButton* m_pRbAllBookmarkLevels;
+ RadioButton* m_pRbVisibleBookmarkLevels;
+ NumericField* m_pNumBookmarkLevels;
DECL_LINK( ToggleRbBookmarksHdl, void* );
public:
diff --git a/filter/source/pdf/impdialog.src b/filter/source/pdf/impdialog.src
index fa0e1fe..3439448 100644
--- a/filter/source/pdf/impdialog.src
+++ b/filter/source/pdf/impdialog.src
@@ -492,141 +492,6 @@ TabPage RID_PDF_TAB_OPNFTR
};
//----------------------------------------------------------
-//tab page for PDF Export, viewer preferences
-TabPage RID_PDF_TAB_VPREFER
-{
- HelpId = HID_FILTER_PDF_USER_INTERFACE ;
- Text[ en-US ] = "User Interface" ;
- TAB_PDF_SIZE;
- Hide = TRUE;
-
-//////////////////////////////////////
- FixedLine FL_WINOPT
- {
- Pos = MAP_APPFONT ( 6 , 3 ) ;
- Size = MAP_APPFONT ( 164 , 8 ) ;
- Text[ en-US ] = "Window options" ;
- };
-
- CheckBox CB_WNDOPT_RESINIT
- {
- HelpID = "filter:CheckBox:RID_PDF_TAB_VPREFER:CB_WNDOPT_RESINIT";
- Pos = MAP_APPFONT ( 12 , 14 ) ;
- Size = MAP_APPFONT ( 158 , 10 ) ;
- TabStop = TRUE ;
- Text[ en-US ] = "~Resize window to initial page";
- };
- CheckBox CB_WNDOPT_CNTRWIN
- {
- HelpID = "filter:CheckBox:RID_PDF_TAB_VPREFER:CB_WNDOPT_CNTRWIN";
- Pos = MAP_APPFONT ( 12 , 26 ) ;
- Size = MAP_APPFONT ( 158 , 10 ) ;
- TabStop = TRUE ;
- Text[ en-US ] = "~Center window on screen";
- };
- CheckBox CB_WNDOPT_OPNFULL
- {
- HelpID = "filter:CheckBox:RID_PDF_TAB_VPREFER:CB_WNDOPT_OPNFULL";
- Pos = MAP_APPFONT ( 12 , 38 ) ;
- Size = MAP_APPFONT ( 158 , 10 ) ;
- Text[ en-US ] = "~Open in full screen mode" ;
- };
- CheckBox CB_DISPDOCTITLE
- {
- HelpID = "filter:CheckBox:RID_PDF_TAB_VPREFER:CB_DISPDOCTITLE";
- Pos = MAP_APPFONT ( 12 , 50 ) ;
- Size = MAP_APPFONT ( 158 , 10 ) ;
- TabStop = TRUE ;
- Text[ en-US ] = "~Display document title";
- };
-
- FixedLine FL_VPREFER_VERTICAL
- {
- Pos = MAP_APPFONT ( 175 , 3 ) ;
- Size = MAP_APPFONT ( 4 , 171 ) ;
- Vert = TRUE;
- };
-
- FixedLine FL_USRIFOPT
- {
- Pos = MAP_APPFONT ( 182 , 3 ) ;
- Size = MAP_APPFONT ( 164 , 8 ) ;
- Text[ en-US ] = "User interface options" ;
- };
- CheckBox CB_UOP_HIDEVMENUBAR
- {
- HelpID = "filter:CheckBox:RID_PDF_TAB_VPREFER:CB_UOP_HIDEVMENUBAR";
- Pos = MAP_APPFONT ( 188 , 15 ) ;
- Size = MAP_APPFONT ( 158 , 10 ) ;
- TabStop = TRUE ;
- Text[ en-US ] = "Hide ~menubar";
- };
- CheckBox CB_UOP_HIDEVTOOLBAR
- {
- HelpID = "filter:CheckBox:RID_PDF_TAB_VPREFER:CB_UOP_HIDEVTOOLBAR";
- Pos = MAP_APPFONT ( 188 , 27 ) ;
- Size = MAP_APPFONT ( 158 , 10 ) ;
- TabStop = TRUE ;
- Text[ en-US ] = "Hide ~toolbar";
- };
- CheckBox CB_UOP_HIDEVWINCTRL
- {
- HelpID = "filter:CheckBox:RID_PDF_TAB_VPREFER:CB_UOP_HIDEVWINCTRL";
- Pos = MAP_APPFONT ( 188 , 39 ) ;
- Size = MAP_APPFONT ( 158 , 10 ) ;
- TabStop = TRUE ;
- Text[ en-US ] = "Hide ~window controls";
- };
-
-////////////////////////////////
- FixedLine FL_TRANSITIONS
- {
- Pos = MAP_APPFONT ( 6 , 64 ) ;
- Size = MAP_APPFONT ( 164 , 8 ) ;
- Text[ en-US ] = "Transitions" ;
- };
- CheckBox CB_TRANSITIONEFFECTS
- {
- HelpID = "filter:CheckBox:RID_PDF_TAB_VPREFER:CB_TRANSITIONEFFECTS";
- Pos = MAP_APPFONT ( 12 , 76 ) ;
- Size = MAP_APPFONT ( 158 , 10 ) ;
- TabStop = TRUE ;
- Text[ en-US ] = "~Use transition effects";
- };
-////////////////////////////////
- FixedLine FL_BOOKMARKS
- {
- Pos = MAP_APPFONT ( 182 , 64 ) ;
- Size = MAP_APPFONT ( 164 , 8 ) ;
- Text[ en-US ] = "Bookmarks" ;
- };
- RadioButton RB_ALLBOOKMARKLEVELS
- {
- HelpID = "filter:RadioButton:RID_PDF_TAB_VPREFER:RB_ALLBOOKMARKLEVELS";
- Pos = MAP_APPFONT ( 188 , 76 ) ;
- Size = MAP_APPFONT ( 158 , 10 ) ;
- Text[ en-US ] = "All bookmark levels";
- };
- RadioButton RB_VISIBLEBOOKMARKLEVELS
- {
- HelpID = "filter:RadioButton:RID_PDF_TAB_VPREFER:RB_VISIBLEBOOKMARKLEVELS";
- Pos = MAP_APPFONT ( 188 , 90 ) ;
- Size = MAP_APPFONT ( 117 , 10 ) ;
- Text[ en-US ] = "Visible bookmark levels";
- };
- NumericField NUM_BOOKMARKLEVELS
- {
- HelpID = "filter:NumericField:RID_PDF_TAB_VPREFER:NUM_BOOKMARKLEVELS";
- Pos = MAP_APPFONT ( 308 , 89 ) ;
- Size = MAP_APPFONT ( 32 , 12 ) ;
- Border = TRUE;
- Spin = TRUE;
- Minimum = 1;
- Maximum = 10;
- };
-};
-
-//----------------------------------------------------------
//tab page for PDF Export, security
TabPage RID_PDF_TAB_SECURITY
{
diff --git a/filter/uiconfig/ui/pdfuserinterfacepage.ui b/filter/uiconfig/ui/pdfuserinterfacepage.ui
new file mode 100644
index 0000000..3cc3fe2
--- /dev/null
+++ b/filter/uiconfig/ui/pdfuserinterfacepage.ui
@@ -0,0 +1,384 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<interface>
+ <!-- interface-requires gtk+ 3.0 -->
+ <object class="GtkAdjustment" id="adjustment1">
+ <property name="lower">1</property>
+ <property name="upper">10</property>
+ <property name="value">1</property>
+ <property name="step_increment">1</property>
+ <property name="page_increment">10</property>
+ </object>
+ <object class="GtkBox" id="PdfUserInterfacePage">
+ <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">6</property>
+ <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>
+ <property name="column_homogeneous">True</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="grid3">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <child>
+ <object class="GtkCheckButton" id="center">
+ <property name="label" translatable="yes">_Center window on screen</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="resize">
+ <property name="label" translatable="yes">_Resize window to initial page</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="open">
+ <property name="label" translatable="yes">_Open in full screen 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="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>
+ <child>
+ <object class="GtkCheckButton" id="display">
+ <property name="label" translatable="yes">_Display document title</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">3</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">Window options</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="label_xalign">0</property>
+ <property name="shadow_type">none</property>
+ <child>
+ <object class="GtkAlignment" id="alignment2">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="top_padding">6</property>
+ <property name="left_padding">12</property>
+ <child>
+ <object class="GtkGrid" id="grid4">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <child>
+ <object class="GtkCheckButton" id="toolbar">
+ <property name="label" translatable="yes">Hide _toolbar</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="menubar">
+ <property name="label" translatable="yes">Hide _menubar</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="window">
+ <property name="label" translatable="yes">Hide _window controls</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="label2">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="label" translatable="yes">User interface options</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="label_xalign">0</property>
+ <property name="shadow_type">none</property>
+ <child>
+ <object class="GtkAlignment" id="alignment3">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="top_padding">6</property>
+ <property name="left_padding">12</property>
+ <child>
+ <object class="GtkGrid" id="grid6">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <child>
+ <object class="GtkCheckButton" id="effects">
+ <property name="label" translatable="yes">_Use transition effects</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>
+ </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">Transitions</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="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="top_padding">6</property>
+ <property name="left_padding">12</property>
+ <child>
+ <object class="GtkGrid" id="grid5">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <child>
+ <object class="GtkRadioButton" id="allbookmarks">
+ <property name="label" translatable="yes">_All bookmark levels</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">visiblebookmark</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="visiblebookmark">
+ <property name="label" translatable="yes">_Visible bookmark levels</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">allbookmarks</property>
+ </object>
+ <packing>
+ <property name="left_attach">0</property>
+ <property name="top_attach">1</property>
+ <property name="width">1</property>
+ <property name="height">1</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkSpinButton" id="visiblelevel">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="invisible_char">â¢</property>
+ <property name="invisible_char_set">True</property>
+ <property name="adjustment">adjustment1</property>
+ </object>
+ <packing>
+ <property name="left_attach">1</property>
+ <property name="top_attach">1</property>
+ <property name="width">1</property>
+ <property name="height">1</property>
+ </packing>
+ </child>
+ <child>
+ <placeholder/>
+ </child>
+ </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">Bookmarks</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">0</property>
+ </packing>
+ </child>
+ </object>
+</interface>
More information about the Libreoffice-commits
mailing list