Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
df887550
Kaydet (Commit)
df887550
authored
Haz 10, 2013
tarafından
Abdulaziz A Alayed
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
convert impress and draw print page to .ui format
Change-Id: I4f72ca2f1d090fede24c7d7441f1855c617ab315
üst
8803299f
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
645 additions
and
436 deletions
+645
-436
AllLangResTarget_sd.mk
sd/AllLangResTarget_sd.mk
+0
-1
UIConfig_simpress.mk
sd/UIConfig_simpress.mk
+1
-0
helpids.h
sd/inc/helpids.h
+0
-1
sdmod2.cxx
sd/source/ui/app/sdmod2.cxx
+0
-1
prntopts.cxx
sd/source/ui/dlg/prntopts.cxx
+108
-144
prntopts.src
sd/source/ui/dlg/prntopts.src
+0
-214
prntopts.hrc
sd/source/ui/inc/prntopts.hrc
+0
-47
prntopts.hxx
sd/source/ui/inc/prntopts.hxx
+19
-28
prntopts.ui
sd/uiconfig/simpress/ui/prntopts.ui
+517
-0
No files found.
sd/AllLangResTarget_sd.mk
Dosyayı görüntüle @
df887550
...
@@ -61,7 +61,6 @@ $(eval $(call gb_SrsTarget_add_files,sd/res,\
...
@@ -61,7 +61,6 @@ $(eval $(call gb_SrsTarget_add_files,sd/res,\
sd/source/ui/dlg/PaneDockingWindow.src \
sd/source/ui/dlg/PaneDockingWindow.src \
sd/source/ui/dlg/paragr.src \
sd/source/ui/dlg/paragr.src \
sd/source/ui/dlg/prltempl.src \
sd/source/ui/dlg/prltempl.src \
sd/source/ui/dlg/prntopts.src \
sd/source/ui/dlg/RemoteDialog.src \
sd/source/ui/dlg/RemoteDialog.src \
sd/source/ui/dlg/sdpreslt.src \
sd/source/ui/dlg/sdpreslt.src \
sd/source/ui/dlg/tabtempl.src \
sd/source/ui/dlg/tabtempl.src \
...
...
sd/UIConfig_simpress.mk
Dosyayı görüntüle @
df887550
...
@@ -78,6 +78,7 @@ $(eval $(call gb_UIConfig_add_uifiles,modules/simpress,\
...
@@ -78,6 +78,7 @@ $(eval $(call gb_UIConfig_add_uifiles,modules/simpress,\
sd/uiconfig/simpress/ui/photoalbum \
sd/uiconfig/simpress/ui/photoalbum \
sd/uiconfig/simpress/ui/customslideshows \
sd/uiconfig/simpress/ui/customslideshows \
sd/uiconfig/simpress/ui/optimpressgeneralpage \
sd/uiconfig/simpress/ui/optimpressgeneralpage \
sd/uiconfig/simpress/ui/prntopts \
))
))
# vim: set noet sw=4 ts=4:
# vim: set noet sw=4 ts=4:
sd/inc/helpids.h
Dosyayı görüntüle @
df887550
...
@@ -23,7 +23,6 @@
...
@@ -23,7 +23,6 @@
#define HID_SDDRAWVIEWSHELL "SD_HID_SDDRAWVIEWSHELL"
#define HID_SDDRAWVIEWSHELL "SD_HID_SDDRAWVIEWSHELL"
#define HID_SDGRAPHICVIEWSHELL "SD_HID_SDGRAPHICVIEWSHELL"
#define HID_SDGRAPHICVIEWSHELL "SD_HID_SDGRAPHICVIEWSHELL"
#define HID_SDOUTLINEVIEWSHELL "SD_HID_SDOUTLINEVIEWSHELL"
#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_OPTIONS_SNAP "SD_HID_SD_OPTIONS_SNAP"
#define HID_SD_AUTOPILOT_PAGE1 "SD_HID_SD_AUTOPILOT_PAGE1"
#define HID_SD_AUTOPILOT_PAGE1 "SD_HID_SD_AUTOPILOT_PAGE1"
#define HID_SD_AUTOPILOT_PAGE2 "SD_HID_SD_AUTOPILOT_PAGE2"
#define HID_SD_AUTOPILOT_PAGE2 "SD_HID_SD_AUTOPILOT_PAGE2"
...
...
sd/source/ui/app/sdmod2.cxx
Dosyayı görüntüle @
df887550
...
@@ -66,7 +66,6 @@
...
@@ -66,7 +66,6 @@
#include "sdpage.hxx"
#include "sdpage.hxx"
#include "sdxfer.hxx"
#include "sdxfer.hxx"
#include "sdabstdlg.hxx"
#include "sdabstdlg.hxx"
#include "prntopts.hrc"
#include <svl/intitem.hxx>
#include <svl/intitem.hxx>
/** retrieves the page that is currently painted. This will only be the master page
/** retrieves the page that is currently painted. This will only be the master page
...
...
sd/source/ui/dlg/prntopts.cxx
Dosyayı görüntüle @
df887550
...
@@ -19,7 +19,6 @@
...
@@ -19,7 +19,6 @@
#include "sdattr.hxx"
#include "sdattr.hxx"
#include "optsitem.hxx"
#include "optsitem.hxx"
#include "prntopts.hrc"
#include "sdresid.hxx"
#include "sdresid.hxx"
#include "prntopts.hxx"
#include "prntopts.hxx"
#include "app.hrc"
#include "app.hrc"
...
@@ -30,59 +29,47 @@
...
@@ -30,59 +29,47 @@
* dialog to adjust print options
* dialog to adjust print options
*/
*/
SdPrintOptions
::
SdPrintOptions
(
Window
*
pParent
,
const
SfxItemSet
&
rInAttrs
)
:
SdPrintOptions
::
SdPrintOptions
(
Window
*
pParent
,
const
SfxItemSet
&
rInAttrs
)
:
SfxTabPage
(
pParent
,
SdResId
(
TP_PRINT_OPTIONS
),
rInAttrs
),
SfxTabPage
(
pParent
,
"prntopts"
,
"modules/simpress/ui/prntopts.ui"
,
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
)
),
rOutAttrs
(
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
);
Link
aLink
=
LINK
(
this
,
SdPrintOptions
,
ClickBookletHdl
);
aRbtDefault
.
SetClickHdl
(
aLink
);
m_pRbtDefault
->
SetClickHdl
(
aLink
);
aRbtPagesize
.
SetClickHdl
(
aLink
);
m_pRbtPagesize
->
SetClickHdl
(
aLink
);
aRbtPagetile
.
SetClickHdl
(
aLink
);
m_pRbtPagetile
->
SetClickHdl
(
aLink
);
aRbtBooklet
.
SetClickHdl
(
aLink
);
m_pRbtBooklet
->
SetClickHdl
(
aLink
);
aLink
=
LINK
(
this
,
SdPrintOptions
,
ClickCheckboxHdl
);
aLink
=
LINK
(
this
,
SdPrintOptions
,
ClickCheckboxHdl
);
aCbxDraw
.
SetClickHdl
(
aLink
);
m_pCbxDraw
->
SetClickHdl
(
aLink
);
aCbxNotes
.
SetClickHdl
(
aLink
);
m_pCbxNotes
->
SetClickHdl
(
aLink
);
aCbxHandout
.
SetClickHdl
(
aLink
);
m_pCbxHandout
->
SetClickHdl
(
aLink
);
aCbxOutline
.
SetClickHdl
(
aLink
);
m_pCbxOutline
->
SetClickHdl
(
aLink
);
#ifndef MACOSX
#ifndef MACOSX
SetDrawMode
();
SetDrawMode
();
#endif
#endif
aCbxFront
.
SetAccessibleRelationLabeledBy
(
&
a
RbtBooklet
);
m_pCbxFront
->
SetAccessibleRelationLabeledBy
(
m_p
RbtBooklet
);
aCbxBack
.
SetAccessibleRelationLabeledBy
(
&
a
RbtBooklet
);
m_pCbxBack
->
SetAccessibleRelationLabeledBy
(
m_p
RbtBooklet
);
}
}
// -----------------------------------------------------------------------
// -----------------------------------------------------------------------
...
@@ -95,45 +82,45 @@ SdPrintOptions::~SdPrintOptions()
...
@@ -95,45 +82,45 @@ SdPrintOptions::~SdPrintOptions()
sal_Bool
SdPrintOptions
::
FillItemSet
(
SfxItemSet
&
rAttrs
)
sal_Bool
SdPrintOptions
::
FillItemSet
(
SfxItemSet
&
rAttrs
)
{
{
if
(
aCbxDraw
.
GetSavedValue
()
!=
aCbxDraw
.
IsChecked
()
||
if
(
m_pCbxDraw
->
GetSavedValue
()
!=
m_pCbxDraw
->
IsChecked
()
||
aCbxNotes
.
GetSavedValue
()
!=
aCbxNotes
.
IsChecked
()
||
m_pCbxNotes
->
GetSavedValue
()
!=
m_pCbxNotes
->
IsChecked
()
||
aCbxHandout
.
GetSavedValue
()
!=
aCbxHandout
.
IsChecked
()
||
m_pCbxHandout
->
GetSavedValue
()
!=
m_pCbxHandout
->
IsChecked
()
||
aCbxOutline
.
GetSavedValue
()
!=
aCbxOutline
.
IsChecked
()
||
m_pCbxOutline
->
GetSavedValue
()
!=
m_pCbxOutline
->
IsChecked
()
||
aCbxDate
.
GetSavedValue
()
!=
aCbxDate
.
IsChecked
()
||
m_pCbxDate
->
GetSavedValue
()
!=
m_pCbxDate
->
IsChecked
()
||
aCbxTime
.
GetSavedValue
()
!=
aCbxTime
.
IsChecked
()
||
m_pCbxTime
->
GetSavedValue
()
!=
m_pCbxTime
->
IsChecked
()
||
aCbxPagename
.
GetSavedValue
()
!=
aCbxPagename
.
IsChecked
()
||
m_pCbxPagename
->
GetSavedValue
()
!=
m_pCbxPagename
->
IsChecked
()
||
aCbxHiddenPages
.
GetSavedValue
()
!=
aCbxHiddenPages
.
IsChecked
()
||
m_pCbxHiddenPages
->
GetSavedValue
()
!=
m_pCbxHiddenPages
->
IsChecked
()
||
aRbtPagesize
.
GetSavedValue
()
!=
aRbtPagesize
.
IsChecked
()
||
m_pRbtPagesize
->
GetSavedValue
()
!=
m_pRbtPagesize
->
IsChecked
()
||
aRbtPagetile
.
GetSavedValue
()
!=
aRbtPagetile
.
IsChecked
()
||
m_pRbtPagetile
->
GetSavedValue
()
!=
m_pRbtPagetile
->
IsChecked
()
||
aRbtBooklet
.
GetSavedValue
()
!=
aRbtBooklet
.
IsChecked
()
||
m_pRbtBooklet
->
GetSavedValue
()
!=
m_pRbtBooklet
->
IsChecked
()
||
aCbxFront
.
GetSavedValue
()
!=
aCbxFront
.
IsChecked
()
||
m_pCbxFront
->
GetSavedValue
()
!=
m_pCbxFront
->
IsChecked
()
||
aCbxBack
.
GetSavedValue
()
!=
aCbxBack
.
IsChecked
()
||
m_pCbxBack
->
GetSavedValue
()
!=
m_pCbxBack
->
IsChecked
()
||
aCbxPaperbin
.
GetSavedValue
()
!=
aCbxPaperbin
.
IsChecked
()
||
m_pCbxPaperbin
->
GetSavedValue
()
!=
m_pCbxPaperbin
->
IsChecked
()
||
aRbtColor
.
GetSavedValue
()
!=
aRbtColor
.
IsChecked
()
||
m_pRbtColor
->
GetSavedValue
()
!=
m_pRbtColor
->
IsChecked
()
||
aRbtGrayscale
.
GetSavedValue
()
!=
aRbtGrayscale
.
IsChecked
()
||
m_pRbtGrayscale
->
GetSavedValue
()
!=
m_pRbtGrayscale
->
IsChecked
()
||
aRbtBlackWhite
.
GetSavedValue
()
!=
aRbtBlackWhite
.
IsChecked
()
)
m_pRbtBlackWhite
->
GetSavedValue
()
!=
m_pRbtBlackWhite
->
IsChecked
()
)
{
{
SdOptionsPrintItem
aOptions
(
ATTR_OPTIONS_PRINT
);
SdOptionsPrintItem
aOptions
(
ATTR_OPTIONS_PRINT
);
aOptions
.
GetOptionsPrint
().
SetDraw
(
aCbxDraw
.
IsChecked
()
);
aOptions
.
GetOptionsPrint
().
SetDraw
(
m_pCbxDraw
->
IsChecked
()
);
aOptions
.
GetOptionsPrint
().
SetNotes
(
aCbxNotes
.
IsChecked
()
);
aOptions
.
GetOptionsPrint
().
SetNotes
(
m_pCbxNotes
->
IsChecked
()
);
aOptions
.
GetOptionsPrint
().
SetHandout
(
aCbxHandout
.
IsChecked
()
);
aOptions
.
GetOptionsPrint
().
SetHandout
(
m_pCbxHandout
->
IsChecked
()
);
aOptions
.
GetOptionsPrint
().
SetOutline
(
aCbxOutline
.
IsChecked
()
);
aOptions
.
GetOptionsPrint
().
SetOutline
(
m_pCbxOutline
->
IsChecked
()
);
aOptions
.
GetOptionsPrint
().
SetDate
(
aCbxDate
.
IsChecked
()
);
aOptions
.
GetOptionsPrint
().
SetDate
(
m_pCbxDate
->
IsChecked
()
);
aOptions
.
GetOptionsPrint
().
SetTime
(
aCbxTime
.
IsChecked
()
);
aOptions
.
GetOptionsPrint
().
SetTime
(
m_pCbxTime
->
IsChecked
()
);
aOptions
.
GetOptionsPrint
().
SetPagename
(
aCbxPagename
.
IsChecked
()
);
aOptions
.
GetOptionsPrint
().
SetPagename
(
m_pCbxPagename
->
IsChecked
()
);
aOptions
.
GetOptionsPrint
().
SetHiddenPages
(
aCbxHiddenPages
.
IsChecked
()
);
aOptions
.
GetOptionsPrint
().
SetHiddenPages
(
m_pCbxHiddenPages
->
IsChecked
()
);
aOptions
.
GetOptionsPrint
().
SetPagesize
(
aRbtPagesize
.
IsChecked
()
);
aOptions
.
GetOptionsPrint
().
SetPagesize
(
m_pRbtPagesize
->
IsChecked
()
);
aOptions
.
GetOptionsPrint
().
SetPagetile
(
aRbtPagetile
.
IsChecked
()
);
aOptions
.
GetOptionsPrint
().
SetPagetile
(
m_pRbtPagetile
->
IsChecked
()
);
aOptions
.
GetOptionsPrint
().
SetBooklet
(
aRbtBooklet
.
IsChecked
()
);
aOptions
.
GetOptionsPrint
().
SetBooklet
(
m_pRbtBooklet
->
IsChecked
()
);
aOptions
.
GetOptionsPrint
().
SetFrontPage
(
aCbxFront
.
IsChecked
()
);
aOptions
.
GetOptionsPrint
().
SetFrontPage
(
m_pCbxFront
->
IsChecked
()
);
aOptions
.
GetOptionsPrint
().
SetBackPage
(
aCbxBack
.
IsChecked
()
);
aOptions
.
GetOptionsPrint
().
SetBackPage
(
m_pCbxBack
->
IsChecked
()
);
aOptions
.
GetOptionsPrint
().
SetPaperbin
(
aCbxPaperbin
.
IsChecked
()
);
aOptions
.
GetOptionsPrint
().
SetPaperbin
(
m_pCbxPaperbin
->
IsChecked
()
);
sal_uInt16
nQuality
=
0
;
// Standard, also Color
sal_uInt16
nQuality
=
0
;
// Standard, also Color
if
(
aRbtGrayscale
.
IsChecked
()
)
if
(
m_pRbtGrayscale
->
IsChecked
()
)
nQuality
=
1
;
nQuality
=
1
;
if
(
aRbtBlackWhite
.
IsChecked
()
)
if
(
m_pRbtBlackWhite
->
IsChecked
()
)
nQuality
=
2
;
nQuality
=
2
;
aOptions
.
GetOptionsPrint
().
SetOutputQuality
(
nQuality
);
aOptions
.
GetOptionsPrint
().
SetOutputQuality
(
nQuality
);
...
@@ -152,51 +139,51 @@ void SdPrintOptions::Reset( const SfxItemSet& rAttrs )
...
@@ -152,51 +139,51 @@ void SdPrintOptions::Reset( const SfxItemSet& rAttrs )
if
(
SFX_ITEM_SET
==
rAttrs
.
GetItemState
(
ATTR_OPTIONS_PRINT
,
sal_False
,
if
(
SFX_ITEM_SET
==
rAttrs
.
GetItemState
(
ATTR_OPTIONS_PRINT
,
sal_False
,
(
const
SfxPoolItem
**
)
&
pPrintOpts
)
)
(
const
SfxPoolItem
**
)
&
pPrintOpts
)
)
{
{
aCbxDraw
.
Check
(
pPrintOpts
->
GetOptionsPrint
().
IsDraw
()
);
m_pCbxDraw
->
Check
(
pPrintOpts
->
GetOptionsPrint
().
IsDraw
()
);
aCbxNotes
.
Check
(
pPrintOpts
->
GetOptionsPrint
().
IsNotes
()
);
m_pCbxNotes
->
Check
(
pPrintOpts
->
GetOptionsPrint
().
IsNotes
()
);
aCbxHandout
.
Check
(
pPrintOpts
->
GetOptionsPrint
().
IsHandout
()
);
m_pCbxHandout
->
Check
(
pPrintOpts
->
GetOptionsPrint
().
IsHandout
()
);
aCbxOutline
.
Check
(
pPrintOpts
->
GetOptionsPrint
().
IsOutline
()
);
m_pCbxOutline
->
Check
(
pPrintOpts
->
GetOptionsPrint
().
IsOutline
()
);
aCbxDate
.
Check
(
pPrintOpts
->
GetOptionsPrint
().
IsDate
()
);
m_pCbxDate
->
Check
(
pPrintOpts
->
GetOptionsPrint
().
IsDate
()
);
aCbxTime
.
Check
(
pPrintOpts
->
GetOptionsPrint
().
IsTime
()
);
m_pCbxTime
->
Check
(
pPrintOpts
->
GetOptionsPrint
().
IsTime
()
);
aCbxPagename
.
Check
(
pPrintOpts
->
GetOptionsPrint
().
IsPagename
()
);
m_pCbxPagename
->
Check
(
pPrintOpts
->
GetOptionsPrint
().
IsPagename
()
);
aCbxHiddenPages
.
Check
(
pPrintOpts
->
GetOptionsPrint
().
IsHiddenPages
()
);
m_pCbxHiddenPages
->
Check
(
pPrintOpts
->
GetOptionsPrint
().
IsHiddenPages
()
);
aRbtPagesize
.
Check
(
pPrintOpts
->
GetOptionsPrint
().
IsPagesize
()
);
m_pRbtPagesize
->
Check
(
pPrintOpts
->
GetOptionsPrint
().
IsPagesize
()
);
aRbtPagetile
.
Check
(
pPrintOpts
->
GetOptionsPrint
().
IsPagetile
()
);
m_pRbtPagetile
->
Check
(
pPrintOpts
->
GetOptionsPrint
().
IsPagetile
()
);
aRbtBooklet
.
Check
(
pPrintOpts
->
GetOptionsPrint
().
IsBooklet
()
);
m_pRbtBooklet
->
Check
(
pPrintOpts
->
GetOptionsPrint
().
IsBooklet
()
);
aCbxFront
.
Check
(
pPrintOpts
->
GetOptionsPrint
().
IsFrontPage
()
);
m_pCbxFront
->
Check
(
pPrintOpts
->
GetOptionsPrint
().
IsFrontPage
()
);
aCbxBack
.
Check
(
pPrintOpts
->
GetOptionsPrint
().
IsBackPage
()
);
m_pCbxBack
->
Check
(
pPrintOpts
->
GetOptionsPrint
().
IsBackPage
()
);
aCbxPaperbin
.
Check
(
pPrintOpts
->
GetOptionsPrint
().
IsPaperbin
()
);
m_pCbxPaperbin
->
Check
(
pPrintOpts
->
GetOptionsPrint
().
IsPaperbin
()
);
if
(
!
aRbtPagesize
.
IsChecked
()
&&
if
(
!
m_pRbtPagesize
->
IsChecked
()
&&
!
aRbtPagetile
.
IsChecked
()
&&
!
m_pRbtPagetile
->
IsChecked
()
&&
!
aRbtBooklet
.
IsChecked
()
)
!
m_pRbtBooklet
->
IsChecked
()
)
{
{
aRbtDefault
.
Check
();
m_pRbtDefault
->
Check
();
}
}
sal_uInt16
nQuality
=
pPrintOpts
->
GetOptionsPrint
().
GetOutputQuality
();
sal_uInt16
nQuality
=
pPrintOpts
->
GetOptionsPrint
().
GetOutputQuality
();
if
(
nQuality
==
0
)
if
(
nQuality
==
0
)
aRbtColor
.
Check
();
m_pRbtColor
->
Check
();
else
if
(
nQuality
==
1
)
else
if
(
nQuality
==
1
)
aRbtGrayscale
.
Check
();
m_pRbtGrayscale
->
Check
();
else
else
aRbtBlackWhite
.
Check
();
m_pRbtBlackWhite
->
Check
();
}
}
aCbxDraw
.
SaveValue
();
m_pCbxDraw
->
SaveValue
();
aCbxNotes
.
SaveValue
();
m_pCbxNotes
->
SaveValue
();
aCbxHandout
.
SaveValue
();
m_pCbxHandout
->
SaveValue
();
aCbxOutline
.
SaveValue
();
m_pCbxOutline
->
SaveValue
();
aCbxDate
.
SaveValue
();
m_pCbxDate
->
SaveValue
();
aCbxTime
.
SaveValue
();
m_pCbxTime
->
SaveValue
();
aCbxPagename
.
SaveValue
();
m_pCbxPagename
->
SaveValue
();
aCbxHiddenPages
.
SaveValue
();
m_pCbxHiddenPages
->
SaveValue
();
aRbtPagesize
.
SaveValue
();
m_pRbtPagesize
->
SaveValue
();
aRbtPagetile
.
SaveValue
();
m_pRbtPagetile
->
SaveValue
();
aRbtBooklet
.
SaveValue
();
m_pRbtBooklet
->
SaveValue
();
aCbxPaperbin
.
SaveValue
();
m_pCbxPaperbin
->
SaveValue
();
aRbtColor
.
SaveValue
();
m_pRbtColor
->
SaveValue
();
aRbtGrayscale
.
SaveValue
();
m_pRbtGrayscale
->
SaveValue
();
aRbtBlackWhite
.
SaveValue
();
m_pRbtBlackWhite
->
SaveValue
();
ClickBookletHdl
(
NULL
);
ClickBookletHdl
(
NULL
);
}
}
...
@@ -214,7 +201,7 @@ SfxTabPage* SdPrintOptions::Create( Window* pWindow,
...
@@ -214,7 +201,7 @@ SfxTabPage* SdPrintOptions::Create( Window* pWindow,
IMPL_LINK
(
SdPrintOptions
,
ClickCheckboxHdl
,
CheckBox
*
,
pCbx
)
IMPL_LINK
(
SdPrintOptions
,
ClickCheckboxHdl
,
CheckBox
*
,
pCbx
)
{
{
// there must be at least one of them checked
// 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
();
pCbx
->
Check
();
updateControls
();
updateControls
();
...
@@ -231,43 +218,20 @@ IMPL_LINK_NOARG(SdPrintOptions, ClickBookletHdl)
...
@@ -231,43 +218,20 @@ IMPL_LINK_NOARG(SdPrintOptions, ClickBookletHdl)
void
SdPrintOptions
::
updateControls
()
void
SdPrintOptions
::
updateControls
()
{
{
aCbxFront
.
Enable
(
aRbtBooklet
.
IsChecked
());
m_pCbxFront
->
Enable
(
m_pRbtBooklet
->
IsChecked
());
aCbxBack
.
Enable
(
aRbtBooklet
.
IsChecked
());
m_pCbxBack
->
Enable
(
m_pRbtBooklet
->
IsChecked
());
aCbxDate
.
Enable
(
!
aRbtBooklet
.
IsChecked
()
);
aCbxTime
.
Enable
(
!
aRbtBooklet
.
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
)
m_pCbxPagename
->
Enable
(
!
m_pRbtBooklet
->
IsChecked
()
&&
(
m_pCbxDraw
->
IsChecked
()
||
m_pCbxNotes
->
IsChecked
()
||
m_pCbxOutline
->
IsChecked
())
);
{
Point
aPos
(
rBtn
.
GetPosPixel
());
aPos
.
X
()
-=
nXDiff
;
rBtn
.
SetPosPixel
(
aPos
);
}
}
void
SdPrintOptions
::
SetDrawMode
()
void
SdPrintOptions
::
SetDrawMode
()
{
{
if
(
aCbxNotes
.
IsVisible
())
if
(
m_pCbxNotes
->
IsVisible
())
{
{
aCbxNotes
.
Hide
();
m_pFrmContent
->
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
);
}
}
}
}
...
...
sd/source/ui/dlg/prntopts.src
deleted
100644 → 0
Dosyayı görüntüle @
8803299f
/* -*- 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: */
sd/source/ui/inc/prntopts.hrc
deleted
100644 → 0
Dosyayı görüntüle @
8803299f
/* -*- 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: */
sd/source/ui/inc/prntopts.hxx
Dosyayı görüntüle @
df887550
...
@@ -32,34 +32,25 @@ class SdPrintOptions : public SfxTabPage
...
@@ -32,34 +32,25 @@ class SdPrintOptions : public SfxTabPage
friend
class
SdModule
;
friend
class
SdModule
;
private
:
private
:
FixedLine
aGrpPrint
;
VclFrame
*
m_pFrmContent
;
CheckBox
aCbxDraw
;
CheckBox
*
m_pCbxDraw
;
CheckBox
aCbxNotes
;
CheckBox
*
m_pCbxNotes
;
CheckBox
aCbxHandout
;
CheckBox
*
m_pCbxHandout
;
CheckBox
aCbxOutline
;
CheckBox
*
m_pCbxOutline
;
RadioButton
*
m_pRbtColor
;
FixedLine
aSeparator1FL
;
RadioButton
*
m_pRbtGrayscale
;
FixedLine
aGrpOutput
;
RadioButton
*
m_pRbtBlackWhite
;
RadioButton
aRbtColor
;
CheckBox
*
m_pCbxPagename
;
RadioButton
aRbtGrayscale
;
CheckBox
*
m_pCbxDate
;
RadioButton
aRbtBlackWhite
;
CheckBox
*
m_pCbxTime
;
CheckBox
*
m_pCbxHiddenPages
;
FixedLine
aGrpPrintExt
;
RadioButton
*
m_pRbtDefault
;
CheckBox
aCbxPagename
;
RadioButton
*
m_pRbtPagesize
;
CheckBox
aCbxDate
;
RadioButton
*
m_pRbtPagetile
;
CheckBox
aCbxTime
;
RadioButton
*
m_pRbtBooklet
;
CheckBox
aCbxHiddenPages
;
CheckBox
*
m_pCbxFront
;
CheckBox
*
m_pCbxBack
;
FixedLine
aSeparator2FL
;
CheckBox
*
m_pCbxPaperbin
;
FixedLine
aGrpPageoptions
;
RadioButton
aRbtDefault
;
RadioButton
aRbtPagesize
;
RadioButton
aRbtPagetile
;
RadioButton
aRbtBooklet
;
CheckBox
aCbxFront
;
CheckBox
aCbxBack
;
CheckBox
aCbxPaperbin
;
const
SfxItemSet
&
rOutAttrs
;
const
SfxItemSet
&
rOutAttrs
;
...
...
sd/uiconfig/simpress/ui/prntopts.ui
0 → 100644
Dosyayı görüntüle @
df887550
<?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>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment