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