summaryrefslogtreecommitdiff
path: root/wizards/com
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2004-09-08 13:05:31 +0000
committerOliver Bolte <obo@openoffice.org>2004-09-08 13:05:31 +0000
commitd5e47df7e76e03a744eccb7df2bca61dcddad1e9 (patch)
treeb1332681f332e9dace6f9d8f3f399a2233e2c84a /wizards/com
parentaf5a11ba4c338bd62a3dcd1b3bb4cdc96d1f02f3 (diff)
INTEGRATION: CWS qwizards2 (1.2.2); FILE MERGED
2004/08/19 17:01:15 tv 1.2.2.2: #i30264# added info in description of a template created with a wizard. 2004/06/16 09:36:24 tv 1.2.2.1: #116422# correct overwrite warning when user did not change the pre-defined save path Issue number: Submitted by: Reviewed by:
Diffstat (limited to 'wizards/com')
-rw-r--r--wizards/com/sun/star/wizards/letter/LetterWizardDialogResources.java12
1 files changed, 12 insertions, 0 deletions
diff --git a/wizards/com/sun/star/wizards/letter/LetterWizardDialogResources.java b/wizards/com/sun/star/wizards/letter/LetterWizardDialogResources.java
index e119b9708f1a..7a0cbbc2d3d2 100644
--- a/wizards/com/sun/star/wizards/letter/LetterWizardDialogResources.java
+++ b/wizards/com/sun/star/wizards/letter/LetterWizardDialogResources.java
@@ -12,12 +12,16 @@ public class LetterWizardDialogResources extends Resource {
final static int RID_LETTERWIZARDSALUTATION_START = 3090;
final static int RID_LETTERWIZARDROADMAP_START = 3100;
final static int RID_LETTERWIZARDLANGUAGE_START = 3110;
+ final static int RID_RID_COMMON_START = 500;
protected String[] RoadmapLabels = new String[7];
protected String[] SalutationLabels = new String[3];
protected String[] GreetingLabels = new String[3];
protected String[] LanguageLabels = new String[2];
+ String resOverwriteWarning;
+ String resTemplateDescription;
+
String resLetterWizardDialog_title;
String resLabel9_value;
String resoptBusinessLetter_value;
@@ -142,6 +146,12 @@ public class LetterWizardDialogResources extends Resource {
loadSalutationResources();
loadGreetingResources();
loadLanguageResources();
+ loadCommonResources();
+ }
+
+ private void loadCommonResources() {
+ resOverwriteWarning = getResText(RID_RID_COMMON_START + 19);
+ resTemplateDescription = getResText(RID_RID_COMMON_START + 20);
}
private void loadRoadmapResources() {
@@ -149,11 +159,13 @@ public class LetterWizardDialogResources extends Resource {
RoadmapLabels[i] = getResText(RID_LETTERWIZARDROADMAP_START + i);
}
}
+
private void loadSalutationResources() {
for (int i = 1; i < 4; i++) {
SalutationLabels[i-1] = getResText(RID_LETTERWIZARDSALUTATION_START + i);
}
}
+
private void loadGreetingResources() {
for (int i = 1; i < 4; i++) {
GreetingLabels[i-1] = getResText(RID_LETTERWIZARDGREETING_START + i);