1/************************************************************************* 2 * 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 * 5 * Copyright 2000, 2010 Oracle and/or its affiliates. 6 * 7 * OpenOffice.org - a multi-platform office productivity suite 8 * 9 * This file is part of OpenOffice.org. 10 * 11 * OpenOffice.org is free software: you can redistribute it and/or modify 12 * it under the terms of the GNU Lesser General Public License version 3 13 * only, as published by the Free Software Foundation. 14 * 15 * OpenOffice.org is distributed in the hope that it will be useful, 16 * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 * GNU Lesser General Public License version 3 for more details 19 * (a copy is included in the LICENSE file that accompanied this code). 20 * 21 * You should have received a copy of the GNU Lesser General Public License 22 * version 3 along with OpenOffice.org. If not, see 23 * <http://www.openoffice.org/license.html> 24 * for a copy of the LGPLv3 License. 25 * 26 ************************************************************************/ 27 28#include "sc.hrc" 29#include "dapitype.hrc" 30 31 32ModalDialog RID_SCDLG_DAPITYPE 33{ 34 OutputSize = TRUE ; 35 HelpId = HID_DATAPILOT_TYPE ; 36 SVLook = TRUE ; 37 Size = MAP_APPFONT ( 241 , 63 ) ; 38 Moveable = TRUE ; 39 Closeable = FALSE ; 40 OKButton BTN_OK 41 { 42 Pos = MAP_APPFONT ( 185 , 6 ) ; 43 Size = MAP_APPFONT ( 50 , 14 ) ; 44 TabStop = TRUE ; 45 DefButton = TRUE ; 46 }; 47 CancelButton BTN_CANCEL 48 { 49 Pos = MAP_APPFONT ( 185 , 23 ) ; 50 Size = MAP_APPFONT ( 50 , 14 ) ; 51 TabStop = TRUE ; 52 }; 53 HelpButton BTN_HELP 54 { 55 Pos = MAP_APPFONT ( 185 , 43 ) ; 56 Size = MAP_APPFONT ( 50 , 14 ) ; 57 TabStop = TRUE ; 58 }; 59 RadioButton BTN_SELECTION 60 { 61 HelpID = "sc:RadioButton:RID_SCDLG_DAPITYPE:BTN_SELECTION"; 62 Pos = MAP_APPFONT ( 12 , 14 ) ; 63 Size = MAP_APPFONT ( 164 , 10 ) ; 64 TabStop = TRUE ; 65 Text [ en-US ] = "~Current selection"; 66 }; 67 RadioButton BTN_DATABASE 68 { 69 HelpID = "sc:RadioButton:RID_SCDLG_DAPITYPE:BTN_DATABASE"; 70 Pos = MAP_APPFONT ( 12 , 28 ) ; 71 Size = MAP_APPFONT ( 164 , 10 ) ; 72 TabStop = TRUE ; 73 Text [ en-US ] = "~Data source registered in %PRODUCTNAME"; 74 }; 75 RadioButton BTN_EXTERNAL 76 { 77 HelpID = "sc:RadioButton:RID_SCDLG_DAPITYPE:BTN_EXTERNAL"; 78 Pos = MAP_APPFONT ( 12 , 42 ) ; 79 Size = MAP_APPFONT ( 164 , 10 ) ; 80 TabStop = TRUE ; 81 Text [ en-US ] = "~External source/interface"; 82 }; 83 FixedLine FL_FRAME 84 { 85 Pos = MAP_APPFONT ( 6 , 3 ) ; 86 Size = MAP_APPFONT ( 173 , 8 ) ; 87 Text [ en-US ] = "Selection"; 88 }; 89 Text [ en-US ] = "Select Source"; 90}; 91 92 93//------------------------------------------------------------------------ 94 95 96ModalDialog RID_SCDLG_DAPISERVICE 97{ 98 OutputSize = TRUE ; 99 HelpId = HID_DATAPILOT_SERVICE ; 100 SVLook = TRUE ; 101 Size = MAP_APPFONT ( 241 , 94 ) ; 102 Moveable = TRUE ; 103 Closeable = FALSE ; 104 OKButton BTN_OK 105 { 106 Pos = MAP_APPFONT ( 185 , 6 ) ; 107 Size = MAP_APPFONT ( 50 , 14 ) ; 108 TabStop = TRUE ; 109 DefButton = TRUE ; 110 }; 111 CancelButton BTN_CANCEL 112 { 113 Pos = MAP_APPFONT ( 185 , 23 ) ; 114 Size = MAP_APPFONT ( 50 , 14 ) ; 115 TabStop = TRUE ; 116 }; 117 HelpButton BTN_HELP 118 { 119 Pos = MAP_APPFONT ( 185 , 43 ) ; 120 Size = MAP_APPFONT ( 50 , 14 ) ; 121 TabStop = TRUE ; 122 }; 123 FixedText FT_SERVICE 124 { 125 Pos = MAP_APPFONT ( 12 , 14 ) ; 126 Size = MAP_APPFONT ( 40 , 8 ) ; 127 Text [ en-US ] = "~Service"; 128 }; 129 ListBox LB_SERVICE 130 { 131 HelpID = "sc:ListBox:RID_SCDLG_DAPISERVICE:LB_SERVICE"; 132 Border = TRUE ; 133 Pos = MAP_APPFONT ( 56 , 12 ) ; 134 Size = MAP_APPFONT ( 120 , 80 ) ; 135 TabStop = TRUE ; 136 DropDown = TRUE ; 137 }; 138 FixedText FT_SOURCE 139 { 140 Pos = MAP_APPFONT ( 12 , 30 ) ; 141 Size = MAP_APPFONT ( 40 , 8 ) ; 142 Text [ en-US ] = "So~urce"; 143 }; 144 Edit ED_SOURCE 145 { 146 HelpID = "sc:Edit:RID_SCDLG_DAPISERVICE:ED_SOURCE"; 147 Border = TRUE ; 148 Pos = MAP_APPFONT ( 56 , 28 ) ; 149 Size = MAP_APPFONT ( 120 , 12 ) ; 150 TabStop = TRUE ; 151 }; 152 FixedText FT_NAME 153 { 154 Pos = MAP_APPFONT ( 12 , 46 ) ; 155 Size = MAP_APPFONT ( 40 , 8 ) ; 156 Text [ en-US ] = "~Name"; 157 }; 158 Edit ED_NAME 159 { 160 HelpID = "sc:Edit:RID_SCDLG_DAPISERVICE:ED_NAME"; 161 Border = TRUE ; 162 Pos = MAP_APPFONT ( 56 , 44 ) ; 163 Size = MAP_APPFONT ( 120 , 12 ) ; 164 TabStop = TRUE ; 165 }; 166 FixedText FT_USER 167 { 168 Pos = MAP_APPFONT ( 12 , 62 ) ; 169 Size = MAP_APPFONT ( 40 , 8 ) ; 170 Text [ en-US ] = "Us~er"; 171 }; 172 Edit ED_USER 173 { 174 HelpID = "sc:Edit:RID_SCDLG_DAPISERVICE:ED_USER"; 175 Border = TRUE ; 176 Pos = MAP_APPFONT ( 56 , 60 ) ; 177 Size = MAP_APPFONT ( 120 , 12 ) ; 178 TabStop = TRUE ; 179 }; 180 FixedText FT_PASSWD 181 { 182 Pos = MAP_APPFONT ( 12 , 78 ) ; 183 Size = MAP_APPFONT ( 40 , 8 ) ; 184 Text [ en-US ] = "~Password"; 185 }; 186 Edit ED_PASSWD 187 { 188 HelpID = "sc:Edit:RID_SCDLG_DAPISERVICE:ED_PASSWD"; 189 Border = TRUE ; 190 Pos = MAP_APPFONT ( 56 , 76 ) ; 191 Size = MAP_APPFONT ( 120 , 12 ) ; 192 TabStop = TRUE ; 193 PassWord = TRUE ; 194 }; 195 FixedLine FL_FRAME 196 { 197 Pos = MAP_APPFONT ( 6 , 3 ) ; 198 Size = MAP_APPFONT ( 173 , 8 ) ; 199 Text [ en-US ] = "Selection"; 200 }; 201 Text [ en-US ] = "External Source"; 202}; 203 204 205//------------------------------------------------------------------------ 206 207 208ModalDialog RID_SCDLG_DAPIDATA 209{ 210 OutputSize = TRUE ; 211 HelpId = HID_DATAPILOT_DATABASE ; 212 SVLook = TRUE ; 213 Size = MAP_APPFONT ( 241 , 63 ) ; 214 Moveable = TRUE ; 215 Closeable = FALSE ; 216 OKButton BTN_OK 217 { 218 Pos = MAP_APPFONT ( 185 , 6 ) ; 219 Size = MAP_APPFONT ( 50 , 14 ) ; 220 TabStop = TRUE ; 221 DefButton = TRUE ; 222 }; 223 CancelButton BTN_CANCEL 224 { 225 Pos = MAP_APPFONT ( 185 , 23 ) ; 226 Size = MAP_APPFONT ( 50 , 14 ) ; 227 TabStop = TRUE ; 228 }; 229 HelpButton BTN_HELP 230 { 231 Pos = MAP_APPFONT ( 185 , 43 ) ; 232 Size = MAP_APPFONT ( 50 , 14 ) ; 233 TabStop = TRUE ; 234 }; 235 236 FixedText FT_DATABASE 237 { 238 Pos = MAP_APPFONT ( 12 , 14 ) ; 239 Size = MAP_APPFONT ( 52 , 8 ) ; 240 Text [ en-US ] = "~Database"; 241 }; 242 ListBox LB_DATABASE 243 { 244 HelpID = "sc:ListBox:RID_SCDLG_DAPIDATA:LB_DATABASE"; 245 Border = TRUE ; 246 Pos = MAP_APPFONT ( 66 , 12 ) ; 247 Size = MAP_APPFONT ( 110 , 80 ) ; 248 TabStop = TRUE ; 249 DropDown = TRUE ; 250 }; 251 252 FixedText FT_OBJECT 253 { 254 Pos = MAP_APPFONT ( 12 , 30 ) ; 255 Size = MAP_APPFONT ( 52 , 8 ) ; 256 Text [ en-US ] = "Data so~urce"; 257 }; 258 ComboBox CB_OBJECT 259 { 260 HelpID = "sc:ComboBox:RID_SCDLG_DAPIDATA:CB_OBJECT"; 261 Border = TRUE ; 262 Pos = MAP_APPFONT ( 66 , 28 ) ; 263 Size = MAP_APPFONT ( 110 , 80 ) ; 264 TabStop = TRUE ; 265 DropDown = TRUE ; 266 }; 267 268 FixedText FT_OBJTYPE 269 { 270 Pos = MAP_APPFONT ( 12 , 46 ) ; 271 Size = MAP_APPFONT ( 52 , 8 ) ; 272 Text [ en-US ] = "~Type"; 273 }; 274 ListBox LB_OBJTYPE 275 { 276 HelpID = "sc:ListBox:RID_SCDLG_DAPIDATA:LB_OBJTYPE"; 277 Border = TRUE ; 278 Pos = MAP_APPFONT ( 66 , 44 ) ; 279 Size = MAP_APPFONT ( 110 , 80 ) ; 280 TabStop = TRUE ; 281 DropDown = TRUE ; 282 StringList [ en-US ] = 283 { 284 < "Sheet" ; Default ; > ; 285 < "Query" ; Default ; > ; 286 < "Sql" ; Default ; > ; 287 < "Sql [Native]" ; Default ; > ; 288 }; 289 }; 290 291 FixedLine FL_FRAME 292 { 293 Pos = MAP_APPFONT ( 6 , 3 ) ; 294 Size = MAP_APPFONT ( 173 , 8 ) ; 295 Text [ en-US ] = "Selection"; 296 }; 297 Text [ en-US ] = "Select Data Source"; 298}; 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320