1 /************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance 9 * with the License. You may obtain a copy of the License at 10 * 11 * http://www.apache.org/licenses/LICENSE-2.0 12 * 13 * Unless required by applicable law or agreed to in writing, 14 * software distributed under the License is distributed on an 15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16 * KIND, either express or implied. See the License for the 17 * specific language governing permissions and limitations 18 * under the License. 19 * 20 *************************************************************/ 21 22 23 24 package com.sun.star.wizards.agenda; 25 26 import com.sun.star.lang.XMultiServiceFactory; 27 import com.sun.star.wizards.common.Resource; 28 29 public class AgendaWizardDialogResources extends Resource { 30 31 final static String UNIT_NAME = "dbwizres"; 32 final static String MODULE_NAME = "dbw"; 33 final static int RID_AGENDAWIZARDDIALOG_START = 5000; 34 final static int RID_COMMON_START = 500; 35 36 37 String resAgendaWizardDialog_title; 38 String resoptMakeChanges_value; 39 String reslblTemplateName_value; 40 String reslblTemplatePath_value; 41 String reslblProceed_value; 42 String reslblTitle1_value; 43 String reslblTitle3_value; 44 String reslblTitle2_value; 45 String reslblTitle4_value; 46 String reslblTitle5_value; 47 String reslblTitle6_value; 48 String reschkMinutes_value; 49 String reslblHelp1_value; 50 String reslblTime_value; 51 String reslblTitle_value; 52 String reslblLocation_value; 53 String reslblHelp2_value; 54 String resbtnTemplatePath_value; 55 String resoptCreateAgenda_value; 56 String reslblHelp6_value; 57 String reslblTopic_value; 58 String reslblResponsible_value; 59 String reslblDuration_value; 60 String reschkConvenedBy_value; 61 String reschkPresiding_value; 62 String reschkNoteTaker_value; 63 String reschkTimekeeper_value; 64 String reschkAttendees_value; 65 String reschkObservers_value; 66 String reschkResourcePersons_value; 67 String reslblHelp4_value; 68 String reschkMeetingTitle_value; 69 String reschkRead_value; 70 String reschkBring_value; 71 String reschkNotes_value; 72 String reslblHelp3_value; 73 74 String reslblDate_value; 75 String reslblHelpPg6_value; 76 String reslblPageDesign_value; 77 78 String resDefaultFilename; 79 String resDefaultTitle; 80 81 String resErrSaveTemplate; 82 83 String resPlaceHolderTitle; 84 String resPlaceHolderDate; 85 String resPlaceHolderTime; 86 String resPlaceHolderLocation; 87 String resPlaceHolderHint; 88 89 String resStep1; 90 String resStep2; 91 String resStep3; 92 String resStep4; 93 String resStep5; 94 String resStep6; 95 96 String resErrOpenTemplate; 97 98 String itemMeetingType; 99 String itemRead; 100 String itemBring; 101 String itemNote; 102 String itemCalledBy; 103 String itemFacilitator; 104 String itemNotetaker; 105 String itemTimekeeper; 106 String itemAttendees; 107 String itemObservers; 108 String itemResource; 109 110 String resButtonInsert; 111 String resButtonRemove; 112 String resButtonUp; 113 String resButtonDown; 114 115 116 117 118 // *** common resources *** 119 120 String resFileExists; 121 AgendaWizardDialogResources(XMultiServiceFactory xmsf)122public AgendaWizardDialogResources(XMultiServiceFactory xmsf) { 123 super(xmsf,UNIT_NAME,MODULE_NAME); 124 125 /** 126 * Delete the String, uncomment the getResText method 127 * 128 */ 129 resAgendaWizardDialog_title = getResText(RID_AGENDAWIZARDDIALOG_START + 1); 130 resoptMakeChanges_value = getResText(RID_AGENDAWIZARDDIALOG_START + 2); 131 reslblTemplateName_value = getResText(RID_AGENDAWIZARDDIALOG_START + 3); 132 reslblTemplatePath_value = getResText(RID_AGENDAWIZARDDIALOG_START + 4); 133 reslblProceed_value = getResText(RID_AGENDAWIZARDDIALOG_START + 5); 134 reslblTitle1_value = getResText(RID_AGENDAWIZARDDIALOG_START + 6); 135 reslblTitle3_value = getResText(RID_AGENDAWIZARDDIALOG_START + 7); 136 reslblTitle2_value = getResText(RID_AGENDAWIZARDDIALOG_START + 8); 137 reslblTitle4_value = getResText(RID_AGENDAWIZARDDIALOG_START + 9); 138 reslblTitle5_value = getResText(RID_AGENDAWIZARDDIALOG_START + 10); 139 reslblTitle6_value = getResText(RID_AGENDAWIZARDDIALOG_START + 11); 140 reschkMinutes_value = getResText(RID_AGENDAWIZARDDIALOG_START + 12); 141 reslblHelp1_value = getResText(RID_AGENDAWIZARDDIALOG_START + 13); 142 reslblTime_value = getResText(RID_AGENDAWIZARDDIALOG_START + 14); 143 reslblTitle_value = getResText(RID_AGENDAWIZARDDIALOG_START + 15); 144 reslblLocation_value = getResText(RID_AGENDAWIZARDDIALOG_START + 16); 145 reslblHelp2_value = getResText(RID_AGENDAWIZARDDIALOG_START + 17); 146 resbtnTemplatePath_value = getResText(RID_AGENDAWIZARDDIALOG_START + 18); 147 resoptCreateAgenda_value = getResText(RID_AGENDAWIZARDDIALOG_START + 19); 148 reslblHelp6_value = getResText(RID_AGENDAWIZARDDIALOG_START + 20); 149 reslblTopic_value = getResText(RID_AGENDAWIZARDDIALOG_START + 21); 150 reslblResponsible_value = getResText(RID_AGENDAWIZARDDIALOG_START + 22); 151 reslblDuration_value = getResText(RID_AGENDAWIZARDDIALOG_START + 23); 152 reschkConvenedBy_value = getResText(RID_AGENDAWIZARDDIALOG_START + 24); 153 reschkPresiding_value = getResText(RID_AGENDAWIZARDDIALOG_START + 25); 154 reschkNoteTaker_value = getResText(RID_AGENDAWIZARDDIALOG_START + 26); 155 reschkTimekeeper_value = getResText(RID_AGENDAWIZARDDIALOG_START + 27); 156 reschkAttendees_value = getResText(RID_AGENDAWIZARDDIALOG_START + 28); 157 reschkObservers_value = getResText(RID_AGENDAWIZARDDIALOG_START + 29); 158 reschkResourcePersons_value = getResText(RID_AGENDAWIZARDDIALOG_START + 30); 159 reslblHelp4_value = getResText(RID_AGENDAWIZARDDIALOG_START + 31); 160 reschkMeetingTitle_value = getResText(RID_AGENDAWIZARDDIALOG_START + 32); 161 reschkRead_value = getResText(RID_AGENDAWIZARDDIALOG_START + 33); 162 reschkBring_value = getResText(RID_AGENDAWIZARDDIALOG_START + 34); 163 reschkNotes_value = getResText(RID_AGENDAWIZARDDIALOG_START + 35); 164 reslblHelp3_value = getResText(RID_AGENDAWIZARDDIALOG_START + 36); 165 reslblDate_value = getResText(RID_AGENDAWIZARDDIALOG_START + 38); 166 reslblHelpPg6_value = getResText(RID_AGENDAWIZARDDIALOG_START + 39); 167 reslblPageDesign_value = getResText(RID_AGENDAWIZARDDIALOG_START + 40); 168 169 resDefaultFilename = getResText(RID_AGENDAWIZARDDIALOG_START + 41); 170 resDefaultFilename = resDefaultFilename.substring(0,resDefaultFilename.length()-4) + ".ott"; 171 172 resDefaultTitle = getResText(RID_AGENDAWIZARDDIALOG_START + 42); 173 174 resErrSaveTemplate = getResText(RID_AGENDAWIZARDDIALOG_START + 43); 175 176 resPlaceHolderTitle = getResText(RID_AGENDAWIZARDDIALOG_START + 44); 177 resPlaceHolderDate = getResText(RID_AGENDAWIZARDDIALOG_START + 45); 178 resPlaceHolderTime = getResText(RID_AGENDAWIZARDDIALOG_START + 46); 179 resPlaceHolderLocation = getResText(RID_AGENDAWIZARDDIALOG_START + 47); 180 resPlaceHolderHint = getResText(RID_AGENDAWIZARDDIALOG_START + 48); 181 182 183 resStep1 = getResText(RID_AGENDAWIZARDDIALOG_START + 50); 184 resStep2 = getResText(RID_AGENDAWIZARDDIALOG_START + 51); 185 resStep3 = getResText(RID_AGENDAWIZARDDIALOG_START + 52); 186 resStep4 = getResText(RID_AGENDAWIZARDDIALOG_START + 53); 187 resStep5 = getResText(RID_AGENDAWIZARDDIALOG_START + 54); 188 resStep6 = getResText(RID_AGENDAWIZARDDIALOG_START + 55); 189 190 resErrOpenTemplate = getResText(RID_AGENDAWIZARDDIALOG_START + 56); 191 192 itemMeetingType = getResText(RID_AGENDAWIZARDDIALOG_START + 57); 193 itemBring = getResText(RID_AGENDAWIZARDDIALOG_START + 58); 194 itemRead = getResText(RID_AGENDAWIZARDDIALOG_START + 59); 195 itemNote = getResText(RID_AGENDAWIZARDDIALOG_START + 60); 196 197 itemCalledBy = getResText(RID_AGENDAWIZARDDIALOG_START + 61); 198 itemFacilitator = getResText(RID_AGENDAWIZARDDIALOG_START + 62); 199 itemAttendees = getResText(RID_AGENDAWIZARDDIALOG_START + 63); 200 itemNotetaker = getResText(RID_AGENDAWIZARDDIALOG_START + 64); 201 itemTimekeeper = getResText(RID_AGENDAWIZARDDIALOG_START + 65); 202 itemObservers = getResText(RID_AGENDAWIZARDDIALOG_START + 66); 203 itemResource = getResText(RID_AGENDAWIZARDDIALOG_START + 67); 204 205 resButtonInsert = getResText(RID_AGENDAWIZARDDIALOG_START + 68); 206 resButtonRemove = getResText(RID_AGENDAWIZARDDIALOG_START + 69); 207 resButtonUp = getResText(RID_AGENDAWIZARDDIALOG_START + 70); 208 resButtonDown = getResText(RID_AGENDAWIZARDDIALOG_START + 71); 209 210 /* 211 * Common resources 212 */ 213 214 resFileExists = getResText(RID_COMMON_START + 19); 215 216 } 217 } 218