xref: /aoo42x/main/cui/source/options/optsave.src (revision 824b2ebe)
10e2af6afSAndrew Rist/**************************************************************
2*824b2ebeSmseidel *
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
10*824b2ebeSmseidel *
110e2af6afSAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12*824b2ebeSmseidel *
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.
19*824b2ebeSmseidel *
200e2af6afSAndrew Rist *************************************************************/
210e2af6afSAndrew Rist
228001b48eSMatthias Seidel// include ---------------------------------------------------------------
23cdf0e10cSrcweir#include <sfx2/sfx.hrc>
24cdf0e10cSrcweir#include <cuires.hrc>
25cdf0e10cSrcweir#include "helpid.hrc"
26cdf0e10cSrcweir#include "optsave.hrc"
27cdf0e10cSrcweir
288001b48eSMatthias Seidel// SID_SFXPAGE_SAVE ------------------------------------------------------
29cdf0e10cSrcweir#define TEXT_SAVEPAGE \
308001b48eSMatthias Seidel	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
398001b48eSMatthias Seidel	Size = MAP_APPFONT ( 260, 185 ) ;
408001b48eSMatthias Seidel	FixedLine LB_LOAD
418001b48eSMatthias Seidel	{
428001b48eSMatthias Seidel		Pos = MAP_APPFONT ( 6, 2 ) ;
438001b48eSMatthias Seidel		Size = MAP_APPFONT ( 248, 8 ) ;
448001b48eSMatthias Seidel		Text [ en-US ] = "Load" ;
45cdf0e10cSrcweir	};
468001b48eSMatthias Seidel	CheckBox CB_LOAD_SETTINGS
478001b48eSMatthias Seidel	{
48*824b2ebeSmseidel		HelpID = "cui:CheckBox:RID_SFXPAGE_SAVE:CB_LOAD_SETTINGS" ;
498001b48eSMatthias Seidel		Pos = MAP_APPFONT ( 12, 11 ) ;
508001b48eSMatthias Seidel		Size = MAP_APPFONT ( 236, 10 ) ;
518001b48eSMatthias Seidel		Text [ en-US ] = "Load user-specific settings with the document" ;
52cdf0e10cSrcweir	};
538001b48eSMatthias Seidel	CheckBox CB_LOAD_DOCPRINTER
548001b48eSMatthias Seidel	{
55*824b2ebeSmseidel		HelpID = "cui:CheckBox:RID_SFXPAGE_SAVE:CB_LOAD_DOCPRINTER" ;
568001b48eSMatthias Seidel		Pos = MAP_APPFONT ( 12, 22 ) ;
578001b48eSMatthias Seidel		Size = MAP_APPFONT ( 236, 10 ) ;
588001b48eSMatthias Seidel		Text [ en-US ] = "Load printer settings with the document" ;
59cdf0e10cSrcweir	};
608001b48eSMatthias Seidel	FixedLine GB_SAVE
61cdf0e10cSrcweir	{
628001b48eSMatthias Seidel		Pos = MAP_APPFONT ( 6, 32 ) ;
638001b48eSMatthias Seidel		Size = MAP_APPFONT ( 248, 8 ) ;
64cdf0e10cSrcweir		Text [ en-US ] = "Save" ;
65cdf0e10cSrcweir	};
668001b48eSMatthias Seidel	CheckBox BTN_DOCINFO
67cdf0e10cSrcweir	{
68*824b2ebeSmseidel		HelpID = "cui:CheckBox:RID_SFXPAGE_SAVE:BTN_DOCINFO" ;
698001b48eSMatthias Seidel		Pos = MAP_APPFONT ( 12, 41 ) ;
708001b48eSMatthias Seidel		Size = MAP_APPFONT ( 236, 10 ) ;
71cdf0e10cSrcweir		Text [ en-US ] = "~Edit document properties before saving" ;
72cdf0e10cSrcweir		TabStop = TRUE ;
73cdf0e10cSrcweir	};
748001b48eSMatthias Seidel	FixedImage FI_BACKUP
75cdf0e10cSrcweir	{
768001b48eSMatthias Seidel		Pos = MAP_APPFONT ( 5, 53 ) ;
778001b48eSMatthias Seidel		Size = MAP_APPFONT ( 6, 6 ) ;
788001b48eSMatthias Seidel		Hide = TRUE ;
798001b48eSMatthias Seidel	};
808001b48eSMatthias Seidel	CheckBox BTN_BACKUP
818001b48eSMatthias Seidel	{
82*824b2ebeSmseidel		HelpID = "cui:CheckBox:RID_SFXPAGE_SAVE:BTN_BACKUP" ;
838001b48eSMatthias Seidel		Pos = MAP_APPFONT ( 12, 52 ) ;
848001b48eSMatthias Seidel		Size = MAP_APPFONT ( 236, 10 ) ;
85cdf0e10cSrcweir		Text [ en-US ] = "Al~ways create backup copy" ;
86cdf0e10cSrcweir	};
878001b48eSMatthias Seidel	CheckBox BTN_AUTOSAVE
88cdf0e10cSrcweir	{
89*824b2ebeSmseidel		HelpID = "cui:CheckBox:RID_SFXPAGE_SAVE:BTN_AUTOSAVE" ;
908001b48eSMatthias Seidel		Pos = MAP_APPFONT ( 12, 63 ) ;
918001b48eSMatthias Seidel		Size = MAP_APPFONT ( 150, 10 ) ;
92cdf0e10cSrcweir		Text [ en-US ] = "Save ~AutoRecovery information every" ;
93cdf0e10cSrcweir	};
94cdf0e10cSrcweir	NumericField ED_AUTOSAVE
95cdf0e10cSrcweir	{
96*824b2ebeSmseidel		HelpID = "cui:NumericField:RID_SFXPAGE_SAVE:ED_AUTOSAVE" ;
97cdf0e10cSrcweir		Border = TRUE ;
988001b48eSMatthias Seidel		Pos = MAP_APPFONT ( 180, 62 ) ;
998001b48eSMatthias Seidel		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	{
1138001b48eSMatthias Seidel		Pos = MAP_APPFONT ( 204, 63 ) ;
1148001b48eSMatthias Seidel		Size = MAP_APPFONT ( 35, 8 ) ;
115cdf0e10cSrcweir		Text [ en-US ] = "Minutes" ;
116cdf0e10cSrcweir	};
1178001b48eSMatthias Seidel	CheckBox BTN_RELATIVE_FSYS
118cdf0e10cSrcweir	{
119*824b2ebeSmseidel		HelpID = "cui:CheckBox:RID_SFXPAGE_SAVE:BTN_RELATIVE_FSYS" ;
1208001b48eSMatthias Seidel		Pos = MAP_APPFONT ( 12, 74 ) ;
1218001b48eSMatthias Seidel		Size = MAP_APPFONT ( 236, 10 ) ;
1228001b48eSMatthias Seidel		Text [ en-US ] = "Save URLs relative to file system" ;
123cdf0e10cSrcweir	};
1248001b48eSMatthias Seidel	CheckBox BTN_RELATIVE_INET
125cdf0e10cSrcweir	{
126*824b2ebeSmseidel		HelpID = "cui:CheckBox:RID_SFXPAGE_SAVE:BTN_RELATIVE_INET" ;
1278001b48eSMatthias Seidel		Pos = MAP_APPFONT ( 12, 85 ) ;
1288001b48eSMatthias Seidel		Size = MAP_APPFONT ( 248, 10 ) ;
1298001b48eSMatthias Seidel		Text [ en-US ] = "Save URLs relative to internet" ;
130cdf0e10cSrcweir	};
1318001b48eSMatthias Seidel	FixedLine FL_FILTER
132cdf0e10cSrcweir	{
1338001b48eSMatthias Seidel		Pos = MAP_APPFONT ( 6, 97 ) ;
1348001b48eSMatthias Seidel		Size = MAP_APPFONT ( 248, 8 ) ;
1358001b48eSMatthias Seidel		Text [ en-US ] = "Default file format and ODF settings" ;
136cdf0e10cSrcweir	};
1378001b48eSMatthias Seidel	FixedText FT_ODF_VERSION
1388001b48eSMatthias Seidel	{
1398001b48eSMatthias Seidel		Pos = MAP_APPFONT ( 12, 107 ) ;
1408001b48eSMatthias Seidel		Size = MAP_APPFONT ( 121, 8 ) ;
1418001b48eSMatthias Seidel		Text [ en-US ] = "ODF format version" ;
142cdf0e10cSrcweir	};
1438001b48eSMatthias Seidel	ListBox LB_ODF_VERSION
1448001b48eSMatthias Seidel	{
145*824b2ebeSmseidel		HelpID = "cui:ListBox:RID_SFXPAGE_SAVE:LB_ODF_VERSION" ;
1468001b48eSMatthias Seidel		Pos = MAP_APPFONT ( 136, 105 ) ;
1478001b48eSMatthias Seidel		Size = MAP_APPFONT ( 108, 58 ) ;
1488001b48eSMatthias Seidel		Border = TRUE ;
1498001b48eSMatthias Seidel		DropDown = TRUE ;
1508001b48eSMatthias Seidel		StringList [ en-US ] =
1518001b48eSMatthias Seidel		{
1528001b48eSMatthias Seidel			< "1.0/1.1" ;						2 ; > ;
1538001b48eSMatthias Seidel			< "1.2" ;							4 ; > ;
1548001b48eSMatthias Seidel			< "1.2 Extended (recommended)" ;	0x7fffffff ; > ;
1558001b48eSMatthias Seidel		};
156cdf0e10cSrcweir	};
1578001b48eSMatthias Seidel	CheckBox BTN_ODFENCRYPTION
1588001b48eSMatthias Seidel	{
159*824b2ebeSmseidel		HelpID = "cui:CheckBox:RID_SFXPAGE_SAVE:BTN_ODFENCRYPTION" ;
1608001b48eSMatthias Seidel		Pos = MAP_APPFONT ( 12, 120 ) ;
1618001b48eSMatthias Seidel		Size = MAP_APPFONT ( 248, 10 ) ;
1628001b48eSMatthias Seidel		Text [ en-US ] = "Enable AES-256 encryption (ODF 1.2)" ;
1638001b48eSMatthias Seidel	};
1648001b48eSMatthias Seidel	CheckBox BTN_NOPRETTYPRINTING
1658001b48eSMatthias Seidel	{
166*824b2ebeSmseidel		HelpID = "cui:CheckBox:RID_SFXPAGE_SAVE:BTN_NOPRETTYPRINTING" ;
1678001b48eSMatthias Seidel		Pos = MAP_APPFONT ( 12, 131 ) ;
1688001b48eSMatthias Seidel		Size = MAP_APPFONT ( 248, 10 ) ;
1698001b48eSMatthias Seidel		Text [ en-US ] = "Size optimization for ODF format" ;
1708001b48eSMatthias Seidel	};
1718001b48eSMatthias Seidel	CheckBox BTN_WARNALIENFORMAT
1728001b48eSMatthias Seidel	{
173*824b2ebeSmseidel		HelpID = "cui:CheckBox:RID_SFXPAGE_SAVE:BTN_WARNALIENFORMAT" ;
1748001b48eSMatthias Seidel		Pos = MAP_APPFONT ( 12, 142 ) ;
1758001b48eSMatthias Seidel		Size = MAP_APPFONT ( 248, 10 ) ;
1768001b48eSMatthias Seidel		Text [ en-US ] = "Warn when not saving in ODF or default format" ;
1778001b48eSMatthias Seidel	};
1788001b48eSMatthias Seidel	FixedText FT_APP
1798001b48eSMatthias Seidel	{
1808001b48eSMatthias Seidel		Pos = MAP_APPFONT ( 12, 153 ) ;
1818001b48eSMatthias Seidel		Size = MAP_APPFONT ( 120, 8 ) ;
1828001b48eSMatthias Seidel		Text [ en-US ] = "D~ocument type" ;
1838001b48eSMatthias Seidel	};
1848001b48eSMatthias Seidel	FixedText FT_FILTER
1858001b48eSMatthias Seidel	{
1868001b48eSMatthias Seidel		Pos = MAP_APPFONT ( 136, 153 ) ;
1878001b48eSMatthias Seidel		Size = MAP_APPFONT ( 120, 8 ) ;
1888001b48eSMatthias Seidel		Text [ en-US ] = "Always sa~ve as" ;
1898001b48eSMatthias Seidel	};
1908001b48eSMatthias Seidel	ListBox LB_APP
1918001b48eSMatthias Seidel	{
192*824b2ebeSmseidel		HelpID = "cui:ListBox:RID_SFXPAGE_SAVE:LB_APP" ;
1938001b48eSMatthias Seidel		Pos = MAP_APPFONT ( 12, 164 ) ;
1948001b48eSMatthias Seidel		Size = MAP_APPFONT ( 108, 58 ) ;
1958001b48eSMatthias Seidel		Border = TRUE ;
1968001b48eSMatthias Seidel		DropDown = TRUE ;
197cdf0e10cSrcweir		StringList [ en-US ] =
198cdf0e10cSrcweir		{
1998001b48eSMatthias Seidel			< "Text document" ;		APP_WRITER			; > ;
2008001b48eSMatthias Seidel			< "HTML document" ;		APP_WRITER_WEB		; > ;
2018001b48eSMatthias Seidel			< "Master document" ;	APP_WRITER_GLOBAL	; > ;
2028001b48eSMatthias Seidel			< "Spreadsheet" ;		APP_CALC			; > ;
2038001b48eSMatthias Seidel			< "Presentation" ;		APP_IMPRESS			; > ;
2048001b48eSMatthias Seidel			< "Drawing" ;			APP_DRAW			; > ;
2058001b48eSMatthias Seidel			< "Formula" ;			APP_MATH			; > ;
2068001b48eSMatthias Seidel		};
2078001b48eSMatthias Seidel	};
2088001b48eSMatthias Seidel	FixedImage FI_FILTER
2098001b48eSMatthias Seidel	{
2108001b48eSMatthias Seidel		Pos = MAP_APPFONT ( 129, 153 ) ;
2118001b48eSMatthias Seidel		Size = MAP_APPFONT ( 6, 6 ) ;
2128001b48eSMatthias Seidel		Hide = TRUE ;
2138001b48eSMatthias Seidel	};
2148001b48eSMatthias Seidel	ListBox LB_FILTER
2158001b48eSMatthias Seidel	{
216*824b2ebeSmseidel		HelpID = "cui:ListBox:RID_SFXPAGE_SAVE:LB_FILTER" ;
2178001b48eSMatthias Seidel		Pos = MAP_APPFONT ( 136, 164 ) ;
2188001b48eSMatthias Seidel		Size = MAP_APPFONT ( 108, 58 ) ;
2198001b48eSMatthias Seidel		Border = TRUE ;
2208001b48eSMatthias Seidel		Sort = TRUE ;
2218001b48eSMatthias Seidel		DropDown = TRUE ;
2228001b48eSMatthias Seidel	};
2238001b48eSMatthias Seidel	FixedImage FI_ODF_WARNING
2248001b48eSMatthias Seidel	{
22581ec2e1cSMatthias Seidel		Pos = MAP_APPFONT ( 12, 177 ) ;
2268001b48eSMatthias Seidel		Size = MAP_APPFONT ( 8, 8 ) ;
2278001b48eSMatthias Seidel		Hide = TRUE ;
2288001b48eSMatthias Seidel	};
2298001b48eSMatthias Seidel	FixedText FT_WARN
2308001b48eSMatthias Seidel	{
23181ec2e1cSMatthias Seidel		Pos = MAP_APPFONT ( 23, 177 ) ;
2328001b48eSMatthias Seidel		Size = MAP_APPFONT ( 239, 8 ) ;
2338001b48eSMatthias Seidel		Hide = TRUE ;
23450ac8f13SMatthias Seidel		Text [ en-US ] = "Not using ODF 1.2 Extended may cause information to be lost." ;
2358001b48eSMatthias Seidel	};
2368001b48eSMatthias Seidel	Image IMG_ODF_WARNING
2378001b48eSMatthias Seidel	{
2388001b48eSMatthias Seidel		ImageBitmap = Bitmap
2398001b48eSMatthias Seidel		{
240*824b2ebeSmseidel			File = "odfwarning.png" ;
2418001b48eSMatthias Seidel		};
2428001b48eSMatthias Seidel	};
2438001b48eSMatthias Seidel	Image IMG_ODF_WARNING_HC
2448001b48eSMatthias Seidel	{
2458001b48eSMatthias Seidel		ImageBitmap = Bitmap
2468001b48eSMatthias Seidel		{
247*824b2ebeSmseidel			File = "odfwarning_h.png" ;
248cdf0e10cSrcweir		};
249cdf0e10cSrcweir	};
250cdf0e10cSrcweir};
251cdf0e10cSrcweir
252cdf0e10cSrcweirModalDialog RID_SVXDLG_FILTER_WARNING
253cdf0e10cSrcweir{
254*824b2ebeSmseidel	HelpID = HID_SVXDLG_FILTER_WARNING ;
255cdf0e10cSrcweir	OutputSize = TRUE ;
256cdf0e10cSrcweir	Moveable = TRUE ;
2578001b48eSMatthias Seidel	Closeable = TRUE ;
258cdf0e10cSrcweir	Sizeable = FALSE ;
259cdf0e10cSrcweir	Border = TRUE ;
260cdf0e10cSrcweir	SVLook = TRUE ;
261*824b2ebeSmseidel	Size = MAP_APPFONT ( 175 + 39 + (3 * 6), (4 * 9)+ 12 + (3 * 12) + 6 - 21 ) ;
2628001b48eSMatthias Seidel	Text = "%PRODUCTNAME %PRODUCTVERSION" ;
2638001b48eSMatthias Seidel	FixedImage IMG_WARNING
264cdf0e10cSrcweir	{
265*824b2ebeSmseidel		Pos = MAP_APPFONT ( 6, 6 ) ;
266*824b2ebeSmseidel		Size = MAP_APPFONT ( 30, 30 ) ;
267cdf0e10cSrcweir	};
2688001b48eSMatthias Seidel	FixedText FT_FILTER_WARNING
2698001b48eSMatthias Seidel	{
270*824b2ebeSmseidel		Pos = MAP_APPFONT ( 39, 6 ) ;
271*824b2ebeSmseidel		Size = MAP_APPFONT ( 175, 4 * 9 ) ;
2728001b48eSMatthias Seidel		Wordbreak = TRUE ;
2738001b48eSMatthias Seidel		Text [ en-US ] = "Using \"%1\" as default file format may cause information loss.\n" ;
274cdf0e10cSrcweir	};
2758001b48eSMatthias Seidel	OKButton PB_OK
2768001b48eSMatthias Seidel	{
277*824b2ebeSmseidel		Pos = MAP_APPFONT ( 60, (4 * 9)/*+ 12*/ + 13 ) ;
278*824b2ebeSmseidel		Size = MAP_APPFONT ( 50, 14 ) ;
2798001b48eSMatthias Seidel		DefButton = TRUE ;
2808001b48eSMatthias Seidel	};
2818001b48eSMatthias Seidel	CancelButton PB_CANCEL
282cdf0e10cSrcweir	{
283*824b2ebeSmseidel		Pos = MAP_APPFONT ( 120, (4 * 9)/*+ 12*/ + 13 ) ;
284*824b2ebeSmseidel		Size = MAP_APPFONT ( 50, 14 ) ;
285cdf0e10cSrcweir	};
286cdf0e10cSrcweir};
287cdf0e10cSrcweir
288*824b2ebeSmseidel// ********************************************************************** EOF
289