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