xref: /aoo42x/main/cui/source/options/optsave.src (revision 81ec2e1c)
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
100e2af6afSAndrew Rist *
110e2af6afSAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
120e2af6afSAndrew Rist *
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.
190e2af6afSAndrew Rist *
200e2af6afSAndrew Rist *************************************************************/
210e2af6afSAndrew Rist
220e2af6afSAndrew Rist
23cdf0e10cSrcweir
248001b48eSMatthias Seidel// include ---------------------------------------------------------------
25cdf0e10cSrcweir#include <sfx2/sfx.hrc>
26cdf0e10cSrcweir#include <cuires.hrc>
27cdf0e10cSrcweir#include "helpid.hrc"
28cdf0e10cSrcweir#include "optsave.hrc"
29cdf0e10cSrcweir
308001b48eSMatthias Seidel// SID_SFXPAGE_SAVE ------------------------------------------------------
31cdf0e10cSrcweir#define TEXT_SAVEPAGE \
328001b48eSMatthias Seidel	Text [ en-US ] = "Save" ;\
33cdf0e10cSrcweir
34cdf0e10cSrcweirTabPage RID_SFXPAGE_SAVE
35cdf0e10cSrcweir{
36cdf0e10cSrcweir	HelpId = HID_OPTIONS_SAVE ;
37cdf0e10cSrcweir	OutputSize = TRUE ;
38cdf0e10cSrcweir	SVLook = TRUE ;
39cdf0e10cSrcweir	Hide = TRUE ;
40cdf0e10cSrcweir	TEXT_SAVEPAGE
418001b48eSMatthias Seidel	Size = MAP_APPFONT ( 260, 185 ) ;
428001b48eSMatthias Seidel	FixedLine LB_LOAD
438001b48eSMatthias Seidel	{
448001b48eSMatthias Seidel		Pos = MAP_APPFONT ( 6, 2 ) ;
458001b48eSMatthias Seidel		Size = MAP_APPFONT ( 248, 8 ) ;
468001b48eSMatthias Seidel		Text [ en-US ] = "Load" ;
47cdf0e10cSrcweir	};
488001b48eSMatthias Seidel	CheckBox CB_LOAD_SETTINGS
498001b48eSMatthias Seidel	{
508001b48eSMatthias Seidel		HelpID = "cui:CheckBox:RID_SFXPAGE_SAVE:CB_LOAD_SETTINGS";
518001b48eSMatthias Seidel		Pos = MAP_APPFONT ( 12, 11 ) ;
528001b48eSMatthias Seidel		Size = MAP_APPFONT ( 236, 10 ) ;
538001b48eSMatthias Seidel		Text [ en-US ] = "Load user-specific settings with the document" ;
54cdf0e10cSrcweir	};
558001b48eSMatthias Seidel	CheckBox CB_LOAD_DOCPRINTER
568001b48eSMatthias Seidel	{
578001b48eSMatthias Seidel		HelpID = "cui:CheckBox:RID_SFXPAGE_SAVE:CB_LOAD_DOCPRINTER";
588001b48eSMatthias Seidel		Pos = MAP_APPFONT ( 12, 22 ) ;
598001b48eSMatthias Seidel		Size = MAP_APPFONT ( 236, 10 ) ;
608001b48eSMatthias Seidel		Text [ en-US ] = "Load printer settings with the document" ;
61cdf0e10cSrcweir	};
628001b48eSMatthias Seidel	FixedLine GB_SAVE
63cdf0e10cSrcweir	{
648001b48eSMatthias Seidel		Pos = MAP_APPFONT ( 6, 32 ) ;
658001b48eSMatthias Seidel		Size = MAP_APPFONT ( 248, 8 ) ;
66cdf0e10cSrcweir		Text [ en-US ] = "Save" ;
67cdf0e10cSrcweir	};
688001b48eSMatthias Seidel	CheckBox BTN_DOCINFO
69cdf0e10cSrcweir	{
708001b48eSMatthias Seidel		HelpID = "cui:CheckBox:RID_SFXPAGE_SAVE:BTN_DOCINFO";
718001b48eSMatthias Seidel		Pos = MAP_APPFONT ( 12, 41 ) ;
728001b48eSMatthias Seidel		Size = MAP_APPFONT ( 236, 10 ) ;
73cdf0e10cSrcweir		Text [ en-US ] = "~Edit document properties before saving" ;
74cdf0e10cSrcweir		TabStop = TRUE ;
75cdf0e10cSrcweir	};
768001b48eSMatthias Seidel	FixedImage FI_BACKUP
77cdf0e10cSrcweir	{
788001b48eSMatthias Seidel		Pos = MAP_APPFONT ( 5, 53 ) ;
798001b48eSMatthias Seidel		Size = MAP_APPFONT ( 6, 6 ) ;
808001b48eSMatthias Seidel		Hide = TRUE ;
818001b48eSMatthias Seidel	};
828001b48eSMatthias Seidel	CheckBox BTN_BACKUP
838001b48eSMatthias Seidel	{
848001b48eSMatthias Seidel		HelpID = "cui:CheckBox:RID_SFXPAGE_SAVE:BTN_BACKUP";
858001b48eSMatthias Seidel		Pos = MAP_APPFONT ( 12, 52 ) ;
868001b48eSMatthias Seidel		Size = MAP_APPFONT ( 236, 10 ) ;
87cdf0e10cSrcweir		Text [ en-US ] = "Al~ways create backup copy" ;
88cdf0e10cSrcweir	};
898001b48eSMatthias Seidel	CheckBox BTN_AUTOSAVE
90cdf0e10cSrcweir	{
918001b48eSMatthias Seidel		HelpID = "cui:CheckBox:RID_SFXPAGE_SAVE:BTN_AUTOSAVE";
928001b48eSMatthias Seidel		Pos = MAP_APPFONT ( 12, 63 ) ;
938001b48eSMatthias Seidel		Size = MAP_APPFONT ( 150, 10 ) ;
94cdf0e10cSrcweir		Text [ en-US ] = "Save ~AutoRecovery information every" ;
95cdf0e10cSrcweir	};
96cdf0e10cSrcweir	NumericField ED_AUTOSAVE
97cdf0e10cSrcweir	{
988001b48eSMatthias Seidel		HelpID = "cui:NumericField:RID_SFXPAGE_SAVE:ED_AUTOSAVE";
99cdf0e10cSrcweir		Border = TRUE ;
1008001b48eSMatthias Seidel		Pos = MAP_APPFONT ( 180, 62 ) ;
1018001b48eSMatthias Seidel		Size = MAP_APPFONT ( 21, 12 ) ;
102cdf0e10cSrcweir		Left = TRUE ;
103cdf0e10cSrcweir		Repeat = TRUE ;
104cdf0e10cSrcweir		Spin = TRUE ;
105cdf0e10cSrcweir		Minimum = 1 ;
106cdf0e10cSrcweir		Maximum = 60 ;
107cdf0e10cSrcweir		StrictFormat = TRUE ;
108cdf0e10cSrcweir		First = 1 ;
109cdf0e10cSrcweir		Last = 60 ;
110cdf0e10cSrcweir		SpinSize = 1 ;
111cdf0e10cSrcweir		TabStop = TRUE ;
112cdf0e10cSrcweir	};
113cdf0e10cSrcweir	FixedText FT_MINUTE
114cdf0e10cSrcweir	{
1158001b48eSMatthias Seidel		Pos = MAP_APPFONT ( 204, 63 ) ;
1168001b48eSMatthias Seidel		Size = MAP_APPFONT ( 35, 8 ) ;
117cdf0e10cSrcweir		Text [ en-US ] = "Minutes" ;
118cdf0e10cSrcweir	};
1198001b48eSMatthias Seidel	CheckBox BTN_RELATIVE_FSYS
120cdf0e10cSrcweir	{
1218001b48eSMatthias Seidel		HelpID = "cui:CheckBox:RID_SFXPAGE_SAVE:BTN_RELATIVE_FSYS";
1228001b48eSMatthias Seidel		Pos = MAP_APPFONT ( 12, 74 ) ;
1238001b48eSMatthias Seidel		Size = MAP_APPFONT ( 236, 10 ) ;
1248001b48eSMatthias Seidel		Text [ en-US ] = "Save URLs relative to file system" ;
125cdf0e10cSrcweir	};
1268001b48eSMatthias Seidel	CheckBox BTN_RELATIVE_INET
127cdf0e10cSrcweir	{
1288001b48eSMatthias Seidel		HelpID = "cui:CheckBox:RID_SFXPAGE_SAVE:BTN_RELATIVE_INET";
1298001b48eSMatthias Seidel		Pos = MAP_APPFONT ( 12, 85 ) ;
1308001b48eSMatthias Seidel		Size = MAP_APPFONT ( 248, 10 ) ;
1318001b48eSMatthias Seidel		Text [ en-US ] = "Save URLs relative to internet" ;
132cdf0e10cSrcweir	};
1338001b48eSMatthias Seidel	FixedLine FL_FILTER
134cdf0e10cSrcweir	{
1358001b48eSMatthias Seidel		Pos = MAP_APPFONT ( 6, 97 ) ;
1368001b48eSMatthias Seidel		Size = MAP_APPFONT ( 248, 8 ) ;
1378001b48eSMatthias Seidel		Text [ en-US ] = "Default file format and ODF settings" ;
138cdf0e10cSrcweir	};
1398001b48eSMatthias Seidel	FixedText FT_ODF_VERSION
1408001b48eSMatthias Seidel	{
1418001b48eSMatthias Seidel		Pos = MAP_APPFONT ( 12, 107 ) ;
1428001b48eSMatthias Seidel		Size = MAP_APPFONT ( 121, 8 ) ;
1438001b48eSMatthias Seidel		Text [ en-US ] = "ODF format version" ;
144cdf0e10cSrcweir	};
1458001b48eSMatthias Seidel	ListBox LB_ODF_VERSION
1468001b48eSMatthias Seidel	{
1478001b48eSMatthias Seidel		HelpID = "cui:ListBox:RID_SFXPAGE_SAVE:LB_ODF_VERSION";
1488001b48eSMatthias Seidel		Pos = MAP_APPFONT ( 136, 105 ) ;
1498001b48eSMatthias Seidel		Size = MAP_APPFONT ( 108, 58 ) ;
1508001b48eSMatthias Seidel		Border = TRUE ;
1518001b48eSMatthias Seidel		DropDown = TRUE ;
1528001b48eSMatthias Seidel		StringList [ en-US ] =
1538001b48eSMatthias Seidel		{
1548001b48eSMatthias Seidel			< "1.0/1.1" ;						2 ; > ;
1558001b48eSMatthias Seidel			< "1.2" ;							4 ; > ;
1568001b48eSMatthias Seidel			< "1.2 Extended (recommended)" ;	0x7fffffff ; > ;
1578001b48eSMatthias Seidel		};
158cdf0e10cSrcweir	};
1598001b48eSMatthias Seidel	CheckBox BTN_ODFENCRYPTION
1608001b48eSMatthias Seidel	{
1618001b48eSMatthias Seidel		HelpID = "cui:CheckBox:RID_SFXPAGE_SAVE:BTN_ODFENCRYPTION";
1628001b48eSMatthias Seidel		Pos = MAP_APPFONT ( 12, 120 ) ;
1638001b48eSMatthias Seidel		Size = MAP_APPFONT ( 248, 10 ) ;
1648001b48eSMatthias Seidel		Text [ en-US ] = "Enable AES-256 encryption (ODF 1.2)" ;
1658001b48eSMatthias Seidel	};
1668001b48eSMatthias Seidel	CheckBox BTN_NOPRETTYPRINTING
1678001b48eSMatthias Seidel	{
1688001b48eSMatthias Seidel		HelpID = "cui:CheckBox:RID_SFXPAGE_SAVE:BTN_NOPRETTYPRINTING";
1698001b48eSMatthias Seidel		Pos = MAP_APPFONT ( 12, 131 ) ;
1708001b48eSMatthias Seidel		Size = MAP_APPFONT ( 248, 10 ) ;
1718001b48eSMatthias Seidel		Text [ en-US ] = "Size optimization for ODF format" ;
1728001b48eSMatthias Seidel	};
1738001b48eSMatthias Seidel	CheckBox BTN_WARNALIENFORMAT
1748001b48eSMatthias Seidel	{
1758001b48eSMatthias Seidel		HelpID = "cui:CheckBox:RID_SFXPAGE_SAVE:BTN_WARNALIENFORMAT";
1768001b48eSMatthias Seidel		Pos = MAP_APPFONT ( 12, 142 ) ;
1778001b48eSMatthias Seidel		Size = MAP_APPFONT ( 248, 10 ) ;
1788001b48eSMatthias Seidel		Text [ en-US ] = "Warn when not saving in ODF or default format" ;
1798001b48eSMatthias Seidel	};
1808001b48eSMatthias Seidel	FixedText FT_APP
1818001b48eSMatthias Seidel	{
1828001b48eSMatthias Seidel		Pos = MAP_APPFONT ( 12, 153 ) ;
1838001b48eSMatthias Seidel		Size = MAP_APPFONT ( 120, 8 ) ;
1848001b48eSMatthias Seidel		Text [ en-US ] = "D~ocument type" ;
1858001b48eSMatthias Seidel	};
1868001b48eSMatthias Seidel	FixedText FT_FILTER
1878001b48eSMatthias Seidel	{
1888001b48eSMatthias Seidel		Pos = MAP_APPFONT ( 136, 153 ) ;
1898001b48eSMatthias Seidel		Size = MAP_APPFONT ( 120, 8 ) ;
1908001b48eSMatthias Seidel		Text [ en-US ] = "Always sa~ve as" ;
1918001b48eSMatthias Seidel	};
1928001b48eSMatthias Seidel	ListBox LB_APP
1938001b48eSMatthias Seidel	{
1948001b48eSMatthias Seidel		HelpID = "cui:ListBox:RID_SFXPAGE_SAVE:LB_APP";
1958001b48eSMatthias Seidel		Pos = MAP_APPFONT ( 12, 164 ) ;
1968001b48eSMatthias Seidel		Size = MAP_APPFONT ( 108, 58 ) ;
1978001b48eSMatthias Seidel		Border = TRUE ;
1988001b48eSMatthias Seidel		DropDown = TRUE ;
199cdf0e10cSrcweir		StringList [ en-US ] =
200cdf0e10cSrcweir		{
2018001b48eSMatthias Seidel			< "Text document" ;		APP_WRITER			; > ;
2028001b48eSMatthias Seidel			< "HTML document" ;		APP_WRITER_WEB		; > ;
2038001b48eSMatthias Seidel			< "Master document" ;	APP_WRITER_GLOBAL	; > ;
2048001b48eSMatthias Seidel			< "Spreadsheet" ;		APP_CALC			; > ;
2058001b48eSMatthias Seidel			< "Presentation" ;		APP_IMPRESS			; > ;
2068001b48eSMatthias Seidel			< "Drawing" ;			APP_DRAW			; > ;
2078001b48eSMatthias Seidel			< "Formula" ;			APP_MATH			; > ;
2088001b48eSMatthias Seidel		};
2098001b48eSMatthias Seidel	};
2108001b48eSMatthias Seidel	FixedImage FI_FILTER
2118001b48eSMatthias Seidel	{
2128001b48eSMatthias Seidel		Pos = MAP_APPFONT ( 129, 153 ) ;
2138001b48eSMatthias Seidel		Size = MAP_APPFONT ( 6, 6 ) ;
2148001b48eSMatthias Seidel		Hide = TRUE ;
2158001b48eSMatthias Seidel	};
2168001b48eSMatthias Seidel	ListBox LB_FILTER
2178001b48eSMatthias Seidel	{
2188001b48eSMatthias Seidel		HelpID = "cui:ListBox:RID_SFXPAGE_SAVE:LB_FILTER";
2198001b48eSMatthias Seidel		Pos = MAP_APPFONT ( 136, 164 ) ;
2208001b48eSMatthias Seidel		Size = MAP_APPFONT ( 108, 58 ) ;
2218001b48eSMatthias Seidel		Border = TRUE ;
2228001b48eSMatthias Seidel		Sort = TRUE ;
2238001b48eSMatthias Seidel		DropDown = TRUE ;
2248001b48eSMatthias Seidel	};
2258001b48eSMatthias Seidel	FixedImage FI_ODF_WARNING
2268001b48eSMatthias Seidel	{
227*81ec2e1cSMatthias Seidel		Pos = MAP_APPFONT ( 12, 177 ) ;
2288001b48eSMatthias Seidel		Size = MAP_APPFONT ( 8, 8 ) ;
2298001b48eSMatthias Seidel		Hide = TRUE ;
2308001b48eSMatthias Seidel	};
2318001b48eSMatthias Seidel	FixedText FT_WARN
2328001b48eSMatthias Seidel	{
233*81ec2e1cSMatthias Seidel		Pos = MAP_APPFONT ( 23, 177 ) ;
2348001b48eSMatthias Seidel		Size = MAP_APPFONT ( 239, 8 ) ;
2358001b48eSMatthias Seidel		Hide = TRUE ;
23650ac8f13SMatthias Seidel		Text [ en-US ] = "Not using ODF 1.2 Extended may cause information to be lost." ;
2378001b48eSMatthias Seidel	};
2388001b48eSMatthias Seidel	Image IMG_ODF_WARNING
2398001b48eSMatthias Seidel	{
2408001b48eSMatthias Seidel		ImageBitmap = Bitmap
2418001b48eSMatthias Seidel		{
2428001b48eSMatthias Seidel			File = "odfwarning.png";
2438001b48eSMatthias Seidel		};
2448001b48eSMatthias Seidel	};
2458001b48eSMatthias Seidel	Image IMG_ODF_WARNING_HC
2468001b48eSMatthias Seidel	{
2478001b48eSMatthias Seidel		ImageBitmap = Bitmap
2488001b48eSMatthias Seidel		{
2498001b48eSMatthias Seidel			File = "odfwarning_h.png";
250cdf0e10cSrcweir		};
251cdf0e10cSrcweir	};
252cdf0e10cSrcweir};
253cdf0e10cSrcweir
254cdf0e10cSrcweirModalDialog RID_SVXDLG_FILTER_WARNING
255cdf0e10cSrcweir{
2568001b48eSMatthias Seidel	HelpID = HID_SVXDLG_FILTER_WARNING;
257cdf0e10cSrcweir	OutputSize = TRUE ;
258cdf0e10cSrcweir	Moveable = TRUE ;
2598001b48eSMatthias Seidel	Closeable = TRUE ;
260cdf0e10cSrcweir	Sizeable = FALSE ;
261cdf0e10cSrcweir	Border = TRUE ;
262cdf0e10cSrcweir	SVLook = TRUE ;
2638001b48eSMatthias Seidel	Size = MAP_APPFONT( 175 + 39 + (3 * 6), (4 * 9)+ 12 + (3 * 12) + 6 - 21 );
2648001b48eSMatthias Seidel	Text = "%PRODUCTNAME %PRODUCTVERSION" ;
2658001b48eSMatthias Seidel	FixedImage IMG_WARNING
266cdf0e10cSrcweir	{
267cdf0e10cSrcweir		Pos = MAP_APPFONT( 6, 6 );
268cdf0e10cSrcweir		Size = MAP_APPFONT( 30, 30 );
269cdf0e10cSrcweir	};
2708001b48eSMatthias Seidel	FixedText FT_FILTER_WARNING
2718001b48eSMatthias Seidel	{
2728001b48eSMatthias Seidel		Pos = MAP_APPFONT( 39, 6 );
2738001b48eSMatthias Seidel		Size = MAP_APPFONT( 175, 4 * 9 );
2748001b48eSMatthias Seidel		Wordbreak = TRUE ;
2758001b48eSMatthias Seidel		Text [ en-US ] = "Using \"%1\" as default file format may cause information loss.\n" ;
276cdf0e10cSrcweir	};
2778001b48eSMatthias Seidel	OKButton PB_OK
2788001b48eSMatthias Seidel	{
2798001b48eSMatthias Seidel		Pos = MAP_APPFONT( 60, (4 * 9)/*+ 12*/ + 13 );
280cdf0e10cSrcweir		Size = MAP_APPFONT( 50, 14 );
2818001b48eSMatthias Seidel		DefButton = TRUE ;
2828001b48eSMatthias Seidel	};
2838001b48eSMatthias Seidel	CancelButton PB_CANCEL
284cdf0e10cSrcweir	{
2858001b48eSMatthias Seidel		Pos = MAP_APPFONT( 120, (4 * 9)/*+ 12*/ + 13 );
286cdf0e10cSrcweir		Size = MAP_APPFONT( 50, 14 );
287cdf0e10cSrcweir	};
288cdf0e10cSrcweir};
289cdf0e10cSrcweir
290