xref: /trunk/main/cui/source/options/treeopt.src (revision 0dfee798)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements.  See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership.  The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License.  You may obtain a copy of the License at
10 *
11 *   http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied.  See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
20 *************************************************************/
21
22
23
24#include "treeopt.hrc"
25#include <cuires.hrc>
26#include "helpid.hrc"
27#include <svx/dialogs.hrc>
28
29#define IMAGE_STDBTN_COLOR Color { Red = 0xC000; Green = 0xC000; Blue = 0xC000; }
30
31ModalDialog RID_OFADLG_OPTIONS_TREE
32{
33	HelpID = HID_OFADLG_OPTIONS_TREE ;
34	Moveable = TRUE ;
35	OutputSize = TRUE ;
36	SVLook = TRUE ;
37
38	Size = MAP_APPFONT ( COL_12, ROW_5 ) ;
39	Text [ en-US ] = "Options" ;
40
41	OKButton PB_OK
42	{
43		Pos = MAP_APPFONT ( COL_4, ROW_3 ) ;
44		Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT ) ;
45		TabStop = TRUE ;
46		DefButton = TRUE ;
47	};
48	CancelButton PB_CANCEL
49	{
50		Pos = MAP_APPFONT ( COL_6, ROW_3 ) ;
51		Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT ) ;
52		TabStop = TRUE ;
53	};
54	HelpButton PB_HELP
55	{
56		Pos = MAP_APPFONT ( COL_8, ROW_3 ) ;
57		Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT ) ;
58		TabStop = TRUE ;
59	};
60	PushButton PB_BACK
61	{
62		HelpID = "cui:PushButton:RID_OFADLG_OPTIONS_TREE:PB_BACK" ;
63		Pos = MAP_APPFONT ( COL_10, ROW_3 ) ;
64		Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT ) ;
65		TabStop = TRUE ;
66		Text [ en-US ] = "~Back" ;
67	};
68
69	// TreeListBox
70	Control TLB_PAGES
71	{
72		Pos = MAP_APPFONT ( COL_1, ROW_1 ) ;
73		Size = MAP_APPFONT ( (COL_2-COL_1), (ROW_4-ROW_1) ) ;
74		TabStop = TRUE ;
75		Border = TRUE ;
76	};
77	Control FB_BORDER
78	{
79		Pos = MAP_APPFONT ( COL_3, ROW_1 ) ;
80		Size = MAP_APPFONT ( WIDTH_PAGEFRAME, HEIGHT_PAGEFRAME ) ;
81		Hide = TRUE ;
82	};
83	FixedImage IMG_HELP
84	{
85		Pos = MAP_APPFONT ( COL_3_1, ROW_1_1 ) ;
86		Size = MAP_APPFONT ( WIDTH_IMG_HELP, HEIGHT_IMG_HELP ) ;
87		Hide = TRUE ;
88	};
89	FixedText FT_PAGE_TITLE
90	{
91		Pos = MAP_APPFONT ( COL_3_3, ROW_1_2 ) ;
92		Size = MAP_APPFONT ( (COL_3_5-COL_3_3), 15 ) ;
93		Hide = TRUE ;
94	};
95	FixedLine FL_LINE_1
96	{
97		Pos = MAP_APPFONT ( COL_3_1, ROW_1_3 ) ;
98		Size = MAP_APPFONT ( (COL_3_5-COL_3_1), 1 ) ;
99		Comment = "Divider" ;
100		Hide = TRUE ;
101	};
102	FixedText FT_HELPTEXT
103	{
104		Pos = MAP_APPFONT ( COL_3_3, ROW_1_4 ) ;
105		Size = MAP_APPFONT ( (COL_3_5-COL_3_3), (HEIGHT_PAGEFRAME-ROW_1_4-1) ) ;
106		WordBreak = TRUE ;
107		Hide = TRUE ;
108	};
109	String ST_LOAD_ERROR
110	{
111		Text [ en-US ] = "The selected module could not be loaded." ;
112	};
113	StringArray STR_HELPTEXTS
114	{
115		ItemList [ en-US ] =
116		{
117			< "This dialog is used to define general settings when working with %PRODUCTNAME. Enter your personal data, the defaults to be used when saving documents, and paths to important files. These settings will be saved automatically and used in later sessions as well." ; SID_GENERAL_OPTIONS; > ;
118			< "This is where you make settings concerning language and writing aids for your work with %PRODUCTNAME." ; SID_LANGUAGE_OPTIONS; > ;
119			< "This is where you configure %PRODUCTNAME for the Internet. You can define search engines or save your proxy settings." ; SID_INET_DLG; > ;
120			< "This is where you specify various settings for text documents. These settings determine how your text documents are handled in %PRODUCTNAME and are valid for all new %PRODUCTNAME Writer documents. You can also define a few settings for the active text document if you save it afterwards." ; SID_SW_EDITOPTIONS; > ;
121			< "This is where you define the basic settings for %PRODUCTNAME documents in HTML format. For example, you decide which contents should be displayed on the screen or printed, how the pages are scrolled on the screen, in which color keywords are highlighted in the source text and much more." ; SID_SW_ONLINEOPTIONS; > ;
122			< "This is where you define various global settings for spreadsheets. For example, you can define which contents should be displayed and in which direction the cursor will move after you enter data in a cell. You also define sort lists, the number of the decimal places displayed, etc." ; SID_SC_EDITOPTIONS; > ;
123			< "This is where you define the settings that apply to all newly saved presentations. Among other things, you decide which contents are displayed on the slides, which default unit of measure is used, if and how grid alignment is used, and if notes and handouts are always printed." ; SID_SD_EDITOPTIONS; > ;
124			< "This is where you define the settings for drawing documents. Among other things, you determine which contents are displayed on the pages, which scale is used, if and how grid alignment is used, and which contents are printed by default." ; SID_SD_GRAPHIC_OPTIONS; > ;
125			< "This is where you select the print format and print options for all newly saved formula documents. These options take effect when you want to print a formula directly from %PRODUCTNAME Math." ; SID_SM_EDITOPTIONS; > ;
126			< "This is where you specify general default settings for your %PRODUCTNAME Charts. Set the colors you want for all new charts." ; SID_SCH_EDITOPTIONS; > ;
127			< "This is where you define general settings for accessing external data sources." ; SID_SB_STARBASEOPTIONS; > ;
128			< "This is where you define general settings for opening and saving documents in external formats. You can control the behavior of macros or OLE objects in Microsoft Office documents or define settings for HTML documents." ; SID_FILTER_DLG; > ;
129		};
130	};
131	Bitmap BMP_ROOT_CLOSED
132	{
133		File = "plus.png" ;
134	};
135	Bitmap BMP_ROOT_OPENED
136	{
137		File = "minus.png" ;
138	};
139};
140
141Resource RID_OFADLG_OPTIONS_TREE_PAGES
142{
143	StringArray SID_GENERAL_OPTIONS
144	{
145		ItemList [ en-US ] =
146		{
147			< "%PRODUCTNAME" ;		0								; > ;
148			< "User Data" ;			RID_SFXPAGE_GENERAL				; > ;
149			< "General" ;			OFA_TP_MISC						; > ;
150			< "Memory" ;			OFA_TP_MEMORY					; > ;
151			< "View" ;				OFA_TP_VIEW						; > ;
152			< "Print" ;				RID_SFXPAGE_PRINTOPTIONS		; > ;
153			< "Paths" ;				RID_SFXPAGE_PATH				; > ;
154			< "Colors" ;			RID_SVXPAGE_COLOR				; > ;
155			< "Fonts" ;				RID_SVX_FONT_SUBSTITUTION		; > ;
156			< "Security" ;			RID_SVXPAGE_INET_SECURITY		; > ;
157			< "Appearance" ;		RID_SVXPAGE_COLORCONFIG			; > ;
158			< "Accessibility" ;		RID_SVXPAGE_ACCESSIBILITYCONFIG	; > ;
159			< "Java" ;				RID_SVXPAGE_OPTIONS_JAVA		; > ;
160			< "Network Identity" ;	RID_SVXPAGE_SSO					; > ;
161			< "Online Update" ;		RID_SVXPAGE_ONLINEUPDATE		; > ;
162			< "" ;					RID_SVXPAGE_IMPROVEMENT			; > ;
163		};
164	};
165	StringArray SID_LANGUAGE_OPTIONS
166	{
167		ItemList [ en-US ] =
168		{
169			< "Language Settings" ;		0							; > ;
170			< "Languages" ;				OFA_TP_LANGUAGES			; > ;
171			< "Writing Aids" ;			RID_SFXPAGE_LINGU			; > ;
172			< "Searching in Japanese" ;	RID_SVXPAGE_JSEARCH_OPTIONS	; > ;
173			< "Asian Layout" ;			RID_SVXPAGE_ASIAN_LAYOUT	; > ;
174			< "Complex Text Layout" ;	RID_SVXPAGE_OPTIONS_CTL		; > ;
175		};
176	};
177	StringArray SID_INET_DLG
178	{
179		// modified by jmeng begin
180		ItemList [ en-US ] =
181		{
182			< "Internet" ;	0						; > ;
183			< "Proxy" ;		RID_SVXPAGE_INET_PROXY	; > ;
184			< "Search" ;	RID_SVXPAGE_INET_SEARCH	; > ;
185			< "E-mail" ;	RID_SVXPAGE_INET_MAIL	; > ;
186		};
187		// modified by jmeng end
188	};
189	StringArray SID_SW_EDITOPTIONS
190	{
191		ItemList [ en-US ] =
192		{
193			< "%PRODUCTNAME Writer" ;	0								; > ;
194			< "General" ;				RID_SW_TP_OPTLOAD_PAGE			; > ;
195			< "View" ;					RID_SW_TP_CONTENT_OPT			; > ;
196			< "Formatting Aids" ;		RID_SW_TP_OPTSHDWCRSR			; > ;
197			< "Grid" ;					RID_SVXPAGE_GRID				; > ;
198			< "Basic Fonts (Western)" ;	RID_SW_TP_STD_FONT				; > ;
199			< "Basic Fonts (Asian)" ;	RID_SW_TP_STD_FONT_CJK			; > ;
200			< "Basic Fonts (CTL)" ;		RID_SW_TP_STD_FONT_CTL			; > ;
201			< "Print" ;					RID_SW_TP_OPTPRINT_PAGE			; > ;
202			< "Table" ;					RID_SW_TP_OPTTABLE_PAGE			; > ;
203			< "Changes" ;				RID_SW_TP_REDLINE_OPT			; > ;
204			< "Compatibility" ;			RID_SW_TP_OPTCOMPATIBILITY_PAGE	; > ;
205			< "AutoCaption" ;			RID_SW_TP_OPTCAPTION_PAGE		; > ;
206			< "Mail Merge E-mail" ;		RID_SW_TP_MAILCONFIG			; > ;
207		};
208	};
209	StringArray SID_SW_ONLINEOPTIONS
210	{
211		ItemList [ en-US ] =
212		{
213			< "%PRODUCTNAME Writer/Web" ;	0								; > ;
214			< "View" ;						RID_SW_TP_HTML_CONTENT_OPT		; > ;
215			< "Formatting Aids" ;			RID_SW_TP_HTML_OPTSHDWCRSR		; > ;
216			< "Grid" ;						RID_SW_TP_HTML_OPTGRID_PAGE		; > ;
217			< "Print" ;						RID_SW_TP_HTML_OPTPRINT_PAGE	; > ;
218			< "Table" ;						RID_SW_TP_HTML_OPTTABLE_PAGE	; > ;
219			< "Background" ;				RID_SW_TP_BACKGROUND			; > ;
220		};
221	};
222	StringArray SID_SM_EDITOPTIONS
223	{
224		ItemList [ en-US ] =
225		{
226			< "%PRODUCTNAME Math" ;		0						; > ;
227			< "Settings" ;				SID_SM_TP_PRINTOPTIONS	; > ;
228		};
229	};
230	StringArray SID_SC_EDITOPTIONS
231	{
232		ItemList [ en-US ] =
233		{
234			< "%PRODUCTNAME Calc" ;	0							; > ;
235			< "General" ;			SID_SC_TP_LAYOUT			; > ;
236			< "View" ;				SID_SC_TP_CONTENT			; > ;
237			< "International" ;		RID_OFA_TP_INTERNATIONAL	; > ;
238			< "Calculate" ;			SID_SC_TP_CALC				; > ;
239			< "Sort Lists" ;		SID_SC_TP_USERLISTS			; > ;
240			< "Changes" ;			SID_SC_TP_CHANGES			; > ;
241			< "Grid" ;				SID_SC_TP_GRID				; > ;
242			< "Print" ;				RID_SC_TP_PRINT				; > ;
243		};
244	};
245	StringArray SID_SD_EDITOPTIONS
246	{
247		ItemList [ en-US ] =
248		{
249			< "%PRODUCTNAME Impress" ;	0					; > ;
250			< "General" ;				SID_SI_TP_MISC		; > ;
251			< "View" ;					SID_SI_TP_CONTENTS	; > ;
252			< "Grid" ;					SID_SI_TP_SNAP		; > ;
253			< "Print" ;					SID_SI_TP_PRINT		; > ;
254		};
255	};
256	StringArray SID_SD_GRAPHIC_OPTIONS
257	{
258		ItemList [ en-US ] =
259		{
260			< "%PRODUCTNAME Draw" ;	0					; > ;
261			< "General" ;			SID_SD_TP_MISC		; > ;
262			< "View" ;				SID_SD_TP_CONTENTS	; > ;
263			< "Grid" ;				SID_SD_TP_SNAP		; > ;
264			< "Print" ;				SID_SD_TP_PRINT		; > ;
265		};
266	};
267	StringArray SID_SCH_EDITOPTIONS
268	{
269		ItemList [ en-US ] =
270		{
271			< "Charts" ;			0							; > ;
272			< "Default Colors" ;	RID_OPTPAGE_CHART_DEFCOLORS	; > ;
273		};
274	};
275	StringArray SID_FILTER_DLG
276	{
277		ItemList [ en-US ] =
278		{
279			< "Load/Save" ;				0							; > ;
280			< "General" ;				RID_SFXPAGE_SAVE			; > ;
281			< "VBA Properties" ;		SID_OPTFILTER_MSOFFICE		; > ;
282			< "Microsoft Office" ;		RID_OFAPAGE_MSFILTEROPT2	; > ;
283			< "HTML Compatibility" ;	RID_OFAPAGE_HTMLOPT			; > ;
284		};
285	};
286	StringArray SID_SB_STARBASEOPTIONS
287	{
288		ItemList [ en-US ] =
289		{
290			< "%PRODUCTNAME Base" ;	0							; > ;
291			< "Connections" ;		SID_SB_CONNECTIONPOOLING	; > ;
292			< "Databases" ;			SID_SB_DBREGISTEROPTIONS	; > ;
293		};
294	};
295};
296String RID_RIDER_SLL_SITE
297{
298	Text [ en-US ] = "Site certificates" ;
299};
300String RID_RIDER_SLL_PERSONAL
301{
302	Text [ en-US ] = "Personal certificates" ;
303};
304
305#define MASK_COL    MaskColor = Color { Red = 0xFF00; Green = 0x0000; Blue = 0xFF00; } ;
306#define IMGLST_IDLST \
307	IdList = {					\
308		SID_GENERAL_OPTIONS;	\
309		SID_LANGUAGE_OPTIONS;	\
310		SID_INET_DLG;			\
311		SID_SW_EDITOPTIONS;		\
312		SID_SW_ONLINEOPTIONS;	\
313		SID_SC_EDITOPTIONS;		\
314		SID_SD_EDITOPTIONS;		\
315		SID_SD_GRAPHIC_OPTIONS;	\
316		SID_SM_EDITOPTIONS;		\
317		SID_SCH_EDITOPTIONS;	\
318		SID_SB_STARBASEOPTIONS;	\
319		SID_FILTER_DLG;			\
320	};							\
321	IdCount = {					\
322		12;						\
323	};
324
325ImageList RID_IMGLIST_TREEOPT
326{
327    Prefix = "tr" ;
328    MASK_COL
329    IMGLST_IDLST
330};
331
332ImageList RID_IMGLIST_TREEOPT_HC
333{
334    Prefix = "trh" ;
335    MASK_COL
336    IMGLST_IDLST
337};
338
339// ********************************************************************** EOF
340