1/************************************************************************* 2 * 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 * 5 * Copyright 2000, 2010 Oracle and/or its affiliates. 6 * 7 * OpenOffice.org - a multi-platform office productivity suite 8 * 9 * This file is part of OpenOffice.org. 10 * 11 * OpenOffice.org is free software: you can redistribute it and/or modify 12 * it under the terms of the GNU Lesser General Public License version 3 13 * only, as published by the Free Software Foundation. 14 * 15 * OpenOffice.org is distributed in the hope that it will be useful, 16 * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 * GNU Lesser General Public License version 3 for more details 19 * (a copy is included in the LICENSE file that accompanied this code). 20 * 21 * You should have received a copy of the GNU Lesser General Public License 22 * version 3 along with OpenOffice.org. If not, see 23 * <http://www.openoffice.org/license.html> 24 * for a copy of the LGPLv3 License. 25 * 26 ************************************************************************/ 27 28// include ------------------------------------------------------------------ 29 30#include <sfx2/sfx.hrc> 31 32#include "helpid.hrc" 33#include <cuires.hrc> 34#include "optgenrl.hrc" 35 36// RID_SFXPAGE_GENERAL ------------------------------------------------------ 37 38TabPage RID_SFXPAGE_GENERAL 39{ 40 HelpId = HID_OPTIONS_GENERAL ; 41 OutputSize = TRUE ; 42 SVLook = TRUE ; 43 Hide = TRUE ; 44 Size = MAP_APPFONT ( 260 , 185 ) ; 45 Text [ en-US ] = "User Data" ; 46 FixedText FT_COMPANY 47 { 48 Pos = MAP_APPFONT ( LEFT , FLINE ( 0 ) ) ; 49 Size = MAP_APPFONT ( MID-LEFT-2 , FLINEH ) ; 50 LeftLabel = TRUE ; 51 Text [ en-US ] = "~Company" ; 52 }; 53 Edit ED_COMPANY 54 { 55 HelpID = "cui:Edit:RID_SFXPAGE_GENERAL:ED_COMPANY"; 56 Border = TRUE ; 57 Pos = MAP_APPFONT ( MID , LINE ( 0 ) ) ; 58 Size = MAP_APPFONT ( RIGHT-MID , LINEH ) ; 59 }; 60 FixedText FT_NAME 61 { 62 Pos = MAP_APPFONT ( LEFT , FLINE ( 1 ) ) ; 63 Size = MAP_APPFONT ( MID-LEFT-2 , FLINEH ) ; 64 LeftLabel = TRUE ; 65 Text [ en-US ] = "First/Last ~name/Initials" ; 66 }; 67 FixedText FT_NAME_RUSS 68 { 69 Pos = MAP_APPFONT ( LEFT , FLINE ( 1 ) ) ; 70 Size = MAP_APPFONT ( MID-LEFT-2 , FLINEH ) ; 71 LeftLabel = TRUE ; 72 Hide = TRUE; 73 Text [ en-US ] = "Last Name/First name/Father's name/Initials"; 74 }; 75 FixedText FT_NAME_EASTERN 76 { 77 Pos = MAP_APPFONT ( LEFT , FLINE ( 1 ) ) ; 78 Size = MAP_APPFONT ( MID-LEFT-2 , FLINEH ) ; 79 LeftLabel = TRUE ; 80 Hide = TRUE; 81 Text [ en-US ] = "Last/First ~name/Initials" ; 82 }; 83 Edit ED_FATHERNAME 84 { 85 HelpID = "cui:Edit:RID_SFXPAGE_GENERAL:ED_FATHERNAME"; 86 Border = TRUE ; 87 Hide = TRUE; 88 Pos = MAP_APPFONT ( MID , LINE ( 1 ) ) ; 89 Size = MAP_APPFONT ( NAMELEN-8 , LINEH ) ; 90 }; 91 Edit ED_FIRSTNAME 92 { 93 HelpID = "cui:Edit:RID_SFXPAGE_GENERAL:ED_FIRSTNAME"; 94 Border = TRUE ; 95 Pos = MAP_APPFONT ( MID , LINE ( 1 ) ) ; 96 Size = MAP_APPFONT ( NAMELEN-8 , LINEH ) ; 97 }; 98 Edit ED_NAME 99 { 100 HelpID = "cui:Edit:RID_SFXPAGE_GENERAL:ED_NAME"; 101 Border = TRUE ; 102 Pos = MAP_APPFONT ( MID+NAMELEN-8+HSPACE , LINE ( 1 ) ) ; 103 Size = MAP_APPFONT ( NAMELEN-8 , LINEH ) ; 104 }; 105 Edit ED_SHORTNAME 106 { 107 HelpID = "cui:Edit:RID_SFXPAGE_GENERAL:ED_SHORTNAME"; 108 Border = TRUE ; 109 Pos = MAP_APPFONT ( MID+2* ( NAMELEN-8+HSPACE ) , LINE ( 1 ) ) ; 110 Size = MAP_APPFONT ( RIGHT- ( MID+2* ( NAMELEN-8+HSPACE ) ) , LINEH ) ; 111 }; 112 FixedText FT_STREET 113 { 114 Pos = MAP_APPFONT ( LEFT , FLINE ( 2 ) ) ; 115 Size = MAP_APPFONT ( MID-LEFT-2 , FLINEH ) ; 116 LeftLabel = TRUE ; 117 Text [ en-US ] = "~Street" ; 118 }; 119 FixedText FT_STREET_RUSS 120 { 121 Pos = MAP_APPFONT ( LEFT , FLINE ( 2 ) ) ; 122 Size = MAP_APPFONT ( MID-LEFT-2 , FLINEH ) ; 123 LeftLabel = TRUE ; 124 Hide = TRUE; 125 Text [ en-US ] = "Street/Apartment number"; 126 }; 127 Edit ED_STREET 128 { 129 HelpID = "cui:Edit:RID_SFXPAGE_GENERAL:ED_STREET"; 130 Border = TRUE ; 131 Pos = MAP_APPFONT ( MID , LINE ( 2 ) ) ; 132 Size = MAP_APPFONT ( RIGHT-MID , LINEH ) ; 133 }; 134 Edit ED_APARTMENTNR 135 { 136 HelpID = "cui:Edit:RID_SFXPAGE_GENERAL:ED_APARTMENTNR"; 137 Border = TRUE ; 138 Hide = TRUE; 139 Pos = MAP_APPFONT ( MID , LINE ( 2 ) ) ; 140 Size = MAP_APPFONT ( RIGHT-MID , LINEH ) ; 141 }; 142 FixedText FT_CITY 143 { 144 Pos = MAP_APPFONT ( LEFT , FLINE ( 3 ) ) ; 145 Size = MAP_APPFONT ( MID-LEFT-2 , FLINEH ) ; 146 LeftLabel = TRUE ; 147 Text [ en-US ] = "Zip/City"; 148 }; 149 Edit ED_PLZ 150 { 151 HelpID = "cui:Edit:RID_SFXPAGE_GENERAL:ED_PLZ"; 152 Border = TRUE ; 153 Pos = MAP_APPFONT ( MID , LINE ( 3 ) ) ; 154 Size = MAP_APPFONT ( 24 , LINEH ) ; 155 }; 156 Edit ED_CITY 157 { 158 HelpID = "cui:Edit:RID_SFXPAGE_GENERAL:ED_CITY"; 159 Border = TRUE ; 160 Pos = MAP_APPFONT ( MID + 24 + HSPACE , LINE ( 3 ) ) ; 161 Size = MAP_APPFONT ( RIGHT - ( MID + 24 + HSPACE ) , LINEH ) ; 162 }; 163 Edit ED_US_CITY 164 { 165 HelpID = "cui:Edit:RID_SFXPAGE_GENERAL:ED_US_CITY"; 166 Border = TRUE ; 167 Pos = MAP_APPFONT ( MID , LINE ( 3 ) ) ; 168 Size = MAP_APPFONT ( 90 , LINEH ) ; 169 }; 170 Edit ED_US_STATE 171 { 172 HelpID = "cui:Edit:RID_SFXPAGE_GENERAL:ED_US_STATE"; 173 Border = TRUE ; 174 Pos = MAP_APPFONT ( MID + 90 + HSPACE, LINE ( 3 ) ) ; 175 Size = MAP_APPFONT ( 30 , LINEH ) ; 176 }; 177 Edit ED_US_ZIPCODE 178 { 179 HelpID = "cui:Edit:RID_SFXPAGE_GENERAL:ED_US_ZIPCODE"; 180 Border = TRUE ; 181 Pos = MAP_APPFONT ( MID + 90 + HSPACE + 30 + HSPACE, LINE ( 3 ) ) ; 182 Size = MAP_APPFONT ( RIGHT - ( MID + 90 + HSPACE + 30 + HSPACE ) , LINEH ) ; 183 }; 184 FixedText FT_COUNTRY 185 { 186 Pos = MAP_APPFONT ( LEFT , FLINE ( 4 ) ) ; 187 Size = MAP_APPFONT ( MID-LEFT-2 , FLINEH ) ; 188 LeftLabel = TRUE ; 189 Text [ en-US ] = "Country/Region"; 190 }; 191 Edit ED_COUNTRY 192 { 193 HelpID = "cui:Edit:RID_SFXPAGE_GENERAL:ED_COUNTRY"; 194 Border = TRUE ; 195 Pos = MAP_APPFONT ( MID , LINE ( 4 ) ) ; 196 Size = MAP_APPFONT ( RIGHT - MID , LINEH ) ; 197 }; 198 FixedText FT_TITLEPOS 199 { 200 Pos = MAP_APPFONT ( LEFT , FLINE ( 5 ) ) ; 201 Size = MAP_APPFONT ( MID-LEFT-2 , FLINEH ) ; 202 LeftLabel = TRUE ; 203 Text [ en-US ] = "~Title/Position" ; 204 }; 205 Edit ED_TITLE 206 { 207 HelpID = "cui:Edit:RID_SFXPAGE_GENERAL:ED_TITLE"; 208 Border = TRUE ; 209 Pos = MAP_APPFONT ( MID , LINE ( 5 ) ) ; 210 Size = MAP_APPFONT ( NAMELEN-1 , LINEH ) ; 211 }; 212 Edit ED_POSITION 213 { 214 HelpID = "cui:Edit:RID_SFXPAGE_GENERAL:ED_POSITION"; 215 Border = TRUE ; 216 Pos = MAP_APPFONT ( MID+NAMELEN-1+HSPACE , LINE ( 5 ) ) ; 217 Size = MAP_APPFONT ( RIGHT- ( MID+NAMELEN-1+HSPACE ) , LINEH ) ; 218 }; 219 FixedText FT_PHONE 220 { 221 Pos = MAP_APPFONT ( LEFT , FLINE ( 6 ) ) ; 222 Size = MAP_APPFONT ( MID-LEFT-2 , FLINEH ) ; 223 Text [ en-US ] = "Tel. (Home/Work)" ; 224 LeftLabel = TRUE ; 225 }; 226 Edit ED_TELPRIVAT 227 { 228 HelpID = "cui:Edit:RID_SFXPAGE_GENERAL:ED_TELPRIVAT"; 229 Border = TRUE ; 230 Pos = MAP_APPFONT ( MID , LINE ( 6 ) ) ; 231 Size = MAP_APPFONT ( NAMELEN-1 , LINEH ) ; 232 }; 233 Edit ED_TELCOMPANY 234 { 235 HelpID = "cui:Edit:RID_SFXPAGE_GENERAL:ED_TELCOMPANY"; 236 Border = TRUE ; 237 Pos = MAP_APPFONT ( MID+NAMELEN-1+HSPACE , LINE ( 6 ) ) ; 238 Size = MAP_APPFONT ( RIGHT- ( MID+NAMELEN-1+HSPACE ) , LINEH ) ; 239 }; 240 FixedText FT_FAXMAIL 241 { 242 Pos = MAP_APPFONT ( LEFT , FLINE ( 7 ) ) ; 243 Size = MAP_APPFONT ( MID-LEFT-2 , FLINEH ) ; 244 LeftLabel = TRUE ; 245 Text [ en-US ] = "Fa~x / E-mail" ; 246 }; 247 Edit ED_FAX 248 { 249 HelpID = "cui:Edit:RID_SFXPAGE_GENERAL:ED_FAX"; 250 Border = TRUE ; 251 Pos = MAP_APPFONT ( MID , LINE ( 7 ) ) ; 252 Size = MAP_APPFONT ( NAMELEN-1 , LINEH ) ; 253 }; 254 Edit ED_EMAIL 255 { 256 HelpID = "cui:Edit:RID_SFXPAGE_GENERAL:ED_EMAIL"; 257 Border = TRUE ; 258 Pos = MAP_APPFONT ( MID+NAMELEN-1+HSPACE , LINE ( 7 ) ) ; 259 Size = MAP_APPFONT ( RIGHT- ( MID+NAMELEN-1+HSPACE ) , LINEH ) ; 260 }; 261 FixedLine GB_ADDRESS 262 { 263 Pos = MAP_APPFONT ( 6 , 3 ) ; 264 Size = MAP_APPFONT ( 248 , 8 ) ; 265 Text [ en-US ] = "Address " ; 266 }; 267 CheckBox CB_USEDATA 268 { 269 HelpID = "cui:CheckBox:RID_SFXPAGE_GENERAL:CB_USEDATA"; 270 Pos = MAP_APPFONT ( 6 , 122 ) ; 271 Size = MAP_APPFONT ( 236 , 10 ) ; 272 Hide = TRUE; 273 Text [ en-US ] = "Use data for document properties"; 274 }; 275 276 // extra Resourcen f"ur die amerikanische Postadresse 277 String STR_US_STATE 278 { 279 Text [ en-US ] = "City/State/Zip"; 280 }; 281 String STR_QUERY_REG 282 { 283 Text [ en-US ] = "Note that street, Zip code and city are used to generate the registration key. You will not be able to change the user data again until the registration has been carried out. Do you want to modify the user data now?"; 284 }; 285}; 286 287// RID_SVXQB_CHANGEDATA --------------------------------------------------- 288 289QueryBox RID_SVXQB_CHANGEDATA 290{ 291 BUTTONS = WB_YES_NO ; 292 DEFBUTTON = WB_DEF_NO ; 293 Message [ en-US ] = "The User Data have been changed.\nNote that, if you continue, the registration key will become invalid.\nTherefore, a new registration key is needed within 30 days.\nYou can find the registration form in the menu Help - Registration...\nDo you really want to change your User Data?"; 294}; 295 296 // ********************************************************************** EOF 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333