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 23#include "dbnamdlg.hrc" 24ModelessDialog RID_SCDLG_DBNAMES 25{ 26 OutputSize = TRUE ; 27 HelpId = CMD_SID_DEFINE_DBNAME ; 28 Hide = TRUE ; 29 SVLook = TRUE ; 30 Size = MAP_APPFONT ( 222 , 142 ) ; 31 Text [ en-US ] = "Define Database Range" ; 32 Moveable = TRUE ; 33 // Closeable = TRUE; // Dieser Dialog hat einen Cancel-Button ! 34 FixedLine FL_NAME 35 { 36 Pos = MAP_APPFONT ( 6 , 3 ) ; 37 Size = MAP_APPFONT ( 154 , 8 ) ; 38 Text [ en-US ] = "Na~me" ; 39 }; 40 ComboBox ED_NAME 41 { 42 HelpID = "sc:ComboBox:RID_SCDLG_DBNAMES:ED_NAME"; 43 Pos = MAP_APPFONT ( 12 , 14 ) ; 44 Size = MAP_APPFONT ( 145 , 92 ) ; 45 TabStop = TRUE ; 46 VScroll = TRUE ; 47 }; 48 FixedLine FL_ASSIGN 49 { 50 Pos = MAP_APPFONT ( 6 , 112 ) ; 51 Size = MAP_APPFONT ( 154 , 8 ) ; 52 Text [ en-US ] = "~Range" ; 53 }; 54 Edit ED_DBAREA 55 { 56 HelpID = "sc:Edit:RID_SCDLG_DBNAMES:ED_DBAREA"; 57 Border = TRUE ; 58 Pos = MAP_APPFONT ( 12 , 123 ) ; 59 Size = MAP_APPFONT ( 131 , 12 ) ; 60 TabStop = TRUE ; 61 }; 62 ImageButton RB_DBAREA 63 { 64 HelpID = "sc:ImageButton:RID_SCDLG_DBNAMES:RB_DBAREA"; 65 Pos = MAP_APPFONT ( 145 , 122 ) ; 66 Size = MAP_APPFONT ( 13 , 15 ) ; 67 TabStop = FALSE ; 68 QuickHelpText [ en-US ] = "Shrink" ; 69 }; 70 FixedLine FL_OPTIONS 71 { 72 Hide = TRUE ; 73 Pos = MAP_APPFONT ( 6 , 142 ) ; 74 Size = MAP_APPFONT ( 154 , 8 ) ; 75 Text [ en-US ] = "Options" ; 76 }; 77 CheckBox BTN_HEADER 78 { 79 HelpID = "sc:CheckBox:RID_SCDLG_DBNAMES:BTN_HEADER"; 80 Hide = TRUE ; 81 Pos = MAP_APPFONT ( 12 , 153 ) ; 82 Size = MAP_APPFONT ( 145 , 10 ) ; 83 TabStop = TRUE ; 84 Text [ en-US ] = "Co~ntains column labels" ; 85 }; 86 CheckBox BTN_SIZE 87 { 88 HelpID = "sc:CheckBox:RID_SCDLG_DBNAMES:BTN_SIZE"; 89 Hide = TRUE ; 90 Pos = MAP_APPFONT ( 12 , 167 ) ; 91 Size = MAP_APPFONT ( 145 , 10 ) ; 92 TabStop = TRUE ; 93 Text [ en-US ] = "Insert or delete ~cells" ; 94 }; 95 CheckBox BTN_FORMAT 96 { 97 HelpID = "sc:CheckBox:RID_SCDLG_DBNAMES:BTN_FORMAT"; 98 Hide = TRUE ; 99 Pos = MAP_APPFONT ( 12 , 181 ) ; 100 Size = MAP_APPFONT ( 145 , 10 ) ; 101 TabStop = TRUE ; 102 Text [ en-US ] = "Keep ~formatting" ; 103 }; 104 CheckBox BTN_STRIPDATA 105 { 106 HelpID = "sc:CheckBox:RID_SCDLG_DBNAMES:BTN_STRIPDATA"; 107 Hide = TRUE ; 108 Pos = MAP_APPFONT ( 12 , 195 ) ; 109 Size = MAP_APPFONT ( 145 , 10 ) ; 110 TabStop = TRUE ; 111 Text [ en-US ] = "Don't save ~imported data" ; 112 }; 113 FixedText FT_SOURCE 114 { 115 Hide = TRUE ; 116 Pos = MAP_APPFONT ( 12 , 209 ) ; 117 Size = MAP_APPFONT ( 145 , 8 ) ; 118 Text [ en-US ] = "Source:" ; 119 }; 120 FixedText FT_OPERATIONS 121 { 122 Hide = TRUE ; 123 Pos = MAP_APPFONT ( 12 , 221 ) ; 124 Size = MAP_APPFONT ( 145 , 8 ) ; 125 Text [ en-US ] = "Operations:" ; 126 }; 127 OKButton BTN_OK 128 { 129 Pos = MAP_APPFONT ( 166 , 6 ) ; 130 Size = MAP_APPFONT ( 50 , 14 ) ; 131 TabStop = TRUE ; 132 }; 133 CancelButton BTN_CANCEL 134 { 135 Pos = MAP_APPFONT ( 166 , 23 ) ; 136 Size = MAP_APPFONT ( 50 , 14 ) ; 137 TabStop = TRUE ; 138 }; 139 PushButton BTN_ADD 140 { 141 HelpID = "sc:PushButton:RID_SCDLG_DBNAMES:BTN_ADD"; 142 Pos = MAP_APPFONT ( 166 , 74 ) ; 143 Size = MAP_APPFONT ( 50 , 14 ) ; 144 Text [ en-US ] = "~Add" ; 145 TabStop = TRUE ; 146 DefButton = TRUE ; 147 }; 148 PushButton BTN_REMOVE 149 { 150 HelpID = "sc:PushButton:RID_SCDLG_DBNAMES:BTN_REMOVE"; 151 Pos = MAP_APPFONT ( 166 , 92 ) ; 152 Size = MAP_APPFONT ( 50 , 14 ) ; 153 Text [ en-US ] = "~Delete" ; 154 TabStop = TRUE ; 155 }; 156 HelpButton BTN_HELP 157 { 158 Pos = MAP_APPFONT ( 166 , 43 ) ; 159 Size = MAP_APPFONT ( 50 , 14 ) ; 160 TabStop = TRUE ; 161 }; 162 MoreButton BTN_MORE 163 { 164 HelpID = "sc:MoreButton:RID_SCDLG_DBNAMES:BTN_MORE"; 165 Pos = MAP_APPFONT ( 166 , 122 ) ; 166 Size = MAP_APPFONT ( 50 , 14 ) ; 167 TabStop = TRUE ; 168 MapUnit = MAP_APPFONT ; 169 Delta = 93 ; 170 }; 171 String STR_ADD 172 { 173 Text [ en-US ] = "~Add" ; 174 }; 175 String STR_MODIFY 176 { 177 Text [ en-US ] = "M~odify" ; 178 }; 179 String STR_DB_INVALID 180 { 181 Text [ en-US ] = "Invalid range" ; 182 }; 183}; 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205