xref: /trunk/main/cui/source/customize/selector.src (revision aa2578ad)
10e2af6afSAndrew Rist/**************************************************************
2*aa2578adSmseidel *
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
10*aa2578adSmseidel *
110e2af6afSAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12*aa2578adSmseidel *
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.
19*aa2578adSmseidel *
200e2af6afSAndrew Rist *************************************************************/
210e2af6afSAndrew Rist
220e2af6afSAndrew Rist
23*aa2578adSmseidel
24b4b8d4b6SMatthias Seidel// include ---------------------------------------------------------------
25cdf0e10cSrcweir#include "helpid.hrc"
26cdf0e10cSrcweir#include <cuires.hrc>
27cdf0e10cSrcweir#include "selector.hrc"
28cdf0e10cSrcweir
29cdf0e10cSrcweir#define FIXEDTEXT_DIALOG_DESCRIPTION \
30*aa2578adSmseidel	Text [ en-US ] = "Select the library that contains the macro you want. Then select the macro under 'Macro name'." ; \
31cdf0e10cSrcweir
32cdf0e10cSrcweirString STR_SELECTOR_ADD_COMMANDS
33cdf0e10cSrcweir{
34b4b8d4b6SMatthias Seidel	Text [ en-US ] = "Add Commands" ;
35cdf0e10cSrcweir};
36cdf0e10cSrcweir
37cdf0e10cSrcweirString STR_SELECTOR_MACROS
38cdf0e10cSrcweir{
39b4b8d4b6SMatthias Seidel	Text [ en-US ] = "%PRODUCTNAME Macros" ;
40cdf0e10cSrcweir};
41cdf0e10cSrcweir
42cdf0e10cSrcweirString STR_SELECTOR_CATEGORIES
43cdf0e10cSrcweir{
44b4b8d4b6SMatthias Seidel	Text [ en-US ] = "~Category" ;
45cdf0e10cSrcweir};
46cdf0e10cSrcweir
47cdf0e10cSrcweirString STR_SELECTOR_COMMANDS
48cdf0e10cSrcweir{
49b4b8d4b6SMatthias Seidel	Text [ en-US ] = "Commands" ;
50cdf0e10cSrcweir};
51cdf0e10cSrcweir
52cdf0e10cSrcweirString STR_SELECTOR_ADD
53cdf0e10cSrcweir{
54b4b8d4b6SMatthias Seidel	Text [ en-US ] = "Add" ;
55cdf0e10cSrcweir};
56cdf0e10cSrcweir
57cdf0e10cSrcweirString STR_SELECTOR_RUN
58cdf0e10cSrcweir{
59b4b8d4b6SMatthias Seidel	Text [ en-US ] = "Run" ;
60cdf0e10cSrcweir};
61cdf0e10cSrcweir
62cdf0e10cSrcweirString STR_SELECTOR_CLOSE
63cdf0e10cSrcweir{
64b4b8d4b6SMatthias Seidel	Text [ en-US ] = "Close" ;
65cdf0e10cSrcweir};
66cdf0e10cSrcweir
67cdf0e10cSrcweirString STR_SELECTOR_ADD_COMMANDS_DESCRIPTION
68cdf0e10cSrcweir{
69b4b8d4b6SMatthias 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." ;
70cdf0e10cSrcweir};
71cdf0e10cSrcweir
72cdf0e10cSrcweirString STR_BASICMACROS
73cdf0e10cSrcweir{
74cdf0e10cSrcweir	Text [ en-US ] = "BASIC Macros" ;
75cdf0e10cSrcweir};
76cdf0e10cSrcweir
77cdf0e10cSrcweir
78cdf0e10cSrcweirModelessDialog RID_DLG_SCRIPTSELECTOR
79cdf0e10cSrcweir{
80b4b8d4b6SMatthias Seidel	OutputSize = TRUE ;
81b4b8d4b6SMatthias Seidel	Size = MAP_APPFONT ( 256, 233 ) ;
82b4b8d4b6SMatthias Seidel	Text [ en-US ] = "Macro Selector" ;
83*aa2578adSmseidel	HelpId = HID_SELECTOR_DIALOG ;
84b4b8d4b6SMatthias Seidel	SvLook = TRUE ;
85b4b8d4b6SMatthias Seidel	Moveable = TRUE ;
86*aa2578adSmseidel	Hide = TRUE ;
87b4b8d4b6SMatthias Seidel	FixedText TXT_SELECTOR_DIALOG_DESCRIPTION
88b4b8d4b6SMatthias Seidel	{
89b4b8d4b6SMatthias Seidel		Pos = MAP_APPFONT ( 6, 8 ) ;
90b4b8d4b6SMatthias Seidel		Size = MAP_APPFONT ( 190, 48 ) ;
91b4b8d4b6SMatthias Seidel		Group = TRUE ;
92b4b8d4b6SMatthias Seidel		Left = TRUE ;
93b4b8d4b6SMatthias Seidel		WordBreak = TRUE ;
94b4b8d4b6SMatthias Seidel		FIXEDTEXT_DIALOG_DESCRIPTION
95b4b8d4b6SMatthias Seidel	};
96b4b8d4b6SMatthias Seidel	FixedText TXT_SELECTOR_CATEGORIES
97b4b8d4b6SMatthias Seidel	{
98b4b8d4b6SMatthias Seidel		Pos = MAP_APPFONT ( 6, 62 ) ;
99b4b8d4b6SMatthias Seidel		Size = MAP_APPFONT ( 83, 8 ) ;
100b4b8d4b6SMatthias Seidel		Group = TRUE ;
101b4b8d4b6SMatthias Seidel		Left = TRUE ;
102b4b8d4b6SMatthias Seidel		Text [ en-US ] = "Library" ;
103b4b8d4b6SMatthias Seidel	};
104b4b8d4b6SMatthias Seidel	Control BOX_SELECTOR_CATEGORIES
105b4b8d4b6SMatthias Seidel	{
106b4b8d4b6SMatthias Seidel		Border = TRUE ;
107b4b8d4b6SMatthias Seidel		Pos = MAP_APPFONT ( 6, 73 ) ;
108b4b8d4b6SMatthias Seidel		Size = MAP_APPFONT ( 83, 89 ) ;
109*aa2578adSmseidel		TabStop = TRUE ;
110*aa2578adSmseidel		HelpId = HID_SELECTOR_CATEGORIES ;
111b4b8d4b6SMatthias Seidel		String STR_MYMACROS
112b4b8d4b6SMatthias Seidel		{
113b4b8d4b6SMatthias Seidel				Text [ en-US ] = "My Macros" ;
114b4b8d4b6SMatthias Seidel		};
115b4b8d4b6SMatthias Seidel		String STR_PRODMACROS
116b4b8d4b6SMatthias Seidel		{
117b4b8d4b6SMatthias Seidel				Text [ en-US ] = "%PRODUCTNAME Macros" ;
118b4b8d4b6SMatthias Seidel		};
119b4b8d4b6SMatthias Seidel		Image IMG_HARDDISK
120b4b8d4b6SMatthias Seidel		{
121*aa2578adSmseidel				ImageBitmap = Bitmap {File = "harddisk_16.png" ;} ;
122b4b8d4b6SMatthias Seidel		};
123b4b8d4b6SMatthias Seidel		Image IMG_HARDDISK_HC
124b4b8d4b6SMatthias Seidel		{
125*aa2578adSmseidel				ImageBitmap = Bitmap {File = "harddisk_16_h.png" ;} ;
126b4b8d4b6SMatthias Seidel		};
127b4b8d4b6SMatthias Seidel		Image IMG_LIB
128b4b8d4b6SMatthias Seidel		{
129*aa2578adSmseidel				ImageBitmap = Bitmap {File = "im30820.png" ;} ;
130b4b8d4b6SMatthias Seidel		};
131b4b8d4b6SMatthias Seidel		Image IMG_LIB_HC
132b4b8d4b6SMatthias Seidel		{
133*aa2578adSmseidel				ImageBitmap = Bitmap {File = "imh30820.png" ;} ;
134b4b8d4b6SMatthias Seidel		};
135b4b8d4b6SMatthias Seidel		Image IMG_MACRO
136b4b8d4b6SMatthias Seidel		{
137*aa2578adSmseidel				ImageBitmap = Bitmap {File = "im30821.png" ;} ;
138b4b8d4b6SMatthias Seidel		};
139b4b8d4b6SMatthias Seidel		Image IMG_MACRO_HC
140b4b8d4b6SMatthias Seidel		{
141*aa2578adSmseidel				ImageBitmap = Bitmap {File = "imh30821.png" ;} ;
142b4b8d4b6SMatthias Seidel		};
143b4b8d4b6SMatthias Seidel		Image IMG_DOC
144b4b8d4b6SMatthias Seidel		{
145*aa2578adSmseidel				ImageBitmap = Bitmap {File = "im30826.png" ;} ;
146b4b8d4b6SMatthias Seidel		};
147b4b8d4b6SMatthias Seidel		Image IMG_DOC_HC
148b4b8d4b6SMatthias Seidel		{
149*aa2578adSmseidel				ImageBitmap = Bitmap {File = "imh30826.png" ;} ;
150b4b8d4b6SMatthias Seidel		};
151b4b8d4b6SMatthias Seidel	};
152b4b8d4b6SMatthias Seidel	FixedText TXT_SELECTOR_COMMANDS
153b4b8d4b6SMatthias Seidel	{
154b4b8d4b6SMatthias Seidel		Pos = MAP_APPFONT ( 101, 62 ) ;
155b4b8d4b6SMatthias Seidel		Size = MAP_APPFONT ( 93, 8 ) ;
156b4b8d4b6SMatthias Seidel		Left = TRUE ;
157b4b8d4b6SMatthias Seidel		Text [ en-US ] = "Macro name" ;
158b4b8d4b6SMatthias Seidel	};
159b4b8d4b6SMatthias Seidel	Control BOX_SELECTOR_COMMANDS
160b4b8d4b6SMatthias Seidel	{
161b4b8d4b6SMatthias Seidel		Border = TRUE ;
162b4b8d4b6SMatthias Seidel		Pos = MAP_APPFONT ( 101, 73 ) ;
163b4b8d4b6SMatthias Seidel		Size = MAP_APPFONT ( 93, 89 ) ;
164*aa2578adSmseidel		TabStop = TRUE ;
165*aa2578adSmseidel		HelpId = HID_SELECTOR_COMMANDS ;
166b4b8d4b6SMatthias Seidel	};
167b4b8d4b6SMatthias Seidel	OKButton BTN_SELECTOR_OK
168b4b8d4b6SMatthias Seidel	{
169b4b8d4b6SMatthias Seidel		Pos = MAP_APPFONT ( 200, 73 ) ;
170b4b8d4b6SMatthias Seidel		Size = MAP_APPFONT ( 50, 14 ) ;
171*aa2578adSmseidel		DefButton = TRUE ;
172b4b8d4b6SMatthias Seidel	};
173b4b8d4b6SMatthias Seidel	CancelButton BTN_SELECTOR_CANCEL
174b4b8d4b6SMatthias Seidel	{
175b4b8d4b6SMatthias Seidel		Pos = MAP_APPFONT ( 200, 90 ) ;
176b4b8d4b6SMatthias Seidel		Size = MAP_APPFONT ( 50, 14 ) ;
177b4b8d4b6SMatthias Seidel	};
178b4b8d4b6SMatthias Seidel	HelpButton BTN_SELECTOR_HELP
179b4b8d4b6SMatthias Seidel	{
180b4b8d4b6SMatthias Seidel		Pos = MAP_APPFONT ( 200, 107 ) ;
181b4b8d4b6SMatthias Seidel		Size = MAP_APPFONT ( 50, 14 ) ;
182b4b8d4b6SMatthias Seidel	};
183b4b8d4b6SMatthias Seidel	FixedLine GRP_SELECTOR_DESCRIPTION
184b4b8d4b6SMatthias Seidel	{
185b4b8d4b6SMatthias Seidel		Pos = MAP_APPFONT ( 6, 168 ) ;
186b4b8d4b6SMatthias Seidel		Size = MAP_APPFONT ( 224, 8 ) ;
187b4b8d4b6SMatthias Seidel		Group = TRUE ;
188b4b8d4b6SMatthias Seidel		Text [ en-US ] = "Description" ;
189b4b8d4b6SMatthias Seidel	};
190b4b8d4b6SMatthias Seidel	FixedText TXT_SELECTOR_DESCRIPTION
191b4b8d4b6SMatthias Seidel	{
192b4b8d4b6SMatthias Seidel		Pos = MAP_APPFONT ( 12, 179 ) ;
193b4b8d4b6SMatthias Seidel		Size = MAP_APPFONT ( 224, 48 ) ;
194b4b8d4b6SMatthias Seidel		WordBreak = TRUE ;
195b4b8d4b6SMatthias Seidel	};
196cdf0e10cSrcweir};
197b4b8d4b6SMatthias Seidel
198b4b8d4b6SMatthias Seidel// ********************************************************************** EOF
199