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