xref: /aoo41x/main/cui/source/options/treeopt.src (revision 0e2af6af)
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	//TreeListBox
69	Control TLB_PAGES
70	{
71		Pos = MAP_APPFONT ( COL_1, ROW_1 ) ;
72		Size = MAP_APPFONT ( (COL_2-COL_1), (ROW_4-ROW_1) );
73		TabStop = TRUE ;
74		Border = TRUE;
75	};
76	Control FB_BORDER
77	{
78		Pos = MAP_APPFONT ( COL_3, ROW_1 ) ;
79		Size = MAP_APPFONT ( WIDTH_PAGEFRAME, HEIGHT_PAGEFRAME ) ;
80		Hide = TRUE;
81	};
82    FixedImage IMG_HELP
83	{
84        Pos = MAP_APPFONT ( COL_3_1, ROW_1_1 ) ;
85        Size = MAP_APPFONT ( WIDTH_IMG_HELP, HEIGHT_IMG_HELP ) ;
86		Hide = TRUE;
87	};
88    FixedText FT_PAGE_TITLE
89	{
90        Pos = MAP_APPFONT ( COL_3_3, ROW_1_2 ) ;
91		Size = MAP_APPFONT ( (COL_3_5-COL_3_3), 15 ) ;
92		Hide = TRUE;
93	};
94	FixedLine FL_LINE_1
95	{
96        Pos = MAP_APPFONT ( COL_3_1 , ROW_1_3 ) ;
97        Size = MAP_APPFONT ( (COL_3_5-COL_3_1), 1 ) ;
98		Comment = "Trennlinie" ;
99		Hide = TRUE;
100	};
101	FixedText FT_HELPTEXT
102	{
103        Pos = MAP_APPFONT ( COL_3_3, ROW_1_4 ) ;
104        Size = MAP_APPFONT ( (COL_3_5-COL_3_3), (HEIGHT_PAGEFRAME-ROW_1_4-1) ) ;
105		WordBreak = TRUE;
106		Hide = TRUE;
107	};
108    String ST_LOAD_ERROR
109	{
110		Text [ en-US ] = "The selected module could not be loaded.";
111	};
112	StringArray STR_HELPTEXTS
113	{
114		ItemList [ en-US ] =
115		{
116			< "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; > ;
117			< "This is where you make settings concerning language and writing aids for your work with %PRODUCTNAME."; SID_LANGUAGE_OPTIONS; > ;
118			< "This is where you configure %PRODUCTNAME for the Internet. You can define search engines or save your proxy settings." ; SID_INET_DLG; > ;
119			< "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; > ;
120			< "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; > ;
121			< "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; > ;
122			< "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; > ;
123			< "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; > ;
124			< "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; > ;
125			< "This is where you specify general default settings for your %PRODUCTNAME Charts. Set the colors you want for all new charts." ; SID_SCH_EDITOPTIONS; > ;
126			< "This is where you define general settings for accessing external data sources."; SID_SB_STARBASEOPTIONS; > ;
127			< "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; > ;
128		};
129	};
130	Bitmap BMP_ROOT_CLOSED
131	{
132		File = "plus.bmp" ;
133	};
134	Bitmap BMP_ROOT_OPENED
135	{
136		File = "minus.bmp" ;
137	};
138};
139
140Resource RID_OFADLG_OPTIONS_TREE_PAGES
141{
142	StringArray SID_GENERAL_OPTIONS
143	{
144		ItemList [ en-US ] =
145		{
146			< "%PRODUCTNAME" ; 0; > ;
147			< "User Data" ;  RID_SFXPAGE_GENERAL; > ;
148			< "General" ;  OFA_TP_MISC; > ;
149			< "Memory" ; OFA_TP_MEMORY; > ;
150			< "View" ; OFA_TP_VIEW ; > ;
151			< "Print" ; RID_SFXPAGE_PRINTOPTIONS; > ;
152			< "Paths" ;  RID_SFXPAGE_PATH; > ;
153			< "Colors" ;  RID_SVXPAGE_COLOR; > ;
154	        < "Fonts" ; RID_SVX_FONT_SUBSTITUTION ; > ;
155			< "Security" ; RID_SVXPAGE_INET_SECURITY ; > ;
156	        < "Appearance" ;        RID_SVXPAGE_COLORCONFIG        ; > ;
157	        < "Accessibility" ; RID_SVXPAGE_ACCESSIBILITYCONFIG ; > ;
158            < "Java" ; RID_SVXPAGE_OPTIONS_JAVA ; > ;
159	        < "Network Identity" ; RID_SVXPAGE_SSO ; > ;
160            < "Online Update" ; RID_SVXPAGE_ONLINEUPDATE ; > ;
161            < "" ; RID_SVXPAGE_IMPROVEMENT ; > ;
162        };
163	};
164    StringArray SID_LANGUAGE_OPTIONS
165	{
166		ItemList [ en-US ] =
167		{
168			< "Language Settings" ; 0; > ;
169			< "Languages"; OFA_TP_LANGUAGES; > ;
170			< "Writing Aids" ; RID_SFXPAGE_LINGU; > ;
171			< "Searching in Japanese" ;  RID_SVXPAGE_JSEARCH_OPTIONS; > ;
172			< "Asian Layout" ;  RID_SVXPAGE_ASIAN_LAYOUT; > ;
173			< "Complex Text Layout" ;  RID_SVXPAGE_OPTIONS_CTL; >;
174		};
175	};
176    StringArray SID_INET_DLG
177	{
178		//modified by jmeng begin
179		ItemList [ en-US ] =
180		{
181			< "Internet" ; 0; > ;
182			< "Proxy" ;  RID_SVXPAGE_INET_PROXY; > ;
183			< "Search" ;  RID_SVXPAGE_INET_SEARCH; > ;
184			< "E-mail" ;  RID_SVXPAGE_INET_MAIL; > ;
185            < "Browser Plug-in" ;  RID_SVXPAGE_INET_MOZPLUGIN; > ;
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