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
75 Size = MAP_APPFONT ( WINDOW_SIZE_X , WINDOW_SIZE_Y ) ;
77 FixedText FT_TYPE_HINTS
79 Pos = MAP_APPFONT ( BORDER_X, 9 ) ;
80 Size = MAP_APPFONT ( WINDOW_SIZE_X - 2 * BORDER_X, 40 ) ;
83 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.";
88 Pos = MAP_APPFONT ( 7, 56 ) ;
89 Size = MAP_APPFONT ( WINDOW_SIZE_X - 14, 8 ) ;
91 Text [ en-US ] = "Please select the type of your external address book:";
94 RadioButton RB_EVOLUTION
96 Size = MAP_APPFONT ( WINDOW_SIZE_X - 30, 8 ) ;
97 Text [ en-US ] = "Evolution";
99 RadioButton RB_EVOLUTION_GROUPWISE
101 Size = MAP_APPFONT ( WINDOW_SIZE_X - 30, 8 ) ;
102 Text [ en-US ] = "Groupwise";
104 RadioButton RB_EVOLUTION_LDAP
106 Size = MAP_APPFONT ( WINDOW_SIZE_X - 30, 8 ) ;
107 Text [ en-US ] = "Evolution LDAP";
111 Size = MAP_APPFONT ( WINDOW_SIZE_X - 30, 8 ) ;
112 Text [ en-US ] = "Mozilla / Netscape";
114 RadioButton RB_THUNDERBIRD
116 Size = MAP_APPFONT ( WINDOW_SIZE_X - 30, 8 ) ;
117 Text [ en-US ] = "Thunderbird";
121 Size = MAP_APPFONT ( WINDOW_SIZE_X - 30, 8 ) ;
122 Text [ en-US ] = "KDE address book";
126 Size = MAP_APPFONT ( WINDOW_SIZE_X - 30, 8 ) ;
127 Text [ en-US ] = "Mac OS X address book";
131 Size = MAP_APPFONT ( WINDOW_SIZE_X - 30, 8 ) ;
132 Text [ en-US ] = "LDAP address data";
134 RadioButton RB_OUTLOOK
136 Size = MAP_APPFONT ( WINDOW_SIZE_X - 30, 8 ) ;
137 Text [ en-US ] = "Outlook address book";
139 RadioButton RB_OUTLOOKEXPRESS
141 Size = MAP_APPFONT ( WINDOW_SIZE_X - 30, 8 ) ;
142 Text [ en-US ] = "Windows system address book";
146 Size = MAP_APPFONT ( WINDOW_SIZE_X - 30, 8 ) ;
147 Text [ en-US ] = "Other external data source";
151 //........................................................................
152 TabPage RID_PAGE_ADMININVOKATION
155 Size = MAP_APPFONT ( WINDOW_SIZE_X , WINDOW_SIZE_Y ) ;
157 FixedText FT_ADMINEXPLANATION
159 Pos = MAP_APPFONT ( BORDER_X, 9 ) ;
160 Size = MAP_APPFONT ( WINDOW_SIZE_X - 2 * BORDER_X, 48 ) ;
163 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.";
166 PushButton PB_INVOKE_ADMIN_DIALOG
168 Pos = MAP_APPFONT ( ( WINDOW_SIZE_X - BUTTON_SIZE_X ) / 2, 60 ) ;
169 Size = MAP_APPFONT ( BUTTON_SIZE_X, BUTTON_SIZE_Y ) ;
171 Text [ en-US ] = "Settings";
176 Pos = MAP_APPFONT ( BORDER_X, WINDOW_SIZE_Y - HEADER_SIZE_Y - 7 - 48 ) ;
177 Size = MAP_APPFONT ( WINDOW_SIZE_X - 2 * BORDER_X, 48 ) ;
181 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.";
185 //........................................................................
186 TabPage RID_PAGE_TABLESELECTION_AB
189 Size = MAP_APPFONT ( WINDOW_SIZE_X , WINDOW_SIZE_Y ) ;
191 FixedText FL_TOOMUCHTABLES
193 Pos = MAP_APPFONT ( BORDER_X, 9 ) ;
194 Size = MAP_APPFONT ( WINDOW_SIZE_X - 2 * BORDER_X, 24 ) ;
197 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:";
202 Pos = MAP_APPFONT ( BORDER_X, 36 ) ;
203 Size = MAP_APPFONT ( WINDOW_SIZE_X - 2 * BORDER_X, 50 ) ;
212 //........................................................................
213 TabPage RID_PAGE_FIELDMAPPING
216 Size = MAP_APPFONT ( WINDOW_SIZE_X , WINDOW_SIZE_Y ) ;
218 FixedText FT_FIELDASSIGMENTEXPL
220 Pos = MAP_APPFONT ( BORDER_X, 9 ) ;
221 Size = MAP_APPFONT ( WINDOW_SIZE_X - 2 * BORDER_X, 72 ) ;
224 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.";
227 PushButton PB_INVOKE_FIELDS_DIALOG
229 Pos = MAP_APPFONT ( ( WINDOW_SIZE_X - BUTTON_SIZE_X ) / 2, 84 ) ;
230 Size = MAP_APPFONT ( BUTTON_SIZE_X, BUTTON_SIZE_Y ) ;
232 Text [ en-US ] = "Field Assignment";
235 FixedText FT_ASSIGNEDFIELDS
237 Pos = MAP_APPFONT ( BORDER_X, WINDOW_SIZE_Y - HEADER_SIZE_Y - 7 - 32 ) ;
238 Size = MAP_APPFONT ( WINDOW_SIZE_X - 2 * BORDER_X, 32 ) ;
243 //........................................................................
244 TabPage RID_PAGE_FINAL
247 Size = MAP_APPFONT ( WINDOW_SIZE_X , WINDOW_SIZE_Y ) ;
249 FixedText FT_FINISH_EXPL
251 Pos = MAP_APPFONT ( BORDER_X, 9 ) ;
252 Size = MAP_APPFONT ( WINDOW_SIZE_X - 2 * BORDER_X, 40 ) ;
255 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.";
258 FixedText FT_LOCATION
260 Pos = MAP_APPFONT ( BORDER_X, 53 ) ;
261 Size = MAP_APPFONT ( 50, 8 ) ;
264 Text [ en-US ] = "Location";
267 ComboBox CBB_LOCATION
269 Pos = MAP_APPFONT ( BORDER_X , 64 ) ;
270 Size = MAP_APPFONT ( WINDOW_SIZE_X - 53 - BORDER_X - BORDER_X, 12) ;
279 Pos = MAP_APPFONT ( WINDOW_SIZE_X - 50 - BORDER_X , 63 ) ;
280 Size = MAP_APPFONT ( 50, 14) ;
284 Text [ en-US ] = "Browse...";
287 CheckBox CB_REGISTER_DS
289 Pos = MAP_APPFONT ( BORDER_X, 82 ) ;
290 Size = MAP_APPFONT ( WINDOW_SIZE_X - BORDER_X - BORDER_X, 8) ;
294 Text [ en-US ] = "Make this address book available to all modules in %PRODUCTNAME.";
296 FixedText FT_NAME_EXPL
298 Pos = MAP_APPFONT ( BORDER_X + 10, 93 ) ;
299 Size = MAP_APPFONT ( WINDOW_SIZE_X - BORDER_X - BORDER_X - 10, 8 ) ;
301 Text [ en-US ] = "Address book name";
304 Edit ET_DATASOURCENAME
306 Pos = MAP_APPFONT ( BORDER_X + 10, 104 ) ;
307 Size = MAP_APPFONT ( WINDOW_SIZE_X - 56 - BORDER_X - BORDER_X - 10, 12) ;
312 FixedText FT_DUPLICATENAME
314 Pos = MAP_APPFONT ( BORDER_X + 10, WINDOW_SIZE_Y - HEADER_SIZE_Y - 7 - 24 ) ;
315 Size = MAP_APPFONT ( WINDOW_SIZE_X - 2 * BORDER_X, 24) ;
320 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.";
324 //........................................................................
325 ErrorBox RID_ERR_NEEDTYPESELECTION
329 Message [ en-US ] = "Please select a type of address book.";
332 //........................................................................
333 QueryBox RID_QRY_NOTABLES
336 DefButton = WB_DEF_NO;
338 Message [ en-US ] = "The data source does not contain any tables.\nDo you want to set it up as an address data source, anyway?";
341 //........................................................................
342 String RID_STR_DEFAULT_NAME
344 Text [ en-US ] = "Addresses";
347 String RID_STR_ADMINDIALOGTITLE
349 Text [ en-US ] = "Create Address Data Source";
352 String RID_STR_NOCONNECTION
354 Text [ en-US ] = "The connection could not be established.";
357 String RID_STR_PLEASECHECKSETTINGS
359 Text [ en-US ] = "Please check the settings made for the data source.";
362 String RID_STR_FIELDDIALOGTITLE
364 Text [ en-US ] = "Address Data - Field Assignment";
367 String RID_STR_NOFIELDSASSIGNED
369 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...\"";
372 //........................................................................
373 Bitmap BMP_HEADERIMAGE
375 file = "addresspilot.bmp";