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#ifndef EXTENSIONS_ABPRESID_HRC
29#define EXTENSIONS_ABPRESID_HRC
30
31#include "abpilot.hrc"
32#include "extensio.hrc"
33
34//========================================================================
35// basics
36
37#define RID_DIALOG_START				RID_ABP_START
38#define RID_PAGE_START					RID_ABP_START
39#define RID_STRING_START				RID_ABP_START
40#define RID_ERRORBOX_START				RID_ABP_START
41#define RID_UNTYPED_START				RID_ABP_START
42#define RID_QUERYBOX_START				RID_ABP_START
43#define RID_BITMAP_START				RID_ABP_START
44
45//========================================================================
46// dialogs
47
48#define RID_DLG_ADDRESSBOOKSOURCEPILOT	( RID_DIALOG_START +  0 )
49// please adjust RID_DIALOG_END (below) when adding new dialogs
50
51#define RID_DIALOG_END					RID_DLG_ADDRESSBOOKSOURCEPILOT
52
53//========================================================================
54// tab pages
55
56#define RID_PAGE_SELECTABTYPE			( RID_PAGE_START +  0 )
57#define RID_PAGE_ADMININVOKATION		( RID_PAGE_START +  1 )
58#define RID_PAGE_TABLESELECTION_AB		( RID_PAGE_START +  2 )
59#define RID_PAGE_FIELDMAPPING			( RID_PAGE_START +  3 )
60#define RID_PAGE_FINAL					( RID_PAGE_START +  4 )
61// please adjust RID_PAGE_END (below) when adding new tab pages
62
63#define RID_PAGE_END					RID_PAGE_FINAL
64
65//========================================================================
66// strings
67
68#define RID_STR_DEFAULT_NAME			( RID_STRING_START +  0 )
69#define RID_STR_ADMINDIALOGTITLE		( RID_STRING_START +  1 )
70#define RID_STR_NOCONNECTION			( RID_STRING_START +  2 )
71#define RID_STR_PLEASECHECKSETTINGS		( RID_STRING_START +  3 )
72#define RID_STR_FIELDDIALOGTITLE		( RID_STRING_START +  4 )
73#define RID_STR_NOFIELDSASSIGNED		( RID_STRING_START +  5 )
74// please adjust RID_STRING_END (below) when adding new strings
75
76#define RID_STRING_END					RID_STR_NOFIELDSASSIGNED
77
78//========================================================================
79// error boxes
80
81#define RID_ERR_NEEDTYPESELECTION		( RID_ERRORBOX_START +  0 )
82// please adjust RID_ERRORBOX_END (below) when adding new error boxes
83
84#define RID_ERRORBOX_END				RID_ERR_NEEDTYPESELECTION
85
86//========================================================================
87// query boxes
88
89#define RID_QRY_NOTABLES				( RID_QUERYBOX_START +  0 )
90// please adjust RID_QUERYBOX_END (below) when adding new query boxes
91
92#define RID_QUERYBOX_END				RID_QRY_NOTABLES
93
94//========================================================================
95// untyped resources
96
97#define RID_RSC_NOTUSEDYET				( RID_UNTYPED_START +  0 )
98// please adjust RID_UNTYPED_END (below) when adding new untyped resources
99
100#define RID_UNTYPED_END					RID_RSC_NOTUSEDYET
101
102//========================================================================
103// bitmaps
104
105#define BMP_HEADERIMAGE					( RID_BITMAP_START +  0 )
106// please adjust RID_BITMAP_END (below) when adding new bitmaps
107
108#define RID_BITMAP_END					BMP_HEADERIMAGE
109
110//========================================================================
111//========================================================================
112//= range checks
113
114#if RID_DIALOG_END > RID_ABP_END
115	#error "please adjust the resource id ranges!!"
116#endif
117#if RID_PAGE_END > RID_ABP_END
118	#error "please adjust the resource id ranges!!"
119#endif
120#if RID_STRING_END > RID_ABP_END
121	#error "please adjust the resource id ranges!!"
122#endif
123#if RID_ERRORBOX_END > RID_ABP_END
124	#error "please adjust the resource id ranges!!"
125#endif
126#if RID_QUERYBOX_END > RID_ABP_END
127	#error "please adjust the resource id ranges!!"
128#endif
129#if RID_UNTYPED_END > RID_ABP_END
130	#error "please adjust the resource id ranges!!"
131#endif
132#if RID_BITMAP_END > RID_ABP_END
133	#error "please adjust the resource id ranges!!"
134#endif
135
136//========================================================================
137// local resource ids
138
139//........................................................................
140#define FL_SEPARATOR			1
141#define FL_TYPE					2
142#define FL_NAME					3
143
144//........................................................................
145#define FT_TYPE_HINTS			 1
146#define FT_ADMINEXPLANATION		 3
147#define FT_NAME_EXPL			 4
148#define FT_ERROR				 5
149#define FL_TOOMUCHTABLES		 6
150#define	FT_FIELDASSIGMENTEXPL	 7
151#define FT_ASSIGNEDFIELDS		 8
152#define FT_FINISH_EXPL			 9
153#define FT_DUPLICATENAME		10
154#define FT_LOCATION				11
155
156//........................................................................
157#define RB_MORK					1
158#define RB_THUNDERBIRD          2
159#define RB_EVOLUTION			3
160#define RB_KAB					4
161#define RB_MACAB				5
162#define RB_LDAP					6
163#define RB_OUTLOOK				7
164#define RB_OUTLOOKEXPRESS		8
165#define RB_OTHER				9
166#define RB_EVOLUTION_GROUPWISE  10
167#define RB_EVOLUTION_LDAP		11
168
169//........................................................................
170#define ET_DATASOURCENAME		1
171#define ET_LOCATION				2
172
173//........................................................................
174#define PB_INVOKE_ADMIN_DIALOG	1
175#define PB_INVOKE_FIELDS_DIALOG	2
176#define PB_BROWSE				3
177
178//........................................................................
179#define LB_TABLELIST			1
180
181//........................................................................
182#define CB_REGISTER_DS			1
183
184//........................................................................
185#define CBB_LOCATION			1
186
187//........................................................................
188#define STR_SELECT_ABTYPE           1
189#define STR_INVOKE_ADMIN_DIALOG     2
190#define STR_TABLE_SELECTION         3
191#define STR_MANUAL_FIELD_MAPPING    4
192#define STR_FINAL_CONFIRM           5
193
194//========================================================================
195// some defines
196
197//........................................................................
198#define WINDOW_SIZE_X	240
199#define WINDOW_SIZE_Y	185
200
201#define WINDOW_BORDER_X	 12
202#define WINDOW_BORDER_Y	 14
203
204#define BUTTON_SIZE_X	 50
205#define BUTTON_SIZE_Y	 14
206
207#define HEADER_SIZE_Y	30
208
209#define BORDER_X		12
210
211//........................................................................
212
213#endif // EXTENSIONS_ABPRESID_HRC
214
215/*************************************************************************
216 * history:
217 *
218 *	Revision 1.0 30.01.01 16:38:29  fs
219 ************************************************************************/
220
221