summaryrefslogtreecommitdiff
path: root/sd/source/ui
diff options
context:
space:
mode:
authorPhilipp Lohmann <Philipp.Lohmann@Sun.COM>2009-10-29 18:04:11 +0100
committerPhilipp Lohmann <Philipp.Lohmann@Sun.COM>2009-10-29 18:04:11 +0100
commitab6ddd695b93e80632c73bef82d9647a3af313c6 (patch)
tree21fc9d85a8a317b9f63e530fb4eb136928072d2f /sd/source/ui
parent6e85ab648fa2d7f40269670bbe4c5948b12e0f75 (diff)
#i106437# distinguish between slides and pages in impress/draw
Diffstat (limited to 'sd/source/ui')
-rw-r--r--sd/source/ui/view/DocumentRenderer.cxx4
-rw-r--r--sd/source/ui/view/DocumentRenderer.hrc5
-rw-r--r--sd/source/ui/view/DocumentRenderer.src10
3 files changed, 16 insertions, 3 deletions
diff --git a/sd/source/ui/view/DocumentRenderer.cxx b/sd/source/ui/view/DocumentRenderer.cxx
index 0f797303fa2f..f56072459f5c 100644
--- a/sd/source/ui/view/DocumentRenderer.cxx
+++ b/sd/source/ui/view/DocumentRenderer.cxx
@@ -634,7 +634,9 @@ namespace {
AddDialogControl( vcl::PrinterOptionsHelper::getChoiceControlOpt( rtl::OUString(),
CreateChoice(_STR_IMPRESS_PRINT_UI_PAGE_RANGE_CHOICE_HELP),
aPrintRangeName,
- CreateChoice(_STR_IMPRESS_PRINT_UI_PAGE_RANGE_CHOICE),
+ CreateChoice(mbImpress
+ ? _STR_IMPRESS_PRINT_UI_PAGE_RANGE_CHOICE
+ : _STR_DRAW_PRINT_UI_PAGE_RANGE_CHOICE),
0 )
);
// create a an Edit dependent on "Pages" selected
diff --git a/sd/source/ui/view/DocumentRenderer.hrc b/sd/source/ui/view/DocumentRenderer.hrc
index 263af0084440..64a1509d6926 100644
--- a/sd/source/ui/view/DocumentRenderer.hrc
+++ b/sd/source/ui/view/DocumentRenderer.hrc
@@ -73,7 +73,8 @@
#define _STR_IMPRESS_PRINT_UI_PAGE_RANGE 40
#define _STR_IMPRESS_PRINT_UI_PAGE_RANGE_CHOICE 41
#define _STR_IMPRESS_PRINT_UI_PAGE_RANGE_CHOICE_HELP 42
+#define _STR_DRAW_PRINT_UI_PAGE_RANGE_CHOICE 43
-#define _STR_DRAW_PRINT_UI_IS_PRINT_NAME 43
-#define _STR_DRAW_PRINT_UI_IS_PRINT_NAME_HELP 44
+#define _STR_DRAW_PRINT_UI_IS_PRINT_NAME 44
+#define _STR_DRAW_PRINT_UI_IS_PRINT_NAME_HELP 45
diff --git a/sd/source/ui/view/DocumentRenderer.src b/sd/source/ui/view/DocumentRenderer.src
index 98b0049477a2..c69a6ffe6469 100644
--- a/sd/source/ui/view/DocumentRenderer.src
+++ b/sd/source/ui/view/DocumentRenderer.src
@@ -285,4 +285,14 @@ Resource _STR_IMPRESS_PRINT_UI_OPTIONS
< "Print only the currently selected content."; >;
};
};
+
+ StringArray _STR_DRAW_PRINT_UI_PAGE_RANGE_CHOICE
+ {
+ ItemList [ en-US ] =
+ {
+ < "~All pages"; >;
+ < "Pa~ges"; >;
+ < "Se~lection"; >;
+ };
+ };
};