xref: /aoo41x/main/sw/source/ui/table/convert.src (revision 4d7c9de0)
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
10*8660f102SAndrew Rist *
11*8660f102SAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12*8660f102SAndrew Rist *
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.
19*8660f102SAndrew Rist *
20*8660f102SAndrew Rist *************************************************************/
21*8660f102SAndrew Rist
22*8660f102SAndrew Rist
23cdf0e10cSrcweir
24cdf0e10cSrcweir#include "table.hrc"
25cdf0e10cSrcweir#include "convert.hrc"
26cdf0e10cSrcweir#include "cmdid.h"
27cdf0e10cSrcweir#include "helpid.h"
28cdf0e10cSrcweirModalDialog DLG_CONV_TEXT_TABLE
29cdf0e10cSrcweir{
30cdf0e10cSrcweir	HelpID = CMD_FN_CONVERT_TEXT_TABLE ;
31cdf0e10cSrcweir	OUTPUTSIZE = TRUE ;
32cdf0e10cSrcweir    Size = MAP_APPFONT ( 203 , 169 ) ;
33cdf0e10cSrcweir	Text [ en-US ] = "Convert Table to Text" ;
34cdf0e10cSrcweir	MOVEABLE = TRUE ;
35cdf0e10cSrcweir	SVLOOK = TRUE ;
36cdf0e10cSrcweir	RadioButton CB_TAB
37cdf0e10cSrcweir	{
38cdf0e10cSrcweir	    HelpID = "sw:RadioButton:DLG_CONV_TEXT_TABLE:CB_TAB";
39cdf0e10cSrcweir		Pos = MAP_APPFONT ( 12 , 17 ) ;
40cdf0e10cSrcweir        Size = MAP_APPFONT ( 60 , 10 ) ;
41cdf0e10cSrcweir		Text [ en-US ] = "~Tabs" ;
42cdf0e10cSrcweir		TABSTOP = TRUE ;
43cdf0e10cSrcweir		Group = TRUE ;
44cdf0e10cSrcweir		Check = TRUE ;
45cdf0e10cSrcweir	};
46cdf0e10cSrcweir	RadioButton CB_SEMI
47cdf0e10cSrcweir	{
48cdf0e10cSrcweir	    HelpID = "sw:RadioButton:DLG_CONV_TEXT_TABLE:CB_SEMI";
49cdf0e10cSrcweir        Pos = MAP_APPFONT ( 75 , 17 ) ;
50cdf0e10cSrcweir        Size = MAP_APPFONT ( 60 , 10 ) ;
51cdf0e10cSrcweir		Text [ en-US ] = "~Semicolons" ;
52cdf0e10cSrcweir		TABSTOP = TRUE ;
53cdf0e10cSrcweir	};
54cdf0e10cSrcweir	RadioButton CB_PARA
55cdf0e10cSrcweir	{
56cdf0e10cSrcweir	    HelpID = "sw:RadioButton:DLG_CONV_TEXT_TABLE:CB_PARA";
57cdf0e10cSrcweir		Pos = MAP_APPFONT ( 12 , 33 ) ;
58cdf0e10cSrcweir        Size = MAP_APPFONT ( 60 , 10 ) ;
59cdf0e10cSrcweir		Text [ en-US ] = "~Paragraph" ;
60cdf0e10cSrcweir		TABSTOP = TRUE ;
61cdf0e10cSrcweir	};
62cdf0e10cSrcweir	RadioButton RB_OTHER
63cdf0e10cSrcweir	{
64cdf0e10cSrcweir	    HelpID = "sw:RadioButton:DLG_CONV_TEXT_TABLE:RB_OTHER";
65cdf0e10cSrcweir        Pos = MAP_APPFONT ( 75 , 33 ) ;
66cdf0e10cSrcweir        Size = MAP_APPFONT ( 45 , 10 ) ;
67cdf0e10cSrcweir		Text [ en-US ] = "~Other: " ;
68cdf0e10cSrcweir	};
69cdf0e10cSrcweir	Edit ED_OTHER
70cdf0e10cSrcweir	{
71cdf0e10cSrcweir	    HelpID = "sw:Edit:DLG_CONV_TEXT_TABLE:ED_OTHER";
72cdf0e10cSrcweir		Border = TRUE ;
73cdf0e10cSrcweir		Left = TRUE ;
74cdf0e10cSrcweir        Pos = MAP_APPFONT ( 123 , 32 ) ;
75cdf0e10cSrcweir		Size = MAP_APPFONT ( 9 , 12 ) ;
76cdf0e10cSrcweir		Text = "," ;
77cdf0e10cSrcweir		MaxTextLength = 1 ;
78cdf0e10cSrcweir	};
79cdf0e10cSrcweir	CheckBox CB_KEEPCOLUMN
80cdf0e10cSrcweir	{
81cdf0e10cSrcweir	    HelpID = "sw:CheckBox:DLG_CONV_TEXT_TABLE:CB_KEEPCOLUMN";
82cdf0e10cSrcweir		Pos = MAP_APPFONT ( 12 , 49 ) ;
83cdf0e10cSrcweir        Size = MAP_APPFONT ( 128 , 10 ) ;
84cdf0e10cSrcweir        Check = TRUE;
85cdf0e10cSrcweir		Hide = TRUE ;
86cdf0e10cSrcweir		Text [ en-US ] = "Equal width for all columns" ;
87cdf0e10cSrcweir	};
88cdf0e10cSrcweir    FixedLine FL_DELIM
89cdf0e10cSrcweir	{
90cdf0e10cSrcweir		Pos = MAP_APPFONT ( 6 , 3 ) ;
91cdf0e10cSrcweir        Size = MAP_APPFONT ( 135 , 8 ) ;
92cdf0e10cSrcweir		Text [ en-US ] = "Separate text at" ;
93cdf0e10cSrcweir		Group = TRUE ;
94cdf0e10cSrcweir	};
95cdf0e10cSrcweir	CheckBox CB_HEADER
96cdf0e10cSrcweir	{
97cdf0e10cSrcweir	    HelpID = "sw:CheckBox:DLG_CONV_TEXT_TABLE:CB_HEADER";
98cdf0e10cSrcweir		Pos = MAP_APPFONT ( 12 , 84 ) ;
99cdf0e10cSrcweir        Size = MAP_APPFONT ( 123 , 10 ) ;
100cdf0e10cSrcweir		TabStop = TRUE ;
101cdf0e10cSrcweir        Text [ en-US ] = "Heading";
102cdf0e10cSrcweir	};
103cdf0e10cSrcweir	CheckBox CB_REPEAT_HEADER
104cdf0e10cSrcweir	{
105cdf0e10cSrcweir	    HelpID = "sw:CheckBox:DLG_CONV_TEXT_TABLE:CB_REPEAT_HEADER";
106cdf0e10cSrcweir		Pos = MAP_APPFONT ( 22 , 97 ) ;
107cdf0e10cSrcweir        Size = MAP_APPFONT ( 113 , 10 ) ;
108cdf0e10cSrcweir        Text [ en-US ] = "Repeat heading";
109cdf0e10cSrcweir		TabStop = TRUE ;
110cdf0e10cSrcweir	};
111cdf0e10cSrcweir	FixedText FT_REPEAT_HEADER
112cdf0e10cSrcweir	{
113cdf0e10cSrcweir        Pos = MAP_APPFONT ( 125 , 113 ) ;
114cdf0e10cSrcweir        Size = MAP_APPFONT ( 66 , 10 ) ;
115cdf0e10cSrcweir        Text [ en-US ] = "The first %POSITION_OF_CONTROL rows" ;
116cdf0e10cSrcweir    };
117cdf0e10cSrcweir	NumericField NF_REPEAT_HEADER
118cdf0e10cSrcweir	{
119cdf0e10cSrcweir	    HelpID = "sw:NumericField:DLG_CONV_TEXT_TABLE:NF_REPEAT_HEADER";
120cdf0e10cSrcweir		Border = TRUE ;
121cdf0e10cSrcweir        Pos = MAP_APPFONT ( 191 , 112 ) ;
122cdf0e10cSrcweir		Size = MAP_APPFONT ( 28 , 12 ) ;
123cdf0e10cSrcweir		TabStop = TRUE ;
124cdf0e10cSrcweir		Left = TRUE ;
125cdf0e10cSrcweir		Repeat = TRUE ;
126cdf0e10cSrcweir		Spin = TRUE ;
127cdf0e10cSrcweir		Minimum = 1 ;
128cdf0e10cSrcweir		Maximum = 1000 ;
129cdf0e10cSrcweir		First = 1 ;
130cdf0e10cSrcweir	};
131cdf0e10cSrcweir    Window WIN_REPEAT_HEADER
132cdf0e10cSrcweir    {
133cdf0e10cSrcweir        Pos = MAP_APPFONT ( 30 , 110 ) ;
134cdf0e10cSrcweir        Size = MAP_APPFONT ( 2 , 1 ) ;
135cdf0e10cSrcweir    };
136cdf0e10cSrcweir    CheckBox CB_DONT_SPLIT
137cdf0e10cSrcweir	{
138cdf0e10cSrcweir        HelpID = "sw:CheckBox:DLG_CONV_TEXT_TABLE:CB_DONT_SPLIT";
139cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12 , 126 ) ;
140cdf0e10cSrcweir        Size = MAP_APPFONT ( 123 , 10 ) ;
141cdf0e10cSrcweir		TabStop = TRUE ;
142cdf0e10cSrcweir		Text [ en-US ] = "Don't split table";
143cdf0e10cSrcweir	};
144cdf0e10cSrcweir	CheckBox CB_BORDER
145cdf0e10cSrcweir	{
146cdf0e10cSrcweir	    HelpID = "sw:CheckBox:DLG_CONV_TEXT_TABLE:CB_BORDER";
147cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12 , 139 ) ;
148cdf0e10cSrcweir        Size = MAP_APPFONT ( 123 , 10 ) ;
149cdf0e10cSrcweir		TabStop = TRUE ;
150cdf0e10cSrcweir		Text [ en-US ] = "Border";
151cdf0e10cSrcweir	};
152cdf0e10cSrcweir    FixedLine FL_OPTIONS
153cdf0e10cSrcweir	{
154cdf0e10cSrcweir		Pos = MAP_APPFONT ( 6 , 71 ) ;
155cdf0e10cSrcweir        Size = MAP_APPFONT ( 135 , 8 ) ;
156cdf0e10cSrcweir		Text [ en-US ] = "Options";
157cdf0e10cSrcweir	};
158cdf0e10cSrcweir	String STR_CONVERT_TEXT_TABLE
159cdf0e10cSrcweir	{
160cdf0e10cSrcweir		Text [ en-US ] = "Convert Text to Table" ;
161cdf0e10cSrcweir	};
162cdf0e10cSrcweir	OkButton BT_OK
163cdf0e10cSrcweir	{
164cdf0e10cSrcweir        Pos = MAP_APPFONT ( 147 , 6 ) ;
165cdf0e10cSrcweir		Size = MAP_APPFONT ( 50 , 14 ) ;
166cdf0e10cSrcweir		TABSTOP = TRUE ;
167cdf0e10cSrcweir		DefButton = TRUE ;
168cdf0e10cSrcweir	};
169cdf0e10cSrcweir	CancelButton BT_CANCEL
170cdf0e10cSrcweir	{
171cdf0e10cSrcweir        Pos = MAP_APPFONT ( 147 , 23 ) ;
172cdf0e10cSrcweir		Size = MAP_APPFONT ( 50 , 14 ) ;
173cdf0e10cSrcweir		TABSTOP = TRUE ;
174cdf0e10cSrcweir	};
175cdf0e10cSrcweir	HelpButton BT_HELP
176cdf0e10cSrcweir	{
177cdf0e10cSrcweir        Pos = MAP_APPFONT ( 147 , 43 ) ;
178cdf0e10cSrcweir		Size = MAP_APPFONT ( 50 , 14 ) ;
179cdf0e10cSrcweir		TABSTOP = TRUE ;
180cdf0e10cSrcweir	};
181cdf0e10cSrcweir	PushButton BT_AUTOFORMAT
182cdf0e10cSrcweir	{
183cdf0e10cSrcweir	    HelpID = "sw:PushButton:DLG_CONV_TEXT_TABLE:BT_AUTOFORMAT";
184cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12 , 152 ) ;
185cdf0e10cSrcweir        Size = MAP_APPFONT ( 86 , 14 ) ;
186cdf0e10cSrcweir		TabStop = TRUE ;
187cdf0e10cSrcweir		Hide = TRUE ;
188cdf0e10cSrcweir		Text [ en-US ] = "Auto~Format..." ;
189cdf0e10cSrcweir	};
190cdf0e10cSrcweir	String STR_SYMBOL
191cdf0e10cSrcweir	{
192cdf0e10cSrcweir		Text [ en-US ] = "Symbol" ;
193cdf0e10cSrcweir	};
194cdf0e10cSrcweir};
195cdf0e10cSrcweir
196cdf0e10cSrcweir
197cdf0e10cSrcweir
198