xref: /trunk/main/cui/source/customize/selector.src (revision b4b8d4b6)
10e2af6afSAndrew Rist/**************************************************************
2cdf0e10cSrcweir *
30e2af6afSAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
40e2af6afSAndrew Rist * or more contributor license agreements.  See the NOTICE file
50e2af6afSAndrew Rist * distributed with this work for additional information
60e2af6afSAndrew Rist * regarding copyright ownership.  The ASF licenses this file
70e2af6afSAndrew Rist * to you under the Apache License, Version 2.0 (the
80e2af6afSAndrew Rist * "License"); you may not use this file except in compliance
90e2af6afSAndrew Rist * with the License.  You may obtain a copy of the License at
100e2af6afSAndrew Rist *
110e2af6afSAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
120e2af6afSAndrew Rist *
130e2af6afSAndrew Rist * Unless required by applicable law or agreed to in writing,
140e2af6afSAndrew Rist * software distributed under the License is distributed on an
150e2af6afSAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
160e2af6afSAndrew Rist * KIND, either express or implied.  See the License for the
170e2af6afSAndrew Rist * specific language governing permissions and limitations
180e2af6afSAndrew Rist * under the License.
190e2af6afSAndrew Rist *
200e2af6afSAndrew Rist *************************************************************/
210e2af6afSAndrew Rist
220e2af6afSAndrew Rist
23*b4b8d4b6SMatthias Seidel// include ---------------------------------------------------------------
24cdf0e10cSrcweir#include "helpid.hrc"
25cdf0e10cSrcweir#include <cuires.hrc>
26cdf0e10cSrcweir#include "selector.hrc"
27cdf0e10cSrcweir
28cdf0e10cSrcweir#define FIXEDTEXT_DIALOG_DESCRIPTION \
29*b4b8d4b6SMatthias Seidel	Text [ en-US ] = "Select the library that contains the macro you want. Then select the macro under 'Macro name'." ;\
30cdf0e10cSrcweir
31cdf0e10cSrcweirString STR_SELECTOR_ADD_COMMANDS
32cdf0e10cSrcweir{
33*b4b8d4b6SMatthias Seidel	Text [ en-US ] = "Add Commands" ;
34cdf0e10cSrcweir};
35cdf0e10cSrcweir
36cdf0e10cSrcweirString STR_SELECTOR_MACROS
37cdf0e10cSrcweir{
38*b4b8d4b6SMatthias Seidel	Text [ en-US ] = "%PRODUCTNAME Macros" ;
39cdf0e10cSrcweir};
40cdf0e10cSrcweir
41cdf0e10cSrcweirString STR_SELECTOR_CATEGORIES
42cdf0e10cSrcweir{
43*b4b8d4b6SMatthias Seidel	Text [ en-US ] = "~Category" ;
44cdf0e10cSrcweir};
45cdf0e10cSrcweir
46cdf0e10cSrcweirString STR_SELECTOR_COMMANDS
47cdf0e10cSrcweir{
48*b4b8d4b6SMatthias Seidel	Text [ en-US ] = "Commands" ;
49cdf0e10cSrcweir};
50cdf0e10cSrcweir
51cdf0e10cSrcweirString STR_SELECTOR_ADD
52cdf0e10cSrcweir{
53*b4b8d4b6SMatthias Seidel	Text [ en-US ] = "Add" ;
54cdf0e10cSrcweir};
55cdf0e10cSrcweir
56cdf0e10cSrcweirString STR_SELECTOR_RUN
57cdf0e10cSrcweir{
58*b4b8d4b6SMatthias Seidel	Text [ en-US ] = "Run" ;
59cdf0e10cSrcweir};
60cdf0e10cSrcweir
61cdf0e10cSrcweirString STR_SELECTOR_CLOSE
62cdf0e10cSrcweir{
63*b4b8d4b6SMatthias Seidel	Text [ en-US ] = "Close" ;
64cdf0e10cSrcweir};
65cdf0e10cSrcweir
66cdf0e10cSrcweirString STR_SELECTOR_ADD_COMMANDS_DESCRIPTION
67cdf0e10cSrcweir{
68*b4b8d4b6SMatthias Seidel	Text [ en-US ] = "To add a command to a toolbar, select the category and then the command. Then drag the command to the Commands list of the Toolbars tab page in the Customize dialog." ;
69cdf0e10cSrcweir};
70cdf0e10cSrcweir
71cdf0e10cSrcweirString STR_BASICMACROS
72cdf0e10cSrcweir{
73cdf0e10cSrcweir	Text [ en-US ] = "BASIC Macros" ;
74cdf0e10cSrcweir};
75cdf0e10cSrcweir
76cdf0e10cSrcweir
77cdf0e10cSrcweirModelessDialog RID_DLG_SCRIPTSELECTOR
78cdf0e10cSrcweir{
79*b4b8d4b6SMatthias Seidel	OutputSize = TRUE ;
80*b4b8d4b6SMatthias Seidel	Size = MAP_APPFONT ( 256, 233 ) ;
81*b4b8d4b6SMatthias Seidel	Text [ en-US ] = "Macro Selector" ;
82*b4b8d4b6SMatthias Seidel	HelpId = HID_SELECTOR_DIALOG;
83*b4b8d4b6SMatthias Seidel	SvLook = TRUE ;
84*b4b8d4b6SMatthias Seidel	Moveable = TRUE ;
85*b4b8d4b6SMatthias Seidel	Hide = TRUE;
86*b4b8d4b6SMatthias Seidel	FixedText TXT_SELECTOR_DIALOG_DESCRIPTION
87*b4b8d4b6SMatthias Seidel	{
88*b4b8d4b6SMatthias Seidel		Pos = MAP_APPFONT ( 6, 8 ) ;
89*b4b8d4b6SMatthias Seidel		Size = MAP_APPFONT ( 190, 48 ) ;
90*b4b8d4b6SMatthias Seidel		Group = TRUE ;
91*b4b8d4b6SMatthias Seidel		Left = TRUE ;
92*b4b8d4b6SMatthias Seidel		WordBreak = TRUE ;
93*b4b8d4b6SMatthias Seidel		FIXEDTEXT_DIALOG_DESCRIPTION
94*b4b8d4b6SMatthias Seidel	};
95*b4b8d4b6SMatthias Seidel	FixedText TXT_SELECTOR_CATEGORIES
96*b4b8d4b6SMatthias Seidel	{
97*b4b8d4b6SMatthias Seidel		Pos = MAP_APPFONT ( 6, 62 ) ;
98*b4b8d4b6SMatthias Seidel		Size = MAP_APPFONT ( 83, 8 ) ;
99*b4b8d4b6SMatthias Seidel		Group = TRUE ;
100*b4b8d4b6SMatthias Seidel		Left = TRUE ;
101*b4b8d4b6SMatthias Seidel		Text [ en-US ] = "Library" ;
102*b4b8d4b6SMatthias Seidel	};
103*b4b8d4b6SMatthias Seidel	Control BOX_SELECTOR_CATEGORIES
104*b4b8d4b6SMatthias Seidel	{
105*b4b8d4b6SMatthias Seidel		Border = TRUE ;
106*b4b8d4b6SMatthias Seidel		Pos = MAP_APPFONT ( 6, 73 ) ;
107*b4b8d4b6SMatthias Seidel		Size = MAP_APPFONT ( 83, 89 ) ;
108*b4b8d4b6SMatthias Seidel		TabStop = TRUE;
109*b4b8d4b6SMatthias Seidel		HelpId = HID_SELECTOR_CATEGORIES;
110*b4b8d4b6SMatthias Seidel		String STR_MYMACROS
111*b4b8d4b6SMatthias Seidel		{
112*b4b8d4b6SMatthias Seidel				Text [ en-US ] = "My Macros" ;
113*b4b8d4b6SMatthias Seidel		};
114*b4b8d4b6SMatthias Seidel		String STR_PRODMACROS
115*b4b8d4b6SMatthias Seidel		{
116*b4b8d4b6SMatthias Seidel				Text [ en-US ] = "%PRODUCTNAME Macros" ;
117*b4b8d4b6SMatthias Seidel		};
118*b4b8d4b6SMatthias Seidel		Image IMG_HARDDISK
119*b4b8d4b6SMatthias Seidel		{
120*b4b8d4b6SMatthias Seidel				ImageBitmap = Bitmap { File = "harddisk_16.png" ; };
121*b4b8d4b6SMatthias Seidel		};
122*b4b8d4b6SMatthias Seidel		Image IMG_HARDDISK_HC
123*b4b8d4b6SMatthias Seidel		{
124*b4b8d4b6SMatthias Seidel				ImageBitmap = Bitmap { File = "harddisk_16_h.png" ; };
125*b4b8d4b6SMatthias Seidel		};
126*b4b8d4b6SMatthias Seidel		Image IMG_LIB
127*b4b8d4b6SMatthias Seidel		{
128*b4b8d4b6SMatthias Seidel				ImageBitmap = Bitmap { File = "im30820.png" ; };
129*b4b8d4b6SMatthias Seidel		};
130*b4b8d4b6SMatthias Seidel		Image IMG_LIB_HC
131*b4b8d4b6SMatthias Seidel		{
132*b4b8d4b6SMatthias Seidel				ImageBitmap = Bitmap { File = "imh30820.png" ; };
133*b4b8d4b6SMatthias Seidel		};
134*b4b8d4b6SMatthias Seidel		Image IMG_MACRO
135*b4b8d4b6SMatthias Seidel		{
136*b4b8d4b6SMatthias Seidel				ImageBitmap = Bitmap { File = "im30821.png" ; };
137*b4b8d4b6SMatthias Seidel		};
138*b4b8d4b6SMatthias Seidel		Image IMG_MACRO_HC
139*b4b8d4b6SMatthias Seidel		{
140*b4b8d4b6SMatthias Seidel				ImageBitmap = Bitmap { File = "imh30821.png" ; };
141*b4b8d4b6SMatthias Seidel		};
142*b4b8d4b6SMatthias Seidel		Image IMG_DOC
143*b4b8d4b6SMatthias Seidel		{
144*b4b8d4b6SMatthias Seidel				ImageBitmap = Bitmap { File = "im30826.png" ; };
145*b4b8d4b6SMatthias Seidel		};
146*b4b8d4b6SMatthias Seidel		Image IMG_DOC_HC
147*b4b8d4b6SMatthias Seidel		{
148*b4b8d4b6SMatthias Seidel				ImageBitmap = Bitmap { File = "imh30826.png" ; };
149*b4b8d4b6SMatthias Seidel		};
150*b4b8d4b6SMatthias Seidel	};
151*b4b8d4b6SMatthias Seidel	FixedText TXT_SELECTOR_COMMANDS
152*b4b8d4b6SMatthias Seidel	{
153*b4b8d4b6SMatthias Seidel		Pos = MAP_APPFONT ( 101, 62 ) ;
154*b4b8d4b6SMatthias Seidel		Size = MAP_APPFONT ( 93, 8 ) ;
155*b4b8d4b6SMatthias Seidel		Left = TRUE ;
156*b4b8d4b6SMatthias Seidel		Text [ en-US ] = "Macro name" ;
157*b4b8d4b6SMatthias Seidel	};
158*b4b8d4b6SMatthias Seidel	Control BOX_SELECTOR_COMMANDS
159*b4b8d4b6SMatthias Seidel	{
160*b4b8d4b6SMatthias Seidel		Border = TRUE ;
161*b4b8d4b6SMatthias Seidel		Pos = MAP_APPFONT ( 101, 73 ) ;
162*b4b8d4b6SMatthias Seidel		Size = MAP_APPFONT ( 93, 89 ) ;
163*b4b8d4b6SMatthias Seidel		TabStop = TRUE;
164*b4b8d4b6SMatthias Seidel		HelpId = HID_SELECTOR_COMMANDS;
165*b4b8d4b6SMatthias Seidel	};
166*b4b8d4b6SMatthias Seidel	OKButton BTN_SELECTOR_OK
167*b4b8d4b6SMatthias Seidel	{
168*b4b8d4b6SMatthias Seidel		Pos = MAP_APPFONT ( 200, 73 ) ;
169*b4b8d4b6SMatthias Seidel		Size = MAP_APPFONT ( 50, 14 ) ;
170*b4b8d4b6SMatthias Seidel		DefButton = TRUE;
171*b4b8d4b6SMatthias Seidel	};
172*b4b8d4b6SMatthias Seidel	CancelButton BTN_SELECTOR_CANCEL
173*b4b8d4b6SMatthias Seidel	{
174*b4b8d4b6SMatthias Seidel		Pos = MAP_APPFONT ( 200, 90 ) ;
175*b4b8d4b6SMatthias Seidel		Size = MAP_APPFONT ( 50, 14 ) ;
176*b4b8d4b6SMatthias Seidel	};
177*b4b8d4b6SMatthias Seidel	HelpButton BTN_SELECTOR_HELP
178*b4b8d4b6SMatthias Seidel	{
179*b4b8d4b6SMatthias Seidel		Pos = MAP_APPFONT ( 200, 107 ) ;
180*b4b8d4b6SMatthias Seidel		Size = MAP_APPFONT ( 50, 14 ) ;
181*b4b8d4b6SMatthias Seidel	};
182*b4b8d4b6SMatthias Seidel	FixedLine GRP_SELECTOR_DESCRIPTION
183*b4b8d4b6SMatthias Seidel	{
184*b4b8d4b6SMatthias Seidel		Pos = MAP_APPFONT ( 6, 168 ) ;
185*b4b8d4b6SMatthias Seidel		Size = MAP_APPFONT ( 224, 8 ) ;
186*b4b8d4b6SMatthias Seidel		Group = TRUE ;
187*b4b8d4b6SMatthias Seidel		Text [ en-US ] = "Description" ;
188*b4b8d4b6SMatthias Seidel	};
189*b4b8d4b6SMatthias Seidel	FixedText TXT_SELECTOR_DESCRIPTION
190*b4b8d4b6SMatthias Seidel	{
191*b4b8d4b6SMatthias Seidel		Pos = MAP_APPFONT ( 12, 179 ) ;
192*b4b8d4b6SMatthias Seidel		Size = MAP_APPFONT ( 224, 48 ) ;
193*b4b8d4b6SMatthias Seidel		WordBreak = TRUE ;
194*b4b8d4b6SMatthias Seidel	};
195cdf0e10cSrcweir};
196*b4b8d4b6SMatthias Seidel
197*b4b8d4b6SMatthias Seidel// ********************************************************************** EOF
198