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