xref: /trunk/main/cui/source/options/optsave.src (revision 31bbceb0f9d64c0c2c3b22a794a1666c1f33396e)
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 ---------------------------------------------------------------
23#include <sfx2/sfx.hrc>
24#include <cuires.hrc>
25#include "helpid.hrc"
26#include "optsave.hrc"
27
28// SID_SFXPAGE_SAVE ------------------------------------------------------
29#define TEXT_SAVEPAGE \
30    Text [ en-US ] = "Save" ;\
31
32TabPage RID_SFXPAGE_SAVE
33{
34    HelpId = HID_OPTIONS_SAVE ;
35    OutputSize = TRUE ;
36    SVLook = TRUE ;
37    Hide = TRUE ;
38    TEXT_SAVEPAGE
39    Size = MAP_APPFONT ( 260, 185 ) ;
40    FixedLine LB_LOAD
41    {
42        Pos = MAP_APPFONT ( 6, 2 ) ;
43        Size = MAP_APPFONT ( 248, 8 ) ;
44        Text [ en-US ] = "Load" ;
45    };
46    CheckBox CB_LOAD_SETTINGS
47    {
48        HelpID = "cui:CheckBox:RID_SFXPAGE_SAVE:CB_LOAD_SETTINGS" ;
49        Pos = MAP_APPFONT ( 12, 11 ) ;
50        Size = MAP_APPFONT ( 236, 10 ) ;
51        Text [ en-US ] = "Load user-specific settings with the document" ;
52    };
53    CheckBox CB_LOAD_DOCPRINTER
54    {
55        HelpID = "cui:CheckBox:RID_SFXPAGE_SAVE:CB_LOAD_DOCPRINTER" ;
56        Pos = MAP_APPFONT ( 12, 22 ) ;
57        Size = MAP_APPFONT ( 236, 10 ) ;
58        Text [ en-US ] = "Load printer settings with the document" ;
59    };
60    FixedLine GB_SAVE
61    {
62        Pos = MAP_APPFONT ( 6, 32 ) ;
63        Size = MAP_APPFONT ( 248, 8 ) ;
64        Text [ en-US ] = "Save" ;
65    };
66    CheckBox BTN_DOCINFO
67    {
68        HelpID = "cui:CheckBox:RID_SFXPAGE_SAVE:BTN_DOCINFO" ;
69        Pos = MAP_APPFONT ( 12, 41 ) ;
70        Size = MAP_APPFONT ( 236, 10 ) ;
71        Text [ en-US ] = "~Edit document properties before saving" ;
72        TabStop = TRUE ;
73    };
74    FixedImage FI_BACKUP
75    {
76        Pos = MAP_APPFONT ( 5, 53 ) ;
77        Size = MAP_APPFONT ( 6, 6 ) ;
78        Hide = TRUE ;
79    };
80    CheckBox BTN_BACKUP
81    {
82        HelpID = "cui:CheckBox:RID_SFXPAGE_SAVE:BTN_BACKUP" ;
83        Pos = MAP_APPFONT ( 12, 52 ) ;
84        Size = MAP_APPFONT ( 236, 10 ) ;
85        Text [ en-US ] = "Al~ways create backup copy" ;
86    };
87    CheckBox BTN_AUTOSAVE
88    {
89        HelpID = "cui:CheckBox:RID_SFXPAGE_SAVE:BTN_AUTOSAVE" ;
90        Pos = MAP_APPFONT ( 12, 63 ) ;
91        Size = MAP_APPFONT ( 150, 10 ) ;
92        Text [ en-US ] = "Save ~AutoRecovery information every" ;
93    };
94    NumericField ED_AUTOSAVE
95    {
96        HelpID = "cui:NumericField:RID_SFXPAGE_SAVE:ED_AUTOSAVE" ;
97        Border = TRUE ;
98        Pos = MAP_APPFONT ( 180, 62 ) ;
99        Size = MAP_APPFONT ( 21, 12 ) ;
100        Left = TRUE ;
101        Repeat = TRUE ;
102        Spin = TRUE ;
103        Minimum = 1 ;
104        Maximum = 60 ;
105        StrictFormat = TRUE ;
106        First = 1 ;
107        Last = 60 ;
108        SpinSize = 1 ;
109        TabStop = TRUE ;
110    };
111    FixedText FT_MINUTE
112    {
113        Pos = MAP_APPFONT ( 204, 63 ) ;
114        Size = MAP_APPFONT ( 35, 8 ) ;
115        Text [ en-US ] = "Minutes" ;
116    };
117    CheckBox BTN_RELATIVE_FSYS
118    {
119        HelpID = "cui:CheckBox:RID_SFXPAGE_SAVE:BTN_RELATIVE_FSYS" ;
120        Pos = MAP_APPFONT ( 12, 74 ) ;
121        Size = MAP_APPFONT ( 236, 10 ) ;
122        Text [ en-US ] = "Save URLs relative to file system" ;
123    };
124    CheckBox BTN_RELATIVE_INET
125    {
126        HelpID = "cui:CheckBox:RID_SFXPAGE_SAVE:BTN_RELATIVE_INET" ;
127        Pos = MAP_APPFONT ( 12, 85 ) ;
128        Size = MAP_APPFONT ( 248, 10 ) ;
129        Text [ en-US ] = "Save URLs relative to internet" ;
130    };
131    FixedLine FL_FILTER
132    {
133        Pos = MAP_APPFONT ( 6, 97 ) ;
134        Size = MAP_APPFONT ( 248, 8 ) ;
135        Text [ en-US ] = "Default file format and ODF settings" ;
136    };
137    FixedText FT_ODF_VERSION
138    {
139        Pos = MAP_APPFONT ( 12, 107 ) ;
140        Size = MAP_APPFONT ( 121, 8 ) ;
141        Text [ en-US ] = "ODF format version" ;
142    };
143    ListBox LB_ODF_VERSION
144    {
145        HelpID = "cui:ListBox:RID_SFXPAGE_SAVE:LB_ODF_VERSION" ;
146        Pos = MAP_APPFONT ( 136, 105 ) ;
147        Size = MAP_APPFONT ( 108, 58 ) ;
148        Border = TRUE ;
149        DropDown = TRUE ;
150        StringList [ en-US ] =
151        {
152            < "1.0/1.1" ;                       2 ; > ;
153            < "1.2" ;                           4 ; > ;
154            < "1.2 Extended (recommended)" ;    0x7fffffff ; > ;
155        };
156    };
157    CheckBox BTN_ODFENCRYPTION
158    {
159        HelpID = "cui:CheckBox:RID_SFXPAGE_SAVE:BTN_ODFENCRYPTION" ;
160        Pos = MAP_APPFONT ( 12, 120 ) ;
161        Size = MAP_APPFONT ( 248, 10 ) ;
162        Text [ en-US ] = "Enable AES-256 encryption (ODF 1.2)" ;
163    };
164    CheckBox BTN_NOPRETTYPRINTING
165    {
166        HelpID = "cui:CheckBox:RID_SFXPAGE_SAVE:BTN_NOPRETTYPRINTING" ;
167        Pos = MAP_APPFONT ( 12, 131 ) ;
168        Size = MAP_APPFONT ( 248, 10 ) ;
169        Text [ en-US ] = "Size optimization for ODF format" ;
170    };
171    CheckBox BTN_WARNALIENFORMAT
172    {
173        HelpID = "cui:CheckBox:RID_SFXPAGE_SAVE:BTN_WARNALIENFORMAT" ;
174        Pos = MAP_APPFONT ( 12, 142 ) ;
175        Size = MAP_APPFONT ( 248, 10 ) ;
176        Text [ en-US ] = "Warn when not saving in ODF or default format" ;
177    };
178    FixedText FT_APP
179    {
180        Pos = MAP_APPFONT ( 12, 153 ) ;
181        Size = MAP_APPFONT ( 120, 8 ) ;
182        Text [ en-US ] = "D~ocument type" ;
183    };
184    FixedText FT_FILTER
185    {
186        Pos = MAP_APPFONT ( 136, 153 ) ;
187        Size = MAP_APPFONT ( 120, 8 ) ;
188        Text [ en-US ] = "Always sa~ve as" ;
189    };
190    ListBox LB_APP
191    {
192        HelpID = "cui:ListBox:RID_SFXPAGE_SAVE:LB_APP" ;
193        Pos = MAP_APPFONT ( 12, 164 ) ;
194        Size = MAP_APPFONT ( 108, 58 ) ;
195        Border = TRUE ;
196        DropDown = TRUE ;
197        StringList [ en-US ] =
198        {
199            < "Text document" ;     APP_WRITER          ; > ;
200            < "HTML document" ;     APP_WRITER_WEB      ; > ;
201            < "Master document" ;   APP_WRITER_GLOBAL   ; > ;
202            < "Spreadsheet" ;       APP_CALC            ; > ;
203            < "Presentation" ;      APP_IMPRESS         ; > ;
204            < "Drawing" ;           APP_DRAW            ; > ;
205            < "Formula" ;           APP_MATH            ; > ;
206        };
207    };
208    FixedImage FI_FILTER
209    {
210        Pos = MAP_APPFONT ( 129, 153 ) ;
211        Size = MAP_APPFONT ( 6, 6 ) ;
212        Hide = TRUE ;
213    };
214    ListBox LB_FILTER
215    {
216        HelpID = "cui:ListBox:RID_SFXPAGE_SAVE:LB_FILTER" ;
217        Pos = MAP_APPFONT ( 136, 164 ) ;
218        Size = MAP_APPFONT ( 108, 58 ) ;
219        Border = TRUE ;
220        Sort = TRUE ;
221        DropDown = TRUE ;
222    };
223    FixedImage FI_ODF_WARNING
224    {
225        Pos = MAP_APPFONT ( 12, 177 ) ;
226        Size = MAP_APPFONT ( 8, 8 ) ;
227        Hide = TRUE ;
228    };
229    FixedText FT_WARN
230    {
231        Pos = MAP_APPFONT ( 23, 177 ) ;
232        Size = MAP_APPFONT ( 239, 8 ) ;
233        Hide = TRUE ;
234        Text [ en-US ] = "Not using ODF 1.2 Extended may cause information to be lost." ;
235    };
236    Image IMG_ODF_WARNING
237    {
238        ImageBitmap = Bitmap
239        {
240            File = "odfwarning.png" ;
241        };
242    };
243    Image IMG_ODF_WARNING_HC
244    {
245        ImageBitmap = Bitmap
246        {
247            File = "odfwarning_h.png" ;
248        };
249    };
250};
251
252ModalDialog RID_SVXDLG_FILTER_WARNING
253{
254    HelpID = HID_SVXDLG_FILTER_WARNING ;
255    OutputSize = TRUE ;
256    Moveable = TRUE ;
257    Closeable = TRUE ;
258    Sizeable = FALSE ;
259    Border = TRUE ;
260    SVLook = TRUE ;
261    Size = MAP_APPFONT ( 175 + 39 + (3 * 6), (4 * 9)+ 12 + (3 * 12) + 6 - 21 ) ;
262    Text = "%PRODUCTNAME %PRODUCTVERSION" ;
263    FixedImage IMG_WARNING
264    {
265        Pos = MAP_APPFONT ( 6, 6 ) ;
266        Size = MAP_APPFONT ( 30, 30 ) ;
267    };
268    FixedText FT_FILTER_WARNING
269    {
270        Pos = MAP_APPFONT ( 39, 6 ) ;
271        Size = MAP_APPFONT ( 175, 4 * 9 ) ;
272        Wordbreak = TRUE ;
273        Text [ en-US ] = "Using \"%1\" as default file format may cause information loss.\n" ;
274    };
275    OKButton PB_OK
276    {
277        Pos = MAP_APPFONT ( 60, (4 * 9)/*+ 12*/ + 13 ) ;
278        Size = MAP_APPFONT ( 50, 14 ) ;
279        DefButton = TRUE ;
280    };
281    CancelButton PB_CANCEL
282    {
283        Pos = MAP_APPFONT ( 120, (4 * 9)/*+ 12*/ + 13 ) ;
284        Size = MAP_APPFONT ( 50, 14 ) ;
285    };
286};
287
288// ********************************************************************** EOF
289