xref: /trunk/main/sw/source/ui/table/instable.src (revision cdf0e10c)
1*cdf0e10cSrcweir/*************************************************************************
2*cdf0e10cSrcweir *
3*cdf0e10cSrcweir * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4*cdf0e10cSrcweir *
5*cdf0e10cSrcweir * Copyright 2000, 2010 Oracle and/or its affiliates.
6*cdf0e10cSrcweir *
7*cdf0e10cSrcweir * OpenOffice.org - a multi-platform office productivity suite
8*cdf0e10cSrcweir *
9*cdf0e10cSrcweir * This file is part of OpenOffice.org.
10*cdf0e10cSrcweir *
11*cdf0e10cSrcweir * OpenOffice.org is free software: you can redistribute it and/or modify
12*cdf0e10cSrcweir * it under the terms of the GNU Lesser General Public License version 3
13*cdf0e10cSrcweir * only, as published by the Free Software Foundation.
14*cdf0e10cSrcweir *
15*cdf0e10cSrcweir * OpenOffice.org is distributed in the hope that it will be useful,
16*cdf0e10cSrcweir * but WITHOUT ANY WARRANTY; without even the implied warranty of
17*cdf0e10cSrcweir * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18*cdf0e10cSrcweir * GNU Lesser General Public License version 3 for more details
19*cdf0e10cSrcweir * (a copy is included in the LICENSE file that accompanied this code).
20*cdf0e10cSrcweir *
21*cdf0e10cSrcweir * You should have received a copy of the GNU Lesser General Public License
22*cdf0e10cSrcweir * version 3 along with OpenOffice.org.  If not, see
23*cdf0e10cSrcweir * <http://www.openoffice.org/license.html>
24*cdf0e10cSrcweir * for a copy of the LGPLv3 License.
25*cdf0e10cSrcweir *
26*cdf0e10cSrcweir ************************************************************************/
27*cdf0e10cSrcweir
28*cdf0e10cSrcweir#include "table.hrc"
29*cdf0e10cSrcweir#include "instable.hrc"
30*cdf0e10cSrcweir#include "cmdid.h"
31*cdf0e10cSrcweir#include "helpid.h"
32*cdf0e10cSrcweir // #define DLG_INSERT_TABLE 256
33*cdf0e10cSrcweirModalDialog DLG_INSERT_TABLE
34*cdf0e10cSrcweir{
35*cdf0e10cSrcweir	HelpID = CMD_FN_INSERT_TABLE ;
36*cdf0e10cSrcweir	OutputSize = TRUE ;
37*cdf0e10cSrcweir	SVLook = TRUE ;
38*cdf0e10cSrcweir    Size = MAP_APPFONT ( 280 , 166 ) ;
39*cdf0e10cSrcweir	Text [ en-US ] = "Insert Table" ;
40*cdf0e10cSrcweir	Moveable = TRUE ;
41*cdf0e10cSrcweir	Edit ED_NAME
42*cdf0e10cSrcweir	{
43*cdf0e10cSrcweir	    HelpID = "sw:Edit:DLG_INSERT_TABLE:ED_NAME";
44*cdf0e10cSrcweir		Border = TRUE ;
45*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 53 , 6 ) ;
46*cdf0e10cSrcweir        Size = MAP_APPFONT ( 158, 12 ) ;
47*cdf0e10cSrcweir		TabStop = TRUE ;
48*cdf0e10cSrcweir	};
49*cdf0e10cSrcweir    FixedText FT_NAME
50*cdf0e10cSrcweir	{
51*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6 , 8 ) ;
52*cdf0e10cSrcweir        Size = MAP_APPFONT ( 45, 8 ) ;
53*cdf0e10cSrcweir		Text [ en-US ] = "Name";
54*cdf0e10cSrcweir	};
55*cdf0e10cSrcweir	FixedText FT_COL
56*cdf0e10cSrcweir	{
57*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12 , 34 ) ;
58*cdf0e10cSrcweir        Size = MAP_APPFONT ( 39 , 8 ) ;
59*cdf0e10cSrcweir		Text [ en-US ] = "~Columns" ;
60*cdf0e10cSrcweir		Left = TRUE ;
61*cdf0e10cSrcweir	};
62*cdf0e10cSrcweir	NumericField ED_COL
63*cdf0e10cSrcweir	{
64*cdf0e10cSrcweir	    HelpID = "sw:NumericField:DLG_INSERT_TABLE:ED_COL";
65*cdf0e10cSrcweir		Border = TRUE ;
66*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 53 , 32 ) ;
67*cdf0e10cSrcweir		Size = MAP_APPFONT ( 28 , 12 ) ;
68*cdf0e10cSrcweir		TabStop = TRUE ;
69*cdf0e10cSrcweir		Left = TRUE ;
70*cdf0e10cSrcweir		Repeat = TRUE ;
71*cdf0e10cSrcweir		Spin = TRUE ;
72*cdf0e10cSrcweir		Minimum = 1 ;
73*cdf0e10cSrcweir		Maximum = 99 ;
74*cdf0e10cSrcweir        Value = 2 ;
75*cdf0e10cSrcweir		First = 1 ;
76*cdf0e10cSrcweir		Last = 99 ;
77*cdf0e10cSrcweir	};
78*cdf0e10cSrcweir	FixedText FT_ROW
79*cdf0e10cSrcweir	{
80*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12 , 50 ) ;
81*cdf0e10cSrcweir        Size = MAP_APPFONT ( 39 , 8 ) ;
82*cdf0e10cSrcweir		Text [ en-US ] = "~Rows" ;
83*cdf0e10cSrcweir		Left = TRUE ;
84*cdf0e10cSrcweir	};
85*cdf0e10cSrcweir	NumericField ED_ROW
86*cdf0e10cSrcweir	{
87*cdf0e10cSrcweir	    HelpID = "sw:NumericField:DLG_INSERT_TABLE:ED_ROW";
88*cdf0e10cSrcweir		Border = TRUE ;
89*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 53 , 48 ) ;
90*cdf0e10cSrcweir		Size = MAP_APPFONT ( 28 , 12 ) ;
91*cdf0e10cSrcweir		TabStop = TRUE ;
92*cdf0e10cSrcweir		Left = TRUE ;
93*cdf0e10cSrcweir		Repeat = TRUE ;
94*cdf0e10cSrcweir		Spin = TRUE ;
95*cdf0e10cSrcweir		Minimum = 1 ;
96*cdf0e10cSrcweir		Maximum = 99 ;
97*cdf0e10cSrcweir		Value = 2 ;
98*cdf0e10cSrcweir		First = 1 ;
99*cdf0e10cSrcweir		Last = 99 ;
100*cdf0e10cSrcweir	};
101*cdf0e10cSrcweir    FixedLine FL_TABLE
102*cdf0e10cSrcweir	{
103*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6 , 21 ) ;
104*cdf0e10cSrcweir        Size = MAP_APPFONT ( 212 , 8 ) ;
105*cdf0e10cSrcweir		Text [ en-US ] = "Size";
106*cdf0e10cSrcweir	};
107*cdf0e10cSrcweir	CheckBox CB_HEADER
108*cdf0e10cSrcweir	{
109*cdf0e10cSrcweir	    HelpID = "sw:CheckBox:DLG_INSERT_TABLE:CB_HEADER";
110*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12 , 74 ) ;
111*cdf0e10cSrcweir		Size = MAP_APPFONT (113 , 10 ) ;
112*cdf0e10cSrcweir		TabStop = TRUE ;
113*cdf0e10cSrcweir		Text [ en-US ] = "Heading";
114*cdf0e10cSrcweir	};
115*cdf0e10cSrcweir	CheckBox CB_REPEAT_HEADER
116*cdf0e10cSrcweir	{
117*cdf0e10cSrcweir	    HelpID = "sw:CheckBox:DLG_INSERT_TABLE:CB_REPEAT_HEADER";
118*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 21 , 88 ) ;
119*cdf0e10cSrcweir        Size = MAP_APPFONT ( 104 , 10 ) ;
120*cdf0e10cSrcweir		TabStop = TRUE ;
121*cdf0e10cSrcweir		Text [ en-US ] = "Repeat heading";
122*cdf0e10cSrcweir	};
123*cdf0e10cSrcweir	FixedText FT_REPEAT_HEADER
124*cdf0e10cSrcweir	{
125*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 30 , 105 ) ;
126*cdf0e10cSrcweir        Size = MAP_APPFONT ( 95 , 10 ) ;
127*cdf0e10cSrcweir        Text [ en-US ] = "The first %POSITION_OF_CONTROL rows" ;
128*cdf0e10cSrcweir	};
129*cdf0e10cSrcweir	NumericField NF_REPEAT_HEADER
130*cdf0e10cSrcweir	{
131*cdf0e10cSrcweir	    HelpID = "sw:NumericField:DLG_INSERT_TABLE:NF_REPEAT_HEADER";
132*cdf0e10cSrcweir		Border = TRUE ;
133*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 130 , 104 ) ;
134*cdf0e10cSrcweir		Size = MAP_APPFONT ( 28 , 12 ) ;
135*cdf0e10cSrcweir		TabStop = TRUE ;
136*cdf0e10cSrcweir		Left = TRUE ;
137*cdf0e10cSrcweir		Repeat = TRUE ;
138*cdf0e10cSrcweir		Spin = TRUE ;
139*cdf0e10cSrcweir		Minimum = 1 ;
140*cdf0e10cSrcweir		Maximum = 1000 ;
141*cdf0e10cSrcweir		First = 1 ;
142*cdf0e10cSrcweir	};
143*cdf0e10cSrcweir	Window WIN_REPEAT_HEADER
144*cdf0e10cSrcweir	{
145*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 30 , 102 ) ;
146*cdf0e10cSrcweir        Size = MAP_APPFONT ( 2 , 1 ) ;
147*cdf0e10cSrcweir	};
148*cdf0e10cSrcweir	CheckBox CB_DONT_SPLIT
149*cdf0e10cSrcweir	{
150*cdf0e10cSrcweir	    HelpID = "sw:CheckBox:DLG_INSERT_TABLE:CB_DONT_SPLIT";
151*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12 , 118 ) ;
152*cdf0e10cSrcweir		Size = MAP_APPFONT ( 113 , 10 ) ;
153*cdf0e10cSrcweir		Text [ en-US ] = "Don't split table";
154*cdf0e10cSrcweir		TabStop = TRUE ;
155*cdf0e10cSrcweir	};
156*cdf0e10cSrcweir	CheckBox CB_BORDER
157*cdf0e10cSrcweir	{
158*cdf0e10cSrcweir	    HelpID = "sw:CheckBox:DLG_INSERT_TABLE:CB_BORDER";
159*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12 , 132 ) ;
160*cdf0e10cSrcweir		Size = MAP_APPFONT ( 113 , 10 ) ;
161*cdf0e10cSrcweir		TabStop = TRUE ;
162*cdf0e10cSrcweir		Text [ en-US ] = "Border";
163*cdf0e10cSrcweir	};
164*cdf0e10cSrcweir    PushButton BT_AUTOFORMAT
165*cdf0e10cSrcweir	{
166*cdf0e10cSrcweir        HelpID = "sw:PushButton:DLG_INSERT_TABLE:BT_AUTOFORMAT";
167*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12 , 146 ) ;
168*cdf0e10cSrcweir        Size = MAP_APPFONT ( 86 , 14 ) ;
169*cdf0e10cSrcweir		TabStop = TRUE ;
170*cdf0e10cSrcweir		Text [ en-US ] = "Auto~Format..." ;
171*cdf0e10cSrcweir	};
172*cdf0e10cSrcweir    FixedLine FL_OPTIONS
173*cdf0e10cSrcweir	{
174*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6 , 63 ) ;
175*cdf0e10cSrcweir        Size = MAP_APPFONT ( 212 , 8 ) ;
176*cdf0e10cSrcweir		Text [ en-US ] = "Options";
177*cdf0e10cSrcweir	};
178*cdf0e10cSrcweir	OKButton BT_OK
179*cdf0e10cSrcweir	{
180*cdf0e10cSrcweir		Pos = MAP_APPFONT ( 224 , 6 ) ;
181*cdf0e10cSrcweir		Size = MAP_APPFONT ( 50 , 14 ) ;
182*cdf0e10cSrcweir		TabStop = TRUE ;
183*cdf0e10cSrcweir		DefButton = TRUE ;
184*cdf0e10cSrcweir	};
185*cdf0e10cSrcweir	CancelButton BT_CANCEL
186*cdf0e10cSrcweir	{
187*cdf0e10cSrcweir		Pos = MAP_APPFONT ( 224 , 23 ) ;
188*cdf0e10cSrcweir		Size = MAP_APPFONT ( 50 , 14 ) ;
189*cdf0e10cSrcweir		TabStop = TRUE ;
190*cdf0e10cSrcweir	};
191*cdf0e10cSrcweir	HelpButton BT_HELP
192*cdf0e10cSrcweir	{
193*cdf0e10cSrcweir		Pos = MAP_APPFONT ( 224 , 43 ) ;
194*cdf0e10cSrcweir		Size = MAP_APPFONT ( 50 , 14 ) ;
195*cdf0e10cSrcweir		TabStop = TRUE ;
196*cdf0e10cSrcweir	};
197*cdf0e10cSrcweir};
198*cdf0e10cSrcweir
199*cdf0e10cSrcweir
200