summaryrefslogtreecommitdiff
path: root/cui/source/options/treeopt.src
blob: ff7d70fa1c1a75729a8825694e790da772c14ed6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
/*************************************************************************
 *
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
 * 
 * Copyright 2000, 2010 Oracle and/or its affiliates.
 *
 * OpenOffice.org - a multi-platform office productivity suite
 *
 * This file is part of OpenOffice.org.
 *
 * OpenOffice.org is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License version 3
 * only, as published by the Free Software Foundation.
 *
 * OpenOffice.org is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Lesser General Public License version 3 for more details
 * (a copy is included in the LICENSE file that accompanied this code).
 *
 * You should have received a copy of the GNU Lesser General Public License
 * version 3 along with OpenOffice.org.  If not, see
 * <http://www.openoffice.org/license.html>
 * for a copy of the LGPLv3 License.
 *
 ************************************************************************/

#include "treeopt.hrc"
#include <cuires.hrc>
#include "helpid.hrc"
#include <svx/dialogs.hrc>

#define IMAGE_STDBTN_COLOR Color { Red = 0xC000; Green = 0xC000; Blue = 0xC000; }

ModalDialog RID_OFADLG_OPTIONS_TREE
{
    HelpID = HID_OFADLG_OPTIONS_TREE;
    Moveable = TRUE ;
    OutputSize = TRUE ;
    SVLook = TRUE ;

    Size = MAP_APPFONT ( COL_12 , ROW_5 ) ;
    Text [ en-US ] = "Options";

    OKButton PB_OK
    {
        Pos = MAP_APPFONT ( COL_4, ROW_3 ) ;
        Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH , RSC_CD_PUSHBUTTON_HEIGHT ) ;
        TabStop = TRUE ;
        DefButton = TRUE;
    };
    CancelButton PB_CANCEL
    {
        Pos = MAP_APPFONT ( COL_6, ROW_3 ) ;
        Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH , RSC_CD_PUSHBUTTON_HEIGHT ) ;
        TabStop = TRUE ;
    };
    HelpButton PB_HELP
    {
        Pos = MAP_APPFONT ( COL_8, ROW_3 ) ;
        Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH , RSC_CD_PUSHBUTTON_HEIGHT ) ;
        TabStop = TRUE ;
    };
    PushButton PB_BACK
    {
        HelpID = "cui:PushButton:RID_OFADLG_OPTIONS_TREE:PB_BACK";
        Pos = MAP_APPFONT ( COL_10, ROW_3 ) ;
        Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH , RSC_CD_PUSHBUTTON_HEIGHT ) ;
        TabStop = TRUE ;
        Text [ en-US ] = "~Back" ;
    };
    //TreeListBox
    Control TLB_PAGES
    {
        Pos = MAP_APPFONT ( COL_1, ROW_1 ) ;
        Size = MAP_APPFONT ( (COL_2-COL_1), (ROW_4-ROW_1) );
        TabStop = TRUE ;
        Border = TRUE;
    };
    Control FB_BORDER
    {
        Pos = MAP_APPFONT ( COL_3, ROW_1 ) ;
        Size = MAP_APPFONT ( WIDTH_PAGEFRAME, HEIGHT_PAGEFRAME ) ;
        Hide = TRUE;
    };
    FixedImage IMG_HELP
    {
        Pos = MAP_APPFONT ( COL_3_1, ROW_1_1 ) ;
        Size = MAP_APPFONT ( WIDTH_IMG_HELP, HEIGHT_IMG_HELP ) ;
        Hide = TRUE;
    };
    FixedText FT_PAGE_TITLE
    {
        Pos = MAP_APPFONT ( COL_3_3, ROW_1_2 ) ;
        Size = MAP_APPFONT ( (COL_3_5-COL_3_3), 15 ) ;
        Hide = TRUE;
    };
    FixedLine FL_LINE_1
    {
        Pos = MAP_APPFONT ( COL_3_1 , ROW_1_3 ) ;
        Size = MAP_APPFONT ( (COL_3_5-COL_3_1), 1 ) ;
        Comment = "Trennlinie" ;
        Hide = TRUE;
    };
    FixedText FT_HELPTEXT
    {
        Pos = MAP_APPFONT ( COL_3_3, ROW_1_4 ) ;
        Size = MAP_APPFONT ( (COL_3_5-COL_3_3), (HEIGHT_PAGEFRAME-ROW_1_4-1) ) ;
        WordBreak = TRUE;
        Hide = TRUE;
    };
    String ST_LOAD_ERROR
    {
        Text [ en-US ] = "The selected module could not be loaded.";
    };
    StringArray STR_HELPTEXTS
    {
        ItemList [ en-US ] =
        {
            < "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; > ;
            < "This is where you make settings concerning language and writing aids for your work with %PRODUCTNAME."; SID_LANGUAGE_OPTIONS; > ;
            < "This is where you configure %PRODUCTNAME for the Internet. You can save your proxy settings." ; SID_INET_DLG; > ;
            < "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; > ;
            < "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; > ;
            < "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; > ;
            < "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; > ;
            < "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; > ;
            < "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; > ;
            < "This is where you specify general default settings for your %PRODUCTNAME Charts. Set the colors you want for all new charts." ; SID_SCH_EDITOPTIONS; > ;
            < "This is where you define general settings for accessing external data sources."; SID_SB_STARBASEOPTIONS; > ;
            < "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; > ;
        };
    };
    Bitmap BMP_ROOT_CLOSED
    {
        File = "plus.bmp" ;
    };
    Bitmap BMP_ROOT_OPENED
    {
        File = "minus.bmp" ;
    };
};

Resource RID_OFADLG_OPTIONS_TREE_PAGES
{
    StringArray SID_GENERAL_OPTIONS
    {
        ItemList [ en-US ] =
        {
            < "%PRODUCTNAME" ; 0; > ;
            < "User Data" ;  RID_SFXPAGE_GENERAL; > ;
            < "General" ;  OFA_TP_MISC; > ;
            < "Memory" ; OFA_TP_MEMORY; > ;
            < "View" ; OFA_TP_VIEW ; > ;
            < "Print" ; RID_SFXPAGE_PRINTOPTIONS; > ;
            < "Paths" ;  RID_SFXPAGE_PATH; > ;
            < "Colors" ;  RID_SVXPAGE_COLOR; > ;
            < "Fonts" ; RID_SVX_FONT_SUBSTITUTION ; > ;
            < "Security" ; RID_SVXPAGE_INET_SECURITY ; > ;
            < "Appearance" ;        RID_SVXPAGE_COLORCONFIG        ; > ;
            < "Accessibility" ; RID_SVXPAGE_ACCESSIBILITYCONFIG ; > ;
            < "Java" ; RID_SVXPAGE_OPTIONS_JAVA ; > ;
            < "Network Identity" ; RID_SVXPAGE_SSO ; > ;
            < "Online Update" ; RID_SVXPAGE_ONLINEUPDATE ; > ;
            < "" ; RID_SVXPAGE_IMPROVEMENT ; > ;
        };
    };
    StringArray SID_LANGUAGE_OPTIONS
    {
        ItemList [ en-US ] =
        {
            < "Language Settings" ; 0; > ;
            < "Languages"; OFA_TP_LANGUAGES; > ;
            < "Writing Aids" ; RID_SFXPAGE_LINGU; > ;
            < "Searching in Japanese" ;  RID_SVXPAGE_JSEARCH_OPTIONS; > ;
            < "Asian Layout" ;  RID_SVXPAGE_ASIAN_LAYOUT; > ;
            < "Complex Text Layout" ;  RID_SVXPAGE_OPTIONS_CTL; >;
        };
    };
    StringArray SID_INET_DLG
    {
        //modified by jmeng begin
        ItemList [ en-US ] =
        {
            < "Internet" ; 0; > ;
            < "Proxy" ;  RID_SVXPAGE_INET_PROXY; > ;
            < "E-mail" ;  RID_SVXPAGE_INET_MAIL; > ;
            < "Browser Plug-in" ;  RID_SVXPAGE_INET_MOZPLUGIN; > ;
        };
        //modified by jmeng end
    };
    StringArray SID_SW_EDITOPTIONS
    {
        ItemList [ en-US ] =
        {
            < "%PRODUCTNAME Writer" ; 0; > ;
            < "General" ;     RID_SW_TP_OPTLOAD_PAGE   ; > ;
            < "View" ;       RID_SW_TP_CONTENT_OPT   ;> ;
            < "Formatting Aids" ;        RID_SW_TP_OPTSHDWCRSR    ; > ;
            < "Grid" ;        RID_SVXPAGE_GRID        ; > ;
            < "Basic Fonts (Western)" ;RID_SW_TP_STD_FONT       ; > ;
            < "Basic Fonts (Asian)" ;RID_SW_TP_STD_FONT_CJK       ; > ;
            < "Basic Fonts (CTL)" ;      RID_SW_TP_STD_FONT_CTL       ; > ;
            < "Print" ;       RID_SW_TP_OPTPRINT_PAGE  ; > ;
            < "Table" ;  		RID_SW_TP_OPTTABLE_PAGE  ; > ;
            < "Changes" ;    RID_SW_TP_REDLINE_OPT    ; > ;
            < "Compatibility" ; RID_SW_TP_OPTCOMPATIBILITY_PAGE    ; > ;
            < "AutoCaption" ; RID_SW_TP_OPTCAPTION_PAGE ; > ;
            < "Mail Merge E-mail" ; RID_SW_TP_MAILCONFIG ; >;
        };
    };
    StringArray SID_SW_ONLINEOPTIONS
    {
        ItemList [ en-US ] =
        {
            < "%PRODUCTNAME Writer/Web" ; 0; > ;
            < "View" ;       RID_SW_TP_HTML_CONTENT_OPT      ;> ;
            < "Formatting Aids" ;        RID_SW_TP_HTML_OPTSHDWCRSR    ; > ;
            < "Grid" ;        RID_SW_TP_HTML_OPTGRID_PAGE ; > ;
            < "Print" ;  		RID_SW_TP_HTML_OPTPRINT_PAGE  ; > ;
            < "Table" ;  		RID_SW_TP_HTML_OPTTABLE_PAGE  ; > ;
            < "Background" ;  	RID_SW_TP_BACKGROUND  ; > ;
        };
    };
    StringArray SID_SM_EDITOPTIONS
    {
        ItemList [ en-US ] =
        {
            < "%PRODUCTNAME Math" ; 0; > ;
            < "Settings" ; SID_SM_TP_PRINTOPTIONS;> ;
        };
    };
    StringArray SID_SC_EDITOPTIONS
    {
        ItemList [ en-US ] =
        {
            < "%PRODUCTNAME Calc" ; 0; > ;
            < "General" ;			SID_SC_TP_LAYOUT			;> ;
            < "Defaults" ;			RID_SC_TP_DEFAULTS			;> ;
            < "View" ;			SID_SC_TP_CONTENT			;> ;
            < "International" ;		RID_OFA_TP_INTERNATIONAL	;> ;
            < "Calculate" ;			SID_SC_TP_CALC				;> ;
            < "Formula" ;       SID_SC_TP_FORMULA ;> ;
            < "Sort Lists" ;		SID_SC_TP_USERLISTS			;> ;
            < "Changes" ;		SID_SC_TP_CHANGES			;> ;
            < "Compatibility" ; SID_SC_TP_COMPATIBILITY ;> ;
            < "Grid" ;			SID_SC_TP_GRID				;> ;
            < "Print" ;			RID_SC_TP_PRINT				;> ;
        };
    };
    StringArray SID_SD_EDITOPTIONS
    {
        ItemList [ en-US ] =
        {
            < "%PRODUCTNAME Impress" ; 0; > ;
            < "General";			SID_SI_TP_MISC					; > ;
            < "View" ;			SID_SI_TP_CONTENTS				; > ;
            < "Grid" ;			SID_SI_TP_SNAP					; > ;
            < "Print" ;			SID_SI_TP_PRINT					; > ;
        };
    };
    StringArray SID_SD_GRAPHIC_OPTIONS
    {
        ItemList [ en-US ] =
        {
            < "%PRODUCTNAME Draw" ; 0; > ;
            < "General" ;			SID_SD_TP_MISC				; > ;
            < "View" ;			SID_SD_TP_CONTENTS			; > ;
            < "Grid" ;			SID_SD_TP_SNAP				; > ;
            < "Print" ; 	 		SID_SD_TP_PRINT				; > ;
        };
    };
    StringArray SID_SCH_EDITOPTIONS
    {
        ItemList [ en-US ] =
        {
            < "Charts" ; 0; > ;
            < "Default Colors" ; 	 	RID_OPTPAGE_CHART_DEFCOLORS ; > ;
        };
    };
    StringArray SID_FILTER_DLG
    {
        ItemList [ en-US ] =
        {
                < "Load/Save" ; 0; > ;
            < "General" ;  RID_SFXPAGE_SAVE; > ;
            < "VBA Properties" ;  SID_OPTFILTER_MSOFFICE; > ;
            < "Microsoft Office" ;  RID_OFAPAGE_MSFILTEROPT2; > ;
            < "HTML Compatibility" ; RID_OFAPAGE_HTMLOPT ; > ;
        };
    };
    StringArray SID_SB_STARBASEOPTIONS
    {
        ItemList [ en-US ] =
        {
            < "%PRODUCTNAME Base" ; 0; > ;
            < "Connections" ; SID_SB_CONNECTIONPOOLING; > ;
            < "Databases" ; SID_SB_DBREGISTEROPTIONS; > ;
        };
    };
};
String RID_RIDER_SLL_SITE
{
    Text [ en-US ] = "Site certificates" ;
};
String RID_RIDER_SLL_PERSONAL
{
    Text [ en-US ] = "Personal certificates" ;
};

#define MASK_COL    MaskColor = Color { Red = 0xFF00; Green = 0x0000; Blue = 0xFF00; } ;
#define IMGLST_IDLST \
    IdList = {                      \
        SID_GENERAL_OPTIONS;        \
        SID_LANGUAGE_OPTIONS;       \
        SID_INET_DLG;               \
        SID_SW_EDITOPTIONS;         \
        SID_SW_ONLINEOPTIONS;       \
        SID_SC_EDITOPTIONS;         \
        SID_SD_EDITOPTIONS;         \
        SID_SD_GRAPHIC_OPTIONS;     \
        SID_SM_EDITOPTIONS;         \
        SID_SCH_EDITOPTIONS;        \
        SID_SB_STARBASEOPTIONS;     \
        SID_FILTER_DLG;             \
    };                              \
    IdCount = {                     \
        12;                         \
    };

ImageList RID_IMGLIST_TREEOPT
{
    Prefix = "tr";
    MASK_COL
    IMGLST_IDLST
};