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 #define EXTENSIONS_ABPRESID_HRC
31 #include "abpilot.hrc"
32 #include "extensio.hrc"
34 //========================================================================
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
45 //========================================================================
48 #define RID_DLG_ADDRESSBOOKSOURCEPILOT ( RID_DIALOG_START + 0 )
49 // please adjust RID_DIALOG_END (below) when adding new dialogs
51 #define RID_DIALOG_END RID_DLG_ADDRESSBOOKSOURCEPILOT
53 //========================================================================
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
63 #define RID_PAGE_END RID_PAGE_FINAL
65 //========================================================================
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
76 #define RID_STRING_END RID_STR_NOFIELDSASSIGNED
78 //========================================================================
81 #define RID_ERR_NEEDTYPESELECTION ( RID_ERRORBOX_START + 0 )
82 // please adjust RID_ERRORBOX_END (below) when adding new error boxes
84 #define RID_ERRORBOX_END RID_ERR_NEEDTYPESELECTION
86 //========================================================================
89 #define RID_QRY_NOTABLES ( RID_QUERYBOX_START + 0 )
90 // please adjust RID_QUERYBOX_END (below) when adding new query boxes
92 #define RID_QUERYBOX_END RID_QRY_NOTABLES
94 //========================================================================
97 #define RID_RSC_NOTUSEDYET ( RID_UNTYPED_START + 0 )
98 // please adjust RID_UNTYPED_END (below) when adding new untyped resources
100 #define RID_UNTYPED_END RID_RSC_NOTUSEDYET
102 //========================================================================
105 #define BMP_HEADERIMAGE ( RID_BITMAP_START + 0 )
106 // please adjust RID_BITMAP_END (below) when adding new bitmaps
108 #define RID_BITMAP_END BMP_HEADERIMAGE
110 //========================================================================
111 //========================================================================
114 #if RID_DIALOG_END > RID_ABP_END
115 #error "please adjust the resource id ranges!!"
117 #if RID_PAGE_END > RID_ABP_END
118 #error "please adjust the resource id ranges!!"
120 #if RID_STRING_END > RID_ABP_END
121 #error "please adjust the resource id ranges!!"
123 #if RID_ERRORBOX_END > RID_ABP_END
124 #error "please adjust the resource id ranges!!"
126 #if RID_QUERYBOX_END > RID_ABP_END
127 #error "please adjust the resource id ranges!!"
129 #if RID_UNTYPED_END > RID_ABP_END
130 #error "please adjust the resource id ranges!!"
132 #if RID_BITMAP_END > RID_ABP_END
133 #error "please adjust the resource id ranges!!"
136 //========================================================================
137 // local resource ids
139 //........................................................................
140 #define FL_SEPARATOR 1
144 //........................................................................
145 #define FT_TYPE_HINTS 1
146 #define FT_ADMINEXPLANATION 3
147 #define FT_NAME_EXPL 4
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
156 //........................................................................
158 #define RB_THUNDERBIRD 2
159 #define RB_EVOLUTION 3
164 #define RB_OUTLOOKEXPRESS 8
166 #define RB_EVOLUTION_GROUPWISE 10
167 #define RB_EVOLUTION_LDAP 11
169 //........................................................................
170 #define ET_DATASOURCENAME 1
171 #define ET_LOCATION 2
173 //........................................................................
174 #define PB_INVOKE_ADMIN_DIALOG 1
175 #define PB_INVOKE_FIELDS_DIALOG 2
178 //........................................................................
179 #define LB_TABLELIST 1
181 //........................................................................
182 #define CB_REGISTER_DS 1
184 //........................................................................
185 #define CBB_LOCATION 1
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
194 //========================================================================
197 //........................................................................
198 #define WINDOW_SIZE_X 240
199 #define WINDOW_SIZE_Y 185
201 #define WINDOW_BORDER_X 12
202 #define WINDOW_BORDER_Y 14
204 #define BUTTON_SIZE_X 50
205 #define BUTTON_SIZE_Y 14
207 #define HEADER_SIZE_Y 30
211 //........................................................................
213 #endif // EXTENSIONS_ABPRESID_HRC
215 /*************************************************************************
218 * Revision 1.0 30.01.01 16:38:29 fs
219 ************************************************************************/