diff options
-rw-r--r-- | sd/AllLangResTarget_sd.mk | 1 | ||||
-rw-r--r-- | sd/UIConfig_simpress.mk | 1 | ||||
-rw-r--r-- | sd/inc/helpids.h | 1 | ||||
-rw-r--r-- | sd/source/ui/app/sdmod2.cxx | 1 | ||||
-rw-r--r-- | sd/source/ui/dlg/prntopts.cxx | 252 | ||||
-rw-r--r-- | sd/source/ui/dlg/prntopts.src | 214 | ||||
-rw-r--r-- | sd/source/ui/inc/prntopts.hrc | 47 | ||||
-rw-r--r-- | sd/source/ui/inc/prntopts.hxx | 47 | ||||
-rw-r--r-- | sd/uiconfig/simpress/ui/prntopts.ui | 517 |
9 files changed, 645 insertions, 436 deletions
diff --git a/sd/AllLangResTarget_sd.mk b/sd/AllLangResTarget_sd.mk index 5466ad33a124..6b7b1445b92f 100644 --- a/sd/AllLangResTarget_sd.mk +++ b/sd/AllLangResTarget_sd.mk @@ -61,7 +61,6 @@ $(eval $(call gb_SrsTarget_add_files,sd/res,\ sd/source/ui/dlg/PaneDockingWindow.src \ sd/source/ui/dlg/paragr.src \ sd/source/ui/dlg/prltempl.src \ - sd/source/ui/dlg/prntopts.src \ sd/source/ui/dlg/RemoteDialog.src \ sd/source/ui/dlg/sdpreslt.src \ sd/source/ui/dlg/tabtempl.src \ diff --git a/sd/UIConfig_simpress.mk b/sd/UIConfig_simpress.mk index db9f2c500a05..16d0cae14bd0 100644 --- a/sd/UIConfig_simpress.mk +++ b/sd/UIConfig_simpress.mk @@ -78,6 +78,7 @@ $(eval $(call gb_UIConfig_add_uifiles,modules/simpress,\ sd/uiconfig/simpress/ui/photoalbum \ sd/uiconfig/simpress/ui/customslideshows \ sd/uiconfig/simpress/ui/optimpressgeneralpage \ + sd/uiconfig/simpress/ui/prntopts \ )) # vim: set noet sw=4 ts=4: diff --git a/sd/inc/helpids.h b/sd/inc/helpids.h index 8fb236406e45..bbace930a10b 100644 --- a/sd/inc/helpids.h +++ b/sd/inc/helpids.h @@ -23,7 +23,6 @@ #define HID_SDDRAWVIEWSHELL "SD_HID_SDDRAWVIEWSHELL" #define HID_SDGRAPHICVIEWSHELL "SD_HID_SDGRAPHICVIEWSHELL" #define HID_SDOUTLINEVIEWSHELL "SD_HID_SDOUTLINEVIEWSHELL" -#define HID_SD_PRINT_OPTIONS "SD_HID_SD_PRINT_OPTIONS" #define HID_SD_OPTIONS_SNAP "SD_HID_SD_OPTIONS_SNAP" #define HID_SD_AUTOPILOT_PAGE1 "SD_HID_SD_AUTOPILOT_PAGE1" #define HID_SD_AUTOPILOT_PAGE2 "SD_HID_SD_AUTOPILOT_PAGE2" diff --git a/sd/source/ui/app/sdmod2.cxx b/sd/source/ui/app/sdmod2.cxx index ed8e7c29a5d9..e07fd6e9c9ff 100644 --- a/sd/source/ui/app/sdmod2.cxx +++ b/sd/source/ui/app/sdmod2.cxx @@ -66,7 +66,6 @@ #include "sdpage.hxx" #include "sdxfer.hxx" #include "sdabstdlg.hxx" -#include "prntopts.hrc" #include <svl/intitem.hxx> /** retrieves the page that is currently painted. This will only be the master page diff --git a/sd/source/ui/dlg/prntopts.cxx b/sd/source/ui/dlg/prntopts.cxx index d70a42e66aeb..c67e42982d3a 100644 --- a/sd/source/ui/dlg/prntopts.cxx +++ b/sd/source/ui/dlg/prntopts.cxx @@ -19,7 +19,6 @@ #include "sdattr.hxx" #include "optsitem.hxx" -#include "prntopts.hrc" #include "sdresid.hxx" #include "prntopts.hxx" #include "app.hrc" @@ -30,59 +29,47 @@ * dialog to adjust print options */ SdPrintOptions::SdPrintOptions( Window* pParent, const SfxItemSet& rInAttrs ) : - SfxTabPage ( pParent, SdResId( TP_PRINT_OPTIONS ), rInAttrs ), - - aGrpPrint ( this, SdResId( GRP_PRINT ) ), - aCbxDraw ( this, SdResId( CBX_DRAW ) ), - aCbxNotes ( this, SdResId( CBX_NOTES ) ), - aCbxHandout ( this, SdResId( CBX_HANDOUTS ) ), - aCbxOutline ( this, SdResId( CBX_OUTLINE ) ), - - aSeparator1FL ( this, SdResId( FL_SEPARATOR1 ) ), - aGrpOutput ( this, SdResId( GRP_OUTPUT ) ), - aRbtColor ( this, SdResId( RBT_COLOR ) ), - aRbtGrayscale ( this, SdResId( RBT_GRAYSCALE ) ), - aRbtBlackWhite ( this, SdResId( RBT_BLACKWHITE ) ), - - aGrpPrintExt ( this, SdResId( GRP_PRINT_EXT ) ), - aCbxPagename ( this, SdResId( CBX_PAGENAME ) ), - aCbxDate ( this, SdResId( CBX_DATE ) ), - aCbxTime ( this, SdResId( CBX_TIME ) ), - aCbxHiddenPages ( this, SdResId( CBX_HIDDEN_PAGES ) ), - - aSeparator2FL ( this, SdResId( FL_SEPARATOR2 ) ), - aGrpPageoptions ( this, SdResId( GRP_PAGE ) ), - aRbtDefault ( this, SdResId( RBT_DEFAULT ) ), - aRbtPagesize ( this, SdResId( RBT_PAGESIZE ) ), - aRbtPagetile ( this, SdResId( RBT_PAGETILE ) ), - aRbtBooklet ( this, SdResId( RBT_BOOKLET ) ), - aCbxFront ( this, SdResId( CBX_FRONT ) ), - aCbxBack ( this, SdResId( CBX_BACK ) ), - - aCbxPaperbin ( this, SdResId( CBX_PAPERBIN ) ), - + SfxTabPage ( pParent, "prntopts" , "modules/simpress/ui/prntopts.ui" , rInAttrs ), rOutAttrs ( rInAttrs ) { - FreeResource(); + get( m_pFrmContent , "contentframe" ); + get( m_pCbxDraw , "drawingcb" ); + get( m_pCbxNotes , "notecb" ); + get( m_pCbxHandout , "handoutcb" ); + get( m_pCbxOutline , "outlinecb"); + get( m_pRbtColor , "defaultrb" ); + get( m_pRbtGrayscale , "grayscalerb" ); + get( m_pRbtBlackWhite , "blackwhiterb" ); + get( m_pCbxPagename , "pagenmcb" ); + get( m_pCbxDate , "datecb" ); + get( m_pCbxTime , "timecb" ); + get( m_pCbxHiddenPages , "hiddenpgcb" ); + get( m_pRbtDefault , "pagedefaultrb" ); + get( m_pRbtPagesize , "fittopgrb" ); + get( m_pRbtPagetile , "tilepgrb" ); + get( m_pRbtBooklet , "brouchrb" ); + get( m_pCbxFront , "frontcb" ); + get( m_pCbxBack , "backcb" ); + get( m_pCbxPaperbin , "papertryfrmprntrcb" ); Link aLink = LINK( this, SdPrintOptions, ClickBookletHdl ); - aRbtDefault.SetClickHdl( aLink ); - aRbtPagesize.SetClickHdl( aLink ); - aRbtPagetile.SetClickHdl( aLink ); - aRbtBooklet.SetClickHdl( aLink ); + m_pRbtDefault->SetClickHdl( aLink ); + m_pRbtPagesize->SetClickHdl( aLink ); + m_pRbtPagetile->SetClickHdl( aLink ); + m_pRbtBooklet->SetClickHdl( aLink ); aLink = LINK( this, SdPrintOptions, ClickCheckboxHdl ); - aCbxDraw.SetClickHdl( aLink ); - aCbxNotes.SetClickHdl( aLink ); - aCbxHandout.SetClickHdl( aLink ); - aCbxOutline.SetClickHdl( aLink ); + m_pCbxDraw->SetClickHdl( aLink ); + m_pCbxNotes->SetClickHdl( aLink ); + m_pCbxHandout->SetClickHdl( aLink ); + m_pCbxOutline->SetClickHdl( aLink ); #ifndef MACOSX SetDrawMode(); #endif - aCbxFront.SetAccessibleRelationLabeledBy( &aRbtBooklet ); - aCbxBack.SetAccessibleRelationLabeledBy( &aRbtBooklet ); + m_pCbxFront->SetAccessibleRelationLabeledBy( m_pRbtBooklet ); + m_pCbxBack->SetAccessibleRelationLabeledBy( m_pRbtBooklet ); } // ----------------------------------------------------------------------- @@ -95,45 +82,45 @@ SdPrintOptions::~SdPrintOptions() sal_Bool SdPrintOptions::FillItemSet( SfxItemSet& rAttrs ) { - if( aCbxDraw.GetSavedValue() != aCbxDraw.IsChecked() || - aCbxNotes.GetSavedValue() != aCbxNotes.IsChecked() || - aCbxHandout.GetSavedValue() != aCbxHandout.IsChecked() || - aCbxOutline.GetSavedValue() != aCbxOutline.IsChecked() || - aCbxDate.GetSavedValue() != aCbxDate.IsChecked() || - aCbxTime.GetSavedValue() != aCbxTime.IsChecked() || - aCbxPagename.GetSavedValue() != aCbxPagename.IsChecked() || - aCbxHiddenPages.GetSavedValue() != aCbxHiddenPages.IsChecked() || - aRbtPagesize.GetSavedValue() != aRbtPagesize.IsChecked() || - aRbtPagetile.GetSavedValue() != aRbtPagetile.IsChecked() || - aRbtBooklet.GetSavedValue() != aRbtBooklet.IsChecked() || - aCbxFront.GetSavedValue() != aCbxFront.IsChecked() || - aCbxBack.GetSavedValue() != aCbxBack.IsChecked() || - aCbxPaperbin.GetSavedValue() != aCbxPaperbin.IsChecked() || - aRbtColor.GetSavedValue() != aRbtColor.IsChecked() || - aRbtGrayscale.GetSavedValue() != aRbtGrayscale.IsChecked() || - aRbtBlackWhite.GetSavedValue() != aRbtBlackWhite.IsChecked() ) + if( m_pCbxDraw->GetSavedValue() != m_pCbxDraw->IsChecked() || + m_pCbxNotes->GetSavedValue() != m_pCbxNotes->IsChecked() || + m_pCbxHandout->GetSavedValue() != m_pCbxHandout->IsChecked() || + m_pCbxOutline->GetSavedValue() != m_pCbxOutline->IsChecked() || + m_pCbxDate->GetSavedValue() != m_pCbxDate->IsChecked() || + m_pCbxTime->GetSavedValue() != m_pCbxTime->IsChecked() || + m_pCbxPagename->GetSavedValue() != m_pCbxPagename->IsChecked() || + m_pCbxHiddenPages->GetSavedValue() != m_pCbxHiddenPages->IsChecked() || + m_pRbtPagesize->GetSavedValue() != m_pRbtPagesize->IsChecked() || + m_pRbtPagetile->GetSavedValue() != m_pRbtPagetile->IsChecked() || + m_pRbtBooklet->GetSavedValue() != m_pRbtBooklet->IsChecked() || + m_pCbxFront->GetSavedValue() != m_pCbxFront->IsChecked() || + m_pCbxBack->GetSavedValue() != m_pCbxBack->IsChecked() || + m_pCbxPaperbin->GetSavedValue() != m_pCbxPaperbin->IsChecked() || + m_pRbtColor->GetSavedValue() != m_pRbtColor->IsChecked() || + m_pRbtGrayscale->GetSavedValue() != m_pRbtGrayscale->IsChecked() || + m_pRbtBlackWhite->GetSavedValue() != m_pRbtBlackWhite->IsChecked() ) { SdOptionsPrintItem aOptions( ATTR_OPTIONS_PRINT ); - aOptions.GetOptionsPrint().SetDraw( aCbxDraw.IsChecked() ); - aOptions.GetOptionsPrint().SetNotes( aCbxNotes.IsChecked() ); - aOptions.GetOptionsPrint().SetHandout( aCbxHandout.IsChecked() ); - aOptions.GetOptionsPrint().SetOutline( aCbxOutline.IsChecked() ); - aOptions.GetOptionsPrint().SetDate( aCbxDate.IsChecked() ); - aOptions.GetOptionsPrint().SetTime( aCbxTime.IsChecked() ); - aOptions.GetOptionsPrint().SetPagename( aCbxPagename.IsChecked() ); - aOptions.GetOptionsPrint().SetHiddenPages( aCbxHiddenPages.IsChecked() ); - aOptions.GetOptionsPrint().SetPagesize( aRbtPagesize.IsChecked() ); - aOptions.GetOptionsPrint().SetPagetile( aRbtPagetile.IsChecked() ); - aOptions.GetOptionsPrint().SetBooklet( aRbtBooklet.IsChecked() ); - aOptions.GetOptionsPrint().SetFrontPage( aCbxFront.IsChecked() ); - aOptions.GetOptionsPrint().SetBackPage( aCbxBack.IsChecked() ); - aOptions.GetOptionsPrint().SetPaperbin( aCbxPaperbin.IsChecked() ); + aOptions.GetOptionsPrint().SetDraw( m_pCbxDraw->IsChecked() ); + aOptions.GetOptionsPrint().SetNotes( m_pCbxNotes->IsChecked() ); + aOptions.GetOptionsPrint().SetHandout( m_pCbxHandout->IsChecked() ); + aOptions.GetOptionsPrint().SetOutline( m_pCbxOutline->IsChecked() ); + aOptions.GetOptionsPrint().SetDate( m_pCbxDate->IsChecked() ); + aOptions.GetOptionsPrint().SetTime( m_pCbxTime->IsChecked() ); + aOptions.GetOptionsPrint().SetPagename( m_pCbxPagename->IsChecked() ); + aOptions.GetOptionsPrint().SetHiddenPages( m_pCbxHiddenPages->IsChecked() ); + aOptions.GetOptionsPrint().SetPagesize( m_pRbtPagesize->IsChecked() ); + aOptions.GetOptionsPrint().SetPagetile( m_pRbtPagetile->IsChecked() ); + aOptions.GetOptionsPrint().SetBooklet( m_pRbtBooklet->IsChecked() ); + aOptions.GetOptionsPrint().SetFrontPage( m_pCbxFront->IsChecked() ); + aOptions.GetOptionsPrint().SetBackPage( m_pCbxBack->IsChecked() ); + aOptions.GetOptionsPrint().SetPaperbin( m_pCbxPaperbin->IsChecked() ); sal_uInt16 nQuality = 0; // Standard, also Color - if( aRbtGrayscale.IsChecked() ) + if( m_pRbtGrayscale->IsChecked() ) nQuality = 1; - if( aRbtBlackWhite.IsChecked() ) + if( m_pRbtBlackWhite->IsChecked() ) nQuality = 2; aOptions.GetOptionsPrint().SetOutputQuality( nQuality ); @@ -152,51 +139,51 @@ void SdPrintOptions::Reset( const SfxItemSet& rAttrs ) if( SFX_ITEM_SET == rAttrs.GetItemState( ATTR_OPTIONS_PRINT, sal_False, (const SfxPoolItem**) &pPrintOpts ) ) { - aCbxDraw.Check( pPrintOpts->GetOptionsPrint().IsDraw() ); - aCbxNotes.Check( pPrintOpts->GetOptionsPrint().IsNotes() ); - aCbxHandout.Check( pPrintOpts->GetOptionsPrint().IsHandout() ); - aCbxOutline.Check( pPrintOpts->GetOptionsPrint().IsOutline() ); - aCbxDate.Check( pPrintOpts->GetOptionsPrint().IsDate() ); - aCbxTime.Check( pPrintOpts->GetOptionsPrint().IsTime() ); - aCbxPagename.Check( pPrintOpts->GetOptionsPrint().IsPagename() ); - aCbxHiddenPages.Check( pPrintOpts->GetOptionsPrint().IsHiddenPages() ); - aRbtPagesize.Check( pPrintOpts->GetOptionsPrint().IsPagesize() ); - aRbtPagetile.Check( pPrintOpts->GetOptionsPrint().IsPagetile() ); - aRbtBooklet.Check( pPrintOpts->GetOptionsPrint().IsBooklet() ); - aCbxFront.Check( pPrintOpts->GetOptionsPrint().IsFrontPage() ); - aCbxBack.Check( pPrintOpts->GetOptionsPrint().IsBackPage() ); - aCbxPaperbin.Check( pPrintOpts->GetOptionsPrint().IsPaperbin() ); - - if( !aRbtPagesize.IsChecked() && - !aRbtPagetile.IsChecked() && - !aRbtBooklet.IsChecked() ) + m_pCbxDraw->Check( pPrintOpts->GetOptionsPrint().IsDraw() ); + m_pCbxNotes->Check( pPrintOpts->GetOptionsPrint().IsNotes() ); + m_pCbxHandout->Check( pPrintOpts->GetOptionsPrint().IsHandout() ); + m_pCbxOutline->Check( pPrintOpts->GetOptionsPrint().IsOutline() ); + m_pCbxDate->Check( pPrintOpts->GetOptionsPrint().IsDate() ); + m_pCbxTime->Check( pPrintOpts->GetOptionsPrint().IsTime() ); + m_pCbxPagename->Check( pPrintOpts->GetOptionsPrint().IsPagename() ); + m_pCbxHiddenPages->Check( pPrintOpts->GetOptionsPrint().IsHiddenPages() ); + m_pRbtPagesize->Check( pPrintOpts->GetOptionsPrint().IsPagesize() ); + m_pRbtPagetile->Check( pPrintOpts->GetOptionsPrint().IsPagetile() ); + m_pRbtBooklet->Check( pPrintOpts->GetOptionsPrint().IsBooklet() ); + m_pCbxFront->Check( pPrintOpts->GetOptionsPrint().IsFrontPage() ); + m_pCbxBack->Check( pPrintOpts->GetOptionsPrint().IsBackPage() ); + m_pCbxPaperbin->Check( pPrintOpts->GetOptionsPrint().IsPaperbin() ); + + if( !m_pRbtPagesize->IsChecked() && + !m_pRbtPagetile->IsChecked() && + !m_pRbtBooklet->IsChecked() ) { - aRbtDefault.Check(); + m_pRbtDefault->Check(); } sal_uInt16 nQuality = pPrintOpts->GetOptionsPrint().GetOutputQuality(); if( nQuality == 0 ) - aRbtColor.Check(); + m_pRbtColor->Check(); else if( nQuality == 1 ) - aRbtGrayscale.Check(); + m_pRbtGrayscale->Check(); else - aRbtBlackWhite.Check(); + m_pRbtBlackWhite->Check(); } - aCbxDraw.SaveValue(); - aCbxNotes.SaveValue(); - aCbxHandout.SaveValue(); - aCbxOutline.SaveValue(); - aCbxDate.SaveValue(); - aCbxTime.SaveValue(); - aCbxPagename.SaveValue(); - aCbxHiddenPages.SaveValue(); - aRbtPagesize.SaveValue(); - aRbtPagetile.SaveValue(); - aRbtBooklet.SaveValue(); - aCbxPaperbin.SaveValue(); - aRbtColor.SaveValue(); - aRbtGrayscale.SaveValue(); - aRbtBlackWhite.SaveValue(); + m_pCbxDraw->SaveValue(); + m_pCbxNotes->SaveValue(); + m_pCbxHandout->SaveValue(); + m_pCbxOutline->SaveValue(); + m_pCbxDate->SaveValue(); + m_pCbxTime->SaveValue(); + m_pCbxPagename->SaveValue(); + m_pCbxHiddenPages->SaveValue(); + m_pRbtPagesize->SaveValue(); + m_pRbtPagetile->SaveValue(); + m_pRbtBooklet->SaveValue(); + m_pCbxPaperbin->SaveValue(); + m_pRbtColor->SaveValue(); + m_pRbtGrayscale->SaveValue(); + m_pRbtBlackWhite->SaveValue(); ClickBookletHdl( NULL ); } @@ -214,7 +201,7 @@ SfxTabPage* SdPrintOptions::Create( Window* pWindow, IMPL_LINK( SdPrintOptions, ClickCheckboxHdl, CheckBox *, pCbx ) { // there must be at least one of them checked - if( !aCbxDraw.IsChecked() && !aCbxNotes.IsChecked() && !aCbxOutline.IsChecked() && !aCbxHandout.IsChecked() ) + if( !m_pCbxDraw->IsChecked() && !m_pCbxNotes->IsChecked() && !m_pCbxOutline->IsChecked() && !m_pCbxHandout->IsChecked() ) pCbx->Check(); updateControls(); @@ -231,43 +218,20 @@ IMPL_LINK_NOARG(SdPrintOptions, ClickBookletHdl) void SdPrintOptions::updateControls() { - aCbxFront.Enable(aRbtBooklet.IsChecked()); - aCbxBack.Enable(aRbtBooklet.IsChecked()); - - aCbxDate.Enable( !aRbtBooklet.IsChecked() ); - aCbxTime.Enable( !aRbtBooklet.IsChecked() ); + m_pCbxFront->Enable(m_pRbtBooklet->IsChecked()); + m_pCbxBack->Enable(m_pRbtBooklet->IsChecked()); - aCbxPagename.Enable( !aRbtBooklet.IsChecked() && (aCbxDraw.IsChecked() || aCbxNotes.IsChecked() || aCbxOutline.IsChecked()) ); -} + m_pCbxDate->Enable( !m_pRbtBooklet->IsChecked() ); + m_pCbxTime->Enable( !m_pRbtBooklet->IsChecked() ); -static void lcl_MoveRB_Impl(Window& rBtn, long nXDiff) -{ - Point aPos(rBtn.GetPosPixel()); - aPos.X() -= nXDiff; - rBtn.SetPosPixel(aPos); + m_pCbxPagename->Enable( !m_pRbtBooklet->IsChecked() && (m_pCbxDraw->IsChecked() || m_pCbxNotes->IsChecked() || m_pCbxOutline->IsChecked()) ); } void SdPrintOptions::SetDrawMode() { - if(aCbxNotes.IsVisible()) + if(m_pCbxNotes->IsVisible()) { - aCbxNotes.Hide(); - aCbxHandout.Hide(); - aCbxOutline.Hide(); - aCbxDraw.Hide(); - aGrpPrint.Hide(); - - aSeparator1FL.Hide(); - long nXDiff = aGrpOutput.GetPosPixel().X() - aGrpPrint.GetPosPixel().X(); - lcl_MoveRB_Impl(aRbtColor, nXDiff); - lcl_MoveRB_Impl(aRbtGrayscale, nXDiff); - lcl_MoveRB_Impl(aRbtBlackWhite, nXDiff); - lcl_MoveRB_Impl(aGrpOutput, nXDiff); - - long nWidth = aGrpOutput.GetSizePixel().Width() + nXDiff; - Size aSize(aGrpOutput.GetSizePixel()); - aSize.Width() = nWidth; - aGrpOutput.SetSizePixel(aSize); + m_pFrmContent->Hide(); } } diff --git a/sd/source/ui/dlg/prntopts.src b/sd/source/ui/dlg/prntopts.src deleted file mode 100644 index 718b914fed46..000000000000 --- a/sd/source/ui/dlg/prntopts.src +++ /dev/null @@ -1,214 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/* - * This file is part of the LibreOffice project. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. - * - * This file incorporates work covered by the following license notice: - * - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed - * with this work for additional information regarding copyright - * ownership. The ASF licenses this file to you under the Apache - * License, Version 2.0 (the "License"); you may not use this file - * except in compliance with the License. You may obtain a copy of - * the License at http://www.apache.org/licenses/LICENSE-2.0 . - */ - -#include <sfx2/tabpage.hrc> - -#include "prntopts.hrc" -#include "helpids.h" -TabPage TP_PRINT_OPTIONS -{ - HelpID = HID_SD_PRINT_OPTIONS ; - SVLook = TRUE ; - Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ; - Text [ en-US ] = "Options" ; - Hide = TRUE; - FixedLine GRP_PRINT - { - Pos = MAP_APPFONT ( 6 , 3 ) ; - Size = MAP_APPFONT ( 118 , 8 ) ; - Text [ en-US ] = "Contents" ; - }; - CheckBox CBX_DRAW - { - HelpID = "sd:CheckBox:TP_PRINT_OPTIONS:CBX_DRAW"; - TabStop = TRUE ; - Pos = MAP_APPFONT ( 12 , 14 ) ; - Size = MAP_APPFONT ( 90 , 10 ) ; - Text [ en-US ] = "~Drawing" ; - }; - CheckBox CBX_NOTES - { - HelpID = "sd:CheckBox:TP_PRINT_OPTIONS:CBX_NOTES"; - Pos = MAP_APPFONT ( 12 , 28 ) ; - Size = MAP_APPFONT ( 90 , 10 ) ; - TabStop = TRUE ; - Text [ en-US ] = "~Notes" ; - }; - CheckBox CBX_HANDOUTS - { - HelpID = "sd:CheckBox:TP_PRINT_OPTIONS:CBX_HANDOUTS"; - Pos = MAP_APPFONT ( 12 , 42 ) ; - Size = MAP_APPFONT ( 90 , 10 ) ; - TabStop = TRUE ; - Text [ en-US ] = "Hando~uts" ; - }; - CheckBox CBX_OUTLINE - { - HelpID = "sd:CheckBox:TP_PRINT_OPTIONS:CBX_OUTLINE"; - Pos = MAP_APPFONT ( 12 , 56 ) ; - Size = MAP_APPFONT ( 90 , 10 ) ; - TabStop = TRUE ; - Text [ en-US ] = "Out~line" ; - }; - FixedLine FL_SEPARATOR1 - { - Pos = MAP_APPFONT ( 125 , 14 ) ; - Size = MAP_APPFONT ( 4 , 52 ) ; - Vert = TRUE ; - }; - FixedLine GRP_OUTPUT - { - Pos = MAP_APPFONT ( 130 , 3 ) ; - Size = MAP_APPFONT ( 124 , 8 ) ; - Text [ en-US ] = "Quality" ; - }; - RadioButton RBT_COLOR - { - HelpID = "sd:RadioButton:TP_PRINT_OPTIONS:RBT_COLOR"; - Pos = MAP_APPFONT ( 136 , 14 ) ; - Size = MAP_APPFONT ( 100 , 10 ) ; - Text [ en-US ] = "Default" ; - TabStop = TRUE ; - }; - RadioButton RBT_GRAYSCALE - { - HelpID = "sd:RadioButton:TP_PRINT_OPTIONS:RBT_GRAYSCALE"; - Pos = MAP_APPFONT ( 136 , 28 ) ; - Size = MAP_APPFONT ( 100 , 10 ) ; - Text [ en-US ] = "Gra~yscale" ; - TabStop = TRUE ; - }; - RadioButton RBT_BLACKWHITE - { - HelpID = "sd:RadioButton:TP_PRINT_OPTIONS:RBT_BLACKWHITE"; - Pos = MAP_APPFONT ( 136 , 42 ) ; - Size = MAP_APPFONT ( 100 , 10 ) ; - Text [ en-US ] = "Black & ~white" ; - TabStop = TRUE ; - }; - FixedLine GRP_PRINT_EXT - { - Pos = MAP_APPFONT ( 6 , 72 ) ; - Size = MAP_APPFONT ( 118 , 8 ) ; - Text [ en-US ] = "Print" ; - }; - CheckBox CBX_PAGENAME - { - HelpID = "sd:CheckBox:TP_PRINT_OPTIONS:CBX_PAGENAME"; - Pos = MAP_APPFONT ( 12 , 83 ) ; - Size = MAP_APPFONT ( 90 , 10 ) ; - Text [ en-US ] = "~Page name" ; - TabStop = TRUE ; - }; - CheckBox CBX_DATE - { - HelpID = "sd:CheckBox:TP_PRINT_OPTIONS:CBX_DATE"; - Pos = MAP_APPFONT ( 12 , 97 ) ; - Size = MAP_APPFONT ( 90 , 10 ) ; - Text [ en-US ] = "D~ate" ; - TabStop = TRUE ; - }; - CheckBox CBX_TIME - { - HelpID = "sd:CheckBox:TP_PRINT_OPTIONS:CBX_TIME"; - Pos = MAP_APPFONT ( 12 , 111 ) ; - Size = MAP_APPFONT ( 90 , 10 ) ; - Text [ en-US ] = "Ti~me" ; - TabStop = TRUE ; - }; - CheckBox CBX_HIDDEN_PAGES - { - HelpID = "sd:CheckBox:TP_PRINT_OPTIONS:CBX_HIDDEN_PAGES"; - Pos = MAP_APPFONT ( 12 , 125 ) ; - // 120 , 14 - Size = MAP_APPFONT ( 90 , 10 ) ; - TabStop = TRUE ; - Text [ en-US ] = "H~idden pages" ; - }; - FixedLine FL_SEPARATOR2 - { - Pos = MAP_APPFONT ( 125 , 83 ) ; - Size = MAP_APPFONT ( 4 , 80 ) ; - Vert = TRUE ; - }; - FixedLine GRP_PAGE - { - Pos = MAP_APPFONT ( 130 , 72 ) ; - Size = MAP_APPFONT ( 124 , 8 ) ; - Text [ en-US ] = "Page options" ; - }; - RadioButton RBT_DEFAULT - { - HelpID = "sd:RadioButton:TP_PRINT_OPTIONS:RBT_DEFAULT"; - Pos = MAP_APPFONT ( 136 , 83 ) ; - Size = MAP_APPFONT ( 110 , 10 ) ; - TabStop = TRUE ; - Text [ en-US ] = "Default" ; - }; - RadioButton RBT_PAGESIZE - { - HelpID = "sd:RadioButton:TP_PRINT_OPTIONS:RBT_PAGESIZE"; - Pos = MAP_APPFONT ( 136 , 97 ) ; - Size = MAP_APPFONT ( 110 , 10 ) ; - Text [ en-US ] = "~Fit to page" ; - TabStop = TRUE ; - }; - RadioButton RBT_PAGETILE - { - HelpID = "sd:RadioButton:TP_PRINT_OPTIONS:RBT_PAGETILE"; - Pos = MAP_APPFONT ( 136 , 111 ) ; - Size = MAP_APPFONT ( 110 , 10 ) ; - TabStop = TRUE ; - Text [ en-US ] = "~Tile pages" ; - }; - RadioButton RBT_BOOKLET - { - HelpID = "sd:RadioButton:TP_PRINT_OPTIONS:RBT_BOOKLET"; - Pos = MAP_APPFONT ( 136, 125 ) ; - Size = MAP_APPFONT ( 110 , 10 ) ; - TabStop = TRUE ; - Text [ en-US ] = "B~rochure" ; - }; - CheckBox CBX_FRONT - { - HelpID = "sd:CheckBox:TP_PRINT_OPTIONS:CBX_FRONT"; - Pos = MAP_APPFONT ( 145 , 139 ) ; - Size = MAP_APPFONT ( 53 , 10 ) ; - TabStop = TRUE ; - Text [ en-US ] = "Fr~ont" ; - }; - CheckBox CBX_BACK - { - HelpID = "sd:CheckBox:TP_PRINT_OPTIONS:CBX_BACK"; - Pos = MAP_APPFONT ( 202 , 139 ) ; - Size = MAP_APPFONT ( 50 , 10 ) ; - TabStop = TRUE ; - Text [ en-US ] = "Ba~ck" ; - }; - CheckBox CBX_PAPERBIN - { - HelpID = "sd:CheckBox:TP_PRINT_OPTIONS:CBX_PAPERBIN"; - Pos = MAP_APPFONT ( 136 , 153 ) ; - Size = MAP_APPFONT ( 118 , 30 ) ; - Text [ en-US ] = "Paper tray from printer s~ettings" ; - WordBreak = TRUE ; - }; -}; - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sd/source/ui/inc/prntopts.hrc b/sd/source/ui/inc/prntopts.hrc deleted file mode 100644 index f263bcd89ce9..000000000000 --- a/sd/source/ui/inc/prntopts.hrc +++ /dev/null @@ -1,47 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/* - * This file is part of the LibreOffice project. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. - * - * This file incorporates work covered by the following license notice: - * - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed - * with this work for additional information regarding copyright - * ownership. The ASF licenses this file to you under the Apache - * License, Version 2.0 (the "License"); you may not use this file - * except in compliance with the License. You may obtain a copy of - * the License at http://www.apache.org/licenses/LICENSE-2.0 . - */ -#define TP_PRINT_OPTIONS 549 -#define LB_PRINT 1 -#define CBX_PAGENAME 2 -#define CBX_HIDDEN_PAGES 1 -#define GRP_PRINT 1 -#define GRP_PAGE 2 -#define CBX_DATE 3 -#define CBX_TIME 4 -#define CBX_DRAW 6 -#define CBX_NOTES 7 -#define CBX_HANDOUTS 8 -#define CBX_OUTLINE 9 -#define CBX_PAPERBIN 10 -#define CBX_FRONT 12 -#define CBX_BACK 13 -#define RBT_DEFAULT 1 -#define RBT_PAGESIZE 2 -#define RBT_PAGETILE 3 -#define RBT_BOOKLET 4 -#define GRP_PRINT_EXT 3 - -#define RBT_COLOR 5 -#define RBT_GRAYSCALE 6 -#define RBT_BLACKWHITE 7 -#define GRP_OUTPUT 5 -#define FL_SEPARATOR1 6 -#define FL_SEPARATOR2 7 - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sd/source/ui/inc/prntopts.hxx b/sd/source/ui/inc/prntopts.hxx index 839e0db4976c..36919cdfcd50 100644 --- a/sd/source/ui/inc/prntopts.hxx +++ b/sd/source/ui/inc/prntopts.hxx @@ -32,34 +32,25 @@ class SdPrintOptions : public SfxTabPage friend class SdModule; private: - FixedLine aGrpPrint; - CheckBox aCbxDraw; - CheckBox aCbxNotes; - CheckBox aCbxHandout; - CheckBox aCbxOutline; - - FixedLine aSeparator1FL; - FixedLine aGrpOutput; - RadioButton aRbtColor; - RadioButton aRbtGrayscale; - RadioButton aRbtBlackWhite; - - FixedLine aGrpPrintExt; - CheckBox aCbxPagename; - CheckBox aCbxDate; - CheckBox aCbxTime; - CheckBox aCbxHiddenPages; - - FixedLine aSeparator2FL; - FixedLine aGrpPageoptions; - RadioButton aRbtDefault; - RadioButton aRbtPagesize; - RadioButton aRbtPagetile; - RadioButton aRbtBooklet; - CheckBox aCbxFront; - CheckBox aCbxBack; - - CheckBox aCbxPaperbin; + VclFrame *m_pFrmContent; + CheckBox *m_pCbxDraw; + CheckBox *m_pCbxNotes; + CheckBox *m_pCbxHandout; + CheckBox *m_pCbxOutline; + RadioButton *m_pRbtColor; + RadioButton *m_pRbtGrayscale; + RadioButton *m_pRbtBlackWhite; + CheckBox *m_pCbxPagename; + CheckBox *m_pCbxDate; + CheckBox *m_pCbxTime; + CheckBox *m_pCbxHiddenPages; + RadioButton *m_pRbtDefault; + RadioButton *m_pRbtPagesize; + RadioButton *m_pRbtPagetile; + RadioButton *m_pRbtBooklet; + CheckBox *m_pCbxFront; + CheckBox *m_pCbxBack; + CheckBox *m_pCbxPaperbin; const SfxItemSet& rOutAttrs; diff --git a/sd/uiconfig/simpress/ui/prntopts.ui b/sd/uiconfig/simpress/ui/prntopts.ui new file mode 100644 index 000000000000..6f348ac25be3 --- /dev/null +++ b/sd/uiconfig/simpress/ui/prntopts.ui @@ -0,0 +1,517 @@ +<?xml version="1.0" encoding="UTF-8"?> +<interface> + <!-- interface-requires gtk+ 3.0 --> + <object class="GtkBox" id="prntopts"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="orientation">vertical</property> + <property name="spacing">6</property> + <child> + <object class="GtkBox" id="box1"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="spacing">6</property> + <property name="homogeneous">True</property> + <child> + <object class="GtkFrame" id="contentframe"> + <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> + <property name="row_spacing">6</property> + <child> + <object class="GtkCheckButton" id="drawingcb"> + <property name="label" translatable="yes">Drawing</property> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="receives_default">False</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="notecb"> + <property name="label" translatable="yes">Notes</property> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="receives_default">False</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="handoutcb"> + <property name="label" translatable="yes">Handouts</property> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="receives_default">False</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> + <child> + <object class="GtkCheckButton" id="outlinecb"> + <property name="label" translatable="yes">Outline</property> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="receives_default">False</property> + <property name="xalign">0</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="contentlbl"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="label" translatable="yes">Content</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="qualityframe"> + <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="grid4"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="row_spacing">6</property> + <child> + <object class="GtkRadioButton" id="defaultrb"> + <property name="label" translatable="yes">Default</property> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="receives_default">False</property> + <property name="xalign">0</property> + <property name="active">True</property> + <property name="draw_indicator">True</property> + <property name="group">grayscalerb</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="grayscalerb"> + <property name="label" translatable="yes">Gra_yScale</property> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="receives_default">False</property> + <property name="use_underline">True</property> + <property name="xalign">0.0099999997764825821</property> + <property name="draw_indicator">True</property> + <property name="group">blackwhiterb</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="blackwhiterb"> + <property name="label" translatable="yes">Black & _white</property> + <property name="visible">True</property> + <property name="can_focus">False</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">defaultrb</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">Quality</property> + <property name="use_underline">True</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> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="GtkBox" id="prntandpgoptbox"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="spacing">6</property> + <property name="homogeneous">True</property> + <child> + <object class="GtkFrame" id="printframe"> + <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="grid2"> + <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="GtkCheckButton" id="pagenmcb"> + <property name="label" translatable="yes">_Page name</property> + <property name="visible">True</property> + <property name="can_focus">False</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="datecb"> + <property name="label" translatable="yes">D_ate</property> + <property name="visible">True</property> + <property name="can_focus">False</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> + <child> + <object class="GtkCheckButton" id="timecb"> + <property name="label" translatable="yes">Ti_me</property> + <property name="visible">True</property> + <property name="can_focus">False</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> + <child> + <object class="GtkCheckButton" id="hiddenpgcb"> + <property name="label" translatable="yes">H_idden pages</property> + <property name="visible">True</property> + <property name="can_focus">False</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">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="printlbl"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="label" translatable="yes">Print</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="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="grid3"> + <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="GtkRadioButton" id="pagedefaultrb"> + <property name="label" translatable="yes">Default</property> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="receives_default">False</property> + <property name="xalign">0</property> + <property name="active">True</property> + <property name="draw_indicator">True</property> + <property name="group">fittopgrb</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="fittopgrb"> + <property name="label" translatable="yes">_Fit to page</property> + <property name="visible">True</property> + <property name="can_focus">False</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">tilepgrb</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="tilepgrb"> + <property name="label" translatable="yes">_Tile pages</property> + <property name="visible">True</property> + <property name="can_focus">False</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">brouchrb</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="GtkRadioButton" id="brouchrb"> + <property name="label" translatable="yes">B_rouchure</property> + <property name="visible">True</property> + <property name="can_focus">False</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">pagedefaultrb</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> + <child> + <object class="GtkCheckButton" id="papertryfrmprntrcb"> + <property name="label" translatable="yes">Paper tray from printer s_ettings</property> + <property name="visible">True</property> + <property name="can_focus">False</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">5</property> + <property name="width">1</property> + <property name="height">1</property> + </packing> + </child> + <child> + <object class="GtkBox" id="box4"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="margin_left">50</property> + <property name="spacing">6</property> + <child> + <object class="GtkCheckButton" id="frontcb"> + <property name="label" translatable="yes">Fr_ont</property> + <property name="visible">True</property> + <property name="can_focus">False</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="backcb"> + <property name="label" translatable="yes">Ba_ck</property> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="receives_default">False</property> + <property name="margin_left">50</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> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">4</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">Page options</property> + <attributes> + <attribute name="weight" value="semibold"/> + </attributes> + </object> + </child> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="padding">16</property> + <property name="position">1</property> + </packing> + </child> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">1</property> + </packing> + </child> + </object> +</interface> |