/************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite * * This file is part of OpenOffice.org. * * OpenOffice.org is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License version 3 * only, as published by the Free Software Foundation. * * OpenOffice.org is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License version 3 for more details * (a copy is included in the LICENSE file that accompanied this code). * * You should have received a copy of the GNU Lesser General Public License * version 3 along with OpenOffice.org. If not, see * * for a copy of the LGPLv3 License. * ************************************************************************/ #ifndef _DBAUI_PARAMDIALOG_HRC_ #include "paramdialog.hrc" #endif #ifndef _DBU_DLG_HRC_ #include "dbu_dlg.hrc" #endif #define LIST_WIDTH 100 #define LIST_HEIGHT 50 ModalDialog DLG_PARAMETERS { OutputSize = TRUE ; SVLook = TRUE ; Size = MAP_APPFONT ( 6 + LIST_WIDTH + 3 + 6 + BUTTON_WIDTH + 6, 98 ) ; Moveable = TRUE ; Closeable = TRUE ; FixedLine FL_PARAMS { Pos = MAP_APPFONT ( 4 , 3 ) ; Size = MAP_APPFONT ( 3 + LIST_WIDTH + 3 , 8 ) ; Text [ en-US ] = "~Parameters"; }; ListBox LB_ALLPARAMS { Pos = MAP_APPFONT ( 7 , 12 ) ; Size = MAP_APPFONT ( LIST_WIDTH , LIST_HEIGHT ) ; Border = TRUE; SVLook = TRUE; }; FixedText FT_VALUE { Pos = MAP_APPFONT ( 7 , 12 + LIST_HEIGHT + 4 ) ; Size = MAP_APPFONT ( LIST_WIDTH , 8 ) ; Text [ en-US ] = "~Value"; }; Edit ET_PARAM { Border = TRUE ; Pos = MAP_APPFONT ( 7 , 12 + LIST_HEIGHT + 4 + 8 + 3 ) ; Size = MAP_APPFONT ( LIST_WIDTH , 12 ) ; TabStop = TRUE ; }; PushButton BT_TRAVELNEXT { Pos = MAP_APPFONT ( 4 + 3 + LIST_WIDTH + 3 + 6 , 12 + LIST_HEIGHT + 4 + 8 + 3 + ( 12 - BUTTON_HEIGHT ) / 2) ; Size = MAP_APPFONT ( BUTTON_WIDTH , BUTTON_HEIGHT ) ; TabStop = TRUE ; Text [ en-US ] = "~Next"; }; OKButton BT_OK { Pos = MAP_APPFONT ( 4 + 3 + LIST_WIDTH + 3 + 6 , 3 ) ; Size = MAP_APPFONT ( BUTTON_WIDTH , BUTTON_HEIGHT ) ; TabStop = TRUE ; DefButton = TRUE ; }; CancelButton BT_CANCEL { Pos = MAP_APPFONT ( 4 + 3 + LIST_WIDTH + 3 + 6 , 3 + BUTTON_HEIGHT + 3 ) ; Size = MAP_APPFONT ( BUTTON_WIDTH , BUTTON_HEIGHT ) ; TabStop = TRUE ; }; Text [ en-US ] = "Parameter Input" ; String STR_COULD_NOT_CONVERT_PARAM { Text [ en-US ] = "The entry could not be converted to a valid value for the \"$name$\"column"; }; };