xref: /aoo41x/main/formula/source/ui/dlg/parawin.src (revision cdf0e10c)
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 "parawin.hrc"
29#include "ForResId.hrc"
30#include "helpids.hrc"
31
32#define STD_MASKCOLOR Color { Red=0xFFFF; Green=0x0000; Blue=0xFFFF; }
33 //---------------------------------------------------------------------------
34
35#define FT_ARGBLOCK( y )					\
36    Pos = MAP_APPFONT (6 , y ) ; \
37    Size = MAP_APPFONT ( 74 , 8 ) ; \
38    Right = TRUE ;
39
40#define FXBUTTONBLOCK( y )				\
41    Pos = MAP_APPFONT (83 , y-1 ) ; \
42    Size = MAP_APPFONT ( 13 , 15 ) ; \
43    TabStop = TRUE ; \
44    ButtonImage = Image\
45    {\
46        ImageBitmap = Bitmap\
47        {\
48            File = "fx.bmp" ; \
49        };\
50        MaskColor = STD_MASKCOLOR;\
51    };
52
53#define ED_ARGBLOCK( y )				\
54		Border = TRUE;					\
55		Pos = MAP_APPFONT( 98, y );		\
56		Size = MAP_APPFONT( 66, 12 );	\
57		TabStop = TRUE;
58
59#define RB_ARGBLOCK( y )				\
60    Pos = MAP_APPFONT ( 166 , y-1 ) ; \
61    Size = MAP_APPFONT ( 13 , 15 ) ; \
62    TabStop = FALSE ; 	\
63	QuickHelpText [ en-US ] = "Select";	\
64
65 //---------------------------------------------------------------------------
66
67 //	jetzt alles zusammen
68
69TabPage RID_FORMULATAB_PARAMETER
70{
71    HelpID = "formula:TabPage:RID_FORMULATAB_PARAMETER";
72	Border	= FALSE;
73	Size	= MAP_APPFONT( 203, 128 );
74	DialogControl        = TRUE;
75	SVLook               = TRUE;
76
77	FixedText FT_EDITDESC
78	{
79		Pos = MAP_APPFONT (3 , 6 ) ;
80		Size = MAP_APPFONT ( 198 , 20 ) ;
81		WordBreak = TRUE ;
82		Text [ en-US ] = "Function not known";
83	};
84
85	FixedText FT_PARNAME
86	{
87		Pos = MAP_APPFONT ( 3, 29) ;
88		Size = MAP_APPFONT ( 198 , 10 ) ;
89	};
90	FixedText FT_PARDESC
91	{
92		Pos = MAP_APPFONT ( 3, 42 ) ;
93		Size = MAP_APPFONT ( 198 , 20 ) ;
94		WordBreak = TRUE ;
95	};
96
97	FixedText FT_ARG1 { FT_ARGBLOCK (  66 ) };
98	FixedText FT_ARG2 { FT_ARGBLOCK (  81 ) };
99	FixedText FT_ARG3 { FT_ARGBLOCK (  96 ) };
100	FixedText FT_ARG4 { FT_ARGBLOCK ( 111 ) };
101
102	ImageButton BTN_FX1
103	{
104        HelpId=HID_FORMULA_FAP_BTN_FX1;
105		FXBUTTONBLOCK (  64 )
106	};
107	ImageButton BTN_FX2
108	{
109        HelpId=HID_FORMULA_FAP_BTN_FX2;
110		FXBUTTONBLOCK (  79 )
111	};
112
113	ImageButton BTN_FX3
114	{
115        HelpId=HID_FORMULA_FAP_BTN_FX3;
116		FXBUTTONBLOCK (  94 )
117	};
118	ImageButton BTN_FX4
119	{
120        HelpId=HID_FORMULA_FAP_BTN_FX4;
121		FXBUTTONBLOCK ( 109 )
122	};
123	Edit ED_ARG1 { ED_ARGBLOCK (  64 )
124	    HelpID = "formula:Edit:RID_FORMULATAB_PARAMETER:ED_ARG1";
125	};
126	Edit ED_ARG2 { ED_ARGBLOCK (  79 )
127	    HelpID = "formula:Edit:RID_FORMULATAB_PARAMETER:ED_ARG2";
128	};
129	Edit ED_ARG3 { ED_ARGBLOCK (  94 )
130	    HelpID = "formula:Edit:RID_FORMULATAB_PARAMETER:ED_ARG3";
131	};
132	Edit ED_ARG4 { ED_ARGBLOCK ( 109 )
133	    HelpID = "formula:Edit:RID_FORMULATAB_PARAMETER:ED_ARG4";
134	};
135
136	ImageButton RB_ARG1
137	{
138        HelpId=HID_FORMULA_FAP_BTN_REF1;
139		RB_ARGBLOCK (  64 )
140	};
141
142	ImageButton RB_ARG2
143	{
144        HelpId=HID_FORMULA_FAP_BTN_REF2;
145		RB_ARGBLOCK (  79 )
146	};
147	ImageButton RB_ARG3
148	{
149        HelpId=HID_FORMULA_FAP_BTN_REF3;
150		RB_ARGBLOCK (  94 )
151	};
152	ImageButton RB_ARG4
153	{
154        HelpId=HID_FORMULA_FAP_BTN_REF4;
155		RB_ARGBLOCK ( 109 )
156	};
157
158	ScrollBar WND_SLIDER
159	{
160		Pos = MAP_APPFONT ( 183, 63 ) ;
161        Size = MAP_APPFONT ( 8 , 59 ) ;
162		VScroll = TRUE ;
163	};
164
165    String STR_OPTIONAL
166	{
167		Text [ en-US ] = "(optional)" ;
168	};
169	String STR_REQUIRED
170	{
171		Text [ en-US ] = "(required)" ;
172	};
173
174    Image IMG_FX_H
175    {
176        ImageBitmap = Bitmap { File = "fx_h.bmp" ; };
177        MaskColor = STD_MASKCOLOR;
178    };
179
180};
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199