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