xref: /trunk/main/sw/source/ui/table/colwd.src (revision 0dfdc53f9130d5dfc2b106b9c08c942cce624f93)
18660f102SAndrew Rist/**************************************************************
2cdf0e10cSrcweir *
38660f102SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
48660f102SAndrew Rist * or more contributor license agreements.  See the NOTICE file
58660f102SAndrew Rist * distributed with this work for additional information
68660f102SAndrew Rist * regarding copyright ownership.  The ASF licenses this file
78660f102SAndrew Rist * to you under the Apache License, Version 2.0 (the
88660f102SAndrew Rist * "License"); you may not use this file except in compliance
98660f102SAndrew Rist * with the License.  You may obtain a copy of the License at
10cdf0e10cSrcweir *
118660f102SAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12cdf0e10cSrcweir *
138660f102SAndrew Rist * Unless required by applicable law or agreed to in writing,
148660f102SAndrew Rist * software distributed under the License is distributed on an
158660f102SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
168660f102SAndrew Rist * KIND, either express or implied.  See the License for the
178660f102SAndrew Rist * specific language governing permissions and limitations
188660f102SAndrew Rist * under the License.
19cdf0e10cSrcweir *
208660f102SAndrew Rist *************************************************************/
218660f102SAndrew Rist
22cdf0e10cSrcweir#include "table.hrc"
23cdf0e10cSrcweir#include "colwd.hrc"
24cdf0e10cSrcweir#include "cmdid.h"
25cdf0e10cSrcweir#include "helpid.h"
26cdf0e10cSrcweir// #define DLG_COL_WIDTH 256
27*24020536Smseidel
28cdf0e10cSrcweirModalDialog DLG_COL_WIDTH
29cdf0e10cSrcweir{
30cdf0e10cSrcweir    HelpID = CMD_FN_TABLE_SET_COL_WIDTH ;
31cdf0e10cSrcweir    OutputSize = TRUE ;
32cdf0e10cSrcweir    SVLook = TRUE ;
33cdf0e10cSrcweir    Size = MAP_APPFONT ( 159, 60 ) ;
34cdf0e10cSrcweir    Text [ en-US ] = "Column Width" ;
35cdf0e10cSrcweir    Moveable = TRUE ;
36cdf0e10cSrcweir    OKButton BT_OK
37cdf0e10cSrcweir    {
38cdf0e10cSrcweir        Pos = MAP_APPFONT ( 104, 6 ) ;
39cdf0e10cSrcweir        Size = MAP_APPFONT ( 50, 14 ) ;
40cdf0e10cSrcweir        TabStop = TRUE ;
41cdf0e10cSrcweir        DefButton = TRUE ;
42cdf0e10cSrcweir    };
43cdf0e10cSrcweir    CancelButton BT_CANCEL
44cdf0e10cSrcweir    {
45cdf0e10cSrcweir        Pos = MAP_APPFONT ( 104, 23 ) ;
46cdf0e10cSrcweir        Size = MAP_APPFONT ( 50, 14 ) ;
47cdf0e10cSrcweir        TabStop = TRUE ;
48cdf0e10cSrcweir    };
49cdf0e10cSrcweir    HelpButton BT_HELP
50cdf0e10cSrcweir    {
51cdf0e10cSrcweir        Pos = MAP_APPFONT ( 104, 43 ) ;
52cdf0e10cSrcweir        Size = MAP_APPFONT ( 50, 14 ) ;
53cdf0e10cSrcweir        TabStop = TRUE ;
54cdf0e10cSrcweir    };
55cdf0e10cSrcweir    FixedText FT_WIDTH
56cdf0e10cSrcweir    {
57cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12, 31 ) ;
58cdf0e10cSrcweir        Size = MAP_APPFONT ( 35, 8 ) ;
59cdf0e10cSrcweir        Text [ en-US ] = "~Width" ;
60cdf0e10cSrcweir        Left = TRUE ;
61cdf0e10cSrcweir    };
62cdf0e10cSrcweir    MetricField ED_WIDTH
63cdf0e10cSrcweir    {
64cdf0e10cSrcweir        HelpID = "sw:MetricField:DLG_COL_WIDTH:ED_WIDTH" ;
65cdf0e10cSrcweir        Border = TRUE ;
66cdf0e10cSrcweir        Pos = MAP_APPFONT ( 51, 30 ) ;
67cdf0e10cSrcweir        Size = MAP_APPFONT ( 38, 12 ) ;
68cdf0e10cSrcweir        TabStop = TRUE ;
69cdf0e10cSrcweir        Left = TRUE ;
70cdf0e10cSrcweir        Repeat = TRUE ;
71cdf0e10cSrcweir        Spin = TRUE ;
72cdf0e10cSrcweir        Minimum = 50 ;
73cdf0e10cSrcweir        Maximum = 9999 ;
74cdf0e10cSrcweir        DecimalDigits = 2 ;
75cdf0e10cSrcweir        SpinSize = 10 ;
76cdf0e10cSrcweir        Value = 10 ;
77cdf0e10cSrcweir        Unit = FUNIT_CM ;
78cdf0e10cSrcweir        First = 100 ;
79cdf0e10cSrcweir        Last = 9999 ;
80cdf0e10cSrcweir    };
81cdf0e10cSrcweir    FixedLine FL_WIDTH
82cdf0e10cSrcweir    {
83cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6, 3 ) ;
84cdf0e10cSrcweir        Size = MAP_APPFONT ( 91, 8 ) ;
85cdf0e10cSrcweir        Text [ en-US ] = "Width" ;
86cdf0e10cSrcweir    };
87cdf0e10cSrcweir    FixedText FT_COL
88cdf0e10cSrcweir    {
89cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12, 16 ) ;
90cdf0e10cSrcweir        Size = MAP_APPFONT ( 35, 8 ) ;
91cdf0e10cSrcweir        Text [ en-US ] = "~Column" ;
92cdf0e10cSrcweir        Left = TRUE ;
93cdf0e10cSrcweir    };
94cdf0e10cSrcweir    NumericField ED_COL
95cdf0e10cSrcweir    {
96cdf0e10cSrcweir        HelpID = "sw:NumericField:DLG_COL_WIDTH:ED_COL" ;
97cdf0e10cSrcweir        Border = TRUE ;
98cdf0e10cSrcweir        Pos = MAP_APPFONT ( 51, 14 ) ;
99cdf0e10cSrcweir        Size = MAP_APPFONT ( 38, 12 ) ;
100cdf0e10cSrcweir        TabStop = TRUE ;
101cdf0e10cSrcweir        Left = TRUE ;
102cdf0e10cSrcweir        Spin = TRUE ;
103cdf0e10cSrcweir        Minimum = 1 ;
104cdf0e10cSrcweir        Maximum = 99 ;
105cdf0e10cSrcweir        Repeat = TRUE ;
106cdf0e10cSrcweir    };
107cdf0e10cSrcweir};
108cdf0e10cSrcweir
109*24020536Smseidel// ********************************************************************** EOF
110