xref: /trunk/main/cui/source/options/optsave.src (revision 3009d07ac22142e3b8e585177ba1d9322c1ea67d)
10e2af6afSAndrew Rist/**************************************************************
2cdf0e10cSrcweir *
30e2af6afSAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
40e2af6afSAndrew Rist * or more contributor license agreements.  See the NOTICE file
50e2af6afSAndrew Rist * distributed with this work for additional information
60e2af6afSAndrew Rist * regarding copyright ownership.  The ASF licenses this file
70e2af6afSAndrew Rist * to you under the Apache License, Version 2.0 (the
80e2af6afSAndrew Rist * "License"); you may not use this file except in compliance
90e2af6afSAndrew Rist * with the License.  You may obtain a copy of the License at
10cdf0e10cSrcweir *
110e2af6afSAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12cdf0e10cSrcweir *
130e2af6afSAndrew Rist * Unless required by applicable law or agreed to in writing,
140e2af6afSAndrew Rist * software distributed under the License is distributed on an
150e2af6afSAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
160e2af6afSAndrew Rist * KIND, either express or implied.  See the License for the
170e2af6afSAndrew Rist * specific language governing permissions and limitations
180e2af6afSAndrew Rist * under the License.
19cdf0e10cSrcweir *
200e2af6afSAndrew Rist *************************************************************/
210e2af6afSAndrew Rist
22cdf0e10cSrcweir// include ---------------------------------------------------------------
23cdf0e10cSrcweir#include <sfx2/sfx.hrc>
24cdf0e10cSrcweir#include <cuires.hrc>
25cdf0e10cSrcweir#include "helpid.hrc"
26cdf0e10cSrcweir#include "optsave.hrc"
27cdf0e10cSrcweir
28cdf0e10cSrcweir// SID_SFXPAGE_SAVE ------------------------------------------------------
29cdf0e10cSrcweir#define TEXT_SAVEPAGE \
30cdf0e10cSrcweir    Text [ en-US ] = "Save" ;\
31cdf0e10cSrcweir
32cdf0e10cSrcweirTabPage RID_SFXPAGE_SAVE
33cdf0e10cSrcweir{
34cdf0e10cSrcweir    HelpId = HID_OPTIONS_SAVE ;
35cdf0e10cSrcweir    OutputSize = TRUE ;
36cdf0e10cSrcweir    SVLook = TRUE ;
37cdf0e10cSrcweir    Hide = TRUE ;
38cdf0e10cSrcweir    TEXT_SAVEPAGE
39cdf0e10cSrcweir    Size = MAP_APPFONT ( 260, 185 ) ;
40cdf0e10cSrcweir    FixedLine LB_LOAD
41cdf0e10cSrcweir    {
42cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6, 2 ) ;
43cdf0e10cSrcweir        Size = MAP_APPFONT ( 248, 8 ) ;
44cdf0e10cSrcweir        Text [ en-US ] = "Load" ;
45cdf0e10cSrcweir    };
46cdf0e10cSrcweir    CheckBox CB_LOAD_SETTINGS
47cdf0e10cSrcweir    {
48cdf0e10cSrcweir        HelpID = "cui:CheckBox:RID_SFXPAGE_SAVE:CB_LOAD_SETTINGS" ;
49cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12, 11 ) ;
50cdf0e10cSrcweir        Size = MAP_APPFONT ( 236, 10 ) ;
51cdf0e10cSrcweir        Text [ en-US ] = "Load user-specific settings with the document" ;
52cdf0e10cSrcweir    };
53cdf0e10cSrcweir    CheckBox CB_LOAD_DOCPRINTER
54cdf0e10cSrcweir    {
55cdf0e10cSrcweir        HelpID = "cui:CheckBox:RID_SFXPAGE_SAVE:CB_LOAD_DOCPRINTER" ;
56cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12, 22 ) ;
57cdf0e10cSrcweir        Size = MAP_APPFONT ( 236, 10 ) ;
58cdf0e10cSrcweir        Text [ en-US ] = "Load printer settings with the document" ;
59cdf0e10cSrcweir    };
60cdf0e10cSrcweir    FixedLine GB_SAVE
61cdf0e10cSrcweir    {
62cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6, 32 ) ;
63cdf0e10cSrcweir        Size = MAP_APPFONT ( 248, 8 ) ;
64cdf0e10cSrcweir        Text [ en-US ] = "Save" ;
65cdf0e10cSrcweir    };
66cdf0e10cSrcweir    CheckBox BTN_DOCINFO
67cdf0e10cSrcweir    {
68cdf0e10cSrcweir        HelpID = "cui:CheckBox:RID_SFXPAGE_SAVE:BTN_DOCINFO" ;
69cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12, 41 ) ;
70cdf0e10cSrcweir        Size = MAP_APPFONT ( 236, 10 ) ;
71cdf0e10cSrcweir        Text [ en-US ] = "~Edit document properties before saving" ;
72cdf0e10cSrcweir        TabStop = TRUE ;
73cdf0e10cSrcweir    };
74cdf0e10cSrcweir    FixedImage FI_BACKUP
75cdf0e10cSrcweir    {
76cdf0e10cSrcweir        Pos = MAP_APPFONT ( 5, 53 ) ;
77cdf0e10cSrcweir        Size = MAP_APPFONT ( 6, 6 ) ;
78cdf0e10cSrcweir        Hide = TRUE ;
79cdf0e10cSrcweir    };
80cdf0e10cSrcweir    CheckBox BTN_BACKUP
81cdf0e10cSrcweir    {
82cdf0e10cSrcweir        HelpID = "cui:CheckBox:RID_SFXPAGE_SAVE:BTN_BACKUP" ;
83cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12, 52 ) ;
84cdf0e10cSrcweir        Size = MAP_APPFONT ( 236, 10 ) ;
85cdf0e10cSrcweir        Text [ en-US ] = "Al~ways create backup copy" ;
86cdf0e10cSrcweir    };
87cdf0e10cSrcweir    CheckBox BTN_AUTOSAVE
88cdf0e10cSrcweir    {
89cdf0e10cSrcweir        HelpID = "cui:CheckBox:RID_SFXPAGE_SAVE:BTN_AUTOSAVE" ;
90cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12, 63 ) ;
91cdf0e10cSrcweir        Size = MAP_APPFONT ( 150, 10 ) ;
92cdf0e10cSrcweir        Text [ en-US ] = "Save ~AutoRecovery information every" ;
93cdf0e10cSrcweir    };
94cdf0e10cSrcweir    NumericField ED_AUTOSAVE
95cdf0e10cSrcweir    {
96cdf0e10cSrcweir        HelpID = "cui:NumericField:RID_SFXPAGE_SAVE:ED_AUTOSAVE" ;
97cdf0e10cSrcweir        Border = TRUE ;
98cdf0e10cSrcweir        Pos = MAP_APPFONT ( 180, 62 ) ;
99cdf0e10cSrcweir        Size = MAP_APPFONT ( 21, 12 ) ;
100cdf0e10cSrcweir        Left = TRUE ;
101cdf0e10cSrcweir        Repeat = TRUE ;
102cdf0e10cSrcweir        Spin = TRUE ;
103cdf0e10cSrcweir        Minimum = 1 ;
104cdf0e10cSrcweir        Maximum = 60 ;
105cdf0e10cSrcweir        StrictFormat = TRUE ;
106cdf0e10cSrcweir        First = 1 ;
107cdf0e10cSrcweir        Last = 60 ;
108cdf0e10cSrcweir        SpinSize = 1 ;
109cdf0e10cSrcweir        TabStop = TRUE ;
110cdf0e10cSrcweir    };
111cdf0e10cSrcweir    FixedText FT_MINUTE
112cdf0e10cSrcweir    {
113cdf0e10cSrcweir        Pos = MAP_APPFONT ( 204, 63 ) ;
114cdf0e10cSrcweir        Size = MAP_APPFONT ( 35, 8 ) ;
115cdf0e10cSrcweir        Text [ en-US ] = "Minutes" ;
116cdf0e10cSrcweir    };
117cdf0e10cSrcweir    CheckBox BTN_RELATIVE_FSYS
118cdf0e10cSrcweir    {
119cdf0e10cSrcweir        HelpID = "cui:CheckBox:RID_SFXPAGE_SAVE:BTN_RELATIVE_FSYS" ;
120cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12, 74 ) ;
121cdf0e10cSrcweir        Size = MAP_APPFONT ( 236, 10 ) ;
122cdf0e10cSrcweir        Text [ en-US ] = "Save URLs relative to file system" ;
123cdf0e10cSrcweir    };
124cdf0e10cSrcweir    CheckBox BTN_RELATIVE_INET
125cdf0e10cSrcweir    {
126cdf0e10cSrcweir        HelpID = "cui:CheckBox:RID_SFXPAGE_SAVE:BTN_RELATIVE_INET" ;
127cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12, 85 ) ;
128cdf0e10cSrcweir        Size = MAP_APPFONT ( 248, 10 ) ;
129cdf0e10cSrcweir        Text [ en-US ] = "Save URLs relative to internet" ;
130cdf0e10cSrcweir    };
131cdf0e10cSrcweir    FixedLine FL_FILTER
132cdf0e10cSrcweir    {
133cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6, 97 ) ;
134cdf0e10cSrcweir        Size = MAP_APPFONT ( 248, 8 ) ;
135cdf0e10cSrcweir        Text [ en-US ] = "Default file format and ODF settings" ;
136cdf0e10cSrcweir    };
137cdf0e10cSrcweir    FixedText FT_ODF_VERSION
138cdf0e10cSrcweir    {
139cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12, 107 ) ;
140cdf0e10cSrcweir        Size = MAP_APPFONT ( 121, 8 ) ;
141cdf0e10cSrcweir        Text [ en-US ] = "ODF format version" ;
142cdf0e10cSrcweir    };
143cdf0e10cSrcweir    ListBox LB_ODF_VERSION
144cdf0e10cSrcweir    {
145cdf0e10cSrcweir        HelpID = "cui:ListBox:RID_SFXPAGE_SAVE:LB_ODF_VERSION" ;
146cdf0e10cSrcweir        Pos = MAP_APPFONT ( 136, 105 ) ;
147cdf0e10cSrcweir        Size = MAP_APPFONT ( 108, 58 ) ;
148cdf0e10cSrcweir        Border = TRUE ;
149cdf0e10cSrcweir        DropDown = TRUE ;
150cdf0e10cSrcweir        StringList [ en-US ] =
151cdf0e10cSrcweir        {
152cdf0e10cSrcweir            < "1.0/1.1" ;                       2 ; > ;
153cdf0e10cSrcweir            < "1.2" ;                           4 ; > ;
154cdf0e10cSrcweir            < "1.2 Extended (recommended)" ;    0x7fffffff ; > ;
155cdf0e10cSrcweir        };
156cdf0e10cSrcweir    };
157972a6c96SJuergen Schmidt    CheckBox BTN_ODFENCRYPTION
158972a6c96SJuergen Schmidt    {
159972a6c96SJuergen Schmidt        HelpID = "cui:CheckBox:RID_SFXPAGE_SAVE:BTN_ODFENCRYPTION" ;
160972a6c96SJuergen Schmidt        Pos = MAP_APPFONT ( 12, 120 ) ;
161972a6c96SJuergen Schmidt        Size = MAP_APPFONT ( 248, 10 ) ;
162972a6c96SJuergen Schmidt        Text [ en-US ] = "Enable AES-256 encryption (ODF 1.2)" ;
163972a6c96SJuergen Schmidt    };
164cdf0e10cSrcweir    CheckBox BTN_NOPRETTYPRINTING
165cdf0e10cSrcweir    {
166cdf0e10cSrcweir        HelpID = "cui:CheckBox:RID_SFXPAGE_SAVE:BTN_NOPRETTYPRINTING" ;
167972a6c96SJuergen Schmidt        Pos = MAP_APPFONT ( 12, 131 ) ;
168cdf0e10cSrcweir        Size = MAP_APPFONT ( 248, 10 ) ;
169cdf0e10cSrcweir        Text [ en-US ] = "Size optimization for ODF format" ;
170cdf0e10cSrcweir    };
171cdf0e10cSrcweir    CheckBox BTN_WARNALIENFORMAT
172cdf0e10cSrcweir    {
173cdf0e10cSrcweir        HelpID = "cui:CheckBox:RID_SFXPAGE_SAVE:BTN_WARNALIENFORMAT" ;
174972a6c96SJuergen Schmidt        Pos = MAP_APPFONT ( 12, 142 ) ;
175cdf0e10cSrcweir        Size = MAP_APPFONT ( 248, 10 ) ;
176cdf0e10cSrcweir        Text [ en-US ] = "Warn when not saving in ODF or default format" ;
177cdf0e10cSrcweir    };
178cdf0e10cSrcweir    FixedText FT_APP
179cdf0e10cSrcweir    {
180972a6c96SJuergen Schmidt        Pos = MAP_APPFONT ( 12, 153 ) ;
181cdf0e10cSrcweir        Size = MAP_APPFONT ( 120, 8 ) ;
182cdf0e10cSrcweir        Text [ en-US ] = "D~ocument type" ;
183cdf0e10cSrcweir    };
184cdf0e10cSrcweir    FixedText FT_FILTER
185cdf0e10cSrcweir    {
186972a6c96SJuergen Schmidt        Pos = MAP_APPFONT ( 136, 153 ) ;
187cdf0e10cSrcweir        Size = MAP_APPFONT ( 120, 8 ) ;
188cdf0e10cSrcweir        Text [ en-US ] = "Always sa~ve as" ;
189cdf0e10cSrcweir    };
190cdf0e10cSrcweir    ListBox LB_APP
191cdf0e10cSrcweir    {
192cdf0e10cSrcweir        HelpID = "cui:ListBox:RID_SFXPAGE_SAVE:LB_APP" ;
193972a6c96SJuergen Schmidt        Pos = MAP_APPFONT ( 12, 164 ) ;
194cdf0e10cSrcweir        Size = MAP_APPFONT ( 108, 58 ) ;
195cdf0e10cSrcweir        Border = TRUE ;
196cdf0e10cSrcweir        DropDown = TRUE ;
197cdf0e10cSrcweir        StringList [ en-US ] =
198cdf0e10cSrcweir        {
199cdf0e10cSrcweir            < "Text document" ;     APP_WRITER          ; > ;
200cdf0e10cSrcweir            < "HTML document" ;     APP_WRITER_WEB      ; > ;
201cdf0e10cSrcweir            < "Master document" ;   APP_WRITER_GLOBAL   ; > ;
202cdf0e10cSrcweir            < "Spreadsheet" ;       APP_CALC            ; > ;
203cdf0e10cSrcweir            < "Presentation" ;      APP_IMPRESS         ; > ;
204cdf0e10cSrcweir            < "Drawing" ;           APP_DRAW            ; > ;
205cdf0e10cSrcweir            < "Formula" ;           APP_MATH            ; > ;
206cdf0e10cSrcweir        };
207cdf0e10cSrcweir    };
208cdf0e10cSrcweir    FixedImage FI_FILTER
209cdf0e10cSrcweir    {
210972a6c96SJuergen Schmidt        Pos = MAP_APPFONT ( 129, 153 ) ;
211cdf0e10cSrcweir        Size = MAP_APPFONT ( 6, 6 ) ;
212cdf0e10cSrcweir        Hide = TRUE ;
213cdf0e10cSrcweir    };
214cdf0e10cSrcweir    ListBox LB_FILTER
215cdf0e10cSrcweir    {
216cdf0e10cSrcweir        HelpID = "cui:ListBox:RID_SFXPAGE_SAVE:LB_FILTER" ;
217972a6c96SJuergen Schmidt        Pos = MAP_APPFONT ( 136, 164 ) ;
218cdf0e10cSrcweir        Size = MAP_APPFONT ( 108, 58 ) ;
219cdf0e10cSrcweir        Border = TRUE ;
220cdf0e10cSrcweir        Sort = TRUE ;
221cdf0e10cSrcweir        DropDown = TRUE ;
222cdf0e10cSrcweir    };
223cdf0e10cSrcweir    FixedImage FI_ODF_WARNING
224cdf0e10cSrcweir    {
22581ec2e1cSMatthias Seidel        Pos = MAP_APPFONT ( 12, 177 ) ;
226cdf0e10cSrcweir        Size = MAP_APPFONT ( 8, 8 ) ;
227cdf0e10cSrcweir        Hide = TRUE ;
228cdf0e10cSrcweir    };
229cdf0e10cSrcweir    FixedText FT_WARN
230cdf0e10cSrcweir    {
23181ec2e1cSMatthias Seidel        Pos = MAP_APPFONT ( 23, 177 ) ;
232cdf0e10cSrcweir        Size = MAP_APPFONT ( 239, 8 ) ;
233cdf0e10cSrcweir        Hide = TRUE ;
23450ac8f13SMatthias Seidel        Text [ en-US ] = "Not using ODF 1.2 Extended may cause information to be lost." ;
235cdf0e10cSrcweir    };
236cdf0e10cSrcweir    Image IMG_ODF_WARNING
237cdf0e10cSrcweir    {
238cdf0e10cSrcweir        ImageBitmap = Bitmap
239cdf0e10cSrcweir        {
240cdf0e10cSrcweir            File = "odfwarning.png" ;
241cdf0e10cSrcweir        };
242cdf0e10cSrcweir    };
243cdf0e10cSrcweir    Image IMG_ODF_WARNING_HC
244cdf0e10cSrcweir    {
245cdf0e10cSrcweir        ImageBitmap = Bitmap
246cdf0e10cSrcweir        {
247cdf0e10cSrcweir            File = "odfwarning_h.png" ;
248cdf0e10cSrcweir        };
249cdf0e10cSrcweir    };
250cdf0e10cSrcweir};
251cdf0e10cSrcweir
252cdf0e10cSrcweirModalDialog RID_SVXDLG_FILTER_WARNING
253cdf0e10cSrcweir{
254cdf0e10cSrcweir    HelpID = HID_SVXDLG_FILTER_WARNING ;
255cdf0e10cSrcweir    OutputSize = TRUE ;
256cdf0e10cSrcweir    Moveable = TRUE ;
257cdf0e10cSrcweir    Closeable = TRUE ;
258cdf0e10cSrcweir    Sizeable = FALSE ;
259cdf0e10cSrcweir    Border = TRUE ;
260cdf0e10cSrcweir    SVLook = TRUE ;
261cdf0e10cSrcweir    Size = MAP_APPFONT ( 175 + 39 + (3 * 6), (4 * 9)+ 12 + (3 * 12) + 6 - 21 ) ;
262cdf0e10cSrcweir    Text = "%PRODUCTNAME %PRODUCTVERSION" ;
263cdf0e10cSrcweir    FixedImage IMG_WARNING
264cdf0e10cSrcweir    {
265cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6, 6 ) ;
266cdf0e10cSrcweir        Size = MAP_APPFONT ( 30, 30 ) ;
267cdf0e10cSrcweir    };
268cdf0e10cSrcweir    FixedText FT_FILTER_WARNING
269cdf0e10cSrcweir    {
270cdf0e10cSrcweir        Pos = MAP_APPFONT ( 39, 6 ) ;
271cdf0e10cSrcweir        Size = MAP_APPFONT ( 175, 4 * 9 ) ;
272cdf0e10cSrcweir        Wordbreak = TRUE ;
273cdf0e10cSrcweir        Text [ en-US ] = "Using \"%1\" as default file format may cause information loss.\n" ;
274cdf0e10cSrcweir    };
275cdf0e10cSrcweir    OKButton PB_OK
276cdf0e10cSrcweir    {
277cdf0e10cSrcweir        Pos = MAP_APPFONT ( 60, (4 * 9)/*+ 12*/ + 13 ) ;
278cdf0e10cSrcweir        Size = MAP_APPFONT ( 50, 14 ) ;
279cdf0e10cSrcweir        DefButton = TRUE ;
280cdf0e10cSrcweir    };
281cdf0e10cSrcweir    CancelButton PB_CANCEL
282cdf0e10cSrcweir    {
283cdf0e10cSrcweir        Pos = MAP_APPFONT ( 120, (4 * 9)/*+ 12*/ + 13 ) ;
284cdf0e10cSrcweir        Size = MAP_APPFONT ( 50, 14 ) ;
285cdf0e10cSrcweir    };
286cdf0e10cSrcweir};
287cdf0e10cSrcweir
288*3009d07aSmseidel// ********************************************************************** EOF
289