xref: /trunk/main/sw/source/ui/table/colwd.src (revision cdf0e10c)
1/*************************************************************************
2 *
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
6 *
7 * OpenOffice.org - a multi-platform office productivity suite
8 *
9 * This file is part of OpenOffice.org.
10 *
11 * OpenOffice.org is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU Lesser General Public License version 3
13 * only, as published by the Free Software Foundation.
14 *
15 * OpenOffice.org is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18 * GNU Lesser General Public License version 3 for more details
19 * (a copy is included in the LICENSE file that accompanied this code).
20 *
21 * You should have received a copy of the GNU Lesser General Public License
22 * version 3 along with OpenOffice.org.  If not, see
23 * <http://www.openoffice.org/license.html>
24 * for a copy of the LGPLv3 License.
25 *
26 ************************************************************************/
27
28#include "table.hrc"
29#include "colwd.hrc"
30#include "cmdid.h"
31#include "helpid.h"
32 // #define DLG_COL_WIDTH 256
33ModalDialog DLG_COL_WIDTH
34{
35	HelpID = CMD_FN_TABLE_SET_COL_WIDTH ;
36	OutputSize = TRUE ;
37	SVLook = TRUE ;
38    Size = MAP_APPFONT ( 159 , 60 ) ;
39	Text [ en-US ] = "Column Width" ;
40	Moveable = TRUE ;
41	OKButton BT_OK
42	{
43        Pos = MAP_APPFONT ( 104 , 6 ) ;
44		Size = MAP_APPFONT ( 50 , 14 ) ;
45		TabStop = TRUE ;
46		DefButton = TRUE ;
47	};
48	CancelButton BT_CANCEL
49	{
50        Pos = MAP_APPFONT ( 104 , 23 ) ;
51		Size = MAP_APPFONT ( 50 , 14 ) ;
52		TabStop = TRUE ;
53	};
54	HelpButton BT_HELP
55	{
56        Pos = MAP_APPFONT ( 104 , 43 ) ;
57		Size = MAP_APPFONT ( 50 , 14 ) ;
58		TabStop = TRUE ;
59	};
60	FixedText FT_WIDTH
61	{
62		Pos = MAP_APPFONT ( 12 , 31 ) ;
63        Size = MAP_APPFONT ( 35 , 8 ) ;
64		Text [ en-US ] = "~Width" ;
65		Left = TRUE ;
66	};
67	MetricField ED_WIDTH
68	{
69	    HelpID = "sw:MetricField:DLG_COL_WIDTH:ED_WIDTH";
70		Border = TRUE ;
71        Pos = MAP_APPFONT ( 51 , 30 ) ;
72		Size = MAP_APPFONT ( 38 , 12 ) ;
73		TabStop = TRUE ;
74		Left = TRUE ;
75		Repeat = TRUE ;
76		Spin = TRUE ;
77		Minimum = 50 ;
78		Maximum = 9999 ;
79		DecimalDigits = 2 ;
80		SpinSize = 10 ;
81		Value = 10 ;
82		Unit = FUNIT_CM ;
83		First = 100 ;
84		Last = 9999 ;
85	};
86    FixedLine FL_WIDTH
87	{
88		Pos = MAP_APPFONT ( 6 , 3 ) ;
89        Size = MAP_APPFONT ( 91 , 8 ) ;
90		Text [ en-US ] = "Width" ;
91	};
92	FixedText FT_COL
93	{
94		Pos = MAP_APPFONT ( 12 , 16 ) ;
95        Size = MAP_APPFONT ( 35 , 8 ) ;
96		Text [ en-US ] = "~Column" ;
97		Left = TRUE ;
98	};
99	NumericField ED_COL
100	{
101	    HelpID = "sw:NumericField:DLG_COL_WIDTH:ED_COL";
102		Border = TRUE ;
103        Pos = MAP_APPFONT ( 51 , 14 ) ;
104		Size = MAP_APPFONT ( 38 , 12 ) ;
105		TabStop = TRUE ;
106		Left = TRUE ;
107		Spin = TRUE ;
108		Minimum = 1 ;
109		Maximum = 99 ;
110		Repeat = TRUE ;
111	};
112};
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147