xref: /trunk/main/cui/source/options/treeopt.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 "treeopt.hrc"
29#include <cuires.hrc>
30#include "helpid.hrc"
31#include <svx/dialogs.hrc>
32
33#define IMAGE_STDBTN_COLOR Color { Red = 0xC000; Green = 0xC000; Blue = 0xC000; }
34
35ModalDialog RID_OFADLG_OPTIONS_TREE
36{
37	HelpID = HID_OFADLG_OPTIONS_TREE;
38	Moveable = TRUE ;
39	OutputSize = TRUE ;
40	SVLook = TRUE ;
41
42	Size = MAP_APPFONT ( COL_12 , ROW_5 ) ;
43	Text [ en-US ] = "Options";
44
45	OKButton PB_OK
46	{
47		Pos = MAP_APPFONT ( COL_4, ROW_3 ) ;
48		Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH , RSC_CD_PUSHBUTTON_HEIGHT ) ;
49		TabStop = TRUE ;
50		DefButton = TRUE;
51	};
52	CancelButton PB_CANCEL
53	{
54		Pos = MAP_APPFONT ( COL_6, ROW_3 ) ;
55		Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH , RSC_CD_PUSHBUTTON_HEIGHT ) ;
56		TabStop = TRUE ;
57	};
58	HelpButton PB_HELP
59	{
60		Pos = MAP_APPFONT ( COL_8, ROW_3 ) ;
61		Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH , RSC_CD_PUSHBUTTON_HEIGHT ) ;
62		TabStop = TRUE ;
63	};
64	PushButton PB_BACK
65	{
66	    HelpID = "cui:PushButton:RID_OFADLG_OPTIONS_TREE:PB_BACK";
67		Pos = MAP_APPFONT ( COL_10, ROW_3 ) ;
68		Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH , RSC_CD_PUSHBUTTON_HEIGHT ) ;
69		TabStop = TRUE ;
70		Text [ en-US ] = "~Back" ;
71	};
72	//TreeListBox
73	Control TLB_PAGES
74	{
75		Pos = MAP_APPFONT ( COL_1, ROW_1 ) ;
76		Size = MAP_APPFONT ( (COL_2-COL_1), (ROW_4-ROW_1) );
77		TabStop = TRUE ;
78		Border = TRUE;
79	};
80	Control FB_BORDER
81	{
82		Pos = MAP_APPFONT ( COL_3, ROW_1 ) ;
83		Size = MAP_APPFONT ( WIDTH_PAGEFRAME, HEIGHT_PAGEFRAME ) ;
84		Hide = TRUE;
85	};
86    FixedImage IMG_HELP
87	{
88        Pos = MAP_APPFONT ( COL_3_1, ROW_1_1 ) ;
89        Size = MAP_APPFONT ( WIDTH_IMG_HELP, HEIGHT_IMG_HELP ) ;
90		Hide = TRUE;
91	};
92    FixedText FT_PAGE_TITLE
93	{
94        Pos = MAP_APPFONT ( COL_3_3, ROW_1_2 ) ;
95		Size = MAP_APPFONT ( (COL_3_5-COL_3_3), 15 ) ;
96		Hide = TRUE;
97	};
98	FixedLine FL_LINE_1
99	{
100        Pos = MAP_APPFONT ( COL_3_1 , ROW_1_3 ) ;
101        Size = MAP_APPFONT ( (COL_3_5-COL_3_1), 1 ) ;
102		Comment = "Trennlinie" ;
103		Hide = TRUE;
104	};
105	FixedText FT_HELPTEXT
106	{
107        Pos = MAP_APPFONT ( COL_3_3, ROW_1_4 ) ;
108        Size = MAP_APPFONT ( (COL_3_5-COL_3_3), (HEIGHT_PAGEFRAME-ROW_1_4-1) ) ;
109		WordBreak = TRUE;
110		Hide = TRUE;
111	};
112    String ST_LOAD_ERROR
113	{
114		Text [ en-US ] = "The selected module could not be loaded.";
115	};
116	StringArray STR_HELPTEXTS
117	{
118		ItemList [ en-US ] =
119		{
120			< "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; > ;
121			< "This is where you make settings concerning language and writing aids for your work with %PRODUCTNAME."; SID_LANGUAGE_OPTIONS; > ;
122			< "This is where you configure %PRODUCTNAME for the Internet. You can define search engines or save your proxy settings." ; SID_INET_DLG; > ;
123			< "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; > ;
124			< "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; > ;
125			< "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; > ;
126			< "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; > ;
127			< "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; > ;
128			< "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; > ;
129			< "This is where you specify general default settings for your %PRODUCTNAME Charts. Set the colors you want for all new charts." ; SID_SCH_EDITOPTIONS; > ;
130			< "This is where you define general settings for accessing external data sources."; SID_SB_STARBASEOPTIONS; > ;
131			< "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; > ;
132		};
133	};
134	Bitmap BMP_ROOT_CLOSED
135	{
136		File = "plus.bmp" ;
137	};
138	Bitmap BMP_ROOT_OPENED
139	{
140		File = "minus.bmp" ;
141	};
142};
143
144Resource RID_OFADLG_OPTIONS_TREE_PAGES
145{
146	StringArray SID_GENERAL_OPTIONS
147	{
148		ItemList [ en-US ] =
149		{
150			< "%PRODUCTNAME" ; 0; > ;
151			< "User Data" ;  RID_SFXPAGE_GENERAL; > ;
152			< "General" ;  OFA_TP_MISC; > ;
153			< "Memory" ; OFA_TP_MEMORY; > ;
154			< "View" ; OFA_TP_VIEW ; > ;
155			< "Print" ; RID_SFXPAGE_PRINTOPTIONS; > ;
156			< "Paths" ;  RID_SFXPAGE_PATH; > ;
157			< "Colors" ;  RID_SVXPAGE_COLOR; > ;
158	        < "Fonts" ; RID_SVX_FONT_SUBSTITUTION ; > ;
159			< "Security" ; RID_SVXPAGE_INET_SECURITY ; > ;
160	        < "Appearance" ;        RID_SVXPAGE_COLORCONFIG        ; > ;
161	        < "Accessibility" ; RID_SVXPAGE_ACCESSIBILITYCONFIG ; > ;
162            < "Java" ; RID_SVXPAGE_OPTIONS_JAVA ; > ;
163	        < "Network Identity" ; RID_SVXPAGE_SSO ; > ;
164            < "Online Update" ; RID_SVXPAGE_ONLINEUPDATE ; > ;
165            < "" ; RID_SVXPAGE_IMPROVEMENT ; > ;
166        };
167	};
168    StringArray SID_LANGUAGE_OPTIONS
169	{
170		ItemList [ en-US ] =
171		{
172			< "Language Settings" ; 0; > ;
173			< "Languages"; OFA_TP_LANGUAGES; > ;
174			< "Writing Aids" ; RID_SFXPAGE_LINGU; > ;
175			< "Searching in Japanese" ;  RID_SVXPAGE_JSEARCH_OPTIONS; > ;
176			< "Asian Layout" ;  RID_SVXPAGE_ASIAN_LAYOUT; > ;
177			< "Complex Text Layout" ;  RID_SVXPAGE_OPTIONS_CTL; >;
178		};
179	};
180    StringArray SID_INET_DLG
181	{
182		//modified by jmeng begin
183		ItemList [ en-US ] =
184		{
185			< "Internet" ; 0; > ;
186			< "Proxy" ;  RID_SVXPAGE_INET_PROXY; > ;
187			< "Search" ;  RID_SVXPAGE_INET_SEARCH; > ;
188			< "E-mail" ;  RID_SVXPAGE_INET_MAIL; > ;
189            < "Browser Plug-in" ;  RID_SVXPAGE_INET_MOZPLUGIN; > ;
190		};
191		//modified by jmeng end
192	};
193    StringArray SID_SW_EDITOPTIONS
194	{
195        ItemList [ en-US ] =
196		{
197			< "%PRODUCTNAME Writer" ; 0; > ;
198			< "General" ;     RID_SW_TP_OPTLOAD_PAGE   ; > ;
199			< "View" ;       RID_SW_TP_CONTENT_OPT   ;> ;
200			< "Formatting Aids" ;        RID_SW_TP_OPTSHDWCRSR    ; > ;
201			< "Grid" ;        RID_SVXPAGE_GRID        ; > ;
202			< "Basic Fonts (Western)" ;RID_SW_TP_STD_FONT       ; > ;
203			< "Basic Fonts (Asian)" ;RID_SW_TP_STD_FONT_CJK       ; > ;
204	        < "Basic Fonts (CTL)" ;      RID_SW_TP_STD_FONT_CTL       ; > ;
205	        < "Print" ;       RID_SW_TP_OPTPRINT_PAGE  ; > ;
206			< "Table" ;  		RID_SW_TP_OPTTABLE_PAGE  ; > ;
207			< "Changes" ;    RID_SW_TP_REDLINE_OPT    ; > ;
208            < "Compatibility" ; RID_SW_TP_OPTCOMPATIBILITY_PAGE    ; > ;
209            < "AutoCaption" ; RID_SW_TP_OPTCAPTION_PAGE ; > ;
210            < "Mail Merge E-mail" ; RID_SW_TP_MAILCONFIG ; >;
211        };
212	};
213    StringArray SID_SW_ONLINEOPTIONS
214	{
215		ItemList [ en-US ] =
216		{
217			< "%PRODUCTNAME Writer/Web" ; 0; > ;
218			< "View" ;       RID_SW_TP_HTML_CONTENT_OPT      ;> ;
219			< "Formatting Aids" ;        RID_SW_TP_HTML_OPTSHDWCRSR    ; > ;
220			< "Grid" ;        RID_SW_TP_HTML_OPTGRID_PAGE ; > ;
221			< "Print" ;  		RID_SW_TP_HTML_OPTPRINT_PAGE  ; > ;
222			< "Table" ;  		RID_SW_TP_HTML_OPTTABLE_PAGE  ; > ;
223			< "Background" ;  	RID_SW_TP_BACKGROUND  ; > ;
224		};
225	};
226	StringArray SID_SM_EDITOPTIONS
227	{
228		ItemList [ en-US ] =
229		{
230			< "%PRODUCTNAME Math" ; 0; > ;
231			< "Settings" ; SID_SM_TP_PRINTOPTIONS;> ;
232		};
233	};
234	StringArray SID_SC_EDITOPTIONS
235	{
236		ItemList [ en-US ] =
237		{
238			< "%PRODUCTNAME Calc" ; 0; > ;
239			< "General" ;			SID_SC_TP_LAYOUT			;> ;
240			< "View" ;			SID_SC_TP_CONTENT			;> ;
241			< "International" ;		RID_OFA_TP_INTERNATIONAL	;> ;
242			< "Calculate" ;			SID_SC_TP_CALC				;> ;
243			< "Sort Lists" ;		SID_SC_TP_USERLISTS			;> ;
244			< "Changes" ;		SID_SC_TP_CHANGES			;> ;
245			< "Grid" ;			SID_SC_TP_GRID				;> ;
246			< "Print" ;			RID_SC_TP_PRINT				;> ;
247		};
248	};
249	StringArray SID_SD_EDITOPTIONS
250	{
251		ItemList [ en-US ] =
252		{
253			< "%PRODUCTNAME Impress" ; 0; > ;
254			< "General";			SID_SI_TP_MISC					; > ;
255			< "View" ;			SID_SI_TP_CONTENTS				; > ;
256			< "Grid" ;			SID_SI_TP_SNAP					; > ;
257			< "Print" ;			SID_SI_TP_PRINT					; > ;
258		};
259	};
260	StringArray SID_SD_GRAPHIC_OPTIONS
261	{
262		ItemList [ en-US ] =
263		{
264			< "%PRODUCTNAME Draw" ; 0; > ;
265			< "General" ;			SID_SD_TP_MISC				; > ;
266			< "View" ;			SID_SD_TP_CONTENTS			; > ;
267			< "Grid" ;			SID_SD_TP_SNAP				; > ;
268			< "Print" ; 	 		SID_SD_TP_PRINT				; > ;
269		};
270	};
271	StringArray SID_SCH_EDITOPTIONS
272	{
273		ItemList [ en-US ] =
274		{
275			< "Charts" ; 0; > ;
276			< "Default Colors" ; 	 	RID_OPTPAGE_CHART_DEFCOLORS ; > ;
277		};
278	};
279	StringArray SID_FILTER_DLG
280	{
281		ItemList [ en-US ] =
282		{
283				< "Load/Save" ; 0; > ;
284			< "General" ;  RID_SFXPAGE_SAVE; > ;
285			< "VBA Properties" ;  SID_OPTFILTER_MSOFFICE; > ;
286			< "Microsoft Office" ;  RID_OFAPAGE_MSFILTEROPT2; > ;
287			< "HTML Compatibility" ; RID_OFAPAGE_HTMLOPT ; > ;
288		};
289	};
290	StringArray SID_SB_STARBASEOPTIONS
291	{
292		ItemList [ en-US ] =
293		{
294			< "%PRODUCTNAME Base" ; 0; > ;
295			< "Connections" ; SID_SB_CONNECTIONPOOLING; > ;
296			< "Databases" ; SID_SB_DBREGISTEROPTIONS; > ;
297		};
298	};
299};
300String RID_RIDER_SLL_SITE
301{
302	Text [ en-US ] = "Site certificates" ;
303};
304String RID_RIDER_SLL_PERSONAL
305{
306	Text [ en-US ] = "Personal certificates" ;
307};
308
309#define MASK_COL    MaskColor = Color { Red = 0xFF00; Green = 0x0000; Blue = 0xFF00; } ;
310#define IMGLST_IDLST \
311    IdList = {                      \
312        SID_GENERAL_OPTIONS;        \
313        SID_LANGUAGE_OPTIONS;       \
314        SID_INET_DLG;               \
315        SID_SW_EDITOPTIONS;         \
316        SID_SW_ONLINEOPTIONS;       \
317        SID_SC_EDITOPTIONS;         \
318        SID_SD_EDITOPTIONS;         \
319        SID_SD_GRAPHIC_OPTIONS;     \
320        SID_SM_EDITOPTIONS;         \
321        SID_SCH_EDITOPTIONS;        \
322        SID_SB_STARBASEOPTIONS;     \
323        SID_FILTER_DLG;             \
324    };                              \
325    IdCount = {                     \
326        12;                         \
327    };
328
329ImageList RID_IMGLIST_TREEOPT
330{
331    Prefix = "tr";
332    MASK_COL
333    IMGLST_IDLST
334};
335
336ImageList RID_IMGLIST_TREEOPT_HC
337{
338    Prefix = "trh";
339    MASK_COL
340    IMGLST_IDLST
341};
342
343