xref: /trunk/main/sd/source/ui/table/TableDesignPane.src (revision cdf0e10c4e3984b49a9502b011690b615761d4a3)
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 "TableDesignPane.hrc"
29#include "glob.hrc"
30
31Control DLG_TABLEDESIGNPANE
32{
33    OutputSize = TRUE;
34    DialogControl = TRUE;
35    Border = FALSE;
36
37    Size = MAP_APPFONT( 264, 160 );
38    Text [ en-US ] = "Table Design";
39
40    FixedLine FL_STYLE_OPTIONS+1
41    {
42        Pos = MAP_APPFONT ( 143, 3 ) ;
43        Size = MAP_APPFONT ( 120, 10 ) ;
44        OutputSize = TRUE;
45        Text [ en-US ] = "Show";
46    };
47
48    CheckBox CB_HEADER_ROW+1
49    {
50        Pos = MAP_APPFONT ( 146, 16 ) ;
51        Size = MAP_APPFONT ( 120 , 10 ) ;
52        TabStop = TRUE ;
53        Text [ en-US ] = "Header Row" ;
54    };
55
56    CheckBox CB_TOTAL_ROW+1
57    {
58        Pos = MAP_APPFONT ( 146, 29 ) ;
59        Size = MAP_APPFONT ( 120 , 10 ) ;
60        TabStop = TRUE ;
61        Text [ en-US ] = "Total Row" ;
62    };
63
64    CheckBox CB_BANDED_ROWS+1
65    {
66        Pos = MAP_APPFONT ( 146, 42 ) ;
67        Size = MAP_APPFONT ( 120 , 10 ) ;
68        TabStop = TRUE ;
69        Text [ en-US ] = "Banded Rows" ;
70    };
71
72    CheckBox CB_FIRST_COLUMN+1
73    {
74        Pos = MAP_APPFONT ( 146, 55 ) ;
75        Size = MAP_APPFONT ( 120 , 10 ) ;
76        TabStop = TRUE ;
77        Text [ en-US ] = "First Column" ;
78    };
79
80    CheckBox CB_LAST_COLUMN+1
81    {
82        Pos = MAP_APPFONT ( 146, 68 ) ;
83        Size = MAP_APPFONT ( 120 , 10 ) ;
84        TabStop = TRUE ;
85        Text [ en-US ] = "Last Column" ;
86    };
87
88    CheckBox CB_BANDED_COLUMNS+1
89    {
90        Pos = MAP_APPFONT ( 146, 82 ) ;
91        Size = MAP_APPFONT ( 120 , 10 ) ;
92        TabStop = TRUE ;
93        Text [ en-US ] = "Banded Columns" ;
94    };
95
96    FixedLine FL_TABLE_STYLES+1
97    {
98        Pos = MAP_APPFONT ( 6, 3 ) ;
99        Size = MAP_APPFONT( 120, 8 );
100        OutputSize = TRUE;
101        Text [ en-US ] = "Styles";
102    };
103
104    Control CT_TABLE_STYLES+1
105    {
106        Pos = MAP_APPFONT ( 6, 14 ) ;
107        Size = MAP_APPFONT( 120, 143 );
108        Border = TRUE ;
109        TabStop = TRUE ;
110    };
111};
112
113ModalDialog DLG_TABLEDESIGNPANE
114{
115    HelpID = "sd:ModalDialog:DLG_TABLEDESIGNPANE";
116    OutputSize = TRUE;
117    SVLook = TRUE ;
118    Moveable = TRUE ;
119    Closeable = TRUE ;
120    Size = MAP_APPFONT( 272, 198 );
121
122    Text [ en-US ] = "Table Design";
123
124    FixedLine FL_SEP1
125    {
126        Pos = MAP_APPFONT( 135, 14 );
127        Size = MAP_APPFONT( 8, 143 );
128        Vert = TRUE ;
129    };
130    FixedLine FL_SEP2
131    {
132        Pos = MAP_APPFONT ( 0 , 160 ) ;
133        Size = MAP_APPFONT ( 272 , 12 ) ;
134    };
135
136    HelpButton BTN_HELP
137    {
138        Pos = MAP_APPFONT ( 6 , 176 ) ;
139        Size = MAP_APPFONT ( 50 , 14 ) ;
140        TabStop = TRUE ;
141    };
142    OKButton BTN_OK
143    {
144        Pos = MAP_APPFONT ( 158 , 176 ) ;
145        Size = MAP_APPFONT ( 50 , 14 ) ;
146        TabStop = TRUE ;
147        DefButton = TRUE ;
148    };
149    CancelButton BTN_CANCEL
150    {
151        Pos = MAP_APPFONT ( 211 , 176 ) ;
152        Size = MAP_APPFONT ( 50 , 14 ) ;
153        TabStop = TRUE ;
154    };
155};
156