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 24#include "fldui.hrc" 25#include "DropDownFieldDialog.hrc" 26#include "helpid.h" 27ModalDialog DLG_FLD_DROPDOWN 28{ 29 HelpID = HID_FLD_DROPDOWN ; 30 OutputSize = TRUE ; 31 Hide = TRUE ; 32 SVLook = TRUE ; 33 Size = MAP_APPFONT ( 194 , 119 ) ; 34 Text [ en-US ] = "Choose Item: " ; 35 Moveable = TRUE ; 36 FixedLine FL_ITEMS 37 { 38 Pos = MAP_APPFONT ( 6 , 3 ) ; 39 Size = MAP_APPFONT ( 127 , 8 ) ; 40 Text [ en-US ] = "Edit" ; 41 }; 42 ListBox LB_LISTITEMS 43 { 44 HelpID = "sw:ListBox:DLG_FLD_DROPDOWN:LB_LISTITEMS"; 45 Border = TRUE ; 46 Pos = MAP_APPFONT ( 12 , 14 ) ; 47 Size = MAP_APPFONT ( 115 , 99 ) ; 48 TabStop = TRUE ; 49 Sort = FALSE ; 50 AutoHScroll = TRUE ; 51 }; 52 OKButton PB_OK 53 { 54 Pos = MAP_APPFONT ( 139 , 6 ) ; 55 Size = MAP_APPFONT ( 50 , 14 ) ; 56 TabStop = TRUE ; 57 DefButton = TRUE ; 58 }; 59 CancelButton PB_CANCEL 60 { 61 Pos = MAP_APPFONT ( 139 , 23 ) ; 62 Size = MAP_APPFONT ( 50 , 14 ) ; 63 TabStop = TRUE ; 64 }; 65 PushButton PB_NEXT 66 { 67 HelpID = "sw:PushButton:DLG_FLD_DROPDOWN:PB_NEXT"; 68 Pos = MAP_APPFONT ( 139 , 40 ) ; 69 Size = MAP_APPFONT ( 50 , 14 ) ; 70 TabStop = TRUE ; 71 Hide = TRUE ; 72 Text [ en-US ] = "~Next" ; 73 }; 74 HelpButton PB_HELP 75 { 76 Pos = MAP_APPFONT ( 139 , 60 ) ; 77 Size = MAP_APPFONT ( 50 , 14 ) ; 78 TabStop = TRUE ; 79 }; 80 PushButton PB_EDIT 81 { 82 HelpID = "sw:PushButton:DLG_FLD_DROPDOWN:PB_EDIT"; 83 Pos = MAP_APPFONT ( 139 , 99 ) ; 84 Size = MAP_APPFONT ( 50 , 14 ) ; 85 TabStop = TRUE ; 86 Text [ en-US ] = "~Edit" ; 87 }; 88 89}; 90 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