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
a2863a41
Kaydet (Commit)
a2863a41
authored
Ara 05, 2012
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
move printer setup .ui to svtools and replace .src with it
Change-Id: I8959b08aee2d2974552b8d33c03436973352d599
üst
b395637a
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
181 additions
and
370 deletions
+181
-370
AllLangResTarget_svt.mk
svtools/AllLangResTarget_svt.mk
+0
-1
UI_svt.mk
svtools/UI_svt.mk
+1
-0
prnsetup.hxx
svtools/inc/svtools/prnsetup.hxx
+7
-17
svtools.hrc
svtools/inc/svtools/svtools.hrc
+11
-11
prnsetup.cxx
svtools/source/dialogs/prnsetup.cxx
+34
-44
prnsetup.hrc
svtools/source/dialogs/prnsetup.hrc
+0
-39
prnsetup.src
svtools/source/dialogs/prnsetup.src
+0
-238
exportdialog.cxx
svtools/source/filter/exportdialog.cxx
+10
-10
svtools.src
svtools/source/misc/svtools.src
+118
-10
printersetupdialog.ui
svtools/uiconfig/ui/printersetupdialog.ui
+0
-0
No files found.
svtools/AllLangResTarget_svt.mk
Dosyayı görüntüle @
a2863a41
...
...
@@ -52,7 +52,6 @@ $(eval $(call gb_SrsTarget_add_files,svt/res,\
svtools/source/dialogs/addresstemplate.src \
svtools/source/dialogs/filedlg2.src \
svtools/source/dialogs/formats.src \
svtools/source/dialogs/prnsetup.src \
svtools/source/dialogs/so3res.src \
svtools/source/dialogs/wizardmachine.src \
svtools/source/java/javaerror.src \
...
...
svtools/UI_svt.mk
Dosyayı görüntüle @
a2863a41
...
...
@@ -12,6 +12,7 @@ $(eval $(call gb_UI_UI,svt))
$(eval $(call gb_UI_add_uifiles,svt,\
svtools/uiconfig/ui/graphicexport \
svtools/uiconfig/ui/placeedit \
svtools/uiconfig/ui/printersetupdialog \
svtools/uiconfig/ui/restartdialog \
))
...
...
svtools/inc/svtools/prnsetup.hxx
Dosyayı görüntüle @
a2863a41
...
...
@@ -40,23 +40,13 @@ class QueueInfo;
class
SVT_DLLPUBLIC
PrinterSetupDialog
:
public
ModalDialog
{
private
:
FixedLine
maFlPrinter
;
FixedText
maFtName
;
ListBox
maLbName
;
PushButton
maBtnProperties
;
PushButton
maBtnOptions
;
FixedText
maFtStatus
;
FixedInfo
maFiStatus
;
FixedText
maFtType
;
FixedInfo
maFiType
;
FixedText
maFtLocation
;
FixedInfo
maFiLocation
;
FixedText
maFtComment
;
FixedInfo
maFiComment
;
FixedLine
maFlSepButton
;
OKButton
maBtnOK
;
CancelButton
maBtnCancel
;
HelpButton
maBtnHelp
;
ListBox
*
m_pLbName
;
PushButton
*
m_pBtnProperties
;
PushButton
*
m_pBtnOptions
;
FixedText
*
m_pFiStatus
;
FixedText
*
m_pFiType
;
FixedText
*
m_pFiLocation
;
FixedText
*
m_pFiComment
;
AutoTimer
maStatusTimer
;
Printer
*
mpPrinter
;
Printer
*
mpTempPrinter
;
...
...
svtools/inc/svtools/svtools.hrc
Dosyayı görüntüle @
a2863a41
...
...
@@ -41,16 +41,16 @@
#define STR_SVT_FILEVIEW_COLUMN_TYPE (RID_SVTOOLS_START + 29)
#define STR_FILTERNAME_ALL (RID_SVTOOLS_START + 30)
#define RID_FILEVIEW_CONTEXTMENU (RID_SVTOOLS_START + 31)
#define STR_
1BIT_THRESHOLD
(RID_SVTOOLS_START + 32)
#define STR_
1BIT_DITHERED
(RID_SVTOOLS_START + 33)
#define STR_
4BIT_GRAYSCALE
(RID_SVTOOLS_START + 34)
#define STR_
4BIT_COLOR_PALETTE
(RID_SVTOOLS_START + 35)
#define STR_
8BIT_GRAYSCALE
(RID_SVTOOLS_START + 36)
#define STR_
8BIT_COLOR_PALETTE
(RID_SVTOOLS_START + 37)
#define STR_
24BIT_TRUE_COLOR
(RID_SVTOOLS_START + 38)
#define STR_
ESTIMATED_SIZE_PIX_1
(RID_SVTOOLS_START + 39)
#define STR_
ESTIMATED_SIZE_PIX_2
(RID_SVTOOLS_START + 40)
#define STR_
ESTIMATED_SIZE_VEC
(RID_SVTOOLS_START + 41)
#define STR_
SVT_1BIT_THRESHOLD
(RID_SVTOOLS_START + 32)
#define STR_
SVT_1BIT_DITHERED
(RID_SVTOOLS_START + 33)
#define STR_
SVT_4BIT_GRAYSCALE
(RID_SVTOOLS_START + 34)
#define STR_
SVT_4BIT_COLOR_PALETTE
(RID_SVTOOLS_START + 35)
#define STR_
SVT_8BIT_GRAYSCALE
(RID_SVTOOLS_START + 36)
#define STR_
SVT_8BIT_COLOR_PALETTE
(RID_SVTOOLS_START + 37)
#define STR_
SVT_24BIT_TRUE_COLOR
(RID_SVTOOLS_START + 38)
#define STR_
SVT_ESTIMATED_SIZE_PIX_1
(RID_SVTOOLS_START + 39)
#define STR_
SVT_ESTIMATED_SIZE_PIX_2
(RID_SVTOOLS_START + 40)
#define STR_
SVT_ESTIMATED_SIZE_VEC
(RID_SVTOOLS_START + 41)
// doc template dialog
#define DLG_DOCTEMPLATE (RID_SVTOOLS_START+50)
...
...
@@ -80,7 +80,7 @@
#define STR_BASICKEY_FORMAT_CURRENCY (RID_SVTOOLS_START+130)
#define STR_SVT_PRNDLG_START (RID_SVTOOLS_START+141)
#define DLG_SVT_PRNDLG_PRNSETUPDLG (STR_SVT_PRNDLG_START+0)
#define STR_SVT_PRNDLG_READY (STR_SVT_PRNDLG_START+2)
#define STR_SVT_PRNDLG_PAUSED (STR_SVT_PRNDLG_START+3)
#define STR_SVT_PRNDLG_PENDING (STR_SVT_PRNDLG_START+4)
...
...
svtools/source/dialogs/prnsetup.cxx
Dosyayı görüntüle @
a2863a41
...
...
@@ -17,11 +17,10 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#include <vcl/print.hxx>
#include <svtools/svtresid.hxx>
#include "prnsetup.hrc"
#include <svtools/prnsetup.hxx>
#include <svtools/svtools.hrc>
#include <svtools/svtresid.hxx>
#include <vcl/print.hxx>
// =======================================================================
...
...
@@ -217,45 +216,36 @@ XubString ImplPrnDlgGetStatusText( const QueueInfo& rInfo )
// =======================================================================
PrinterSetupDialog
::
PrinterSetupDialog
(
Window
*
pWindow
)
:
ModalDialog
(
pWindow
,
SvtResId
(
DLG_SVT_PRNDLG_PRNSETUPDLG
)
),
maFlPrinter
(
this
,
SvtResId
(
FL_PRINTER
)
),
maFtName
(
this
,
SvtResId
(
FT_NAME
)
),
maLbName
(
this
,
SvtResId
(
LB_NAMES
)
),
maBtnProperties
(
this
,
SvtResId
(
BTN_PROPERTIES
)
),
maBtnOptions
(
this
,
SvtResId
(
BTN_OPTIONS
)
),
maFtStatus
(
this
,
SvtResId
(
FT_STATUS
)
),
maFiStatus
(
this
,
SvtResId
(
FI_STATUS
)
),
maFtType
(
this
,
SvtResId
(
FT_TYPE
)
),
maFiType
(
this
,
SvtResId
(
FI_TYPE
)
),
maFtLocation
(
this
,
SvtResId
(
FT_LOCATION
)
),
maFiLocation
(
this
,
SvtResId
(
FI_LOCATION
)
),
maFtComment
(
this
,
SvtResId
(
FT_COMMENT
)
),
maFiComment
(
this
,
SvtResId
(
FI_COMMENT
)
),
maFlSepButton
(
this
,
SvtResId
(
FL_SEPBUTTON
)
),
maBtnOK
(
this
,
SvtResId
(
BTN_OK
)
),
maBtnCancel
(
this
,
SvtResId
(
BTN_CANCEL
)
),
maBtnHelp
(
this
,
SvtResId
(
BTN_HELP
)
)
PrinterSetupDialog
::
PrinterSetupDialog
(
Window
*
pParent
)
:
ModalDialog
(
pParent
,
"PrinterSetupDialog"
,
"svt/ui/printersetupdialog.ui"
)
{
FreeResource
();
get
(
m_pLbName
,
"name"
);
m_pLbName
->
SetStyle
(
m_pLbName
->
GetStyle
()
|
WB_SORT
);
get
(
m_pBtnProperties
,
"properties"
);
get
(
m_pBtnOptions
,
"options"
);
get
(
m_pFiStatus
,
"status"
);
get
(
m_pFiType
,
"type"
);
get
(
m_pFiLocation
,
"location"
);
get
(
m_pFiComment
,
"comment"
);
// show options button only if link is set
m
aBtnOptions
.
Hide
();
m
_pBtnOptions
->
Hide
();
mpPrinter
=
NULL
;
mpTempPrinter
=
NULL
;
maStatusTimer
.
SetTimeout
(
IMPL_PRINTDLG_STATUS_UPDATE
);
maStatusTimer
.
SetTimeoutHdl
(
LINK
(
this
,
PrinterSetupDialog
,
ImplStatusHdl
)
);
m
aBtnProperties
.
SetClickHdl
(
LINK
(
this
,
PrinterSetupDialog
,
ImplPropertiesHdl
)
);
m
aLbName
.
SetSelectHdl
(
LINK
(
this
,
PrinterSetupDialog
,
ImplChangePrinterHdl
)
);
m
_pBtnProperties
->
SetClickHdl
(
LINK
(
this
,
PrinterSetupDialog
,
ImplPropertiesHdl
)
);
m
_pLbName
->
SetSelectHdl
(
LINK
(
this
,
PrinterSetupDialog
,
ImplChangePrinterHdl
)
);
}
// -----------------------------------------------------------------------
PrinterSetupDialog
::~
PrinterSetupDialog
()
{
ImplFreePrnDlgListBox
(
&
maLbName
,
sal_False
);
ImplFreePrnDlgListBox
(
m_pLbName
,
sal_False
);
delete
mpTempPrinter
;
}
...
...
@@ -263,27 +253,27 @@ PrinterSetupDialog::~PrinterSetupDialog()
void
PrinterSetupDialog
::
SetOptionsHdl
(
const
Link
&
rLink
)
{
m
aBtnOptions
.
SetClickHdl
(
rLink
);
m
aBtnOptions
.
Show
(
rLink
.
IsSet
()
);
m
_pBtnOptions
->
SetClickHdl
(
rLink
);
m
_pBtnOptions
->
Show
(
rLink
.
IsSet
()
);
}
void
PrinterSetupDialog
::
ImplSetInfo
()
{
const
QueueInfo
*
pInfo
=
Printer
::
GetQueueInfo
(
m
aLbName
.
GetSelectEntry
(),
true
);
const
QueueInfo
*
pInfo
=
Printer
::
GetQueueInfo
(
m
_pLbName
->
GetSelectEntry
(),
true
);
if
(
pInfo
)
{
m
aFiType
.
SetText
(
pInfo
->
GetDriver
()
);
m
aFiLocation
.
SetText
(
pInfo
->
GetLocation
()
);
m
aFiComment
.
SetText
(
pInfo
->
GetComment
()
);
m
aFiStatus
.
SetText
(
ImplPrnDlgGetStatusText
(
*
pInfo
)
);
m
_pFiType
->
SetText
(
pInfo
->
GetDriver
()
);
m
_pFiLocation
->
SetText
(
pInfo
->
GetLocation
()
);
m
_pFiComment
->
SetText
(
pInfo
->
GetComment
()
);
m
_pFiStatus
->
SetText
(
ImplPrnDlgGetStatusText
(
*
pInfo
)
);
}
else
{
XubString
aTempStr
;
m
aFiType
.
SetText
(
aTempStr
);
m
aFiLocation
.
SetText
(
aTempStr
);
m
aFiComment
.
SetText
(
aTempStr
);
m
aFiStatus
.
SetText
(
aTempStr
);
m
_pFiType
->
SetText
(
aTempStr
);
m
_pFiLocation
->
SetText
(
aTempStr
);
m
_pFiComment
->
SetText
(
aTempStr
);
m
_pFiStatus
->
SetText
(
aTempStr
);
}
}
...
...
@@ -292,8 +282,8 @@ void PrinterSetupDialog::ImplSetInfo()
IMPL_LINK_NOARG
(
PrinterSetupDialog
,
ImplStatusHdl
)
{
QueueInfo
aInfo
;
ImplPrnDlgUpdateQueueInfo
(
&
maLbName
,
aInfo
);
m
aFiStatus
.
SetText
(
ImplPrnDlgGetStatusText
(
aInfo
)
);
ImplPrnDlgUpdateQueueInfo
(
m_pLbName
,
aInfo
);
m
_pFiStatus
->
SetText
(
ImplPrnDlgGetStatusText
(
aInfo
)
);
return
0
;
}
...
...
@@ -313,7 +303,7 @@ IMPL_LINK_NOARG(PrinterSetupDialog, ImplPropertiesHdl)
IMPL_LINK_NOARG
(
PrinterSetupDialog
,
ImplChangePrinterHdl
)
{
mpTempPrinter
=
ImplPrnDlgListBoxSelect
(
&
maLbName
,
&
ma
BtnProperties
,
mpTempPrinter
=
ImplPrnDlgListBoxSelect
(
m_pLbName
,
m_p
BtnProperties
,
mpPrinter
,
mpTempPrinter
);
ImplSetInfo
();
return
0
;
...
...
@@ -341,7 +331,7 @@ void PrinterSetupDialog::DataChanged( const DataChangedEvent& rDCEvt )
pPrn
=
mpTempPrinter
;
else
pPrn
=
mpPrinter
;
ImplFillPrnDlgListBox
(
pPrn
,
&
maLbName
,
&
maBtnProperties
);
ImplFillPrnDlgListBox
(
pPrn
,
m_pLbName
,
m_pBtnProperties
);
ImplSetInfo
();
}
...
...
@@ -360,7 +350,7 @@ short PrinterSetupDialog::Execute()
Printer
::
updatePrinters
();
ImplFillPrnDlgListBox
(
mpPrinter
,
&
maLbName
,
&
maBtnProperties
);
ImplFillPrnDlgListBox
(
mpPrinter
,
m_pLbName
,
m_pBtnProperties
);
ImplSetInfo
();
maStatusTimer
.
Start
();
...
...
svtools/source/dialogs/prnsetup.hrc
deleted
100644 → 0
Dosyayı görüntüle @
b395637a
/*
* 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 <svtools/svtools.hrc>
#define FL_PRINTER 1
#define LB_NAMES 2
#define BTN_PROPERTIES 3
#define FT_NAME 4
#define FT_STATUS 5
#define FI_STATUS 6
#define FT_TYPE 7
#define FI_TYPE 8
#define FT_LOCATION 9
#define FI_LOCATION 10
#define FT_COMMENT 11
#define FI_COMMENT 12
#define BTN_OK 13
#define BTN_CANCEL 14
#define BTN_HELP 15
#define FL_SEPBUTTON 16
#define BTN_OPTIONS 17
svtools/source/dialogs/prnsetup.src
deleted
100644 → 0
Dosyayı görüntüle @
b395637a
/*
* 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 "prnsetup.hrc"
String STR_SVT_PRNDLG_READY
{
Text [ en-US ] = "Ready" ;
};
String STR_SVT_PRNDLG_PAUSED
{
Text [ en-US ] = "Paused" ;
};
String STR_SVT_PRNDLG_PENDING
{
Text [ en-US ] = "Pending deletion" ;
};
String STR_SVT_PRNDLG_BUSY
{
Text [ en-US ] = "Busy" ;
};
String STR_SVT_PRNDLG_INITIALIZING
{
Text [ en-US ] = "Initializing" ;
};
String STR_SVT_PRNDLG_WAITING
{
Text [ en-US ] = "Waiting" ;
};
String STR_SVT_PRNDLG_WARMING_UP
{
Text [ en-US ] = "Warming up" ;
};
String STR_SVT_PRNDLG_PROCESSING
{
Text [ en-US ] = "Processing" ;
};
String STR_SVT_PRNDLG_PRINTING
{
Text [ en-US ] = "Printing" ;
};
String STR_SVT_PRNDLG_OFFLINE
{
Text [ en-US ] = "Offline" ;
};
String STR_SVT_PRNDLG_ERROR
{
Text [ en-US ] = "Error" ;
};
String STR_SVT_PRNDLG_SERVER_UNKNOWN
{
Text [ en-US ] = "Unknown Server" ;
};
String STR_SVT_PRNDLG_PAPER_JAM
{
Text [ en-US ] = "Paper jam" ;
};
String STR_SVT_PRNDLG_PAPER_OUT
{
Text [ en-US ] = "Not enough paper" ;
};
String STR_SVT_PRNDLG_MANUAL_FEED
{
Text [ en-US ] = "Manual feed" ;
};
String STR_SVT_PRNDLG_PAPER_PROBLEM
{
Text [ en-US ] = "Paper problem" ;
};
String STR_SVT_PRNDLG_IO_ACTIVE
{
Text [ en-US ] = "I/O active" ;
};
String STR_SVT_PRNDLG_OUTPUT_BIN_FULL
{
Text [ en-US ] = "Output bin full" ;
};
String STR_SVT_PRNDLG_TONER_LOW
{
Text [ en-US ] = "Toner low" ;
};
String STR_SVT_PRNDLG_NO_TONER
{
Text [ en-US ] = "No toner" ;
};
String STR_SVT_PRNDLG_PAGE_PUNT
{
Text [ en-US ] = "Delete Page" ;
};
String STR_SVT_PRNDLG_USER_INTERVENTION
{
Text [ en-US ] = "User intervention necessary" ;
};
String STR_SVT_PRNDLG_OUT_OF_MEMORY
{
Text [ en-US ] = "Insufficient memory" ;
};
String STR_SVT_PRNDLG_DOOR_OPEN
{
Text [ en-US ] = "Cover open" ;
};
String STR_SVT_PRNDLG_POWER_SAVE
{
Text [ en-US ] = "Power save mode" ;
};
String STR_SVT_PRNDLG_DEFPRINTER
{
Text [ en-US ] = "Default printer" ;
};
String STR_SVT_PRNDLG_JOBCOUNT
{
Text [ en-US ] = "%d documents" ;
};
ModalDialog DLG_SVT_PRNDLG_PRNSETUPDLG
{
HelpID = "svtools:ModalDialog:DLG_SVT_PRNDLG_PRNSETUPDLG";
OutputSize = TRUE ;
SVLook = TRUE ;
Moveable = TRUE ;
Size = MAP_APPFONT ( 260 , 104 ) ;
Text [ en-US ] = "Printer Setup" ;
FixedLine FL_PRINTER
{
Pos = MAP_APPFONT ( 6 , 3 ) ;
Size = MAP_APPFONT ( 248 , 8 ) ;
Text [ en-US ] = "Printer" ;
};
FixedText FT_NAME
{
Pos = MAP_APPFONT ( 12 , 14 ) ;
Size = MAP_APPFONT ( 45 , 10 ) ;
Text [ en-US ] = "~Name" ;
};
ListBox LB_NAMES
{
HelpID = "svtools:ListBox:DLG_SVT_PRNDLG_PRNSETUPDLG:LB_NAMES";
Border = TRUE ;
Pos = MAP_APPFONT ( 60 , 12 ) ;
Size = MAP_APPFONT ( 125 , 80 ) ;
DropDown = TRUE ;
Sort = TRUE ;
};
PushButton BTN_PROPERTIES
{
HelpID = "svtools:PushButton:DLG_SVT_PRNDLG_PRNSETUPDLG:BTN_PROPERTIES";
Pos = MAP_APPFONT ( 188 , 12 ) ;
Size = MAP_APPFONT ( 60 , 14 ) ;
Text [ en-US ] = "Propert~ies..." ;
};
FixedText FT_STATUS
{
Pos = MAP_APPFONT ( 12 , 29 ) ;
Size = MAP_APPFONT ( 45 , 10 ) ;
Text [ en-US ] = "Status" ;
};
FixedText FI_STATUS
{
Pos = MAP_APPFONT ( 60 , 29 ) ;
Size = MAP_APPFONT ( 188 , 10 ) ;
};
FixedText FT_TYPE
{
Pos = MAP_APPFONT ( 12 , 40 ) ;
Size = MAP_APPFONT ( 45 , 10 ) ;
Text [ en-US ] = "Type" ;
};
FixedText FI_TYPE
{
Pos = MAP_APPFONT ( 60 , 40 ) ;
Size = MAP_APPFONT ( 188 , 10 ) ;
};
FixedText FT_LOCATION
{
Pos = MAP_APPFONT ( 12 , 51 ) ;
Size = MAP_APPFONT ( 45 , 10 ) ;
Text [ en-US ] = "Location" ;
};
FixedText FI_LOCATION
{
Pos = MAP_APPFONT ( 60 , 51 ) ;
Size = MAP_APPFONT ( 188 , 10 ) ;
};
FixedText FT_COMMENT
{
Pos = MAP_APPFONT ( 12 , 62 ) ;
Size = MAP_APPFONT ( 45 , 10 ) ;
Text [ en-US ] = "Comment" ;
};
FixedText FI_COMMENT
{
Pos = MAP_APPFONT ( 60 , 62 ) ;
Size = MAP_APPFONT ( 188 , 10 ) ;
};
FixedLine FL_SEPBUTTON
{
Pos = MAP_APPFONT ( 0, 78 );
Size = MAP_APPFONT ( 260, 2 );
};
PushButton BTN_OPTIONS
{
HelpID = "svtools:PushButton:DLG_SVT_PRNDLG_PRNSETUPDLG:BTN_OPTIONS";
Pos = MAP_APPFONT ( 5 , 84 ) ;
Size = MAP_APPFONT ( 50 , 14 ) ;
Text [ en-US ] = "~Options..." ;
};
OKButton BTN_OK
{
Pos = MAP_APPFONT ( 95 , 84 ) ;
Size = MAP_APPFONT ( 50 , 14 ) ;
DefButton = TRUE ;
};
CancelButton BTN_CANCEL
{
Pos = MAP_APPFONT ( 148 , 84 ) ;
Size = MAP_APPFONT ( 50 , 14 ) ;
};
HelpButton BTN_HELP
{
Pos = MAP_APPFONT ( 204 , 84 ) ;
Size = MAP_APPFONT ( 50 , 14 ) ;
};
};
svtools/source/filter/exportdialog.cxx
Dosyayı görüntüle @
a2863a41
...
...
@@ -568,16 +568,16 @@ ExportDialog::ExportDialog(FltCallDialogParameter& rPara,
,
mxSourceDocument
(
rxSourceDocument
)
,
mpSbCompression
(
NULL
)
,
mpNfCompression
(
NULL
)
,
msEstimatedSizePix1
(
SVT_RESSTR
(
STR_ESTIMATED_SIZE_PIX_1
))
,
msEstimatedSizePix2
(
SVT_RESSTR
(
STR_ESTIMATED_SIZE_PIX_2
))
,
msEstimatedSizeVec
(
SVT_RESSTR
(
STR_ESTIMATED_SIZE_VEC
))
,
ms1BitTreshold
(
SVT_RESSTR
(
STR_1BIT_THRESHOLD
))
,
ms1BitDithered
(
SVT_RESSTR
(
STR_1BIT_DITHERED
))
,
ms4BitGrayscale
(
SVT_RESSTR
(
STR_4BIT_GRAYSCALE
))
,
ms4BitColorPalette
(
SVT_RESSTR
(
STR_4BIT_COLOR_PALETTE
))
,
ms8BitGrayscale
(
SVT_RESSTR
(
STR_8BIT_GRAYSCALE
))
,
ms8BitColorPalette
(
SVT_RESSTR
(
STR_8BIT_COLOR_PALETTE
))
,
ms24BitColor
(
SVT_RESSTR
(
STR_24BIT_TRUE_COLOR
))
,
msEstimatedSizePix1
(
SVT_RESSTR
(
STR_
SVT_
ESTIMATED_SIZE_PIX_1
))
,
msEstimatedSizePix2
(
SVT_RESSTR
(
STR_
SVT_
ESTIMATED_SIZE_PIX_2
))
,
msEstimatedSizeVec
(
SVT_RESSTR
(
STR_
SVT_
ESTIMATED_SIZE_VEC
))
,
ms1BitTreshold
(
SVT_RESSTR
(
STR_
SVT_
1BIT_THRESHOLD
))
,
ms1BitDithered
(
SVT_RESSTR
(
STR_
SVT_
1BIT_DITHERED
))
,
ms4BitGrayscale
(
SVT_RESSTR
(
STR_
SVT_
4BIT_GRAYSCALE
))
,
ms4BitColorPalette
(
SVT_RESSTR
(
STR_
SVT_
4BIT_COLOR_PALETTE
))
,
ms8BitGrayscale
(
SVT_RESSTR
(
STR_
SVT_
8BIT_GRAYSCALE
))
,
ms8BitColorPalette
(
SVT_RESSTR
(
STR_
SVT_
8BIT_COLOR_PALETTE
))
,
ms24BitColor
(
SVT_RESSTR
(
STR_
SVT_
24BIT_TRUE_COLOR
))
,
maExt
(
rPara
.
aFilterExt
)
,
mnFormat
(
FORMAT_UNKNOWN
)
,
mnMaxFilesizeForRealtimePreview
(
0
)
...
...
svtools/source/misc/svtools.src
Dosyayı görüntüle @
a2863a41
...
...
@@ -9,44 +9,152 @@
#include "svtools/svtools.hrc"
String STR_1BIT_THRESHOLD
String STR_
SVT_
1BIT_THRESHOLD
{
Text [ en-US ] = "1 bit threshold";
};
String STR_1BIT_DITHERED
String STR_
SVT_
1BIT_DITHERED
{
Text [ en-US ] = "1 bit dithered";
};
String STR_4BIT_GRAYSCALE
String STR_
SVT_
4BIT_GRAYSCALE
{
Text [ en-US ] = "4 bit grayscale";
};
String STR_4BIT_COLOR_PALETTE
String STR_
SVT_
4BIT_COLOR_PALETTE
{
Text [ en-US ] = "4 bit color";
};
String STR_8BIT_GRAYSCALE
String STR_
SVT_
8BIT_GRAYSCALE
{
Text [ en-US ] = "8 bit grayscale";
};
String STR_8BIT_COLOR_PALETTE
String STR_
SVT_
8BIT_COLOR_PALETTE
{
Text [ en-US ] = "8 bit color";
};
String STR_24BIT_TRUE_COLOR
String STR_
SVT_
24BIT_TRUE_COLOR
{
Text [ en-US ] = "24 bit true color";
};
String STR_ESTIMATED_SIZE_PIX_1
String STR_
SVT_
ESTIMATED_SIZE_PIX_1
{
Text [ en-US ] = "The picture needs about %1 KB of memory.";
};
String STR_ESTIMATED_SIZE_PIX_2
String STR_
SVT_
ESTIMATED_SIZE_PIX_2
{
Text [ en-US ] = "The picture needs about %1 KB of memory, the file size is %2 KB.";
};
String STR_ESTIMATED_SIZE_VEC
String STR_
SVT_
ESTIMATED_SIZE_VEC
{
Text [ en-US ] = "The file size is %1 KB.";
};
String STR_SVT_PRNDLG_READY
{
Text [ en-US ] = "Ready" ;
};
String STR_SVT_PRNDLG_PAUSED
{
Text [ en-US ] = "Paused" ;
};
String STR_SVT_PRNDLG_PENDING
{
Text [ en-US ] = "Pending deletion" ;
};
String STR_SVT_PRNDLG_BUSY
{
Text [ en-US ] = "Busy" ;
};
String STR_SVT_PRNDLG_INITIALIZING
{
Text [ en-US ] = "Initializing" ;
};
String STR_SVT_PRNDLG_WAITING
{
Text [ en-US ] = "Waiting" ;
};
String STR_SVT_PRNDLG_WARMING_UP
{
Text [ en-US ] = "Warming up" ;
};
String STR_SVT_PRNDLG_PROCESSING
{
Text [ en-US ] = "Processing" ;
};
String STR_SVT_PRNDLG_PRINTING
{
Text [ en-US ] = "Printing" ;
};
String STR_SVT_PRNDLG_OFFLINE
{
Text [ en-US ] = "Offline" ;
};
String STR_SVT_PRNDLG_ERROR
{
Text [ en-US ] = "Error" ;
};
String STR_SVT_PRNDLG_SERVER_UNKNOWN
{
Text [ en-US ] = "Unknown Server" ;
};
String STR_SVT_PRNDLG_PAPER_JAM
{
Text [ en-US ] = "Paper jam" ;
};
String STR_SVT_PRNDLG_PAPER_OUT
{
Text [ en-US ] = "Not enough paper" ;
};
String STR_SVT_PRNDLG_MANUAL_FEED
{
Text [ en-US ] = "Manual feed" ;
};
String STR_SVT_PRNDLG_PAPER_PROBLEM
{
Text [ en-US ] = "Paper problem" ;
};
String STR_SVT_PRNDLG_IO_ACTIVE
{
Text [ en-US ] = "I/O active" ;
};
String STR_SVT_PRNDLG_OUTPUT_BIN_FULL
{
Text [ en-US ] = "Output bin full" ;
};
String STR_SVT_PRNDLG_TONER_LOW
{
Text [ en-US ] = "Toner low" ;
};
String STR_SVT_PRNDLG_NO_TONER
{
Text [ en-US ] = "No toner" ;
};
String STR_SVT_PRNDLG_PAGE_PUNT
{
Text [ en-US ] = "Delete Page" ;
};
String STR_SVT_PRNDLG_USER_INTERVENTION
{
Text [ en-US ] = "User intervention necessary" ;
};
String STR_SVT_PRNDLG_OUT_OF_MEMORY
{
Text [ en-US ] = "Insufficient memory" ;
};
String STR_SVT_PRNDLG_DOOR_OPEN
{
Text [ en-US ] = "Cover open" ;
};
String STR_SVT_PRNDLG_POWER_SAVE
{
Text [ en-US ] = "Power save mode" ;
};
String STR_SVT_PRNDLG_DEFPRINTER
{
Text [ en-US ] = "Default printer" ;
};
String STR_SVT_PRNDLG_JOBCOUNT
{
Text [ en-US ] = "%d documents" ;
};
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
s
w/uiconfig/swriter/ui/printersetup
.ui
→
s
vtools/uiconfig/ui/printersetupdialog
.ui
Dosyayı görüntüle @
a2863a41
This diff is collapsed.
Click to expand it.
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