xref: /trunk/main/sfx2/source/dialog/alienwarn.src (revision 29043048)
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
23
24#include "alienwarn.hrc"
25#include "dialog.hrc"
26#include "helpid.hrc"
27
28ModalDialog RID_DLG_ALIEN_WARNING
29{
30	HelpId = HID_WARNING_ALIENFORMAT ;
31	Size = MAP_APPFONT ( DIALOG_WIDTH, DIALOG_HEIGHT ) ;
32	OutputSize = TRUE ;
33	Closeable = FALSE ;
34	Moveable = TRUE ;
35	SVLook = TRUE ;
36
37	Text = "%PRODUCTNAME %PRODUCTVERSION %PRODUCTEXTENSION" ;
38
39	FixedImage FI_QUERY
40	{
41		Pos = MAP_APPFONT ( AW_COL_1, AW_ROW_1 ) ;
42		Size = MAP_APPFONT ( SYMBOL_EDGE, SYMBOL_EDGE ) ;
43	};
44	FixedText FT_INFOTEXT
45	{
46		Pos = MAP_APPFONT ( AW_COL_2, AW_ROW_1 ) ;
47		Size = MAP_APPFONT ( DIALOG_WIDTH-AW_COL_2-RSC_SP_DLG_INNERBORDER_RIGHT, INFO_TEXT_LINES*RSC_CD_FIXEDTEXT_HEIGHT ) ;
48		NoLabel = TRUE ;
49		Wordbreak = TRUE ;
50		Text [ en-US ] = "This document may contain formatting or content that cannot be saved in the %FORMATNAME file format. Do you want to save the document in this format anyway?\n\nUse the latest ODF file format and be sure all formatting and content is saved correctly." ;
51	};
52	OKButton PB_NO
53	{
54		Pos = MAP_APPFONT ( AW_COL_2, AW_ROW_2 ) ;
55		Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT ) ;
56		DefButton = TRUE ;
57		Text [ en-US ] = "~Keep Current Format" ;
58	};
59	CancelButton PB_YES
60	{
61		Pos = MAP_APPFONT ( AW_COL_3, AW_ROW_2 ) ;
62		Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT ) ;
63		Text [ en-US ] = "~Save in ODF Format" ;
64	};
65	HelpButton PB_MOREINFO
66	{
67		Pos = MAP_APPFONT ( AW_COL_4, AW_ROW_2 ) ;
68		Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT ) ;
69		Hide = TRUE ;
70		Text [ en-US ] = "~More Information..." ;
71	};
72	FixedLine FL_OPTION
73	{
74		Pos = MAP_APPFONT ( 0, AW_ROW_3 ) ;
75		Size = MAP_APPFONT ( DIALOG_WIDTH, RSC_CD_FIXEDLINE_HEIGHT ) ;
76	};
77	CheckBox CB_WARNING_OFF
78	{
79		HelpID = "sfx2:CheckBox:RID_DLG_ALIEN_WARNING:CB_WARNING_OFF" ;
80		Pos = MAP_APPFONT ( AW_COL_2, AW_ROW_4 ) ;
81		Size = MAP_APPFONT ( DIALOG_WIDTH-AW_COL_2-RSC_SP_DLG_INNERBORDER_RIGHT, RSC_CD_CHECKBOX_HEIGHT ) ;
82		WordBreak = TRUE ;
83		Text [ en-US ] = "~Ask when not saving in ODF format" ;
84	};
85};
86
87// ********************************************************************** EOF
88