summaryrefslogtreecommitdiff
path: root/extensions/source/dbpilots/dbpresid.hrc
blob: 1b3d460e8ce8e9cc41961c7f70ea887ed3550221 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
 * This file is part of the LibreOffice project.
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 *
 * This file incorporates work covered by the following license notice:
 *
 *   Licensed to the Apache Software Foundation (ASF) under one or more
 *   contributor license agreements. See the NOTICE file distributed
 *   with this work for additional information regarding copyright
 *   ownership. The ASF licenses this file to you under the Apache
 *   License, Version 2.0 (the "License"); you may not use this file
 *   except in compliance with the License. You may obtain a copy of
 *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
 */

#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 )
#define RID_STR_FIELDINFO_LISTBOX       (RID_STRING_START + 11 )
#define RID_STR_FIELDINFO_COMBOBOX      (RID_STRING_START + 12 )
#define RID_STR_GRIDWIZARD_TITLE        (RID_STRING_START + 13 )
#define RID_STR_GROUPWIZARD_TITLE       (RID_STRING_START + 14 )
#define RID_STR_OPTION_DB_FIELD_TITLE   (RID_STRING_START + 15 )

// please adjust RID_STRING_END (below) when adding new strings
#define RID_STRING_END                  RID_STR_OPTION_DB_FIELD_TITLE

// please adjust RID_DIALOG_END (below) when adding new dialogs
#define RID_DIALOG_END                  ( RID_DIALOG_START +  3 )

// 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_ERRORBOX_END > RID_DBP_END
    #error "please adjust the resource id ranges!!"
#endif

// local ids

// FixedLine
#define FL_FRAME                    6
#define FL_FORMSETINGS              7

// Image

#define IMG_TABLE                   ( RID_DIALOG_START + 1 )
#define IMG_QUERY                   ( RID_DIALOG_START + 2 )

#define WINDOW_SIZE_X       260
#define WINDOW_SIZE_Y       185
#define WINDOW_HALF_SIZE_X  ( WINDOW_SIZE_X / 2 )

#endif // _EXTENSIONS_DBP_DBPRESID_HRC_

/* vim:set shiftwidth=4 softtabstop=4 expandtab: */