summaryrefslogtreecommitdiff
path: root/extensions/source/dbpilots/dbpresid.hrc
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/source/dbpilots/dbpresid.hrc')
-rw-r--r--extensions/source/dbpilots/dbpresid.hrc234
1 files changed, 234 insertions, 0 deletions
diff --git a/extensions/source/dbpilots/dbpresid.hrc b/extensions/source/dbpilots/dbpresid.hrc
new file mode 100644
index 000000000000..74b71bf35007
--- /dev/null
+++ b/extensions/source/dbpilots/dbpresid.hrc
@@ -0,0 +1,234 @@
+/*************************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+
+#ifndef _EXTENSIONS_DBP_DBPRESID_HRC_
+#define _EXTENSIONS_DBP_DBPRESID_HRC_
+
+#include "dbpilots.hrc"
+#include "extensio.hrc"
+
+//========================================================================
+// basics
+
+#define RID_DIALOG_START RID_DBP_START
+#define RID_PAGE_START RID_DBP_START
+#define RID_STRING_START RID_DBP_START
+#define RID_ERRORBOX_START RID_DBP_START
+
+//========================================================================
+// strings
+
+#define RID_STR_GROUPWIZ_DBFIELD (RID_STRING_START + 1 )
+#define RID_STR_COMBOWIZ_DBFIELD (RID_STRING_START + 2 )
+#define RID_STR_LISTWIZARD_TITLE (RID_STRING_START + 3 )
+#define RID_STR_COMBOWIZARD_TITLE (RID_STRING_START + 4 )
+#define RID_STR_COULDNOTOPENTABLE (RID_STRING_START + 5 )
+#define RID_STR_DATEPOSTFIX (RID_STRING_START + 6 )
+#define RID_STR_TIMEPOSTFIX (RID_STRING_START + 7 )
+#define RID_STR_TYPE_QUERY (RID_STRING_START + 8 )
+#define RID_STR_TYPE_TABLE (RID_STRING_START + 9 )
+#define RID_STR_TYPE_COMMAND (RID_STRING_START + 10 )
+
+// please adjust RID_STRING_END (below) when adding new strings
+#define RID_STRING_END RID_STR_TIMEPOSTFIX
+
+//========================================================================
+// dialogs
+
+#define RID_DLG_GROUPBOXWIZARD ( RID_DIALOG_START + 1 )
+#define RID_DLG_LISTCOMBOWIZARD ( RID_DIALOG_START + 2 )
+#define RID_DLG_GRIDWIZARD ( RID_DIALOG_START + 3 )
+
+// please adjust RID_DIALOG_END (below) when adding new dialogs
+#define RID_DIALOG_END RID_DLG_GRIDWIZARD
+
+//========================================================================
+// tab pages
+
+#define RID_PAGE_TABLESELECTION ( RID_PAGE_START + 1 )
+#define RID_PAGE_GROUPRADIOSELECTION ( RID_PAGE_START + 2 )
+#define RID_PAGE_DEFAULTFIELDSELECTION ( RID_PAGE_START + 3 )
+#define RID_PAGE_OPTIONVALUES ( RID_PAGE_START + 4 )
+#define RID_PAGE_OPTION_DBFIELD ( RID_PAGE_START + 5 )
+#define RID_PAGE_OPTIONS_FINAL ( RID_PAGE_START + 6 )
+#define RID_PAGE_LCW_CONTENTSELECTION_TABLE ( RID_PAGE_START + 7 )
+#define RID_PAGE_LCW_CONTENTSELECTION_FIELD ( RID_PAGE_START + 8 )
+#define RID_PAGE_LCW_FIELDLINK ( RID_PAGE_START + 9 )
+#define RID_PAGE_GW_FIELDSELECTION ( RID_PAGE_START + 10 )
+#define RID_PAGE_FORM_DATASOURCE_STATUS ( RID_PAGE_START + 11 )
+
+// please adjust RID_PAGE_END (below) when adding new tab pages
+#define RID_PAGE_END RID_PAGE_GW_FIELDSELECTION
+
+//========================================================================
+// ErrorBox
+
+#define RID_ERR_INVALID_FORM_CONNECTION ( RID_ERRORBOX_START + 1 )
+
+// please adjust RID_ERRORBOX_END (below) when adding new error boxes
+#define RID_ERRORBOX_END RID_ERR_INVALID_FORM_CONNECTION
+
+
+//========================================================================
+//========================================================================
+//= range checks
+
+#if RID_STRING_END > RID_DBP_END
+ #error "please adjust the resource id ranges!!"
+#endif
+#if RID_DIALOG_END > RID_DBP_END
+ #error "please adjust the resource id ranges!!"
+#endif
+#if RID_PAGE_END > RID_DBP_END
+ #error "please adjust the resource id ranges!!"
+#endif
+#if RID_ERRORBOX_END > RID_DBP_END
+ #error "please adjust the resource id ranges!!"
+#endif
+
+//========================================================================
+// local ids
+
+//........................................................................
+// FixedLine
+
+#define FL_DATA 1
+#define FL_DEFAULTSELECTION 2
+#define FL_OPTIONVALUES 3
+#define FL_DATABASEFIELD_EXPL 4
+#define FL_NAMEIT 5
+#define FL_FRAME 6
+#define FL_FORMSETINGS 7
+
+//........................................................................
+// FixedText
+
+#define FT_DATASOURCE 1
+#define FT_TABLE 2
+#define FT_RADIOLABELS 3
+#define FT_RADIOBUTTONS 4
+#define FT_DEFAULTSELECTION 5
+#define FT_OPTIONVALUES_EXPL 6
+#define FT_OPTIONVALUES 7
+#define FT_DATABASEFIELD_EXPL 8
+#define FT_DATABASEFIELD_QUEST 9
+#define FT_NAMEIT 10
+#define FT_THATSALL 11
+#define FT_SELECTTABLE_LABEL 12
+#define FT_TABLEFIELDS 13
+#define FT_DISPLAYEDFIELD 14
+#define FT_CONTENTFIELD_INFO 15
+#define FT_VALUELISTFIELD 16
+#define FT_TABLEFIELD 17
+#define FT_EXPLANATION 18
+#define FT_EXISTING_FIELDS 19
+#define FT_SELECTED_FIELDS 20
+#define FT_FIELDLINK_DESC 21
+#define FT_FORMDATASOURCELABEL 22
+#define FT_FORMDATASOURCE 23
+#define FT_FORMTABLELABEL 24
+#define FT_FORMTABLE 25
+#define FT_FORMCONTENTTYPELABEL 26
+#define FT_FORMCONTENTTYPE 27
+
+//........................................................................
+// ListBox
+
+#define LB_DATASOURCE 1
+#define LB_TABLE 2
+#define LB_RADIOBUTTONS 3
+#define LB_DEFSELECTIONFIELD 3
+#define LB_STOREINFIELD 4
+#define LB_SELECTTABLE 5
+#define LB_SELECTFIELD 6
+#define LB_EXISTING_FIELDS 7
+#define LB_SELECTED_FIELDS 8
+
+//........................................................................
+// Edit
+
+#define ET_RADIOLABELS 1
+#define ET_OPTIONVALUE 2
+#define ET_NAMEIT 3
+#define ET_DISPLAYEDFIELD 4
+
+//........................................................................
+// PushButton
+
+#define PB_MOVETORIGHT 1
+#define PB_MOVETOLEFT 2
+#define PB_FIELDRIGHT 3
+#define PB_ALLFIELDSRIGHT 4
+#define PB_FIELDLEFT 5
+#define PB_ALLFIELDSLEFT 6
+#define PB_FORMDATASOURCE 7
+
+//........................................................................
+// RadioButton
+
+#define RB_DEFSELECTION_YES 1
+#define RB_DEFSELECTION_NO 2
+#define RB_STOREINFIELD_YES 3
+#define RB_STOREINFIELD_NO 4
+
+//........................................................................
+// ComboBox
+
+#define CMB_VALUELISTFIELD 1
+#define CMB_TABLEFIELD 2
+
+//........................................................................
+// String
+
+#define STR_FIELDINFO_LISTBOX 1
+#define STR_FIELDINFO_COMBOBOX 2
+
+//........................................................................
+// Image
+
+#define IMG_TABLE 1
+#define IMG_TABLE_HC 2
+#define IMG_QUERY 3
+#define IMG_QUERY_HC 4
+
+//========================================================================
+// defines
+
+#define WINDOW_SIZE_X 260
+#define WINDOW_SIZE_Y 185
+#define WINDOW_HALF_SIZE_X ( WINDOW_SIZE_X / 2 )
+
+#define BUTTON_SIZE_X 50
+#define BUTTON_SIZE_Y 14
+
+#define ITEM_BUTTON_SIZE_X 20
+#define ITEM_BUTTON_SIZE_Y 12
+
+
+
+#endif // _EXTENSIONS_DBP_DBPRESID_HRC_
+