summaryrefslogtreecommitdiff
path: root/cui/source/options/optsave.src
blob: 71b29d6655640f4a173d46b19c5c4e86018aa60a (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
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
 * This file is part of the LibreOffice project.
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 *
 * This file incorporates work covered by the following license notice:
 *
 *   Licensed to the Apache Software Foundation (ASF) under one or more
 *   contributor license agreements. See the NOTICE file distributed
 *   with this work for additional information regarding copyright
 *   ownership. The ASF licenses this file to you under the Apache
 *   License, Version 2.0 (the "License"); you may not use this file
 *   except in compliance with the License. You may obtain a copy of
 *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
 */

#include <sfx2/sfx.hrc>
#include <cuires.hrc>
#include "helpid.hrc"
#include "optsave.hrc"

 // SID_SFXPAGE_SAVE ------------------------------------------------------
#define TEXT_SAVEPAGE \
    Text [ en-US ] = "Save" ;\

TabPage RID_SFXPAGE_SAVE
{
    HelpId = HID_OPTIONS_SAVE ;
    OutputSize = TRUE ;
    SVLook = TRUE ;
    Hide = TRUE ;
    TEXT_SAVEPAGE
    Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ;
    FixedLine LB_LOAD
    {
        Pos = MAP_APPFONT ( 6 , 2 ) ;
        Size = MAP_APPFONT ( 248 , 8 ) ;
        Text [ en-US ] = "Load";
    };
    CheckBox CB_LOAD_SETTINGS
    {
        HelpID = "cui:CheckBox:RID_SFXPAGE_SAVE:CB_LOAD_SETTINGS";
        Pos = MAP_APPFONT ( 12 , 11 ) ;
        Size = MAP_APPFONT ( 236 , 10 ) ;
        Text [ en-US ] = "Load user-specific settings with the document";
    };
    CheckBox CB_LOAD_DOCPRINTER
    {
        HelpID = "cui:CheckBox:RID_SFXPAGE_SAVE:CB_LOAD_DOCPRINTER";
        Pos = MAP_APPFONT ( 12 , 22 ) ;
        Size = MAP_APPFONT ( 236 , 10 ) ;
        Text [ en-US ] = "Load printer settings with the document";
    };
    FixedLine GB_SAVE
    {
        Pos = MAP_APPFONT ( 6 , 32 ) ;
        Size = MAP_APPFONT ( 248 , 8 ) ;
        Text [ en-US ] = "Save" ;
    };
    CheckBox BTN_DOCINFO
    {
        HelpID = "cui:CheckBox:RID_SFXPAGE_SAVE:BTN_DOCINFO";
        Pos = MAP_APPFONT ( 12 , 41 ) ;
        Size = MAP_APPFONT ( 236 , 10 ) ;
        Text [ en-US ] = "~Edit document properties before saving" ;
        TabStop = TRUE ;
    };
    FixedImage FI_BACKUP
    {
        Pos = MAP_APPFONT ( 5, 53 ) ;
        Size = MAP_APPFONT ( 6 , 6 ) ;
        Hide = TRUE;
    };
    CheckBox BTN_BACKUP
    {
        HelpID = "cui:CheckBox:RID_SFXPAGE_SAVE:BTN_BACKUP";
        Pos = MAP_APPFONT ( 12 , 52 ) ;
        Size = MAP_APPFONT ( 236 , 10 ) ;
        Text [ en-US ] = "Al~ways create backup copy" ;
    };
    CheckBox BTN_AUTOSAVE
    {
        HelpID = "cui:CheckBox:RID_SFXPAGE_SAVE:BTN_AUTOSAVE";
        Pos = MAP_APPFONT ( 12 , 63 ) ;
        Size = MAP_APPFONT ( 163 , 10 ) ;
        Text [ en-US ] = "Save ~AutoRecovery information every" ;
    };
    NumericField ED_AUTOSAVE
    {
        HelpID = "cui:NumericField:RID_SFXPAGE_SAVE:ED_AUTOSAVE";
        Border = TRUE ;
        Pos = MAP_APPFONT ( 180 , 62 ) ;
        Size = MAP_APPFONT ( 21 , 12 ) ;
        Left = TRUE ;
        Repeat = TRUE ;
        Spin = TRUE ;
        Minimum = 1 ;
        Maximum = 60 ;
        StrictFormat = TRUE ;
        First = 1 ;
        Last = 60 ;
        SpinSize = 1 ;
        TabStop = TRUE ;
    };
    FixedText FT_MINUTE
    {
        Pos = MAP_APPFONT ( 204 , 64 ) ;
        Size = MAP_APPFONT ( 65 , 8 ) ;
        Text [ en-US ] = "Minutes" ;
    };
    CheckBox BTN_USERAUTOSAVE
    {
        HelpID = "cui:CheckBox:RID_SFXPAGE_SAVE:BTN_USERAUTOSAVE";
        Pos = MAP_APPFONT ( 21 , 74 ) ;
        Size = MAP_APPFONT ( 163 , 10 ) ;
        Text [ en-US ] = "Automatically save the document too" ;
    };
    CheckBox BTN_RELATIVE_FSYS
    {
        HelpID = "cui:CheckBox:RID_SFXPAGE_SAVE:BTN_RELATIVE_FSYS";
        Pos = MAP_APPFONT ( 12 , 85 ) ;
        Size = MAP_APPFONT ( 236 , 10 ) ;
        Text [ en-US ] = "Save URLs relative to file system" ;
    };
    CheckBox BTN_RELATIVE_INET
    {
        HelpID = "cui:CheckBox:RID_SFXPAGE_SAVE:BTN_RELATIVE_INET";
        Pos = MAP_APPFONT ( 12 , 96 ) ;
        Size = MAP_APPFONT ( 248 , 10 ) ;
        Text [ en-US ] = "Save URLs relative to internet" ;
    };
    FixedLine FL_FILTER
    {
        Pos = MAP_APPFONT ( 6 , 108 ) ;
        Size = MAP_APPFONT ( 248 , 8 ) ;
        Text [ en-US ] = "Default file format and ODF settings" ;
    };
    FixedText FT_ODF_VERSION
    {
        Pos = MAP_APPFONT ( 12 , 118 ) ;
        Size = MAP_APPFONT ( 121 , 8 ) ;
        Text [ en-US ] = "ODF format version" ;
    };
    ListBox LB_ODF_VERSION
    {
        HelpID = "cui:ListBox:RID_SFXPAGE_SAVE:LB_ODF_VERSION";
        Pos = MAP_APPFONT ( 136 , 116 ) ;
        Size = MAP_APPFONT ( 108 , 58 ) ;
        Border = TRUE;
        DropDown = TRUE;
        StringList [ en-US ] =
        {
            < "1.0/1.1" ;  2 ; > ;
            < "1.2" ;      4 ;  > ;
            < "1.2 Extended (compat mode)"; 8 ; > ;
            < "1.2 Extended (recommended)"; 0x7fffffff ; > ;
        };
    };
    CheckBox BTN_NOPRETTYPRINTING
    {
        HelpID = "cui:CheckBox:RID_SFXPAGE_SAVE:BTN_NOPRETTYPRINTING";
        Pos = MAP_APPFONT ( 12 , 131 ) ;
        Size = MAP_APPFONT ( 248 , 10 ) ;
        Text [ en-US ] = "Size optimization for ODF format" ;
    };
    CheckBox BTN_WARNALIENFORMAT
    {
        HelpID = "cui:CheckBox:RID_SFXPAGE_SAVE:BTN_WARNALIENFORMAT";
        Pos = MAP_APPFONT ( 12 , 142 ) ;
        Size = MAP_APPFONT ( 248 , 10 ) ;
        Text [ en-US ] = "Warn when not saving in ODF or default format" ;
    };
    FixedText FT_APP
    {
        Pos = MAP_APPFONT ( 12 , 153 ) ;
        Size = MAP_APPFONT ( 120 , 8 ) ;
        Text [ en-US ] = "D~ocument type";
    };
    FixedText FT_FILTER
    {
        Pos = MAP_APPFONT ( 136 , 153 ) ;
        Size = MAP_APPFONT ( 120 , 8 ) ;
        Text [ en-US ] = "Always sa~ve as";
    };
    ListBox LB_APP
    {
        HelpID = "cui:ListBox:RID_SFXPAGE_SAVE:LB_APP";
        Pos = MAP_APPFONT ( 12 , 164 ) ;
        Size = MAP_APPFONT ( 108 , 58 ) ;
        Border = TRUE;
        DropDown = TRUE;
        StringList [ en-US ] =
        {
            < "Text document" ;     APP_WRITER    ; > ;
            < "HTML document" ;     APP_WRITER_WEB;  > ;
            < "Master document" ;   APP_WRITER_GLOBAL;  > ;
            < "Spreadsheet" ;       APP_CALC      ; > ;
            < "Presentation" ;      APP_IMPRESS   ; > ;
            < "Drawing" ;           APP_DRAW      ; > ;
            < "Formula" ;           APP_MATH      ; > ;
        };
    };
    FixedImage FI_FILTER
    {
        Pos = MAP_APPFONT ( 129, 165 ) ;
        Size = MAP_APPFONT ( 6 , 6 ) ;
        Hide = TRUE;
    };
    ListBox LB_FILTER
    {
        HelpID = "cui:ListBox:RID_SFXPAGE_SAVE:LB_FILTER";
        Pos = MAP_APPFONT ( 136 , 164 ) ;
        Size = MAP_APPFONT ( 108 , 58 ) ;
        Border = TRUE;
        Sort = TRUE;
        DropDown = TRUE;
    };
    FixedImage FI_ODF_WARNING
    {
        Pos = MAP_APPFONT ( 12, 170 ) ;
        Size = MAP_APPFONT ( 8 , 8 ) ;
        Hide = TRUE;
    };
    FixedText FT_WARN
    {
        Pos = MAP_APPFONT ( 23 , 170 ) ;
        Size = MAP_APPFONT ( 239 , 8 ) ;
        Hide = TRUE;
        Text [ en-US ] = "Not using ODF 1.2 Extended may cause information to be lost.";
        Text [ x-comment ] = "EN-US, the term 'extended' must not be translated.";
    };
    Image IMG_ODF_WARNING
    {
        ImageBitmap = Bitmap
        {
            File = "odfwarning.png";
        };
        MaskColor = Color { Red=0xffff; Green=0x0000; Blue=0xffff; };
    };
};

ModalDialog RID_SVXDLG_FILTER_WARNING
{
    HelpID = HID_SVXDLG_FILTER_WARNING;
    OutputSize = TRUE ;
    Moveable = TRUE ;
    Closeable = TRUE ;
    Sizeable = FALSE ;
    Border = TRUE ;
    SVLook = TRUE ;
    Size = MAP_APPFONT( 175 + 39 + (3 * 6), (4 * 9)+ 12 + (3 * 12) + 6 - 21 );
    Text = "%PRODUCTNAME %PRODUCTVERSION" ;
    FixedImage IMG_WARNING
    {
        Pos = MAP_APPFONT( 6, 6 );
        Size = MAP_APPFONT( 30, 30 );
    };
    FixedText FT_FILTER_WARNING
    {
        Pos = MAP_APPFONT( 39, 6 );
        Size = MAP_APPFONT( 175, 4 * 9 );
        Wordbreak = TRUE;
        Text [ en-US ] = "Using \"%1\" as default file format may cause information loss.\n";
    };
    OKButton PB_OK
    {
        Pos = MAP_APPFONT( 60, (4 * 9)/*+ 12*/ + 13 );
        Size = MAP_APPFONT( 50, 14 );
        DefButton = TRUE;
    };
    CancelButton PB_CANCEL
    {
        Pos = MAP_APPFONT( 120, (4 * 9)/*+ 12*/ + 13 );
        Size = MAP_APPFONT( 50, 14 );
    };
};

/* vim:set shiftwidth=4 softtabstop=4 expandtab: */