xref: /trunk/main/sw/source/ui/table/convert.src (revision 66b843ff8f1eedd2e69941f1ea52fa080f01ec28)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements.  See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership.  The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License.  You may obtain a copy of the License at
10 *
11 *   http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied.  See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
20 *************************************************************/
21
22#include "table.hrc"
23#include "convert.hrc"
24#include "cmdid.h"
25#include "helpid.h"
26ModalDialog DLG_CONV_TEXT_TABLE
27{
28    HelpID = CMD_FN_CONVERT_TEXT_TABLE ;
29    OUTPUTSIZE = TRUE ;
30    Size = MAP_APPFONT ( 203, 169 ) ;
31    Text [ en-US ] = "Convert Table to Text" ;
32    MOVEABLE = TRUE ;
33    SVLOOK = TRUE ;
34    RadioButton CB_TAB
35    {
36        HelpID = "sw:RadioButton:DLG_CONV_TEXT_TABLE:CB_TAB" ;
37        Pos = MAP_APPFONT ( 12, 17 ) ;
38        Size = MAP_APPFONT ( 60, 10 ) ;
39        Text [ en-US ] = "~Tabs" ;
40        TABSTOP = TRUE ;
41        Group = TRUE ;
42        Check = TRUE ;
43    };
44    RadioButton CB_SEMI
45    {
46        HelpID = "sw:RadioButton:DLG_CONV_TEXT_TABLE:CB_SEMI" ;
47        Pos = MAP_APPFONT ( 75, 17 ) ;
48        Size = MAP_APPFONT ( 60, 10 ) ;
49        Text [ en-US ] = "~Semicolons" ;
50        TABSTOP = TRUE ;
51    };
52    RadioButton CB_PARA
53    {
54        HelpID = "sw:RadioButton:DLG_CONV_TEXT_TABLE:CB_PARA" ;
55        Pos = MAP_APPFONT ( 12, 33 ) ;
56        Size = MAP_APPFONT ( 60, 10 ) ;
57        Text [ en-US ] = "~Paragraph" ;
58        TABSTOP = TRUE ;
59    };
60    RadioButton RB_OTHER
61    {
62        HelpID = "sw:RadioButton:DLG_CONV_TEXT_TABLE:RB_OTHER" ;
63        Pos = MAP_APPFONT ( 75, 33 ) ;
64        Size = MAP_APPFONT ( 45, 10 ) ;
65        Text [ en-US ] = "~Other: " ;
66    };
67    Edit ED_OTHER
68    {
69        HelpID = "sw:Edit:DLG_CONV_TEXT_TABLE:ED_OTHER" ;
70        Border = TRUE ;
71        Left = TRUE ;
72        Pos = MAP_APPFONT ( 123, 32 ) ;
73        Size = MAP_APPFONT ( 9, 12 ) ;
74        Text = "," ;
75        MaxTextLength = 1 ;
76    };
77    CheckBox CB_KEEPCOLUMN
78    {
79        HelpID = "sw:CheckBox:DLG_CONV_TEXT_TABLE:CB_KEEPCOLUMN" ;
80        Pos = MAP_APPFONT ( 12, 49 ) ;
81        Size = MAP_APPFONT ( 128, 10 ) ;
82        Check = TRUE ;
83        Hide = TRUE ;
84        Text [ en-US ] = "Equal width for all columns" ;
85    };
86    FixedLine FL_DELIM
87    {
88        Pos = MAP_APPFONT ( 6, 3 ) ;
89        Size = MAP_APPFONT ( 135, 8 ) ;
90        Text [ en-US ] = "Separate text at" ;
91        Group = TRUE ;
92    };
93    CheckBox CB_HEADER
94    {
95        HelpID = "sw:CheckBox:DLG_CONV_TEXT_TABLE:CB_HEADER" ;
96        Pos = MAP_APPFONT ( 12, 84 ) ;
97        Size = MAP_APPFONT ( 123, 10 ) ;
98        TabStop = TRUE ;
99        Text [ en-US ] = "Heading" ;
100    };
101    CheckBox CB_REPEAT_HEADER
102    {
103        HelpID = "sw:CheckBox:DLG_CONV_TEXT_TABLE:CB_REPEAT_HEADER" ;
104        Pos = MAP_APPFONT ( 22, 97 ) ;
105        Size = MAP_APPFONT ( 113, 10 ) ;
106        Text [ en-US ] = "Repeat heading" ;
107        TabStop = TRUE ;
108    };
109    FixedText FT_REPEAT_HEADER
110    {
111        Pos = MAP_APPFONT ( 125, 113 ) ;
112        Size = MAP_APPFONT ( 66, 10 ) ;
113        Text [ en-US ] = "The first %POSITION_OF_CONTROL rows" ;
114    };
115    NumericField NF_REPEAT_HEADER
116    {
117        HelpID = "sw:NumericField:DLG_CONV_TEXT_TABLE:NF_REPEAT_HEADER" ;
118        Border = TRUE ;
119        Pos = MAP_APPFONT ( 191, 112 ) ;
120        Size = MAP_APPFONT ( 28, 12 ) ;
121        TabStop = TRUE ;
122        Left = TRUE ;
123        Repeat = TRUE ;
124        Spin = TRUE ;
125        Minimum = 1 ;
126        Maximum = 1000 ;
127        First = 1 ;
128    };
129    Window WIN_REPEAT_HEADER
130    {
131        Pos = MAP_APPFONT ( 30, 110 ) ;
132        Size = MAP_APPFONT ( 2, 1 ) ;
133    };
134    CheckBox CB_DONT_SPLIT
135    {
136        HelpID = "sw:CheckBox:DLG_CONV_TEXT_TABLE:CB_DONT_SPLIT" ;
137        Pos = MAP_APPFONT ( 12, 126 ) ;
138        Size = MAP_APPFONT ( 123, 10 ) ;
139        TabStop = TRUE ;
140        Text [ en-US ] = "Don't split table" ;
141    };
142    CheckBox CB_BORDER
143    {
144        HelpID = "sw:CheckBox:DLG_CONV_TEXT_TABLE:CB_BORDER" ;
145        Pos = MAP_APPFONT ( 12, 139 ) ;
146        Size = MAP_APPFONT ( 123, 10 ) ;
147        TabStop = TRUE ;
148        Text [ en-US ] = "Border" ;
149    };
150    FixedLine FL_OPTIONS
151    {
152        Pos = MAP_APPFONT ( 6, 71 ) ;
153        Size = MAP_APPFONT ( 135, 8 ) ;
154        Text [ en-US ] = "Options" ;
155    };
156    String STR_CONVERT_TEXT_TABLE
157    {
158        Text [ en-US ] = "Convert Text to Table" ;
159    };
160    OkButton BT_OK
161    {
162        Pos = MAP_APPFONT ( 147, 6 ) ;
163        Size = MAP_APPFONT ( 50, 14 ) ;
164        TABSTOP = TRUE ;
165        DefButton = TRUE ;
166    };
167    CancelButton BT_CANCEL
168    {
169        Pos = MAP_APPFONT ( 147, 23 ) ;
170        Size = MAP_APPFONT ( 50, 14 ) ;
171        TABSTOP = TRUE ;
172    };
173    HelpButton BT_HELP
174    {
175        Pos = MAP_APPFONT ( 147, 43 ) ;
176        Size = MAP_APPFONT ( 50, 14 ) ;
177        TABSTOP = TRUE ;
178    };
179    PushButton BT_AUTOFORMAT
180    {
181        HelpID = "sw:PushButton:DLG_CONV_TEXT_TABLE:BT_AUTOFORMAT" ;
182        Pos = MAP_APPFONT ( 12, 152 ) ;
183        Size = MAP_APPFONT ( 86, 14 ) ;
184        TabStop = TRUE ;
185        Hide = TRUE ;
186        Text [ en-US ] = "Auto~Format..." ;
187    };
188    String STR_SYMBOL
189    {
190        Text [ en-US ] = "Symbol" ;
191    };
192};
193
194// ********************************************************************** EOF
195