xref: /aoo4110/main/cui/source/options/treeopt.src (revision b1cdbd2c)
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		};
186		//modified by jmeng end
187	};
188    StringArray SID_SW_EDITOPTIONS
189	{
190        ItemList [ en-US ] =
191		{
192			< "%PRODUCTNAME Writer" ; 0; > ;
193			< "General" ;     RID_SW_TP_OPTLOAD_PAGE   ; > ;
194			< "View" ;       RID_SW_TP_CONTENT_OPT   ;> ;
195			< "Formatting Aids" ;        RID_SW_TP_OPTSHDWCRSR    ; > ;
196			< "Grid" ;        RID_SVXPAGE_GRID        ; > ;
197			< "Basic Fonts (Western)" ;RID_SW_TP_STD_FONT       ; > ;
198			< "Basic Fonts (Asian)" ;RID_SW_TP_STD_FONT_CJK       ; > ;
199	        < "Basic Fonts (CTL)" ;      RID_SW_TP_STD_FONT_CTL       ; > ;
200	        < "Print" ;       RID_SW_TP_OPTPRINT_PAGE  ; > ;
201			< "Table" ;  		RID_SW_TP_OPTTABLE_PAGE  ; > ;
202			< "Changes" ;    RID_SW_TP_REDLINE_OPT    ; > ;
203            < "Compatibility" ; RID_SW_TP_OPTCOMPATIBILITY_PAGE    ; > ;
204            < "AutoCaption" ; RID_SW_TP_OPTCAPTION_PAGE ; > ;
205            < "Mail Merge E-mail" ; RID_SW_TP_MAILCONFIG ; >;
206        };
207	};
208    StringArray SID_SW_ONLINEOPTIONS
209	{
210		ItemList [ en-US ] =
211		{
212			< "%PRODUCTNAME Writer/Web" ; 0; > ;
213			< "View" ;       RID_SW_TP_HTML_CONTENT_OPT      ;> ;
214			< "Formatting Aids" ;        RID_SW_TP_HTML_OPTSHDWCRSR    ; > ;
215			< "Grid" ;        RID_SW_TP_HTML_OPTGRID_PAGE ; > ;
216			< "Print" ;  		RID_SW_TP_HTML_OPTPRINT_PAGE  ; > ;
217			< "Table" ;  		RID_SW_TP_HTML_OPTTABLE_PAGE  ; > ;
218			< "Background" ;  	RID_SW_TP_BACKGROUND  ; > ;
219		};
220	};
221	StringArray SID_SM_EDITOPTIONS
222	{
223		ItemList [ en-US ] =
224		{
225			< "%PRODUCTNAME Math" ; 0; > ;
226			< "Settings" ; SID_SM_TP_PRINTOPTIONS;> ;
227		};
228	};
229	StringArray SID_SC_EDITOPTIONS
230	{
231		ItemList [ en-US ] =
232		{
233			< "%PRODUCTNAME Calc" ; 0; > ;
234			< "General" ;			SID_SC_TP_LAYOUT			;> ;
235			< "View" ;			SID_SC_TP_CONTENT			;> ;
236			< "International" ;		RID_OFA_TP_INTERNATIONAL	;> ;
237			< "Calculate" ;			SID_SC_TP_CALC				;> ;
238			< "Sort Lists" ;		SID_SC_TP_USERLISTS			;> ;
239			< "Changes" ;		SID_SC_TP_CHANGES			;> ;
240			< "Grid" ;			SID_SC_TP_GRID				;> ;
241			< "Print" ;			RID_SC_TP_PRINT				;> ;
242		};
243	};
244	StringArray SID_SD_EDITOPTIONS
245	{
246		ItemList [ en-US ] =
247		{
248			< "%PRODUCTNAME Impress" ; 0; > ;
249			< "General";			SID_SI_TP_MISC					; > ;
250			< "View" ;			SID_SI_TP_CONTENTS				; > ;
251			< "Grid" ;			SID_SI_TP_SNAP					; > ;
252			< "Print" ;			SID_SI_TP_PRINT					; > ;
253		};
254	};
255	StringArray SID_SD_GRAPHIC_OPTIONS
256	{
257		ItemList [ en-US ] =
258		{
259			< "%PRODUCTNAME Draw" ; 0; > ;
260			< "General" ;			SID_SD_TP_MISC				; > ;
261			< "View" ;			SID_SD_TP_CONTENTS			; > ;
262			< "Grid" ;			SID_SD_TP_SNAP				; > ;
263			< "Print" ; 	 		SID_SD_TP_PRINT				; > ;
264		};
265	};
266	StringArray SID_SCH_EDITOPTIONS
267	{
268		ItemList [ en-US ] =
269		{
270			< "Charts" ; 0; > ;
271			< "Default Colors" ; 	 	RID_OPTPAGE_CHART_DEFCOLORS ; > ;
272		};
273	};
274	StringArray SID_FILTER_DLG
275	{
276		ItemList [ en-US ] =
277		{
278				< "Load/Save" ; 0; > ;
279			< "General" ;  RID_SFXPAGE_SAVE; > ;
280			< "VBA Properties" ;  SID_OPTFILTER_MSOFFICE; > ;
281			< "Microsoft Office" ;  RID_OFAPAGE_MSFILTEROPT2; > ;
282			< "HTML Compatibility" ; RID_OFAPAGE_HTMLOPT ; > ;
283		};
284	};
285	StringArray SID_SB_STARBASEOPTIONS
286	{
287		ItemList [ en-US ] =
288		{
289			< "%PRODUCTNAME Base" ; 0; > ;
290			< "Connections" ; SID_SB_CONNECTIONPOOLING; > ;
291			< "Databases" ; SID_SB_DBREGISTEROPTIONS; > ;
292		};
293	};
294};
295String RID_RIDER_SLL_SITE
296{
297	Text [ en-US ] = "Site certificates" ;
298};
299String RID_RIDER_SLL_PERSONAL
300{
301	Text [ en-US ] = "Personal certificates" ;
302};
303
304#define MASK_COL    MaskColor = Color { Red = 0xFF00; Green = 0x0000; Blue = 0xFF00; } ;
305#define IMGLST_IDLST \
306    IdList = {                      \
307        SID_GENERAL_OPTIONS;        \
308        SID_LANGUAGE_OPTIONS;       \
309        SID_INET_DLG;               \
310        SID_SW_EDITOPTIONS;         \
311        SID_SW_ONLINEOPTIONS;       \
312        SID_SC_EDITOPTIONS;         \
313        SID_SD_EDITOPTIONS;         \
314        SID_SD_GRAPHIC_OPTIONS;     \
315        SID_SM_EDITOPTIONS;         \
316        SID_SCH_EDITOPTIONS;        \
317        SID_SB_STARBASEOPTIONS;     \
318        SID_FILTER_DLG;             \
319    };                              \
320    IdCount = {                     \
321        12;                         \
322    };
323
324ImageList RID_IMGLIST_TREEOPT
325{
326    Prefix = "tr";
327    MASK_COL
328    IMGLST_IDLST
329};
330
331ImageList RID_IMGLIST_TREEOPT_HC
332{
333    Prefix = "trh";
334    MASK_COL
335    IMGLST_IDLST
336};
337
338