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