xref: /aoo41x/main/formula/source/ui/dlg/parawin.src (revision 156c3fdf)
1*156c3fdfSAndrew Rist/**************************************************************
2cdf0e10cSrcweir *
3*156c3fdfSAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
4*156c3fdfSAndrew Rist * or more contributor license agreements.  See the NOTICE file
5*156c3fdfSAndrew Rist * distributed with this work for additional information
6*156c3fdfSAndrew Rist * regarding copyright ownership.  The ASF licenses this file
7*156c3fdfSAndrew Rist * to you under the Apache License, Version 2.0 (the
8*156c3fdfSAndrew Rist * "License"); you may not use this file except in compliance
9*156c3fdfSAndrew Rist * with the License.  You may obtain a copy of the License at
10*156c3fdfSAndrew Rist *
11*156c3fdfSAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12*156c3fdfSAndrew Rist *
13*156c3fdfSAndrew Rist * Unless required by applicable law or agreed to in writing,
14*156c3fdfSAndrew Rist * software distributed under the License is distributed on an
15*156c3fdfSAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*156c3fdfSAndrew Rist * KIND, either express or implied.  See the License for the
17*156c3fdfSAndrew Rist * specific language governing permissions and limitations
18*156c3fdfSAndrew Rist * under the License.
19*156c3fdfSAndrew Rist *
20*156c3fdfSAndrew Rist *************************************************************/
21*156c3fdfSAndrew Rist
22*156c3fdfSAndrew Rist
23cdf0e10cSrcweir
24cdf0e10cSrcweir#include "parawin.hrc"
25cdf0e10cSrcweir#include "ForResId.hrc"
26cdf0e10cSrcweir#include "helpids.hrc"
27cdf0e10cSrcweir
28cdf0e10cSrcweir#define STD_MASKCOLOR Color { Red=0xFFFF; Green=0x0000; Blue=0xFFFF; }
29cdf0e10cSrcweir //---------------------------------------------------------------------------
30cdf0e10cSrcweir
31cdf0e10cSrcweir#define FT_ARGBLOCK( y )					\
32cdf0e10cSrcweir    Pos = MAP_APPFONT (6 , y ) ; \
33cdf0e10cSrcweir    Size = MAP_APPFONT ( 74 , 8 ) ; \
34cdf0e10cSrcweir    Right = TRUE ;
35cdf0e10cSrcweir
36cdf0e10cSrcweir#define FXBUTTONBLOCK( y )				\
37cdf0e10cSrcweir    Pos = MAP_APPFONT (83 , y-1 ) ; \
38cdf0e10cSrcweir    Size = MAP_APPFONT ( 13 , 15 ) ; \
39cdf0e10cSrcweir    TabStop = TRUE ; \
40cdf0e10cSrcweir    ButtonImage = Image\
41cdf0e10cSrcweir    {\
42cdf0e10cSrcweir        ImageBitmap = Bitmap\
43cdf0e10cSrcweir        {\
44cdf0e10cSrcweir            File = "fx.bmp" ; \
45cdf0e10cSrcweir        };\
46cdf0e10cSrcweir        MaskColor = STD_MASKCOLOR;\
47cdf0e10cSrcweir    };
48cdf0e10cSrcweir
49cdf0e10cSrcweir#define ED_ARGBLOCK( y )				\
50cdf0e10cSrcweir		Border = TRUE;					\
51cdf0e10cSrcweir		Pos = MAP_APPFONT( 98, y );		\
52cdf0e10cSrcweir		Size = MAP_APPFONT( 66, 12 );	\
53cdf0e10cSrcweir		TabStop = TRUE;
54cdf0e10cSrcweir
55cdf0e10cSrcweir#define RB_ARGBLOCK( y )				\
56cdf0e10cSrcweir    Pos = MAP_APPFONT ( 166 , y-1 ) ; \
57cdf0e10cSrcweir    Size = MAP_APPFONT ( 13 , 15 ) ; \
58cdf0e10cSrcweir    TabStop = FALSE ; 	\
59cdf0e10cSrcweir	QuickHelpText [ en-US ] = "Select";	\
60cdf0e10cSrcweir
61cdf0e10cSrcweir //---------------------------------------------------------------------------
62cdf0e10cSrcweir
63cdf0e10cSrcweir //	jetzt alles zusammen
64cdf0e10cSrcweir
65cdf0e10cSrcweirTabPage RID_FORMULATAB_PARAMETER
66cdf0e10cSrcweir{
67cdf0e10cSrcweir    HelpID = "formula:TabPage:RID_FORMULATAB_PARAMETER";
68cdf0e10cSrcweir	Border	= FALSE;
69cdf0e10cSrcweir	Size	= MAP_APPFONT( 203, 128 );
70cdf0e10cSrcweir	DialogControl        = TRUE;
71cdf0e10cSrcweir	SVLook               = TRUE;
72cdf0e10cSrcweir
73cdf0e10cSrcweir	FixedText FT_EDITDESC
74cdf0e10cSrcweir	{
75cdf0e10cSrcweir		Pos = MAP_APPFONT (3 , 6 ) ;
76cdf0e10cSrcweir		Size = MAP_APPFONT ( 198 , 20 ) ;
77cdf0e10cSrcweir		WordBreak = TRUE ;
78cdf0e10cSrcweir		Text [ en-US ] = "Function not known";
79cdf0e10cSrcweir	};
80cdf0e10cSrcweir
81cdf0e10cSrcweir	FixedText FT_PARNAME
82cdf0e10cSrcweir	{
83cdf0e10cSrcweir		Pos = MAP_APPFONT ( 3, 29) ;
84cdf0e10cSrcweir		Size = MAP_APPFONT ( 198 , 10 ) ;
85cdf0e10cSrcweir	};
86cdf0e10cSrcweir	FixedText FT_PARDESC
87cdf0e10cSrcweir	{
88cdf0e10cSrcweir		Pos = MAP_APPFONT ( 3, 42 ) ;
89cdf0e10cSrcweir		Size = MAP_APPFONT ( 198 , 20 ) ;
90cdf0e10cSrcweir		WordBreak = TRUE ;
91cdf0e10cSrcweir	};
92cdf0e10cSrcweir
93cdf0e10cSrcweir	FixedText FT_ARG1 { FT_ARGBLOCK (  66 ) };
94cdf0e10cSrcweir	FixedText FT_ARG2 { FT_ARGBLOCK (  81 ) };
95cdf0e10cSrcweir	FixedText FT_ARG3 { FT_ARGBLOCK (  96 ) };
96cdf0e10cSrcweir	FixedText FT_ARG4 { FT_ARGBLOCK ( 111 ) };
97cdf0e10cSrcweir
98cdf0e10cSrcweir	ImageButton BTN_FX1
99cdf0e10cSrcweir	{
100cdf0e10cSrcweir        HelpId=HID_FORMULA_FAP_BTN_FX1;
101cdf0e10cSrcweir		FXBUTTONBLOCK (  64 )
102cdf0e10cSrcweir	};
103cdf0e10cSrcweir	ImageButton BTN_FX2
104cdf0e10cSrcweir	{
105cdf0e10cSrcweir        HelpId=HID_FORMULA_FAP_BTN_FX2;
106cdf0e10cSrcweir		FXBUTTONBLOCK (  79 )
107cdf0e10cSrcweir	};
108cdf0e10cSrcweir
109cdf0e10cSrcweir	ImageButton BTN_FX3
110cdf0e10cSrcweir	{
111cdf0e10cSrcweir        HelpId=HID_FORMULA_FAP_BTN_FX3;
112cdf0e10cSrcweir		FXBUTTONBLOCK (  94 )
113cdf0e10cSrcweir	};
114cdf0e10cSrcweir	ImageButton BTN_FX4
115cdf0e10cSrcweir	{
116cdf0e10cSrcweir        HelpId=HID_FORMULA_FAP_BTN_FX4;
117cdf0e10cSrcweir		FXBUTTONBLOCK ( 109 )
118cdf0e10cSrcweir	};
119cdf0e10cSrcweir	Edit ED_ARG1 { ED_ARGBLOCK (  64 )
120cdf0e10cSrcweir	    HelpID = "formula:Edit:RID_FORMULATAB_PARAMETER:ED_ARG1";
121cdf0e10cSrcweir	};
122cdf0e10cSrcweir	Edit ED_ARG2 { ED_ARGBLOCK (  79 )
123cdf0e10cSrcweir	    HelpID = "formula:Edit:RID_FORMULATAB_PARAMETER:ED_ARG2";
124cdf0e10cSrcweir	};
125cdf0e10cSrcweir	Edit ED_ARG3 { ED_ARGBLOCK (  94 )
126cdf0e10cSrcweir	    HelpID = "formula:Edit:RID_FORMULATAB_PARAMETER:ED_ARG3";
127cdf0e10cSrcweir	};
128cdf0e10cSrcweir	Edit ED_ARG4 { ED_ARGBLOCK ( 109 )
129cdf0e10cSrcweir	    HelpID = "formula:Edit:RID_FORMULATAB_PARAMETER:ED_ARG4";
130cdf0e10cSrcweir	};
131cdf0e10cSrcweir
132cdf0e10cSrcweir	ImageButton RB_ARG1
133cdf0e10cSrcweir	{
134cdf0e10cSrcweir        HelpId=HID_FORMULA_FAP_BTN_REF1;
135cdf0e10cSrcweir		RB_ARGBLOCK (  64 )
136cdf0e10cSrcweir	};
137cdf0e10cSrcweir
138cdf0e10cSrcweir	ImageButton RB_ARG2
139cdf0e10cSrcweir	{
140cdf0e10cSrcweir        HelpId=HID_FORMULA_FAP_BTN_REF2;
141cdf0e10cSrcweir		RB_ARGBLOCK (  79 )
142cdf0e10cSrcweir	};
143cdf0e10cSrcweir	ImageButton RB_ARG3
144cdf0e10cSrcweir	{
145cdf0e10cSrcweir        HelpId=HID_FORMULA_FAP_BTN_REF3;
146cdf0e10cSrcweir		RB_ARGBLOCK (  94 )
147cdf0e10cSrcweir	};
148cdf0e10cSrcweir	ImageButton RB_ARG4
149cdf0e10cSrcweir	{
150cdf0e10cSrcweir        HelpId=HID_FORMULA_FAP_BTN_REF4;
151cdf0e10cSrcweir		RB_ARGBLOCK ( 109 )
152cdf0e10cSrcweir	};
153cdf0e10cSrcweir
154cdf0e10cSrcweir	ScrollBar WND_SLIDER
155cdf0e10cSrcweir	{
156cdf0e10cSrcweir		Pos = MAP_APPFONT ( 183, 63 ) ;
157cdf0e10cSrcweir        Size = MAP_APPFONT ( 8 , 59 ) ;
158cdf0e10cSrcweir		VScroll = TRUE ;
159cdf0e10cSrcweir	};
160cdf0e10cSrcweir
161cdf0e10cSrcweir    String STR_OPTIONAL
162cdf0e10cSrcweir	{
163cdf0e10cSrcweir		Text [ en-US ] = "(optional)" ;
164cdf0e10cSrcweir	};
165cdf0e10cSrcweir	String STR_REQUIRED
166cdf0e10cSrcweir	{
167cdf0e10cSrcweir		Text [ en-US ] = "(required)" ;
168cdf0e10cSrcweir	};
169cdf0e10cSrcweir
170cdf0e10cSrcweir    Image IMG_FX_H
171cdf0e10cSrcweir    {
172cdf0e10cSrcweir        ImageBitmap = Bitmap { File = "fx_h.bmp" ; };
173cdf0e10cSrcweir        MaskColor = STD_MASKCOLOR;
174cdf0e10cSrcweir    };
175cdf0e10cSrcweir
176cdf0e10cSrcweir};
177cdf0e10cSrcweir
178cdf0e10cSrcweir
179cdf0e10cSrcweir
180cdf0e10cSrcweir
181cdf0e10cSrcweir
182cdf0e10cSrcweir
183cdf0e10cSrcweir
184cdf0e10cSrcweir
185cdf0e10cSrcweir
186cdf0e10cSrcweir
187cdf0e10cSrcweir
188cdf0e10cSrcweir
189cdf0e10cSrcweir
190cdf0e10cSrcweir
191cdf0e10cSrcweir
192cdf0e10cSrcweir
193cdf0e10cSrcweir
194cdf0e10cSrcweir
195