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