1*cdf0e10cSrcweir/************************************************************************* 2*cdf0e10cSrcweir * 3*cdf0e10cSrcweir * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4*cdf0e10cSrcweir * 5*cdf0e10cSrcweir * Copyright 2000, 2010 Oracle and/or its affiliates. 6*cdf0e10cSrcweir * 7*cdf0e10cSrcweir * OpenOffice.org - a multi-platform office productivity suite 8*cdf0e10cSrcweir * 9*cdf0e10cSrcweir * This file is part of OpenOffice.org. 10*cdf0e10cSrcweir * 11*cdf0e10cSrcweir * OpenOffice.org is free software: you can redistribute it and/or modify 12*cdf0e10cSrcweir * it under the terms of the GNU Lesser General Public License version 3 13*cdf0e10cSrcweir * only, as published by the Free Software Foundation. 14*cdf0e10cSrcweir * 15*cdf0e10cSrcweir * OpenOffice.org is distributed in the hope that it will be useful, 16*cdf0e10cSrcweir * but WITHOUT ANY WARRANTY; without even the implied warranty of 17*cdf0e10cSrcweir * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18*cdf0e10cSrcweir * GNU Lesser General Public License version 3 for more details 19*cdf0e10cSrcweir * (a copy is included in the LICENSE file that accompanied this code). 20*cdf0e10cSrcweir * 21*cdf0e10cSrcweir * You should have received a copy of the GNU Lesser General Public License 22*cdf0e10cSrcweir * version 3 along with OpenOffice.org. If not, see 23*cdf0e10cSrcweir * <http://www.openoffice.org/license.html> 24*cdf0e10cSrcweir * for a copy of the LGPLv3 License. 25*cdf0e10cSrcweir * 26*cdf0e10cSrcweir ************************************************************************/ 27*cdf0e10cSrcweir#include "dbnamdlg.hrc" 28*cdf0e10cSrcweirModelessDialog RID_SCDLG_DBNAMES 29*cdf0e10cSrcweir{ 30*cdf0e10cSrcweir OutputSize = TRUE ; 31*cdf0e10cSrcweir HelpId = CMD_SID_DEFINE_DBNAME ; 32*cdf0e10cSrcweir Hide = TRUE ; 33*cdf0e10cSrcweir SVLook = TRUE ; 34*cdf0e10cSrcweir Size = MAP_APPFONT ( 222 , 142 ) ; 35*cdf0e10cSrcweir Text [ en-US ] = "Define Database Range" ; 36*cdf0e10cSrcweir Moveable = TRUE ; 37*cdf0e10cSrcweir // Closeable = TRUE; // Dieser Dialog hat einen Cancel-Button ! 38*cdf0e10cSrcweir FixedLine FL_NAME 39*cdf0e10cSrcweir { 40*cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 3 ) ; 41*cdf0e10cSrcweir Size = MAP_APPFONT ( 154 , 8 ) ; 42*cdf0e10cSrcweir Text [ en-US ] = "Na~me" ; 43*cdf0e10cSrcweir }; 44*cdf0e10cSrcweir ComboBox ED_NAME 45*cdf0e10cSrcweir { 46*cdf0e10cSrcweir HelpID = "sc:ComboBox:RID_SCDLG_DBNAMES:ED_NAME"; 47*cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 14 ) ; 48*cdf0e10cSrcweir Size = MAP_APPFONT ( 145 , 92 ) ; 49*cdf0e10cSrcweir TabStop = TRUE ; 50*cdf0e10cSrcweir VScroll = TRUE ; 51*cdf0e10cSrcweir }; 52*cdf0e10cSrcweir FixedLine FL_ASSIGN 53*cdf0e10cSrcweir { 54*cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 112 ) ; 55*cdf0e10cSrcweir Size = MAP_APPFONT ( 154 , 8 ) ; 56*cdf0e10cSrcweir Text [ en-US ] = "~Range" ; 57*cdf0e10cSrcweir }; 58*cdf0e10cSrcweir Edit ED_DBAREA 59*cdf0e10cSrcweir { 60*cdf0e10cSrcweir HelpID = "sc:Edit:RID_SCDLG_DBNAMES:ED_DBAREA"; 61*cdf0e10cSrcweir Border = TRUE ; 62*cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 123 ) ; 63*cdf0e10cSrcweir Size = MAP_APPFONT ( 131 , 12 ) ; 64*cdf0e10cSrcweir TabStop = TRUE ; 65*cdf0e10cSrcweir }; 66*cdf0e10cSrcweir ImageButton RB_DBAREA 67*cdf0e10cSrcweir { 68*cdf0e10cSrcweir HelpID = "sc:ImageButton:RID_SCDLG_DBNAMES:RB_DBAREA"; 69*cdf0e10cSrcweir Pos = MAP_APPFONT ( 145 , 122 ) ; 70*cdf0e10cSrcweir Size = MAP_APPFONT ( 13 , 15 ) ; 71*cdf0e10cSrcweir TabStop = FALSE ; 72*cdf0e10cSrcweir QuickHelpText [ en-US ] = "Shrink" ; 73*cdf0e10cSrcweir }; 74*cdf0e10cSrcweir FixedLine FL_OPTIONS 75*cdf0e10cSrcweir { 76*cdf0e10cSrcweir Hide = TRUE ; 77*cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 142 ) ; 78*cdf0e10cSrcweir Size = MAP_APPFONT ( 154 , 8 ) ; 79*cdf0e10cSrcweir Text [ en-US ] = "Options" ; 80*cdf0e10cSrcweir }; 81*cdf0e10cSrcweir CheckBox BTN_HEADER 82*cdf0e10cSrcweir { 83*cdf0e10cSrcweir HelpID = "sc:CheckBox:RID_SCDLG_DBNAMES:BTN_HEADER"; 84*cdf0e10cSrcweir Hide = TRUE ; 85*cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 153 ) ; 86*cdf0e10cSrcweir Size = MAP_APPFONT ( 145 , 10 ) ; 87*cdf0e10cSrcweir TabStop = TRUE ; 88*cdf0e10cSrcweir Text [ en-US ] = "Co~ntains column labels" ; 89*cdf0e10cSrcweir }; 90*cdf0e10cSrcweir CheckBox BTN_SIZE 91*cdf0e10cSrcweir { 92*cdf0e10cSrcweir HelpID = "sc:CheckBox:RID_SCDLG_DBNAMES:BTN_SIZE"; 93*cdf0e10cSrcweir Hide = TRUE ; 94*cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 167 ) ; 95*cdf0e10cSrcweir Size = MAP_APPFONT ( 145 , 10 ) ; 96*cdf0e10cSrcweir TabStop = TRUE ; 97*cdf0e10cSrcweir Text [ en-US ] = "Insert or delete ~cells" ; 98*cdf0e10cSrcweir }; 99*cdf0e10cSrcweir CheckBox BTN_FORMAT 100*cdf0e10cSrcweir { 101*cdf0e10cSrcweir HelpID = "sc:CheckBox:RID_SCDLG_DBNAMES:BTN_FORMAT"; 102*cdf0e10cSrcweir Hide = TRUE ; 103*cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 181 ) ; 104*cdf0e10cSrcweir Size = MAP_APPFONT ( 145 , 10 ) ; 105*cdf0e10cSrcweir TabStop = TRUE ; 106*cdf0e10cSrcweir Text [ en-US ] = "Keep ~formatting" ; 107*cdf0e10cSrcweir }; 108*cdf0e10cSrcweir CheckBox BTN_STRIPDATA 109*cdf0e10cSrcweir { 110*cdf0e10cSrcweir HelpID = "sc:CheckBox:RID_SCDLG_DBNAMES:BTN_STRIPDATA"; 111*cdf0e10cSrcweir Hide = TRUE ; 112*cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 195 ) ; 113*cdf0e10cSrcweir Size = MAP_APPFONT ( 145 , 10 ) ; 114*cdf0e10cSrcweir TabStop = TRUE ; 115*cdf0e10cSrcweir Text [ en-US ] = "Don't save ~imported data" ; 116*cdf0e10cSrcweir }; 117*cdf0e10cSrcweir FixedText FT_SOURCE 118*cdf0e10cSrcweir { 119*cdf0e10cSrcweir Hide = TRUE ; 120*cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 209 ) ; 121*cdf0e10cSrcweir Size = MAP_APPFONT ( 145 , 8 ) ; 122*cdf0e10cSrcweir Text [ en-US ] = "Source:" ; 123*cdf0e10cSrcweir }; 124*cdf0e10cSrcweir FixedText FT_OPERATIONS 125*cdf0e10cSrcweir { 126*cdf0e10cSrcweir Hide = TRUE ; 127*cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 221 ) ; 128*cdf0e10cSrcweir Size = MAP_APPFONT ( 145 , 8 ) ; 129*cdf0e10cSrcweir Text [ en-US ] = "Operations:" ; 130*cdf0e10cSrcweir }; 131*cdf0e10cSrcweir OKButton BTN_OK 132*cdf0e10cSrcweir { 133*cdf0e10cSrcweir Pos = MAP_APPFONT ( 166 , 6 ) ; 134*cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 135*cdf0e10cSrcweir TabStop = TRUE ; 136*cdf0e10cSrcweir }; 137*cdf0e10cSrcweir CancelButton BTN_CANCEL 138*cdf0e10cSrcweir { 139*cdf0e10cSrcweir Pos = MAP_APPFONT ( 166 , 23 ) ; 140*cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 141*cdf0e10cSrcweir TabStop = TRUE ; 142*cdf0e10cSrcweir }; 143*cdf0e10cSrcweir PushButton BTN_ADD 144*cdf0e10cSrcweir { 145*cdf0e10cSrcweir HelpID = "sc:PushButton:RID_SCDLG_DBNAMES:BTN_ADD"; 146*cdf0e10cSrcweir Pos = MAP_APPFONT ( 166 , 74 ) ; 147*cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 148*cdf0e10cSrcweir Text [ en-US ] = "~Add" ; 149*cdf0e10cSrcweir TabStop = TRUE ; 150*cdf0e10cSrcweir DefButton = TRUE ; 151*cdf0e10cSrcweir }; 152*cdf0e10cSrcweir PushButton BTN_REMOVE 153*cdf0e10cSrcweir { 154*cdf0e10cSrcweir HelpID = "sc:PushButton:RID_SCDLG_DBNAMES:BTN_REMOVE"; 155*cdf0e10cSrcweir Pos = MAP_APPFONT ( 166 , 92 ) ; 156*cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 157*cdf0e10cSrcweir Text [ en-US ] = "~Delete" ; 158*cdf0e10cSrcweir TabStop = TRUE ; 159*cdf0e10cSrcweir }; 160*cdf0e10cSrcweir HelpButton BTN_HELP 161*cdf0e10cSrcweir { 162*cdf0e10cSrcweir Pos = MAP_APPFONT ( 166 , 43 ) ; 163*cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 164*cdf0e10cSrcweir TabStop = TRUE ; 165*cdf0e10cSrcweir }; 166*cdf0e10cSrcweir MoreButton BTN_MORE 167*cdf0e10cSrcweir { 168*cdf0e10cSrcweir HelpID = "sc:MoreButton:RID_SCDLG_DBNAMES:BTN_MORE"; 169*cdf0e10cSrcweir Pos = MAP_APPFONT ( 166 , 122 ) ; 170*cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 171*cdf0e10cSrcweir TabStop = TRUE ; 172*cdf0e10cSrcweir MapUnit = MAP_APPFONT ; 173*cdf0e10cSrcweir Delta = 93 ; 174*cdf0e10cSrcweir }; 175*cdf0e10cSrcweir String STR_ADD 176*cdf0e10cSrcweir { 177*cdf0e10cSrcweir Text [ en-US ] = "~Add" ; 178*cdf0e10cSrcweir }; 179*cdf0e10cSrcweir String STR_MODIFY 180*cdf0e10cSrcweir { 181*cdf0e10cSrcweir Text [ en-US ] = "M~odify" ; 182*cdf0e10cSrcweir }; 183*cdf0e10cSrcweir String STR_DB_INVALID 184*cdf0e10cSrcweir { 185*cdf0e10cSrcweir Text [ en-US ] = "Invalid range" ; 186*cdf0e10cSrcweir }; 187*cdf0e10cSrcweir}; 188*cdf0e10cSrcweir 189*cdf0e10cSrcweir 190*cdf0e10cSrcweir 191*cdf0e10cSrcweir 192*cdf0e10cSrcweir 193*cdf0e10cSrcweir 194*cdf0e10cSrcweir 195*cdf0e10cSrcweir 196*cdf0e10cSrcweir 197*cdf0e10cSrcweir 198*cdf0e10cSrcweir 199*cdf0e10cSrcweir 200*cdf0e10cSrcweir 201*cdf0e10cSrcweir 202*cdf0e10cSrcweir 203*cdf0e10cSrcweir 204*cdf0e10cSrcweir 205*cdf0e10cSrcweir 206*cdf0e10cSrcweir 207*cdf0e10cSrcweir 208*cdf0e10cSrcweir 209