xref: /trunk/main/sc/source/ui/src/solvrdlg.src (revision 6cb06142790376a2c58e6392182eb071420a4221)
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 "solvrdlg.hrc"
25ModelessDialog RID_SCDLG_SOLVER
26{
27    OutputSize = TRUE ;
28    HelpId = CMD_SID_OPENDLG_SOLVE ;
29    Hide = TRUE ;
30    SVLook = TRUE ;
31    Size = MAP_APPFONT ( 222, 64 ) ;
32    Text [ en-US ] = "Goal Seek" ;
33    Moveable = TRUE ;
34    Closeable = FALSE ;
35    FixedText FT_FORMULACELL
36    {
37        Pos = MAP_APPFONT ( 12, 16 ) ;
38        Size = MAP_APPFONT ( 50, 8 ) ;
39        Text [ en-US ] = "~Formula cell" ;
40    };
41    Edit ED_FORMULACELL
42    {
43        HelpID = "sc:Edit:RID_SCDLG_SOLVER:ED_FORMULACELL" ;
44        Border = TRUE ;
45        Pos = MAP_APPFONT ( 64, 14 ) ;
46        Size = MAP_APPFONT ( 79, 12 ) ;
47        TabStop = TRUE ;
48    };
49    ImageButton RB_FORMULACELL
50    {
51        HelpID = "sc:ImageButton:RID_SCDLG_SOLVER:RB_FORMULACELL" ;
52        Pos = MAP_APPFONT ( 145, 13 ) ;
53        Size = MAP_APPFONT ( 13, 15 ) ;
54        TabStop = FALSE ;
55        QuickHelpText [ en-US ] = "Shrink" ;
56    };
57    FixedText FT_TARGETVAL
58    {
59        Pos = MAP_APPFONT ( 12, 32 ) ;
60        Size = MAP_APPFONT ( 50, 8 ) ;
61        Text [ en-US ] = "Target ~value" ;
62    };
63    Edit ED_TARGETVAL
64    {
65        HelpID = "sc:Edit:RID_SCDLG_SOLVER:ED_TARGETVAL" ;
66        Border = TRUE ;
67        Pos = MAP_APPFONT ( 64, 30 ) ;
68        Size = MAP_APPFONT ( 93, 12 ) ;
69        TabStop = TRUE ;
70    };
71    FixedText FT_VARCELL
72    {
73        Pos = MAP_APPFONT ( 12, 48 ) ;
74        Size = MAP_APPFONT ( 50, 8 ) ;
75        Text [ en-US ] = "Variable ~cell" ;
76    };
77    Edit ED_VARCELL
78    {
79        HelpID = "sc:Edit:RID_SCDLG_SOLVER:ED_VARCELL" ;
80        Border = TRUE ;
81        Pos = MAP_APPFONT ( 64, 46 ) ;
82        Size = MAP_APPFONT ( 79, 12 ) ;
83        TabStop = TRUE ;
84    };
85    ImageButton RB_VARCELL
86    {
87        HelpID = "sc:ImageButton:RID_SCDLG_SOLVER:RB_VARCELL" ;
88        Pos = MAP_APPFONT ( 145, 45 ) ;
89        Size = MAP_APPFONT ( 13, 15 ) ;
90        TabStop = FALSE ;
91        QuickHelpText [ en-US ] = "Shrink" ;
92    };
93    FixedLine FL_VARIABLES
94    {
95        Pos = MAP_APPFONT ( 6, 3 ) ;
96        Size = MAP_APPFONT ( 154, 8 ) ;
97        Text [ en-US ] = "Default settings" ;
98    };
99    OKButton BTN_OK
100    {
101        DefButton = TRUE ;
102        Pos = MAP_APPFONT ( 166, 6 ) ;
103        Size = MAP_APPFONT ( 50, 14 ) ;
104        TabStop = TRUE ;
105    };
106    CancelButton BTN_CANCEL
107    {
108        Pos = MAP_APPFONT ( 166, 23 ) ;
109        Size = MAP_APPFONT ( 50, 14 ) ;
110        TabStop = TRUE ;
111    };
112    HelpButton BTN_HELP
113    {
114        Pos = MAP_APPFONT ( 166, 43 ) ;
115        Size = MAP_APPFONT ( 50, 14 ) ;
116        TabStop = TRUE ;
117    };
118    String STR_INVALIDVAL
119    {
120        Text [ en-US ] = "Invalid target value." ;
121    };
122    String STR_INVALIDVAR
123    {
124        Text [ en-US ] = "Undefined name for variable cell." ;
125    };
126    String STR_INVALIDFORM
127    {
128        Text [ en-US ] = "Undefined name as formula cell." ;
129    };
130    String STR_NOFORMULA
131    {
132        Text [ en-US ] = "Cell must contain a formula." ;
133    };
134};
135
136// ********************************************************************** EOF
137