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