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 "fldui.hrc" 29#include "DropDownFieldDialog.hrc" 30#include "helpid.h" 31ModalDialog DLG_FLD_DROPDOWN 32{ 33 HelpID = HID_FLD_DROPDOWN ; 34 OutputSize = TRUE ; 35 Hide = TRUE ; 36 SVLook = TRUE ; 37 Size = MAP_APPFONT ( 194 , 119 ) ; 38 Text [ en-US ] = "Choose Item: " ; 39 Moveable = TRUE ; 40 FixedLine FL_ITEMS 41 { 42 Pos = MAP_APPFONT ( 6 , 3 ) ; 43 Size = MAP_APPFONT ( 127 , 8 ) ; 44 Text [ en-US ] = "Edit" ; 45 }; 46 ListBox LB_LISTITEMS 47 { 48 HelpID = "sw:ListBox:DLG_FLD_DROPDOWN:LB_LISTITEMS"; 49 Border = TRUE ; 50 Pos = MAP_APPFONT ( 12 , 14 ) ; 51 Size = MAP_APPFONT ( 115 , 99 ) ; 52 TabStop = TRUE ; 53 Sort = FALSE ; 54 AutoHScroll = TRUE ; 55 }; 56 OKButton PB_OK 57 { 58 Pos = MAP_APPFONT ( 139 , 6 ) ; 59 Size = MAP_APPFONT ( 50 , 14 ) ; 60 TabStop = TRUE ; 61 DefButton = TRUE ; 62 }; 63 CancelButton PB_CANCEL 64 { 65 Pos = MAP_APPFONT ( 139 , 23 ) ; 66 Size = MAP_APPFONT ( 50 , 14 ) ; 67 TabStop = TRUE ; 68 }; 69 PushButton PB_NEXT 70 { 71 HelpID = "sw:PushButton:DLG_FLD_DROPDOWN:PB_NEXT"; 72 Pos = MAP_APPFONT ( 139 , 40 ) ; 73 Size = MAP_APPFONT ( 50 , 14 ) ; 74 TabStop = TRUE ; 75 Hide = TRUE ; 76 Text [ en-US ] = "~Next" ; 77 }; 78 HelpButton PB_HELP 79 { 80 Pos = MAP_APPFONT ( 139 , 60 ) ; 81 Size = MAP_APPFONT ( 50 , 14 ) ; 82 TabStop = TRUE ; 83 }; 84 PushButton PB_EDIT 85 { 86 HelpID = "sw:PushButton:DLG_FLD_DROPDOWN:PB_EDIT"; 87 Pos = MAP_APPFONT ( 139 , 99 ) ; 88 Size = MAP_APPFONT ( 50 , 14 ) ; 89 TabStop = TRUE ; 90 Text [ en-US ] = "~Edit" ; 91 }; 92 93}; 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126