1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * This file is part of OpenOffice.org.
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.
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).
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.
26 ************************************************************************/
28 #ifndef EXTENSIONS_ABPRESID_HRC
29 #include "abpresid.hrc"
32 //........................................................................
33 ModalDialog RID_DLG_ADDRESSBOOKSOURCEPILOT
35 Text [ en-US ] = "Address Book Data Source Wizard" ;
37 HelpId = HID_ABSPILOT;
45 String STR_SELECT_ABTYPE
47 Text [ en-US ] = "Address book type";
50 String STR_INVOKE_ADMIN_DIALOG
52 Text [ en-US ] = "Connection Settings";
55 String STR_TABLE_SELECTION
57 Text [ en-US ] = "Table selection";
60 String STR_MANUAL_FIELD_MAPPING
62 Text [ en-US ] = "Field Assignment";
65 String STR_FINAL_CONFIRM
67 Text [ en-US ] = "Data Source Title";
71 //........................................................................
72 TabPage RID_PAGE_SELECTABTYPE
74 HelpID = "extensions:TabPage:RID_PAGE_SELECTABTYPE";
76 Size = MAP_APPFONT ( WINDOW_SIZE_X , WINDOW_SIZE_Y ) ;
78 FixedText FT_TYPE_HINTS
80 Pos = MAP_APPFONT ( BORDER_X, 9 ) ;
81 Size = MAP_APPFONT ( WINDOW_SIZE_X - 2 * BORDER_X, 40 ) ;
84 Text [ en-US ] = "%PRODUCTNAME lets you access address data already present in your system. To do this, a %PRODUCTNAME data source will be created in which your address data is available in tabular form.\n\nThis wizard helps you create the data source.";
89 Pos = MAP_APPFONT ( 7, 56 ) ;
90 Size = MAP_APPFONT ( WINDOW_SIZE_X - 14, 8 ) ;
92 Text [ en-US ] = "Please select the type of your external address book:";
95 RadioButton RB_EVOLUTION
97 HelpID = "extensions:RadioButton:RID_PAGE_SELECTABTYPE:RB_EVOLUTION";
98 Size = MAP_APPFONT ( WINDOW_SIZE_X - 30, 8 ) ;
99 Text [ en-US ] = "Evolution";
101 RadioButton RB_EVOLUTION_GROUPWISE
103 HelpID = "extensions:RadioButton:RID_PAGE_SELECTABTYPE:RB_EVOLUTION_GROUPWISE";
104 Size = MAP_APPFONT ( WINDOW_SIZE_X - 30, 8 ) ;
105 Text [ en-US ] = "Groupwise";
107 RadioButton RB_EVOLUTION_LDAP
109 HelpID = "extensions:RadioButton:RID_PAGE_SELECTABTYPE:RB_EVOLUTION_LDAP";
110 Size = MAP_APPFONT ( WINDOW_SIZE_X - 30, 8 ) ;
111 Text [ en-US ] = "Evolution LDAP";
115 HelpID = "extensions:RadioButton:RID_PAGE_SELECTABTYPE:RB_MORK";
116 Size = MAP_APPFONT ( WINDOW_SIZE_X - 30, 8 ) ;
117 Text [ en-US ] = "Mozilla / Netscape";
119 RadioButton RB_THUNDERBIRD
121 HelpID = "extensions:RadioButton:RID_PAGE_SELECTABTYPE:RB_THUNDERBIRD";
122 Size = MAP_APPFONT ( WINDOW_SIZE_X - 30, 8 ) ;
123 Text [ en-US ] = "Thunderbird";
127 HelpID = "extensions:RadioButton:RID_PAGE_SELECTABTYPE:RB_KAB";
128 Size = MAP_APPFONT ( WINDOW_SIZE_X - 30, 8 ) ;
129 Text [ en-US ] = "KDE address book";
133 HelpID = "extensions:RadioButton:RID_PAGE_SELECTABTYPE:RB_MACAB";
134 Size = MAP_APPFONT ( WINDOW_SIZE_X - 30, 8 ) ;
135 Text [ en-US ] = "Mac OS X address book";
139 HelpID = "extensions:RadioButton:RID_PAGE_SELECTABTYPE:RB_LDAP";
140 Size = MAP_APPFONT ( WINDOW_SIZE_X - 30, 8 ) ;
141 Text [ en-US ] = "LDAP address data";
143 RadioButton RB_OUTLOOK
145 HelpID = "extensions:RadioButton:RID_PAGE_SELECTABTYPE:RB_OUTLOOK";
146 Size = MAP_APPFONT ( WINDOW_SIZE_X - 30, 8 ) ;
147 Text [ en-US ] = "Outlook address book";
149 RadioButton RB_OUTLOOKEXPRESS
151 HelpID = "extensions:RadioButton:RID_PAGE_SELECTABTYPE:RB_OUTLOOKEXPRESS";
152 Size = MAP_APPFONT ( WINDOW_SIZE_X - 30, 8 ) ;
153 Text [ en-US ] = "Windows system address book";
157 HelpID = "extensions:RadioButton:RID_PAGE_SELECTABTYPE:RB_OTHER";
158 Size = MAP_APPFONT ( WINDOW_SIZE_X - 30, 8 ) ;
159 Text [ en-US ] = "Other external data source";
163 //........................................................................
164 TabPage RID_PAGE_ADMININVOKATION
166 HelpID = "extensions:TabPage:RID_PAGE_ADMININVOKATION";
168 Size = MAP_APPFONT ( WINDOW_SIZE_X , WINDOW_SIZE_Y ) ;
170 FixedText FT_ADMINEXPLANATION
172 Pos = MAP_APPFONT ( BORDER_X, 9 ) ;
173 Size = MAP_APPFONT ( WINDOW_SIZE_X - 2 * BORDER_X, 48 ) ;
176 Text [ en-US ] = "To set up the new data source, additional information is required.\n\nClick the following button to open another dialog in which you then enter the necessary information.";
179 PushButton PB_INVOKE_ADMIN_DIALOG
181 HelpID = "extensions:PushButton:RID_PAGE_ADMININVOKATION:PB_INVOKE_ADMIN_DIALOG";
182 Pos = MAP_APPFONT ( ( WINDOW_SIZE_X - BUTTON_SIZE_X ) / 2, 60 ) ;
183 Size = MAP_APPFONT ( BUTTON_SIZE_X, BUTTON_SIZE_Y ) ;
185 Text [ en-US ] = "Settings";
190 Pos = MAP_APPFONT ( BORDER_X, WINDOW_SIZE_Y - HEADER_SIZE_Y - 7 - 48 ) ;
191 Size = MAP_APPFONT ( WINDOW_SIZE_X - 2 * BORDER_X, 48 ) ;
195 Text [ en-US ] = "The connection to the data source could not be established.\nBefore you proceed, please check the settings made, or (on the previous page) choose another address data source type.";
199 //........................................................................
200 TabPage RID_PAGE_TABLESELECTION_AB
202 HelpID = "extensions:TabPage:RID_PAGE_TABLESELECTION_AB";
204 Size = MAP_APPFONT ( WINDOW_SIZE_X , WINDOW_SIZE_Y ) ;
206 FixedText FL_TOOMUCHTABLES
208 Pos = MAP_APPFONT ( BORDER_X, 9 ) ;
209 Size = MAP_APPFONT ( WINDOW_SIZE_X - 2 * BORDER_X, 24 ) ;
212 Text [ en-US ] = "The external data source you have chosen contains more than one address book.\nPlease select the one you mainly want to work with:";
217 HelpID = "extensions:ListBox:RID_PAGE_TABLESELECTION_AB:LB_TABLELIST";
218 Pos = MAP_APPFONT ( BORDER_X, 36 ) ;
219 Size = MAP_APPFONT ( WINDOW_SIZE_X - 2 * BORDER_X, 50 ) ;
228 //........................................................................
229 TabPage RID_PAGE_FIELDMAPPING
231 HelpID = "extensions:TabPage:RID_PAGE_FIELDMAPPING";
233 Size = MAP_APPFONT ( WINDOW_SIZE_X , WINDOW_SIZE_Y ) ;
235 FixedText FT_FIELDASSIGMENTEXPL
237 Pos = MAP_APPFONT ( BORDER_X, 9 ) ;
238 Size = MAP_APPFONT ( WINDOW_SIZE_X - 2 * BORDER_X, 72 ) ;
241 Text [ en-US ] = "To incorporate the address data in your templates, %PRODUCTNAME has to know which fields contain which data.\n\nFor instance, you could have stored the e-mail addresses in a field named \"email\", or \"E-mail\" or \"EM\" - or something completely different.\n\nClick the button below to open another dialog where you can enter the settings for your data source.";
244 PushButton PB_INVOKE_FIELDS_DIALOG
246 HelpID = "extensions:PushButton:RID_PAGE_FIELDMAPPING:PB_INVOKE_FIELDS_DIALOG";
247 Pos = MAP_APPFONT ( ( WINDOW_SIZE_X - BUTTON_SIZE_X ) / 2, 84 ) ;
248 Size = MAP_APPFONT ( BUTTON_SIZE_X, BUTTON_SIZE_Y ) ;
250 Text [ en-US ] = "Field Assignment";
253 FixedText FT_ASSIGNEDFIELDS
255 Pos = MAP_APPFONT ( BORDER_X, WINDOW_SIZE_Y - HEADER_SIZE_Y - 7 - 32 ) ;
256 Size = MAP_APPFONT ( WINDOW_SIZE_X - 2 * BORDER_X, 32 ) ;
261 //........................................................................
262 TabPage RID_PAGE_FINAL
264 HelpID = "extensions:TabPage:RID_PAGE_FINAL";
266 Size = MAP_APPFONT ( WINDOW_SIZE_X , WINDOW_SIZE_Y ) ;
268 FixedText FT_FINISH_EXPL
270 Pos = MAP_APPFONT ( BORDER_X, 9 ) ;
271 Size = MAP_APPFONT ( WINDOW_SIZE_X - 2 * BORDER_X, 40 ) ;
274 Text [ en-US ] = "That was all the information necessary to integrate your address data into %PRODUCTNAME.\n\nNow, just enter the name under which you want to register the data source in %PRODUCTNAME.";
277 FixedText FT_LOCATION
279 Pos = MAP_APPFONT ( BORDER_X, 53 ) ;
280 Size = MAP_APPFONT ( 50, 8 ) ;
283 Text [ en-US ] = "Location";
286 ComboBox CBB_LOCATION
288 HelpID = "extensions:ComboBox:RID_PAGE_FINAL:CBB_LOCATION";
289 Pos = MAP_APPFONT ( BORDER_X , 64 ) ;
290 Size = MAP_APPFONT ( WINDOW_SIZE_X - 53 - BORDER_X - BORDER_X, 12) ;
299 HelpID = "extensions:PushButton:RID_PAGE_FINAL:PB_BROWSE";
300 Pos = MAP_APPFONT ( WINDOW_SIZE_X - 50 - BORDER_X , 63 ) ;
301 Size = MAP_APPFONT ( 50, 14) ;
305 Text [ en-US ] = "Browse...";
308 CheckBox CB_REGISTER_DS
310 HelpID = "extensions:CheckBox:RID_PAGE_FINAL:CB_REGISTER_DS";
311 Pos = MAP_APPFONT ( BORDER_X, 82 ) ;
312 Size = MAP_APPFONT ( WINDOW_SIZE_X - BORDER_X - BORDER_X, 8) ;
316 Text [ en-US ] = "Make this address book available to all modules in %PRODUCTNAME.";
318 FixedText FT_NAME_EXPL
320 Pos = MAP_APPFONT ( BORDER_X + 10, 93 ) ;
321 Size = MAP_APPFONT ( WINDOW_SIZE_X - BORDER_X - BORDER_X - 10, 8 ) ;
323 Text [ en-US ] = "Address book name";
326 Edit ET_DATASOURCENAME
328 HelpID = "extensions:Edit:RID_PAGE_FINAL:ET_DATASOURCENAME";
329 Pos = MAP_APPFONT ( BORDER_X + 10, 104 ) ;
330 Size = MAP_APPFONT ( WINDOW_SIZE_X - 56 - BORDER_X - BORDER_X - 10, 12) ;
335 FixedText FT_DUPLICATENAME
337 Pos = MAP_APPFONT ( BORDER_X + 10, WINDOW_SIZE_Y - HEADER_SIZE_Y - 7 - 24 ) ;
338 Size = MAP_APPFONT ( WINDOW_SIZE_X - 2 * BORDER_X, 24) ;
343 Text [ en-US ] = "Another data source already has this name. As data sources have to have globally unique names, you need to choose another one.";
347 //........................................................................
348 ErrorBox RID_ERR_NEEDTYPESELECTION
352 Message [ en-US ] = "Please select a type of address book.";
355 //........................................................................
356 QueryBox RID_QRY_NOTABLES
359 DefButton = WB_DEF_NO;
361 Message [ en-US ] = "The data source does not contain any tables.\nDo you want to set it up as an address data source, anyway?";
364 //........................................................................
365 String RID_STR_DEFAULT_NAME
367 Text [ en-US ] = "Addresses";
370 String RID_STR_ADMINDIALOGTITLE
372 Text [ en-US ] = "Create Address Data Source";
375 String RID_STR_NOCONNECTION
377 Text [ en-US ] = "The connection could not be established.";
380 String RID_STR_PLEASECHECKSETTINGS
382 Text [ en-US ] = "Please check the settings made for the data source.";
385 String RID_STR_FIELDDIALOGTITLE
387 Text [ en-US ] = "Address Data - Field Assignment";
390 String RID_STR_NOFIELDSASSIGNED
392 Text [ en-US ] = "There are no fields assigned at this time.\nYou can either assign fields now or do so later by first choosing:\n\"File - Template - Address Book Source...\"";
395 //........................................................................
396 Bitmap BMP_HEADERIMAGE
398 file = "addresspilot.bmp";