xref: /AOO41X/main/sc/source/ui/src/solvrdlg.src (revision 82177cdbfc5fbca7e9a45fdfffbbaeb8a0d1d1a3)
1*82177cdbSAndrew Rist/**************************************************************
2cdf0e10cSrcweir *
3*82177cdbSAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
4*82177cdbSAndrew Rist * or more contributor license agreements.  See the NOTICE file
5*82177cdbSAndrew Rist * distributed with this work for additional information
6*82177cdbSAndrew Rist * regarding copyright ownership.  The ASF licenses this file
7*82177cdbSAndrew Rist * to you under the Apache License, Version 2.0 (the
8*82177cdbSAndrew Rist * "License"); you may not use this file except in compliance
9*82177cdbSAndrew Rist * with the License.  You may obtain a copy of the License at
10cdf0e10cSrcweir *
11*82177cdbSAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12cdf0e10cSrcweir *
13*82177cdbSAndrew Rist * Unless required by applicable law or agreed to in writing,
14*82177cdbSAndrew Rist * software distributed under the License is distributed on an
15*82177cdbSAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*82177cdbSAndrew Rist * KIND, either express or implied.  See the License for the
17*82177cdbSAndrew Rist * specific language governing permissions and limitations
18*82177cdbSAndrew Rist * under the License.
19cdf0e10cSrcweir *
20*82177cdbSAndrew Rist *************************************************************/
21*82177cdbSAndrew Rist
22*82177cdbSAndrew Rist
23cdf0e10cSrcweir
24cdf0e10cSrcweir#include "solvrdlg.hrc"
25cdf0e10cSrcweirModelessDialog RID_SCDLG_SOLVER
26cdf0e10cSrcweir{
27cdf0e10cSrcweir    OutputSize = TRUE ;
28cdf0e10cSrcweir    HelpId = CMD_SID_OPENDLG_SOLVE ;
29cdf0e10cSrcweir    Hide = TRUE ;
30cdf0e10cSrcweir    SVLook = TRUE ;
31cdf0e10cSrcweir    Size = MAP_APPFONT ( 222 , 64 ) ;
32cdf0e10cSrcweir    Text [ en-US ] = "Goal Seek" ;
33cdf0e10cSrcweir    Moveable = TRUE ;
34cdf0e10cSrcweir    Closeable = FALSE ;
35cdf0e10cSrcweir    FixedText FT_FORMULACELL
36cdf0e10cSrcweir    {
37cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12 , 16 ) ;
38cdf0e10cSrcweir        Size = MAP_APPFONT ( 50 , 8 ) ;
39cdf0e10cSrcweir        Text [ en-US ] = "~Formula cell" ;
40cdf0e10cSrcweir    };
41cdf0e10cSrcweir    Edit ED_FORMULACELL
42cdf0e10cSrcweir    {
43cdf0e10cSrcweir        HelpID = "sc:Edit:RID_SCDLG_SOLVER:ED_FORMULACELL";
44cdf0e10cSrcweir        Border = TRUE ;
45cdf0e10cSrcweir        Pos = MAP_APPFONT ( 64 , 14 ) ;
46cdf0e10cSrcweir        Size = MAP_APPFONT ( 79 , 12 ) ;
47cdf0e10cSrcweir        TabStop = TRUE ;
48cdf0e10cSrcweir    };
49cdf0e10cSrcweir    ImageButton RB_FORMULACELL
50cdf0e10cSrcweir    {
51cdf0e10cSrcweir        HelpID = "sc:ImageButton:RID_SCDLG_SOLVER:RB_FORMULACELL";
52cdf0e10cSrcweir        Pos = MAP_APPFONT ( 145 , 13 ) ;
53cdf0e10cSrcweir        Size = MAP_APPFONT ( 13 , 15 ) ;
54cdf0e10cSrcweir        TabStop = FALSE ;
55cdf0e10cSrcweir        QuickHelpText [ en-US ] = "Shrink" ;
56cdf0e10cSrcweir    };
57cdf0e10cSrcweir    FixedText FT_TARGETVAL
58cdf0e10cSrcweir    {
59cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12 , 32 ) ;
60cdf0e10cSrcweir        Size = MAP_APPFONT ( 50 , 8 ) ;
61cdf0e10cSrcweir        Text [ en-US ] = "Target ~value" ;
62cdf0e10cSrcweir    };
63cdf0e10cSrcweir    Edit ED_TARGETVAL
64cdf0e10cSrcweir    {
65cdf0e10cSrcweir        HelpID = "sc:Edit:RID_SCDLG_SOLVER:ED_TARGETVAL";
66cdf0e10cSrcweir        Border = TRUE ;
67cdf0e10cSrcweir        Pos = MAP_APPFONT ( 64 , 30 ) ;
68cdf0e10cSrcweir        Size = MAP_APPFONT ( 93 , 12 ) ;
69cdf0e10cSrcweir        TabStop = TRUE ;
70cdf0e10cSrcweir    };
71cdf0e10cSrcweir    FixedText FT_VARCELL
72cdf0e10cSrcweir    {
73cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12 , 48 ) ;
74cdf0e10cSrcweir        Size = MAP_APPFONT ( 50 , 8 ) ;
75cdf0e10cSrcweir        Text [ en-US ] = "Variable ~cell" ;
76cdf0e10cSrcweir    };
77cdf0e10cSrcweir    Edit ED_VARCELL
78cdf0e10cSrcweir    {
79cdf0e10cSrcweir        HelpID = "sc:Edit:RID_SCDLG_SOLVER:ED_VARCELL";
80cdf0e10cSrcweir        Border = TRUE ;
81cdf0e10cSrcweir        Pos = MAP_APPFONT ( 64 , 46 ) ;
82cdf0e10cSrcweir        Size = MAP_APPFONT ( 79 , 12 ) ;
83cdf0e10cSrcweir        TabStop = TRUE ;
84cdf0e10cSrcweir    };
85cdf0e10cSrcweir    ImageButton RB_VARCELL
86cdf0e10cSrcweir    {
87cdf0e10cSrcweir        HelpID = "sc:ImageButton:RID_SCDLG_SOLVER:RB_VARCELL";
88cdf0e10cSrcweir        Pos = MAP_APPFONT ( 145 , 45 ) ;
89cdf0e10cSrcweir        Size = MAP_APPFONT ( 13 , 15 ) ;
90cdf0e10cSrcweir        TabStop = FALSE ;
91cdf0e10cSrcweir        QuickHelpText [ en-US ] = "Shrink" ;
92cdf0e10cSrcweir    };
93cdf0e10cSrcweir    FixedLine FL_VARIABLES
94cdf0e10cSrcweir    {
95cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6 , 3 ) ;
96cdf0e10cSrcweir        Size = MAP_APPFONT ( 154 , 8 ) ;
97cdf0e10cSrcweir        Text [ en-US ] = "Default settings" ;
98cdf0e10cSrcweir    };
99cdf0e10cSrcweir    OKButton BTN_OK
100cdf0e10cSrcweir    {
101cdf0e10cSrcweir        DefButton = TRUE ;
102cdf0e10cSrcweir        Pos = MAP_APPFONT ( 166 , 6 ) ;
103cdf0e10cSrcweir        Size = MAP_APPFONT ( 50 , 14 ) ;
104cdf0e10cSrcweir        TabStop = TRUE ;
105cdf0e10cSrcweir    };
106cdf0e10cSrcweir    CancelButton BTN_CANCEL
107cdf0e10cSrcweir    {
108cdf0e10cSrcweir        Pos = MAP_APPFONT ( 166 , 23 ) ;
109cdf0e10cSrcweir        Size = MAP_APPFONT ( 50 , 14 ) ;
110cdf0e10cSrcweir        TabStop = TRUE ;
111cdf0e10cSrcweir    };
112cdf0e10cSrcweir    HelpButton BTN_HELP
113cdf0e10cSrcweir    {
114cdf0e10cSrcweir        Pos = MAP_APPFONT ( 166 , 43 ) ;
115cdf0e10cSrcweir        Size = MAP_APPFONT ( 50 , 14 ) ;
116cdf0e10cSrcweir        TabStop = TRUE ;
117cdf0e10cSrcweir    };
118cdf0e10cSrcweir    String STR_INVALIDVAL
119cdf0e10cSrcweir    {
120cdf0e10cSrcweir        /* ### ACHTUNG: Neuer Text in Resource? Unzul�ssiger Zielwert! : Unzul�ssiger Zielwert! */
121cdf0e10cSrcweir        Text [ en-US ] = "Invalid target value." ;
122cdf0e10cSrcweir    };
123cdf0e10cSrcweir    String STR_INVALIDVAR
124cdf0e10cSrcweir    {
125cdf0e10cSrcweir        Text [ en-US ] = "Undefined name for variable cell." ;
126cdf0e10cSrcweir    };
127cdf0e10cSrcweir    String STR_INVALIDFORM
128cdf0e10cSrcweir    {
129cdf0e10cSrcweir        Text [ en-US ] = "Undefined name as formula cell." ;
130cdf0e10cSrcweir    };
131cdf0e10cSrcweir    String STR_NOFORMULA
132cdf0e10cSrcweir    {
133cdf0e10cSrcweir        /* ### ACHTUNG: Neuer Text in Resource? Zelle mu� eine Formel enthalten! : Zelle mu� eine Formel enthalten! */
134cdf0e10cSrcweir        Text [ en-US ] = "Cell must contain a formula." ;
135cdf0e10cSrcweir    };
136cdf0e10cSrcweir};
137