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 "solveroptions.hrc" 29 30ModalDialog RID_SCDLG_SOLVEROPTIONS 31{ 32 OutputSize = TRUE ; 33 HelpId = HID_SC_SOLVEROPTIONS ; 34 SVLook = TRUE ; 35 Size = MAP_APPFONT ( 218 , 156 ) ; 36 Moveable = TRUE ; 37 FixedText FT_ENGINE 38 { 39 Pos = MAP_APPFONT ( 6 , 8 ) ; 40 Size = MAP_APPFONT ( 59 , 8 ) ; 41 Text [ en-US ] = "Solver engine" ; 42 }; 43 ListBox LB_ENGINE 44 { 45 HelpID = "sc:ListBox:RID_SCDLG_SOLVEROPTIONS:LB_ENGINE"; 46 Border = TRUE ; 47 Pos = MAP_APPFONT ( 67 , 6 ) ; 48 Size = MAP_APPFONT ( 145 , 90 ) ; 49 TabStop = TRUE ; 50 DropDown = TRUE ; 51 }; 52 FixedText FT_SETTINGS 53 { 54 Pos = MAP_APPFONT ( 6 , 24 ) ; 55 Size = MAP_APPFONT ( 156 , 8 ) ; 56 Text [ en-US ] = "Settings:" ; 57 }; 58 Control LB_SETTINGS 59 { 60 Border = TRUE ; 61 Pos = MAP_APPFONT ( 6 , 35 ) ; 62 Size = MAP_APPFONT ( 206 , 67 ) ; 63 TabStop = TRUE ; 64 }; 65 PushButton BTN_EDIT 66 { 67 HelpID = "sc:PushButton:RID_SCDLG_SOLVEROPTIONS:BTN_EDIT"; 68 Pos = MAP_APPFONT ( 6 , 108 ) ; 69 Size = MAP_APPFONT ( 50 , 14 ) ; 70 TabStop = TRUE ; 71 Text [ en-US ] = "Edit..." ; 72 }; 73 FixedLine FL_BUTTONS 74 { 75 Pos = MAP_APPFONT ( 0 , 125 ) ; 76 Size = MAP_APPFONT ( 218 , 8 ) ; 77 }; 78 HelpButton BTN_HELP 79 { 80 Pos = MAP_APPFONT ( 6 , 136 ) ; 81 Size = MAP_APPFONT ( 50 , 14 ) ; 82 TabStop = TRUE ; 83 }; 84 OKButton BTN_OK 85 { 86 Pos = MAP_APPFONT ( 106 , 136 ) ; 87 Size = MAP_APPFONT ( 50 , 14 ) ; 88 TabStop = TRUE ; 89 DefButton = TRUE ; 90 }; 91 CancelButton BTN_CANCEL 92 { 93 Pos = MAP_APPFONT ( 162 , 136 ) ; 94 Size = MAP_APPFONT ( 50 , 14 ) ; 95 TabStop = TRUE ; 96 }; 97 Text [ en-US ] = "Options" ; 98}; 99 100 101ModalDialog RID_SCDLG_SOLVER_INTEGER 102{ 103 OutputSize = TRUE ; 104 HelpId = HID_SC_SOLVER_INTEGER ; 105 SVLook = TRUE ; 106 Size = MAP_APPFONT ( 118 , 76 ) ; 107 Moveable = TRUE ; 108 FixedText FT_OPTIONNAME 109 { 110 Pos = MAP_APPFONT ( 6 , 8 ) ; 111 Size = MAP_APPFONT ( 106 , 16 ) ; 112 WordBreak = TRUE ; 113 // text is dynamic 114 }; 115 NumericField NF_VALUE 116 { 117 HelpID = "sc:NumericField:RID_SCDLG_SOLVER_INTEGER:NF_VALUE"; 118 Border = TRUE ; 119 Pos = MAP_APPFONT ( 6 , 27 ) ; 120 Size = MAP_APPFONT ( 30 , 12 ) ; 121 TabStop = TRUE ; 122 Spin = TRUE ; 123 SpinSize = 1 ; 124 Repeat = TRUE ; 125 Minimum = -2147483648 ; 126 Maximum = 2147483647 ; 127 First = 0 ; 128 Last = 100 ; 129 }; 130 FixedLine FL_BUTTONS 131 { 132 Pos = MAP_APPFONT ( 0 , 45 ) ; 133 Size = MAP_APPFONT ( 118 , 8 ) ; 134 }; 135 OKButton BTN_OK 136 { 137 Pos = MAP_APPFONT ( 6 , 56 ) ; 138 Size = MAP_APPFONT ( 50 , 14 ) ; 139 TabStop = TRUE ; 140 DefButton = TRUE ; 141 }; 142 CancelButton BTN_CANCEL 143 { 144 Pos = MAP_APPFONT ( 62 , 56 ) ; 145 Size = MAP_APPFONT ( 50 , 14 ) ; 146 TabStop = TRUE ; 147 }; 148 Text [ en-US ] = "Edit Setting" ; 149}; 150 151ModalDialog RID_SCDLG_SOLVER_DOUBLE 152{ 153 OutputSize = TRUE ; 154 HelpId = HID_SC_SOLVER_DOUBLE ; 155 SVLook = TRUE ; 156 Size = MAP_APPFONT ( 118 , 76 ) ; 157 Moveable = TRUE ; 158 FixedText FT_OPTIONNAME 159 { 160 Pos = MAP_APPFONT ( 6 , 8 ) ; 161 Size = MAP_APPFONT ( 106 , 16 ) ; 162 WordBreak = TRUE ; 163 // text is dynamic 164 }; 165 Edit ED_VALUE 166 { 167 HelpID = "sc:Edit:RID_SCDLG_SOLVER_DOUBLE:ED_VALUE"; 168 Border = TRUE ; 169 Pos = MAP_APPFONT ( 6 , 27 ) ; 170 Size = MAP_APPFONT ( 50 , 12 ) ; 171 TabStop = TRUE ; 172 }; 173 FixedLine FL_BUTTONS 174 { 175 Pos = MAP_APPFONT ( 0 , 45 ) ; 176 Size = MAP_APPFONT ( 118 , 8 ) ; 177 }; 178 OKButton BTN_OK 179 { 180 Pos = MAP_APPFONT ( 6 , 56 ) ; 181 Size = MAP_APPFONT ( 50 , 14 ) ; 182 TabStop = TRUE ; 183 DefButton = TRUE ; 184 }; 185 CancelButton BTN_CANCEL 186 { 187 Pos = MAP_APPFONT ( 62 , 56 ) ; 188 Size = MAP_APPFONT ( 50 , 14 ) ; 189 TabStop = TRUE ; 190 }; 191 Text [ en-US ] = "Edit Setting" ; 192}; 193 194