1 /**************************************************************
2  *
3  * Licensed to the Apache Software Foundation (ASF) under one
4  * or more contributor license agreements.  See the NOTICE file
5  * distributed with this work for additional information
6  * regarding copyright ownership.  The ASF licenses this file
7  * to you under the Apache License, Version 2.0 (the
8  * "License"); you may not use this file except in compliance
9  * with the License.  You may obtain a copy of the License at
10  *
11  *   http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing,
14  * software distributed under the License is distributed on an
15  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16  * KIND, either express or implied.  See the License for the
17  * specific language governing permissions and limitations
18  * under the License.
19  *
20  *************************************************************/
21 
22 /*
23  * Created on 14.11.2003
24  *
25  * To change the template for this generated file go to
26  * Window>Preferences>Java>Code Generation>Code and Comments
27  */
28 package com.sun.star.wizards.ui;
29 
30 /**
31  * @author rpiterman
32  *
33  * To change the template for this generated type comment go to
34  * Window>Preferences>Java>Code Generation>Code and Comments
35  */
36 public interface UIConsts
37 {
38 
39     public static final int RID_COMMON = 500;
40     public static final int RID_DB_COMMON = 1000;
41     public static final int RID_FORM = 2200;
42     public static final int RID_QUERY = 2300;
43     public static final int RID_REPORT = 2400;
44     public static final int RID_TABLE = 2500;
45     public static final int RID_IMG_REPORT = 1000;
46     public static final int RID_IMG_FORM = 1100;
47     public static final int RID_IMG_WEB = 1200;
48     public static final Integer INVISIBLESTEP = 99;
49     public static final String INFOIMAGEURL = "private:resource/dbu/image/19205";
50     public static final String INFOIMAGEURL_HC = "private:resource/dbu/image/19230";
51     /**
52      * The tabindex of the navigation buttons in a wizard must be assigned a very
53      * high tabindex because on every step their taborder must appear at the end
54      */
55     public static final short SOFIRSTWIZARDNAVITABINDEX = 30000;
56     public static final Integer INTEGER_8 = 8;
57     public static final Integer INTEGER_12 = 12;
58     public static final Integer INTEGER_14 = 14;
59     public static final Integer INTEGER_16 = 16;
60     public static final Integer INTEGER_40 = 40;
61     public static final Integer INTEGER_50 = 50;
62     /**Steps of the QueryWizard
63      *
64      */
65     public static final int SOFIELDSELECTIONPAGE = 1;
66     public static final int SOSORTINGPAGE = 2;
67     public static final int SOFILTERPAGE = 3;
68     public static final int SOAGGREGATEPAGE = 4;
69     public static final int SOGROUPSELECTIONPAGE = 5;
70     public static final int SOGROUPFILTERPAGE = 6;
71     public static final int SOTITLESPAGE = 7;
72     public static final int SOSUMMARYPAGE = 8;
73     public static final Integer[] INTEGERS = new Integer[]
74     {
75         0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10
76     };
77 
78     class CONTROLTYPE
79     {
80 
81         public static final int BUTTON = 1;
82         public static final int IMAGECONTROL = 2;
83         public static final int LISTBOX = 3;
84         public static final int COMBOBOX = 4;
85         public static final int CHECKBOX = 5;
86         public static final int RADIOBUTTON = 6;
87         public static final int DATEFIELD = 7;
88         public static final int EDITCONTROL = 8;
89         public static final int FILECONTROL = 9;
90         public static final int FIXEDLINE = 10;
91         public static final int FIXEDTEXT = 11;
92         public static final int FORMATTEDFIELD = 12;
93         public static final int GROUPBOX = 13;
94         public static final int HYPERTEXT = 14;
95         public static final int NUMERICFIELD = 15;
96         public static final int PATTERNFIELD = 16;
97         public static final int PROGRESSBAR = 17;
98         public static final int ROADMAP = 18;
99         public static final int SCROLLBAR = 19;
100         public static final int TIMEFIELD = 20;
101         public static final int CURRENCYFIELD = 21;
102         public static final int UNKNOWN = -1;
103     }
104 }
105