xref: /aoo41x/main/sw/source/ui/table/instable.src (revision 8660f102)
1*8660f102SAndrew Rist/**************************************************************
2cdf0e10cSrcweir *
3*8660f102SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
4*8660f102SAndrew Rist * or more contributor license agreements.  See the NOTICE file
5*8660f102SAndrew Rist * distributed with this work for additional information
6*8660f102SAndrew Rist * regarding copyright ownership.  The ASF licenses this file
7*8660f102SAndrew Rist * to you under the Apache License, Version 2.0 (the
8*8660f102SAndrew Rist * "License"); you may not use this file except in compliance
9*8660f102SAndrew Rist * with the License.  You may obtain a copy of the License at
10*8660f102SAndrew Rist *
11*8660f102SAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12*8660f102SAndrew Rist *
13*8660f102SAndrew Rist * Unless required by applicable law or agreed to in writing,
14*8660f102SAndrew Rist * software distributed under the License is distributed on an
15*8660f102SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*8660f102SAndrew Rist * KIND, either express or implied.  See the License for the
17*8660f102SAndrew Rist * specific language governing permissions and limitations
18*8660f102SAndrew Rist * under the License.
19*8660f102SAndrew Rist *
20*8660f102SAndrew Rist *************************************************************/
21*8660f102SAndrew Rist
22*8660f102SAndrew Rist
23cdf0e10cSrcweir
24cdf0e10cSrcweir#include "table.hrc"
25cdf0e10cSrcweir#include "instable.hrc"
26cdf0e10cSrcweir#include "cmdid.h"
27cdf0e10cSrcweir#include "helpid.h"
28cdf0e10cSrcweir // #define DLG_INSERT_TABLE 256
29cdf0e10cSrcweirModalDialog DLG_INSERT_TABLE
30cdf0e10cSrcweir{
31cdf0e10cSrcweir	HelpID = CMD_FN_INSERT_TABLE ;
32cdf0e10cSrcweir	OutputSize = TRUE ;
33cdf0e10cSrcweir	SVLook = TRUE ;
34cdf0e10cSrcweir    Size = MAP_APPFONT ( 280 , 166 ) ;
35cdf0e10cSrcweir	Text [ en-US ] = "Insert Table" ;
36cdf0e10cSrcweir	Moveable = TRUE ;
37cdf0e10cSrcweir	Edit ED_NAME
38cdf0e10cSrcweir	{
39cdf0e10cSrcweir	    HelpID = "sw:Edit:DLG_INSERT_TABLE:ED_NAME";
40cdf0e10cSrcweir		Border = TRUE ;
41cdf0e10cSrcweir        Pos = MAP_APPFONT ( 53 , 6 ) ;
42cdf0e10cSrcweir        Size = MAP_APPFONT ( 158, 12 ) ;
43cdf0e10cSrcweir		TabStop = TRUE ;
44cdf0e10cSrcweir	};
45cdf0e10cSrcweir    FixedText FT_NAME
46cdf0e10cSrcweir	{
47cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6 , 8 ) ;
48cdf0e10cSrcweir        Size = MAP_APPFONT ( 45, 8 ) ;
49cdf0e10cSrcweir		Text [ en-US ] = "Name";
50cdf0e10cSrcweir	};
51cdf0e10cSrcweir	FixedText FT_COL
52cdf0e10cSrcweir	{
53cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12 , 34 ) ;
54cdf0e10cSrcweir        Size = MAP_APPFONT ( 39 , 8 ) ;
55cdf0e10cSrcweir		Text [ en-US ] = "~Columns" ;
56cdf0e10cSrcweir		Left = TRUE ;
57cdf0e10cSrcweir	};
58cdf0e10cSrcweir	NumericField ED_COL
59cdf0e10cSrcweir	{
60cdf0e10cSrcweir	    HelpID = "sw:NumericField:DLG_INSERT_TABLE:ED_COL";
61cdf0e10cSrcweir		Border = TRUE ;
62cdf0e10cSrcweir        Pos = MAP_APPFONT ( 53 , 32 ) ;
63cdf0e10cSrcweir		Size = MAP_APPFONT ( 28 , 12 ) ;
64cdf0e10cSrcweir		TabStop = TRUE ;
65cdf0e10cSrcweir		Left = TRUE ;
66cdf0e10cSrcweir		Repeat = TRUE ;
67cdf0e10cSrcweir		Spin = TRUE ;
68cdf0e10cSrcweir		Minimum = 1 ;
69cdf0e10cSrcweir		Maximum = 99 ;
70cdf0e10cSrcweir        Value = 2 ;
71cdf0e10cSrcweir		First = 1 ;
72cdf0e10cSrcweir		Last = 99 ;
73cdf0e10cSrcweir	};
74cdf0e10cSrcweir	FixedText FT_ROW
75cdf0e10cSrcweir	{
76cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12 , 50 ) ;
77cdf0e10cSrcweir        Size = MAP_APPFONT ( 39 , 8 ) ;
78cdf0e10cSrcweir		Text [ en-US ] = "~Rows" ;
79cdf0e10cSrcweir		Left = TRUE ;
80cdf0e10cSrcweir	};
81cdf0e10cSrcweir	NumericField ED_ROW
82cdf0e10cSrcweir	{
83cdf0e10cSrcweir	    HelpID = "sw:NumericField:DLG_INSERT_TABLE:ED_ROW";
84cdf0e10cSrcweir		Border = TRUE ;
85cdf0e10cSrcweir        Pos = MAP_APPFONT ( 53 , 48 ) ;
86cdf0e10cSrcweir		Size = MAP_APPFONT ( 28 , 12 ) ;
87cdf0e10cSrcweir		TabStop = TRUE ;
88cdf0e10cSrcweir		Left = TRUE ;
89cdf0e10cSrcweir		Repeat = TRUE ;
90cdf0e10cSrcweir		Spin = TRUE ;
91cdf0e10cSrcweir		Minimum = 1 ;
92cdf0e10cSrcweir		Maximum = 99 ;
93cdf0e10cSrcweir		Value = 2 ;
94cdf0e10cSrcweir		First = 1 ;
95cdf0e10cSrcweir		Last = 99 ;
96cdf0e10cSrcweir	};
97cdf0e10cSrcweir    FixedLine FL_TABLE
98cdf0e10cSrcweir	{
99cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6 , 21 ) ;
100cdf0e10cSrcweir        Size = MAP_APPFONT ( 212 , 8 ) ;
101cdf0e10cSrcweir		Text [ en-US ] = "Size";
102cdf0e10cSrcweir	};
103cdf0e10cSrcweir	CheckBox CB_HEADER
104cdf0e10cSrcweir	{
105cdf0e10cSrcweir	    HelpID = "sw:CheckBox:DLG_INSERT_TABLE:CB_HEADER";
106cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12 , 74 ) ;
107cdf0e10cSrcweir		Size = MAP_APPFONT (113 , 10 ) ;
108cdf0e10cSrcweir		TabStop = TRUE ;
109cdf0e10cSrcweir		Text [ en-US ] = "Heading";
110cdf0e10cSrcweir	};
111cdf0e10cSrcweir	CheckBox CB_REPEAT_HEADER
112cdf0e10cSrcweir	{
113cdf0e10cSrcweir	    HelpID = "sw:CheckBox:DLG_INSERT_TABLE:CB_REPEAT_HEADER";
114cdf0e10cSrcweir        Pos = MAP_APPFONT ( 21 , 88 ) ;
115cdf0e10cSrcweir        Size = MAP_APPFONT ( 104 , 10 ) ;
116cdf0e10cSrcweir		TabStop = TRUE ;
117cdf0e10cSrcweir		Text [ en-US ] = "Repeat heading";
118cdf0e10cSrcweir	};
119cdf0e10cSrcweir	FixedText FT_REPEAT_HEADER
120cdf0e10cSrcweir	{
121cdf0e10cSrcweir        Pos = MAP_APPFONT ( 30 , 105 ) ;
122cdf0e10cSrcweir        Size = MAP_APPFONT ( 95 , 10 ) ;
123cdf0e10cSrcweir        Text [ en-US ] = "The first %POSITION_OF_CONTROL rows" ;
124cdf0e10cSrcweir	};
125cdf0e10cSrcweir	NumericField NF_REPEAT_HEADER
126cdf0e10cSrcweir	{
127cdf0e10cSrcweir	    HelpID = "sw:NumericField:DLG_INSERT_TABLE:NF_REPEAT_HEADER";
128cdf0e10cSrcweir		Border = TRUE ;
129cdf0e10cSrcweir        Pos = MAP_APPFONT ( 130 , 104 ) ;
130cdf0e10cSrcweir		Size = MAP_APPFONT ( 28 , 12 ) ;
131cdf0e10cSrcweir		TabStop = TRUE ;
132cdf0e10cSrcweir		Left = TRUE ;
133cdf0e10cSrcweir		Repeat = TRUE ;
134cdf0e10cSrcweir		Spin = TRUE ;
135cdf0e10cSrcweir		Minimum = 1 ;
136cdf0e10cSrcweir		Maximum = 1000 ;
137cdf0e10cSrcweir		First = 1 ;
138cdf0e10cSrcweir	};
139cdf0e10cSrcweir	Window WIN_REPEAT_HEADER
140cdf0e10cSrcweir	{
141cdf0e10cSrcweir        Pos = MAP_APPFONT ( 30 , 102 ) ;
142cdf0e10cSrcweir        Size = MAP_APPFONT ( 2 , 1 ) ;
143cdf0e10cSrcweir	};
144cdf0e10cSrcweir	CheckBox CB_DONT_SPLIT
145cdf0e10cSrcweir	{
146cdf0e10cSrcweir	    HelpID = "sw:CheckBox:DLG_INSERT_TABLE:CB_DONT_SPLIT";
147cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12 , 118 ) ;
148cdf0e10cSrcweir		Size = MAP_APPFONT ( 113 , 10 ) ;
149cdf0e10cSrcweir		Text [ en-US ] = "Don't split table";
150cdf0e10cSrcweir		TabStop = TRUE ;
151cdf0e10cSrcweir	};
152cdf0e10cSrcweir	CheckBox CB_BORDER
153cdf0e10cSrcweir	{
154cdf0e10cSrcweir	    HelpID = "sw:CheckBox:DLG_INSERT_TABLE:CB_BORDER";
155cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12 , 132 ) ;
156cdf0e10cSrcweir		Size = MAP_APPFONT ( 113 , 10 ) ;
157cdf0e10cSrcweir		TabStop = TRUE ;
158cdf0e10cSrcweir		Text [ en-US ] = "Border";
159cdf0e10cSrcweir	};
160cdf0e10cSrcweir    PushButton BT_AUTOFORMAT
161cdf0e10cSrcweir	{
162cdf0e10cSrcweir        HelpID = "sw:PushButton:DLG_INSERT_TABLE:BT_AUTOFORMAT";
163cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12 , 146 ) ;
164cdf0e10cSrcweir        Size = MAP_APPFONT ( 86 , 14 ) ;
165cdf0e10cSrcweir		TabStop = TRUE ;
166cdf0e10cSrcweir		Text [ en-US ] = "Auto~Format..." ;
167cdf0e10cSrcweir	};
168cdf0e10cSrcweir    FixedLine FL_OPTIONS
169cdf0e10cSrcweir	{
170cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6 , 63 ) ;
171cdf0e10cSrcweir        Size = MAP_APPFONT ( 212 , 8 ) ;
172cdf0e10cSrcweir		Text [ en-US ] = "Options";
173cdf0e10cSrcweir	};
174cdf0e10cSrcweir	OKButton BT_OK
175cdf0e10cSrcweir	{
176cdf0e10cSrcweir		Pos = MAP_APPFONT ( 224 , 6 ) ;
177cdf0e10cSrcweir		Size = MAP_APPFONT ( 50 , 14 ) ;
178cdf0e10cSrcweir		TabStop = TRUE ;
179cdf0e10cSrcweir		DefButton = TRUE ;
180cdf0e10cSrcweir	};
181cdf0e10cSrcweir	CancelButton BT_CANCEL
182cdf0e10cSrcweir	{
183cdf0e10cSrcweir		Pos = MAP_APPFONT ( 224 , 23 ) ;
184cdf0e10cSrcweir		Size = MAP_APPFONT ( 50 , 14 ) ;
185cdf0e10cSrcweir		TabStop = TRUE ;
186cdf0e10cSrcweir	};
187cdf0e10cSrcweir	HelpButton BT_HELP
188cdf0e10cSrcweir	{
189cdf0e10cSrcweir		Pos = MAP_APPFONT ( 224 , 43 ) ;
190cdf0e10cSrcweir		Size = MAP_APPFONT ( 50 , 14 ) ;
191cdf0e10cSrcweir		TabStop = TRUE ;
192cdf0e10cSrcweir	};
193cdf0e10cSrcweir};
194cdf0e10cSrcweir
195cdf0e10cSrcweir
196