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