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
8981d1d0
Kaydet (Commit)
8981d1d0
authored
Nis 05, 2012
tarafından
Olivier Hallot
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Cleanup of some RTL_CONSTASCII_USTRINGPARAM macro in sd
Cleanup of some RTL_CONSTASCII_USTRINGPARAM macro in module sd
üst
7d250857
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
55 additions
and
55 deletions
+55
-55
DocumentRenderer.cxx
sd/source/ui/view/DocumentRenderer.cxx
+55
-55
No files found.
sd/source/ui/view/DocumentRenderer.cxx
Dosyayı görüntüle @
8981d1d0
...
@@ -412,14 +412,14 @@ namespace {
...
@@ -412,14 +412,14 @@ namespace {
aOpt
.
GetModuleName
(
mbImpress
?
SvtModuleOptions
::
E_SIMPRESS
:
SvtModuleOptions
::
E_SDRAW
)
);
aOpt
.
GetModuleName
(
mbImpress
?
SvtModuleOptions
::
E_SIMPRESS
:
SvtModuleOptions
::
E_SDRAW
)
);
AddDialogControl
(
vcl
::
PrinterOptionsHelper
::
getGroupControlOpt
(
AddDialogControl
(
vcl
::
PrinterOptionsHelper
::
getGroupControlOpt
(
aAppGroupname
,
aAppGroupname
,
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
".HelpID:vcl:PrintDialog:TabPage:AppPage"
)
)
rtl
::
OUString
(
".HelpID:vcl:PrintDialog:TabPage:AppPage"
)
)
);
)
);
uno
::
Sequence
<
rtl
::
OUString
>
aHelpIds
;
uno
::
Sequence
<
rtl
::
OUString
>
aHelpIds
;
if
(
mbImpress
)
if
(
mbImpress
)
{
{
vcl
::
PrinterOptionsHelper
::
UIControlOptions
aPrintOpt
;
vcl
::
PrinterOptionsHelper
::
UIControlOptions
aPrintOpt
;
aPrintOpt
.
maGroupHint
=
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"JobPage"
)
);
aPrintOpt
.
maGroupHint
=
rtl
::
OUString
(
"JobPage"
);
AddDialogControl
(
vcl
::
PrinterOptionsHelper
::
getSubgroupControlOpt
(
AddDialogControl
(
vcl
::
PrinterOptionsHelper
::
getSubgroupControlOpt
(
String
(
SdResId
(
_STR_IMPRESS_PRINT_UI_PRINT_GROUP
)
),
String
(
SdResId
(
_STR_IMPRESS_PRINT_UI_PRINT_GROUP
)
),
rtl
::
OUString
(),
rtl
::
OUString
(),
...
@@ -427,42 +427,42 @@ namespace {
...
@@ -427,42 +427,42 @@ namespace {
);
);
aHelpIds
.
realloc
(
1
);
aHelpIds
.
realloc
(
1
);
aHelpIds
[
0
]
=
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
".HelpID:vcl:PrintDialog:PageContentType:ListBox"
)
);
aHelpIds
[
0
]
=
rtl
::
OUString
(
".HelpID:vcl:PrintDialog:PageContentType:ListBox"
);
AddDialogControl
(
vcl
::
PrinterOptionsHelper
::
getChoiceControlOpt
(
AddDialogControl
(
vcl
::
PrinterOptionsHelper
::
getChoiceControlOpt
(
String
(
SdResId
(
_STR_IMPRESS_PRINT_UI_CONTENT
)
),
String
(
SdResId
(
_STR_IMPRESS_PRINT_UI_CONTENT
)
),
aHelpIds
,
aHelpIds
,
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"PageContentType"
)
),
OUString
(
"PageContentType"
),
CreateChoice
(
_STR_IMPRESS_PRINT_UI_CONTENT_CHOICES
),
CreateChoice
(
_STR_IMPRESS_PRINT_UI_CONTENT_CHOICES
),
0
,
0
,
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"List"
)
)
OUString
(
"List"
)
)
)
);
);
aHelpIds
[
0
]
=
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
".HelpID:vcl:PrintDialog:SlidesPerPage:ListBox"
)
);
aHelpIds
[
0
]
=
rtl
::
OUString
(
".HelpID:vcl:PrintDialog:SlidesPerPage:ListBox"
);
vcl
::
PrinterOptionsHelper
::
UIControlOptions
vcl
::
PrinterOptionsHelper
::
UIControlOptions
aContentOpt
(
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"PageContentType"
)
),
1
);
aContentOpt
(
OUString
(
"PageContentType"
),
1
);
AddDialogControl
(
vcl
::
PrinterOptionsHelper
::
getChoiceControlOpt
(
AddDialogControl
(
vcl
::
PrinterOptionsHelper
::
getChoiceControlOpt
(
String
(
SdResId
(
_STR_IMPRESS_PRINT_UI_SLIDESPERPAGE
)
),
String
(
SdResId
(
_STR_IMPRESS_PRINT_UI_SLIDESPERPAGE
)
),
aHelpIds
,
aHelpIds
,
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"SlidesPerPage"
)
),
OUString
(
"SlidesPerPage"
),
GetSlidesPerPageSequence
(),
GetSlidesPerPageSequence
(),
0
,
0
,
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"List"
)
),
OUString
(
"List"
),
Sequence
<
sal_Bool
>
(),
Sequence
<
sal_Bool
>
(),
aContentOpt
aContentOpt
)
)
);
);
aHelpIds
[
0
]
=
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
".HelpID:vcl:PrintDialog:SlidesPerPageOrder:ListBox"
)
);
aHelpIds
[
0
]
=
rtl
::
OUString
(
".HelpID:vcl:PrintDialog:SlidesPerPageOrder:ListBox"
);
vcl
::
PrinterOptionsHelper
::
UIControlOptions
vcl
::
PrinterOptionsHelper
::
UIControlOptions
aSlidesPerPageOpt
(
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"SlidesPerPage"
)
),
-
1
,
sal_True
);
aSlidesPerPageOpt
(
OUString
(
"SlidesPerPage"
),
-
1
,
sal_True
);
AddDialogControl
(
vcl
::
PrinterOptionsHelper
::
getChoiceControlOpt
(
AddDialogControl
(
vcl
::
PrinterOptionsHelper
::
getChoiceControlOpt
(
String
(
SdResId
(
_STR_IMPRESS_PRINT_UI_ORDER
)
),
String
(
SdResId
(
_STR_IMPRESS_PRINT_UI_ORDER
)
),
aHelpIds
,
aHelpIds
,
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"SlidesPerPageOrder"
)
),
OUString
(
"SlidesPerPageOrder"
),
CreateChoice
(
_STR_IMPRESS_PRINT_UI_ORDER_CHOICES
),
CreateChoice
(
_STR_IMPRESS_PRINT_UI_ORDER_CHOICES
),
0
,
0
,
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"List"
)
),
OUString
(
"List"
),
Sequence
<
sal_Bool
>
(),
Sequence
<
sal_Bool
>
(),
aSlidesPerPageOpt
)
aSlidesPerPageOpt
)
);
);
...
@@ -476,8 +476,8 @@ namespace {
...
@@ -476,8 +476,8 @@ namespace {
{
{
AddDialogControl
(
vcl
::
PrinterOptionsHelper
::
getBoolControlOpt
(
AddDialogControl
(
vcl
::
PrinterOptionsHelper
::
getBoolControlOpt
(
String
(
SdResId
(
_STR_IMPRESS_PRINT_UI_IS_PRINT_NAME
)
),
String
(
SdResId
(
_STR_IMPRESS_PRINT_UI_IS_PRINT_NAME
)
),
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
".HelpID:vcl:PrintDialog:IsPrintName:CheckBox"
)
),
OUString
(
".HelpID:vcl:PrintDialog:IsPrintName:CheckBox"
),
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"IsPrintName"
)
),
OUString
(
"IsPrintName"
),
sal_False
sal_False
)
)
);
);
...
@@ -486,8 +486,8 @@ namespace {
...
@@ -486,8 +486,8 @@ namespace {
{
{
AddDialogControl
(
vcl
::
PrinterOptionsHelper
::
getBoolControlOpt
(
AddDialogControl
(
vcl
::
PrinterOptionsHelper
::
getBoolControlOpt
(
String
(
SdResId
(
_STR_DRAW_PRINT_UI_IS_PRINT_NAME
)
),
String
(
SdResId
(
_STR_DRAW_PRINT_UI_IS_PRINT_NAME
)
),
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
".HelpID:vcl:PrintDialog:IsPrintName:CheckBox"
)
),
OUString
(
".HelpID:vcl:PrintDialog:IsPrintName:CheckBox"
),
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"IsPrintName"
)
),
OUString
(
"IsPrintName"
),
sal_False
sal_False
)
)
);
);
...
@@ -495,8 +495,8 @@ namespace {
...
@@ -495,8 +495,8 @@ namespace {
AddDialogControl
(
vcl
::
PrinterOptionsHelper
::
getBoolControlOpt
(
AddDialogControl
(
vcl
::
PrinterOptionsHelper
::
getBoolControlOpt
(
String
(
SdResId
(
_STR_IMPRESS_PRINT_UI_IS_PRINT_DATE
)
),
String
(
SdResId
(
_STR_IMPRESS_PRINT_UI_IS_PRINT_DATE
)
),
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
".HelpID:vcl:PrintDialog:IsPrintDateTime:CheckBox"
)
),
OUString
(
".HelpID:vcl:PrintDialog:IsPrintDateTime:CheckBox"
),
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"IsPrintDateTime"
)
),
OUString
(
"IsPrintDateTime"
),
sal_False
sal_False
)
)
);
);
...
@@ -505,8 +505,8 @@ namespace {
...
@@ -505,8 +505,8 @@ namespace {
{
{
AddDialogControl
(
vcl
::
PrinterOptionsHelper
::
getBoolControlOpt
(
AddDialogControl
(
vcl
::
PrinterOptionsHelper
::
getBoolControlOpt
(
String
(
SdResId
(
_STR_IMPRESS_PRINT_UI_IS_PRINT_HIDDEN
)
),
String
(
SdResId
(
_STR_IMPRESS_PRINT_UI_IS_PRINT_HIDDEN
)
),
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
".HelpID:vcl:PrintDialog:IsPrintHidden:CheckBox"
)
),
OUString
(
".HelpID:vcl:PrintDialog:IsPrintHidden:CheckBox"
),
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"IsPrintHidden"
)
),
OUString
(
"IsPrintHidden"
),
sal_False
sal_False
)
)
);
);
...
@@ -516,13 +516,13 @@ namespace {
...
@@ -516,13 +516,13 @@ namespace {
String
(
SdResId
(
_STR_IMPRESS_PRINT_UI_QUALITY
)
),
rtl
::
OUString
()
)
);
String
(
SdResId
(
_STR_IMPRESS_PRINT_UI_QUALITY
)
),
rtl
::
OUString
()
)
);
aHelpIds
.
realloc
(
3
);
aHelpIds
.
realloc
(
3
);
aHelpIds
[
0
]
=
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
".HelpID:vcl:PrintDialog:Quality:RadioButton:0"
)
);
aHelpIds
[
0
]
=
rtl
::
OUString
(
".HelpID:vcl:PrintDialog:Quality:RadioButton:0"
);
aHelpIds
[
1
]
=
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
".HelpID:vcl:PrintDialog:Quality:RadioButton:1"
)
);
aHelpIds
[
1
]
=
rtl
::
OUString
(
".HelpID:vcl:PrintDialog:Quality:RadioButton:1"
);
aHelpIds
[
2
]
=
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
".HelpID:vcl:PrintDialog:Quality:RadioButton:2"
)
);
aHelpIds
[
2
]
=
rtl
::
OUString
(
".HelpID:vcl:PrintDialog:Quality:RadioButton:2"
);
AddDialogControl
(
vcl
::
PrinterOptionsHelper
::
getChoiceControlOpt
(
AddDialogControl
(
vcl
::
PrinterOptionsHelper
::
getChoiceControlOpt
(
rtl
::
OUString
(),
rtl
::
OUString
(),
aHelpIds
,
aHelpIds
,
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"Quality"
)
),
OUString
(
"Quality"
),
CreateChoice
(
_STR_IMPRESS_PRINT_UI_QUALITY_CHOICES
),
CreateChoice
(
_STR_IMPRESS_PRINT_UI_QUALITY_CHOICES
),
0
0
)
)
...
@@ -532,22 +532,22 @@ namespace {
...
@@ -532,22 +532,22 @@ namespace {
String
(
SdResId
(
_STR_IMPRESS_PRINT_UI_PAGE_OPTIONS
)
),
rtl
::
OUString
()
)
);
String
(
SdResId
(
_STR_IMPRESS_PRINT_UI_PAGE_OPTIONS
)
),
rtl
::
OUString
()
)
);
aHelpIds
.
realloc
(
4
);
aHelpIds
.
realloc
(
4
);
aHelpIds
[
0
]
=
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
".HelpID:vcl:PrintDialog:PageOptions:RadioButton:0"
)
);
aHelpIds
[
0
]
=
rtl
::
OUString
(
".HelpID:vcl:PrintDialog:PageOptions:RadioButton:0"
);
aHelpIds
[
1
]
=
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
".HelpID:vcl:PrintDialog:PageOptions:RadioButton:1"
)
);
aHelpIds
[
1
]
=
rtl
::
OUString
(
".HelpID:vcl:PrintDialog:PageOptions:RadioButton:1"
);
aHelpIds
[
2
]
=
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
".HelpID:vcl:PrintDialog:PageOptions:RadioButton:2"
)
);
aHelpIds
[
2
]
=
rtl
::
OUString
(
".HelpID:vcl:PrintDialog:PageOptions:RadioButton:2"
);
aHelpIds
[
3
]
=
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
".HelpID:vcl:PrintDialog:PageOptions:RadioButton:3"
)
);
aHelpIds
[
3
]
=
rtl
::
OUString
(
".HelpID:vcl:PrintDialog:PageOptions:RadioButton:3"
);
if
(
mbImpress
)
if
(
mbImpress
)
{
{
// FIXME: additional dependency on PrintProspect = false
// FIXME: additional dependency on PrintProspect = false
vcl
::
PrinterOptionsHelper
::
UIControlOptions
vcl
::
PrinterOptionsHelper
::
UIControlOptions
aPageOptionsOpt
(
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"PageContentType"
)
),
0
);
aPageOptionsOpt
(
OUString
(
"PageContentType"
),
0
);
AddDialogControl
(
vcl
::
PrinterOptionsHelper
::
getChoiceControlOpt
(
AddDialogControl
(
vcl
::
PrinterOptionsHelper
::
getChoiceControlOpt
(
rtl
::
OUString
(),
rtl
::
OUString
(),
aHelpIds
,
aHelpIds
,
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"PageOptions"
)
),
OUString
(
"PageOptions"
),
CreateChoice
(
_STR_IMPRESS_PRINT_UI_PAGE_OPTIONS_CHOICES
),
CreateChoice
(
_STR_IMPRESS_PRINT_UI_PAGE_OPTIONS_CHOICES
),
0
,
0
,
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"Radio"
)
),
OUString
(
"Radio"
),
Sequence
<
sal_Bool
>
(),
Sequence
<
sal_Bool
>
(),
aPageOptionsOpt
aPageOptionsOpt
)
)
...
@@ -556,14 +556,14 @@ namespace {
...
@@ -556,14 +556,14 @@ namespace {
else
else
{
{
vcl
::
PrinterOptionsHelper
::
UIControlOptions
vcl
::
PrinterOptionsHelper
::
UIControlOptions
aPageOptionsOpt
(
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"PrintProspect"
)
),
sal_False
);
aPageOptionsOpt
(
OUString
(
"PrintProspect"
),
sal_False
);
AddDialogControl
(
vcl
::
PrinterOptionsHelper
::
getChoiceControlOpt
(
AddDialogControl
(
vcl
::
PrinterOptionsHelper
::
getChoiceControlOpt
(
rtl
::
OUString
(),
rtl
::
OUString
(),
aHelpIds
,
aHelpIds
,
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"PageOptions"
)
),
OUString
(
"PageOptions"
),
CreateChoice
(
_STR_IMPRESS_PRINT_UI_PAGE_OPTIONS_CHOICES_DRAW
),
CreateChoice
(
_STR_IMPRESS_PRINT_UI_PAGE_OPTIONS_CHOICES_DRAW
),
0
,
0
,
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"Radio"
)
),
OUString
(
"Radio"
),
Sequence
<
sal_Bool
>
(),
Sequence
<
sal_Bool
>
(),
aPageOptionsOpt
aPageOptionsOpt
)
)
...
@@ -571,7 +571,7 @@ namespace {
...
@@ -571,7 +571,7 @@ namespace {
}
}
vcl
::
PrinterOptionsHelper
::
UIControlOptions
aBrochureOpt
;
vcl
::
PrinterOptionsHelper
::
UIControlOptions
aBrochureOpt
;
aBrochureOpt
.
maGroupHint
=
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"LayoutPage"
)
);
aBrochureOpt
.
maGroupHint
=
OUString
(
"LayoutPage"
);
AddDialogControl
(
vcl
::
PrinterOptionsHelper
::
getSubgroupControlOpt
(
AddDialogControl
(
vcl
::
PrinterOptionsHelper
::
getSubgroupControlOpt
(
String
(
SdResId
(
_STR_IMPRESS_PRINT_UI_PAGE_SIDES
)
),
rtl
::
OUString
(),
String
(
SdResId
(
_STR_IMPRESS_PRINT_UI_PAGE_SIDES
)
),
rtl
::
OUString
(),
aBrochureOpt
)
);
aBrochureOpt
)
);
...
@@ -579,25 +579,25 @@ namespace {
...
@@ -579,25 +579,25 @@ namespace {
// brochure printing
// brochure printing
AddDialogControl
(
vcl
::
PrinterOptionsHelper
::
getBoolControlOpt
(
AddDialogControl
(
vcl
::
PrinterOptionsHelper
::
getBoolControlOpt
(
String
(
SdResId
(
_STR_IMPRESS_PRINT_UI_BROCHURE
)
),
String
(
SdResId
(
_STR_IMPRESS_PRINT_UI_BROCHURE
)
),
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
".HelpID:vcl:PrintDialog:PrintProspect:CheckBox"
)
),
rtl
::
OUString
(
".HelpID:vcl:PrintDialog:PrintProspect:CheckBox"
),
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"PrintProspect"
)
),
OUString
(
"PrintProspect"
),
sal_False
,
sal_False
,
aBrochureOpt
aBrochureOpt
)
)
);
);
vcl
::
PrinterOptionsHelper
::
UIControlOptions
vcl
::
PrinterOptionsHelper
::
UIControlOptions
aIncludeOpt
(
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"PrintProspect"
)
),
-
1
,
sal_False
);
aIncludeOpt
(
OUString
(
"PrintProspect"
),
-
1
,
sal_False
);
aIncludeOpt
.
maGroupHint
=
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"LayoutPage"
)
);
aIncludeOpt
.
maGroupHint
=
OUString
(
"LayoutPage"
);
aHelpIds
.
realloc
(
1
);
aHelpIds
.
realloc
(
1
);
aHelpIds
[
0
]
=
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
".HelpID:vcl:PrintDialog:PrintProspectInclude:ListBox"
)
);
aHelpIds
[
0
]
=
rtl
::
OUString
(
".HelpID:vcl:PrintDialog:PrintProspectInclude:ListBox"
);
AddDialogControl
(
vcl
::
PrinterOptionsHelper
::
getChoiceControlOpt
(
AddDialogControl
(
vcl
::
PrinterOptionsHelper
::
getChoiceControlOpt
(
String
(
SdResId
(
_STR_IMPRESS_PRINT_UI_BROCHURE_INCLUDE
)
),
String
(
SdResId
(
_STR_IMPRESS_PRINT_UI_BROCHURE_INCLUDE
)
),
aHelpIds
,
aHelpIds
,
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"PrintProspectInclude"
)
),
OUString
(
"PrintProspectInclude"
),
CreateChoice
(
_STR_IMPRESS_PRINT_UI_BROCHURE_INCLUDE_LIST
),
CreateChoice
(
_STR_IMPRESS_PRINT_UI_BROCHURE_INCLUDE_LIST
),
0
,
0
,
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"List"
)
),
OUString
(
"List"
),
Sequence
<
sal_Bool
>
(),
Sequence
<
sal_Bool
>
(),
aIncludeOpt
aIncludeOpt
)
)
...
@@ -605,11 +605,11 @@ namespace {
...
@@ -605,11 +605,11 @@ namespace {
// paper tray (on options page)
// paper tray (on options page)
vcl
::
PrinterOptionsHelper
::
UIControlOptions
aPaperTrayOpt
;
vcl
::
PrinterOptionsHelper
::
UIControlOptions
aPaperTrayOpt
;
aPaperTrayOpt
.
maGroupHint
=
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"OptionsPageOptGroup"
)
);
aPaperTrayOpt
.
maGroupHint
=
rtl
::
OUString
(
"OptionsPageOptGroup"
);
AddDialogControl
(
vcl
::
PrinterOptionsHelper
::
getBoolControlOpt
(
AddDialogControl
(
vcl
::
PrinterOptionsHelper
::
getBoolControlOpt
(
String
(
SdResId
(
_STR_IMPRESS_PRINT_UI_PAPER_TRAY
)
),
String
(
SdResId
(
_STR_IMPRESS_PRINT_UI_PAPER_TRAY
)
),
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
".HelpID:vcl:PrintDialog:PrintPaperFromSetup:CheckBox"
)
),
rtl
::
OUString
(
".HelpID:vcl:PrintDialog:PrintPaperFromSetup:CheckBox"
),
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"PrintPaperFromSetup"
)
),
OUString
(
"PrintPaperFromSetup"
),
sal_False
,
sal_False
,
aPaperTrayOpt
aPaperTrayOpt
)
)
...
@@ -617,7 +617,7 @@ namespace {
...
@@ -617,7 +617,7 @@ namespace {
// print range selection
// print range selection
vcl
::
PrinterOptionsHelper
::
UIControlOptions
aPrintRangeOpt
;
vcl
::
PrinterOptionsHelper
::
UIControlOptions
aPrintRangeOpt
;
aPrintRangeOpt
.
mbInternalOnly
=
sal_True
;
aPrintRangeOpt
.
mbInternalOnly
=
sal_True
;
aPrintRangeOpt
.
maGroupHint
=
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"PrintRange"
)
);
aPrintRangeOpt
.
maGroupHint
=
rtl
::
OUString
(
"PrintRange"
);
AddDialogControl
(
vcl
::
PrinterOptionsHelper
::
getSubgroupControlOpt
(
AddDialogControl
(
vcl
::
PrinterOptionsHelper
::
getSubgroupControlOpt
(
String
(
SdResId
(
_STR_IMPRESS_PRINT_UI_PAGE_RANGE
)
),
String
(
SdResId
(
_STR_IMPRESS_PRINT_UI_PAGE_RANGE
)
),
rtl
::
OUString
(),
rtl
::
OUString
(),
...
@@ -625,11 +625,11 @@ namespace {
...
@@ -625,11 +625,11 @@ namespace {
);
);
// create a choice for the content to create
// create a choice for the content to create
rtl
::
OUString
aPrintRangeName
(
RTL_CONSTASCII_USTRINGPARAM
(
"PrintContent"
)
);
rtl
::
OUString
aPrintRangeName
(
"PrintContent"
);
aHelpIds
.
realloc
(
3
);
aHelpIds
.
realloc
(
3
);
aHelpIds
[
0
]
=
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
".HelpID:vcl:PrintDialog:PrintContent:RadioButton:0"
)
);
aHelpIds
[
0
]
=
rtl
::
OUString
(
".HelpID:vcl:PrintDialog:PrintContent:RadioButton:0"
);
aHelpIds
[
1
]
=
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
".HelpID:vcl:PrintDialog:PrintContent:RadioButton:1"
)
);
aHelpIds
[
1
]
=
rtl
::
OUString
(
".HelpID:vcl:PrintDialog:PrintContent:RadioButton:1"
);
aHelpIds
[
2
]
=
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
".HelpID:vcl:PrintDialog:PrintContent:RadioButton:2"
)
);
aHelpIds
[
2
]
=
rtl
::
OUString
(
".HelpID:vcl:PrintDialog:PrintContent:RadioButton:2"
);
AddDialogControl
(
vcl
::
PrinterOptionsHelper
::
getChoiceControlOpt
(
rtl
::
OUString
(),
AddDialogControl
(
vcl
::
PrinterOptionsHelper
::
getChoiceControlOpt
(
rtl
::
OUString
(),
aHelpIds
,
aHelpIds
,
aPrintRangeName
,
aPrintRangeName
,
...
@@ -641,8 +641,8 @@ namespace {
...
@@ -641,8 +641,8 @@ namespace {
// create a an Edit dependent on "Pages" selected
// create a an Edit dependent on "Pages" selected
vcl
::
PrinterOptionsHelper
::
UIControlOptions
aPageRangeOpt
(
aPrintRangeName
,
1
,
sal_True
);
vcl
::
PrinterOptionsHelper
::
UIControlOptions
aPageRangeOpt
(
aPrintRangeName
,
1
,
sal_True
);
AddDialogControl
(
vcl
::
PrinterOptionsHelper
::
getEditControlOpt
(
rtl
::
OUString
(),
AddDialogControl
(
vcl
::
PrinterOptionsHelper
::
getEditControlOpt
(
rtl
::
OUString
(),
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
".HelpID:vcl:PrintDialog:PageRange:Edit"
)
),
rtl
::
OUString
(
".HelpID:vcl:PrintDialog:PageRange:Edit"
),
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"PageRange"
)
),
rtl
::
OUString
(
"PageRange"
),
rtl
::
OUString
(),
rtl
::
OUString
(),
aPageRangeOpt
)
aPageRangeOpt
)
);
);
...
@@ -1001,7 +1001,7 @@ namespace {
...
@@ -1001,7 +1001,7 @@ namespace {
SdPage
&
rHandoutPage
(
*
rDocument
.
GetSdPage
(
0
,
PK_HANDOUT
));
SdPage
&
rHandoutPage
(
*
rDocument
.
GetSdPage
(
0
,
PK_HANDOUT
));
Reference
<
com
::
sun
::
star
::
beans
::
XPropertySet
>
xHandoutPage
(
rHandoutPage
.
getUnoPage
(),
UNO_QUERY
);
Reference
<
com
::
sun
::
star
::
beans
::
XPropertySet
>
xHandoutPage
(
rHandoutPage
.
getUnoPage
(),
UNO_QUERY
);
const
rtl
::
OUString
sPageNumber
(
RTL_CONSTASCII_USTRINGPARAM
(
"Number"
)
);
const
rtl
::
OUString
sPageNumber
(
"Number"
);
// Collect the page objects of the handout master.
// Collect the page objects of the handout master.
std
::
vector
<
SdrPageObj
*>
aHandoutPageObjects
;
std
::
vector
<
SdrPageObj
*>
aHandoutPageObjects
;
...
@@ -1251,7 +1251,7 @@ public:
...
@@ -1251,7 +1251,7 @@ public:
// The RenderDevice property is handled specially: its value is
// The RenderDevice property is handled specially: its value is
// stored in mpPrinter instead of being retrieved on demand.
// stored in mpPrinter instead of being retrieved on demand.
Any
aDev
(
getValue
(
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"RenderDevice"
)
)
)
);
Any
aDev
(
getValue
(
OUString
(
"RenderDevice"
)
)
);
Reference
<
awt
::
XDevice
>
xRenderDevice
;
Reference
<
awt
::
XDevice
>
xRenderDevice
;
if
(
aDev
>>=
xRenderDevice
)
if
(
aDev
>>=
xRenderDevice
)
...
...
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