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
24#ifndef EXTENSIONS_PROPRESID_HRC
25#include "formresid.hrc"
26#endif
27#ifndef EXTENSIONS_SOURCE_PROPCTRLR_NEWDATATYPE_HRC
28#include "newdatatype.hrc"
29#endif
30
31#define DIALOG_WIDTH    150
32#define DIALOG_HEIGHT   55
33#define BUTTON_WIDTH    50
34#define BUTTON_HEIGHT   14
35
36ModalDialog RID_DLG_NEW_DATA_TYPE
37{
38    HelpID = "extensions:ModalDialog:RID_DLG_NEW_DATA_TYPE";
39	OutputSize = TRUE ;
40	Moveable = TRUE ;
41	Closeable = TRUE ;
42	SVLook = TRUE ;
43    Size = MAP_APPFONT ( DIALOG_WIDTH, DIALOG_HEIGHT ) ;
44
45    Text [ en-US ] = "New Data Type";
46
47    FixedText FT_LABEL
48    {
49        Pos = MAP_APPFONT( 6, 6 );
50        Size = MAP_APPFONT( DIALOG_WIDTH - 2 * 6, 8 );
51
52        Text [ en-US ] = "Type a name for the new data type:";
53    };
54
55    Edit ED_NAME
56    {
57        HelpID = "extensions:Edit:RID_DLG_NEW_DATA_TYPE:ED_NAME";
58        Pos = MAP_APPFONT( 6, 17 );
59        Size = MAP_APPFONT( DIALOG_WIDTH - 2 * 6, 12 );
60        Border = TRUE;
61    };
62
63    OKButton PB_OK
64    {
65        Pos = MAP_APPFONT( DIALOG_WIDTH - 6 - BUTTON_WIDTH - 3 - BUTTON_WIDTH, 35 );
66        Size = MAP_APPFONT( BUTTON_WIDTH, BUTTON_HEIGHT );
67        DefButton = TRUE;
68    };
69
70    CancelButton PB_CANCEL
71    {
72        Pos = MAP_APPFONT( DIALOG_WIDTH - 6 - BUTTON_WIDTH, 35 );
73        Size = MAP_APPFONT( BUTTON_WIDTH, BUTTON_HEIGHT );
74    };
75};
76