1*82177cdbSAndrew Rist/************************************************************** 2cdf0e10cSrcweir * 3*82177cdbSAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 4*82177cdbSAndrew Rist * or more contributor license agreements. See the NOTICE file 5*82177cdbSAndrew Rist * distributed with this work for additional information 6*82177cdbSAndrew Rist * regarding copyright ownership. The ASF licenses this file 7*82177cdbSAndrew Rist * to you under the Apache License, Version 2.0 (the 8*82177cdbSAndrew Rist * "License"); you may not use this file except in compliance 9*82177cdbSAndrew Rist * with the License. You may obtain a copy of the License at 10*82177cdbSAndrew Rist * 11*82177cdbSAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12*82177cdbSAndrew Rist * 13*82177cdbSAndrew Rist * Unless required by applicable law or agreed to in writing, 14*82177cdbSAndrew Rist * software distributed under the License is distributed on an 15*82177cdbSAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*82177cdbSAndrew Rist * KIND, either express or implied. See the License for the 17*82177cdbSAndrew Rist * specific language governing permissions and limitations 18*82177cdbSAndrew Rist * under the License. 19*82177cdbSAndrew Rist * 20*82177cdbSAndrew Rist *************************************************************/ 21*82177cdbSAndrew Rist 22*82177cdbSAndrew Rist 23cdf0e10cSrcweir#include "dbnamdlg.hrc" 24cdf0e10cSrcweirModelessDialog RID_SCDLG_DBNAMES 25cdf0e10cSrcweir{ 26cdf0e10cSrcweir OutputSize = TRUE ; 27cdf0e10cSrcweir HelpId = CMD_SID_DEFINE_DBNAME ; 28cdf0e10cSrcweir Hide = TRUE ; 29cdf0e10cSrcweir SVLook = TRUE ; 30cdf0e10cSrcweir Size = MAP_APPFONT ( 222 , 142 ) ; 31cdf0e10cSrcweir Text [ en-US ] = "Define Database Range" ; 32cdf0e10cSrcweir Moveable = TRUE ; 33cdf0e10cSrcweir // Closeable = TRUE; // Dieser Dialog hat einen Cancel-Button ! 34cdf0e10cSrcweir FixedLine FL_NAME 35cdf0e10cSrcweir { 36cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 3 ) ; 37cdf0e10cSrcweir Size = MAP_APPFONT ( 154 , 8 ) ; 38cdf0e10cSrcweir Text [ en-US ] = "Na~me" ; 39cdf0e10cSrcweir }; 40cdf0e10cSrcweir ComboBox ED_NAME 41cdf0e10cSrcweir { 42cdf0e10cSrcweir HelpID = "sc:ComboBox:RID_SCDLG_DBNAMES:ED_NAME"; 43cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 14 ) ; 44cdf0e10cSrcweir Size = MAP_APPFONT ( 145 , 92 ) ; 45cdf0e10cSrcweir TabStop = TRUE ; 46cdf0e10cSrcweir VScroll = TRUE ; 47cdf0e10cSrcweir }; 48cdf0e10cSrcweir FixedLine FL_ASSIGN 49cdf0e10cSrcweir { 50cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 112 ) ; 51cdf0e10cSrcweir Size = MAP_APPFONT ( 154 , 8 ) ; 52cdf0e10cSrcweir Text [ en-US ] = "~Range" ; 53cdf0e10cSrcweir }; 54cdf0e10cSrcweir Edit ED_DBAREA 55cdf0e10cSrcweir { 56cdf0e10cSrcweir HelpID = "sc:Edit:RID_SCDLG_DBNAMES:ED_DBAREA"; 57cdf0e10cSrcweir Border = TRUE ; 58cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 123 ) ; 59cdf0e10cSrcweir Size = MAP_APPFONT ( 131 , 12 ) ; 60cdf0e10cSrcweir TabStop = TRUE ; 61cdf0e10cSrcweir }; 62cdf0e10cSrcweir ImageButton RB_DBAREA 63cdf0e10cSrcweir { 64cdf0e10cSrcweir HelpID = "sc:ImageButton:RID_SCDLG_DBNAMES:RB_DBAREA"; 65cdf0e10cSrcweir Pos = MAP_APPFONT ( 145 , 122 ) ; 66cdf0e10cSrcweir Size = MAP_APPFONT ( 13 , 15 ) ; 67cdf0e10cSrcweir TabStop = FALSE ; 68cdf0e10cSrcweir QuickHelpText [ en-US ] = "Shrink" ; 69cdf0e10cSrcweir }; 70cdf0e10cSrcweir FixedLine FL_OPTIONS 71cdf0e10cSrcweir { 72cdf0e10cSrcweir Hide = TRUE ; 73cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 142 ) ; 74cdf0e10cSrcweir Size = MAP_APPFONT ( 154 , 8 ) ; 75cdf0e10cSrcweir Text [ en-US ] = "Options" ; 76cdf0e10cSrcweir }; 77cdf0e10cSrcweir CheckBox BTN_HEADER 78cdf0e10cSrcweir { 79cdf0e10cSrcweir HelpID = "sc:CheckBox:RID_SCDLG_DBNAMES:BTN_HEADER"; 80cdf0e10cSrcweir Hide = TRUE ; 81cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 153 ) ; 82cdf0e10cSrcweir Size = MAP_APPFONT ( 145 , 10 ) ; 83cdf0e10cSrcweir TabStop = TRUE ; 84cdf0e10cSrcweir Text [ en-US ] = "Co~ntains column labels" ; 85cdf0e10cSrcweir }; 86cdf0e10cSrcweir CheckBox BTN_SIZE 87cdf0e10cSrcweir { 88cdf0e10cSrcweir HelpID = "sc:CheckBox:RID_SCDLG_DBNAMES:BTN_SIZE"; 89cdf0e10cSrcweir Hide = TRUE ; 90cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 167 ) ; 91cdf0e10cSrcweir Size = MAP_APPFONT ( 145 , 10 ) ; 92cdf0e10cSrcweir TabStop = TRUE ; 93cdf0e10cSrcweir Text [ en-US ] = "Insert or delete ~cells" ; 94cdf0e10cSrcweir }; 95cdf0e10cSrcweir CheckBox BTN_FORMAT 96cdf0e10cSrcweir { 97cdf0e10cSrcweir HelpID = "sc:CheckBox:RID_SCDLG_DBNAMES:BTN_FORMAT"; 98cdf0e10cSrcweir Hide = TRUE ; 99cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 181 ) ; 100cdf0e10cSrcweir Size = MAP_APPFONT ( 145 , 10 ) ; 101cdf0e10cSrcweir TabStop = TRUE ; 102cdf0e10cSrcweir Text [ en-US ] = "Keep ~formatting" ; 103cdf0e10cSrcweir }; 104cdf0e10cSrcweir CheckBox BTN_STRIPDATA 105cdf0e10cSrcweir { 106cdf0e10cSrcweir HelpID = "sc:CheckBox:RID_SCDLG_DBNAMES:BTN_STRIPDATA"; 107cdf0e10cSrcweir Hide = TRUE ; 108cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 195 ) ; 109cdf0e10cSrcweir Size = MAP_APPFONT ( 145 , 10 ) ; 110cdf0e10cSrcweir TabStop = TRUE ; 111cdf0e10cSrcweir Text [ en-US ] = "Don't save ~imported data" ; 112cdf0e10cSrcweir }; 113cdf0e10cSrcweir FixedText FT_SOURCE 114cdf0e10cSrcweir { 115cdf0e10cSrcweir Hide = TRUE ; 116cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 209 ) ; 117cdf0e10cSrcweir Size = MAP_APPFONT ( 145 , 8 ) ; 118cdf0e10cSrcweir Text [ en-US ] = "Source:" ; 119cdf0e10cSrcweir }; 120cdf0e10cSrcweir FixedText FT_OPERATIONS 121cdf0e10cSrcweir { 122cdf0e10cSrcweir Hide = TRUE ; 123cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 221 ) ; 124cdf0e10cSrcweir Size = MAP_APPFONT ( 145 , 8 ) ; 125cdf0e10cSrcweir Text [ en-US ] = "Operations:" ; 126cdf0e10cSrcweir }; 127cdf0e10cSrcweir OKButton BTN_OK 128cdf0e10cSrcweir { 129cdf0e10cSrcweir Pos = MAP_APPFONT ( 166 , 6 ) ; 130cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 131cdf0e10cSrcweir TabStop = TRUE ; 132cdf0e10cSrcweir }; 133cdf0e10cSrcweir CancelButton BTN_CANCEL 134cdf0e10cSrcweir { 135cdf0e10cSrcweir Pos = MAP_APPFONT ( 166 , 23 ) ; 136cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 137cdf0e10cSrcweir TabStop = TRUE ; 138cdf0e10cSrcweir }; 139cdf0e10cSrcweir PushButton BTN_ADD 140cdf0e10cSrcweir { 141cdf0e10cSrcweir HelpID = "sc:PushButton:RID_SCDLG_DBNAMES:BTN_ADD"; 142cdf0e10cSrcweir Pos = MAP_APPFONT ( 166 , 74 ) ; 143cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 144cdf0e10cSrcweir Text [ en-US ] = "~Add" ; 145cdf0e10cSrcweir TabStop = TRUE ; 146cdf0e10cSrcweir DefButton = TRUE ; 147cdf0e10cSrcweir }; 148cdf0e10cSrcweir PushButton BTN_REMOVE 149cdf0e10cSrcweir { 150cdf0e10cSrcweir HelpID = "sc:PushButton:RID_SCDLG_DBNAMES:BTN_REMOVE"; 151cdf0e10cSrcweir Pos = MAP_APPFONT ( 166 , 92 ) ; 152cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 153cdf0e10cSrcweir Text [ en-US ] = "~Delete" ; 154cdf0e10cSrcweir TabStop = TRUE ; 155cdf0e10cSrcweir }; 156cdf0e10cSrcweir HelpButton BTN_HELP 157cdf0e10cSrcweir { 158cdf0e10cSrcweir Pos = MAP_APPFONT ( 166 , 43 ) ; 159cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 160cdf0e10cSrcweir TabStop = TRUE ; 161cdf0e10cSrcweir }; 162cdf0e10cSrcweir MoreButton BTN_MORE 163cdf0e10cSrcweir { 164cdf0e10cSrcweir HelpID = "sc:MoreButton:RID_SCDLG_DBNAMES:BTN_MORE"; 165cdf0e10cSrcweir Pos = MAP_APPFONT ( 166 , 122 ) ; 166cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 167cdf0e10cSrcweir TabStop = TRUE ; 168cdf0e10cSrcweir MapUnit = MAP_APPFONT ; 169cdf0e10cSrcweir Delta = 93 ; 170cdf0e10cSrcweir }; 171cdf0e10cSrcweir String STR_ADD 172cdf0e10cSrcweir { 173cdf0e10cSrcweir Text [ en-US ] = "~Add" ; 174cdf0e10cSrcweir }; 175cdf0e10cSrcweir String STR_MODIFY 176cdf0e10cSrcweir { 177cdf0e10cSrcweir Text [ en-US ] = "M~odify" ; 178cdf0e10cSrcweir }; 179cdf0e10cSrcweir String STR_DB_INVALID 180cdf0e10cSrcweir { 181cdf0e10cSrcweir Text [ en-US ] = "Invalid range" ; 182cdf0e10cSrcweir }; 183cdf0e10cSrcweir}; 184cdf0e10cSrcweir 185cdf0e10cSrcweir 186cdf0e10cSrcweir 187cdf0e10cSrcweir 188cdf0e10cSrcweir 189cdf0e10cSrcweir 190cdf0e10cSrcweir 191cdf0e10cSrcweir 192cdf0e10cSrcweir 193cdf0e10cSrcweir 194cdf0e10cSrcweir 195cdf0e10cSrcweir 196cdf0e10cSrcweir 197cdf0e10cSrcweir 198cdf0e10cSrcweir 199cdf0e10cSrcweir 200cdf0e10cSrcweir 201cdf0e10cSrcweir 202cdf0e10cSrcweir 203cdf0e10cSrcweir 204cdf0e10cSrcweir 205