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