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