xref: /trunk/main/sw/source/ui/table/instable.src (revision 6fd2419af095b9e12baf06e33db2129edf4d719b)
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#include "table.hrc"
23#include "instable.hrc"
24#include "cmdid.h"
25#include "helpid.h"
26// #define DLG_INSERT_TABLE 256
27
28ModalDialog DLG_INSERT_TABLE
29{
30    HelpID = CMD_FN_INSERT_TABLE ;
31    OutputSize = TRUE ;
32    SVLook = TRUE ;
33    Size = MAP_APPFONT ( 280, 166 ) ;
34    Text [ en-US ] = "Insert Table" ;
35    Moveable = TRUE ;
36    Edit ED_NAME
37    {
38        HelpID = "sw:Edit:DLG_INSERT_TABLE:ED_NAME" ;
39        Border = TRUE ;
40        Pos = MAP_APPFONT ( 53, 6 ) ;
41        Size = MAP_APPFONT ( 158, 12 ) ;
42        TabStop = TRUE ;
43    };
44    FixedText FT_NAME
45    {
46        Pos = MAP_APPFONT ( 6, 8 ) ;
47        Size = MAP_APPFONT ( 45, 8 ) ;
48        Text [ en-US ] = "Name" ;
49    };
50    FixedText FT_COL
51    {
52        Pos = MAP_APPFONT ( 12, 34 ) ;
53        Size = MAP_APPFONT ( 39, 8 ) ;
54        Text [ en-US ] = "~Columns" ;
55        Left = TRUE ;
56    };
57    NumericField ED_COL
58    {
59        HelpID = "sw:NumericField:DLG_INSERT_TABLE:ED_COL" ;
60        Border = TRUE ;
61        Pos = MAP_APPFONT ( 53, 32 ) ;
62        Size = MAP_APPFONT ( 28, 12 ) ;
63        TabStop = TRUE ;
64        Left = TRUE ;
65        Repeat = TRUE ;
66        Spin = TRUE ;
67        Minimum = 1 ;
68        Maximum = 99 ;
69        Value = 2 ;
70        First = 1 ;
71        Last = 99 ;
72    };
73    FixedText FT_ROW
74    {
75        Pos = MAP_APPFONT ( 12, 50 ) ;
76        Size = MAP_APPFONT ( 39, 8 ) ;
77        Text [ en-US ] = "~Rows" ;
78        Left = TRUE ;
79    };
80    NumericField ED_ROW
81    {
82        HelpID = "sw:NumericField:DLG_INSERT_TABLE:ED_ROW" ;
83        Border = TRUE ;
84        Pos = MAP_APPFONT ( 53, 48 ) ;
85        Size = MAP_APPFONT ( 28, 12 ) ;
86        TabStop = TRUE ;
87        Left = TRUE ;
88        Repeat = TRUE ;
89        Spin = TRUE ;
90        Minimum = 1 ;
91        Maximum = 99 ;
92        Value = 2 ;
93        First = 1 ;
94        Last = 99 ;
95    };
96    FixedLine FL_TABLE
97    {
98        Pos = MAP_APPFONT ( 6, 21 ) ;
99        Size = MAP_APPFONT ( 212, 8 ) ;
100        Text [ en-US ] = "Size" ;
101    };
102    CheckBox CB_HEADER
103    {
104        HelpID = "sw:CheckBox:DLG_INSERT_TABLE:CB_HEADER" ;
105        Pos = MAP_APPFONT ( 12, 74 ) ;
106        Size = MAP_APPFONT (113, 10 ) ;
107        TabStop = TRUE ;
108        Text [ en-US ] = "Heading" ;
109    };
110    CheckBox CB_REPEAT_HEADER
111    {
112        HelpID = "sw:CheckBox:DLG_INSERT_TABLE:CB_REPEAT_HEADER" ;
113        Pos = MAP_APPFONT ( 21, 88 ) ;
114        Size = MAP_APPFONT ( 104, 10 ) ;
115        TabStop = TRUE ;
116        Text [ en-US ] = "Repeat heading" ;
117    };
118    FixedText FT_REPEAT_HEADER
119    {
120        Pos = MAP_APPFONT ( 30, 105 ) ;
121        Size = MAP_APPFONT ( 95, 10 ) ;
122        Text [ en-US ] = "The first %POSITION_OF_CONTROL rows" ;
123    };
124    NumericField NF_REPEAT_HEADER
125    {
126        HelpID = "sw:NumericField:DLG_INSERT_TABLE:NF_REPEAT_HEADER" ;
127        Border = TRUE ;
128        Pos = MAP_APPFONT ( 130, 104 ) ;
129        Size = MAP_APPFONT ( 28, 12 ) ;
130        TabStop = TRUE ;
131        Left = TRUE ;
132        Repeat = TRUE ;
133        Spin = TRUE ;
134        Minimum = 1 ;
135        Maximum = 1000 ;
136        First = 1 ;
137    };
138    Window WIN_REPEAT_HEADER
139    {
140        Pos = MAP_APPFONT ( 30, 102 ) ;
141        Size = MAP_APPFONT ( 2, 1 ) ;
142    };
143    CheckBox CB_DONT_SPLIT
144    {
145        HelpID = "sw:CheckBox:DLG_INSERT_TABLE:CB_DONT_SPLIT" ;
146        Pos = MAP_APPFONT ( 12, 118 ) ;
147        Size = MAP_APPFONT ( 113, 10 ) ;
148        Text [ en-US ] = "Don't split table" ;
149        TabStop = TRUE ;
150    };
151    CheckBox CB_BORDER
152    {
153        HelpID = "sw:CheckBox:DLG_INSERT_TABLE:CB_BORDER" ;
154        Pos = MAP_APPFONT ( 12, 132 ) ;
155        Size = MAP_APPFONT ( 113, 10 ) ;
156        TabStop = TRUE ;
157        Text [ en-US ] = "Border" ;
158    };
159    PushButton BT_AUTOFORMAT
160    {
161        HelpID = "sw:PushButton:DLG_INSERT_TABLE:BT_AUTOFORMAT" ;
162        Pos = MAP_APPFONT ( 12, 146 ) ;
163        Size = MAP_APPFONT ( 86, 14 ) ;
164        TabStop = TRUE ;
165        Text [ en-US ] = "Auto~Format..." ;
166    };
167    FixedLine FL_OPTIONS
168    {
169        Pos = MAP_APPFONT ( 6, 63 ) ;
170        Size = MAP_APPFONT ( 212, 8 ) ;
171        Text [ en-US ] = "Options" ;
172    };
173    OKButton BT_OK
174    {
175        Pos = MAP_APPFONT ( 224, 6 ) ;
176        Size = MAP_APPFONT ( 50, 14 ) ;
177        TabStop = TRUE ;
178        DefButton = TRUE ;
179    };
180    CancelButton BT_CANCEL
181    {
182        Pos = MAP_APPFONT ( 224, 23 ) ;
183        Size = MAP_APPFONT ( 50, 14 ) ;
184        TabStop = TRUE ;
185    };
186    HelpButton BT_HELP
187    {
188        Pos = MAP_APPFONT ( 224, 43 ) ;
189        Size = MAP_APPFONT ( 50, 14 ) ;
190        TabStop = TRUE ;
191    };
192};
193
194// ********************************************************************** EOF
195