xref: /trunk/main/sw/source/ui/table/colwd.src (revision 0dfdc53f)
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 "colwd.hrc"
24#include "cmdid.h"
25#include "helpid.h"
26// #define DLG_COL_WIDTH 256
27
28ModalDialog DLG_COL_WIDTH
29{
30	HelpID = CMD_FN_TABLE_SET_COL_WIDTH ;
31	OutputSize = TRUE ;
32	SVLook = TRUE ;
33	Size = MAP_APPFONT ( 159, 60 ) ;
34	Text [ en-US ] = "Column Width" ;
35	Moveable = TRUE ;
36	OKButton BT_OK
37	{
38		Pos = MAP_APPFONT ( 104, 6 ) ;
39		Size = MAP_APPFONT ( 50, 14 ) ;
40		TabStop = TRUE ;
41		DefButton = TRUE ;
42	};
43	CancelButton BT_CANCEL
44	{
45		Pos = MAP_APPFONT ( 104, 23 ) ;
46		Size = MAP_APPFONT ( 50, 14 ) ;
47		TabStop = TRUE ;
48	};
49	HelpButton BT_HELP
50	{
51		Pos = MAP_APPFONT ( 104, 43 ) ;
52		Size = MAP_APPFONT ( 50, 14 ) ;
53		TabStop = TRUE ;
54	};
55	FixedText FT_WIDTH
56	{
57		Pos = MAP_APPFONT ( 12, 31 ) ;
58		Size = MAP_APPFONT ( 35, 8 ) ;
59		Text [ en-US ] = "~Width" ;
60		Left = TRUE ;
61	};
62	MetricField ED_WIDTH
63	{
64		HelpID = "sw:MetricField:DLG_COL_WIDTH:ED_WIDTH" ;
65		Border = TRUE ;
66		Pos = MAP_APPFONT ( 51, 30 ) ;
67		Size = MAP_APPFONT ( 38, 12 ) ;
68		TabStop = TRUE ;
69		Left = TRUE ;
70		Repeat = TRUE ;
71		Spin = TRUE ;
72		Minimum = 50 ;
73		Maximum = 9999 ;
74		DecimalDigits = 2 ;
75		SpinSize = 10 ;
76		Value = 10 ;
77		Unit = FUNIT_CM ;
78		First = 100 ;
79		Last = 9999 ;
80	};
81	FixedLine FL_WIDTH
82	{
83		Pos = MAP_APPFONT ( 6, 3 ) ;
84		Size = MAP_APPFONT ( 91, 8 ) ;
85		Text [ en-US ] = "Width" ;
86	};
87	FixedText FT_COL
88	{
89		Pos = MAP_APPFONT ( 12, 16 ) ;
90		Size = MAP_APPFONT ( 35, 8 ) ;
91		Text [ en-US ] = "~Column" ;
92		Left = TRUE ;
93	};
94	NumericField ED_COL
95	{
96		HelpID = "sw:NumericField:DLG_COL_WIDTH:ED_COL" ;
97		Border = TRUE ;
98		Pos = MAP_APPFONT ( 51, 14 ) ;
99		Size = MAP_APPFONT ( 38, 12 ) ;
100		TabStop = TRUE ;
101		Left = TRUE ;
102		Spin = TRUE ;
103		Minimum = 1 ;
104		Maximum = 99 ;
105		Repeat = TRUE ;
106	};
107};
108
109// ********************************************************************** EOF
110