xref: /aoo41x/main/sfx2/source/dialog/alienwarn.src (revision acbf353a)
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-old ] = "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\n- Click 'Yes' to save in %FORMATNAME file format.\n- Click 'No' to use the latest OpenDocument file format and be sure all formatting and content is saved correctly.";
51        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.";
52	};
53    OKButton PB_NO
54    {
55        Pos = MAP_APPFONT( AW_COL_2, AW_ROW_2 );
56        Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT );
57        DefButton = TRUE ;
58        Text [ en-US ] = "~Keep Current Format";
59    };
60    CancelButton PB_YES
61	{
62        Pos = MAP_APPFONT( AW_COL_3, AW_ROW_2 );
63        Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT );
64        Text [ en-US ] = "~Save in ODF Format";
65	};
66    HelpButton PB_MOREINFO
67	{
68        Pos = MAP_APPFONT( AW_COL_4, AW_ROW_2 );
69        Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT );
70        Hide = TRUE ;
71		Text [ en-US ] = "~More Information...";
72	};
73    FixedLine FL_OPTION
74	{
75        Pos = MAP_APPFONT( 0, AW_ROW_3 );
76        Size = MAP_APPFONT( DIALOG_WIDTH, RSC_CD_FIXEDLINE_HEIGHT );
77	};
78	CheckBox CB_WARNING_OFF
79	{
80	    HelpID = "sfx2:CheckBox:RID_DLG_ALIEN_WARNING:CB_WARNING_OFF";
81        Pos = MAP_APPFONT( AW_COL_2, AW_ROW_4 );
82        Size = MAP_APPFONT( DIALOG_WIDTH-AW_COL_2-RSC_SP_DLG_INNERBORDER_RIGHT, RSC_CD_CHECKBOX_HEIGHT );
83        WordBreak = TRUE ;
84        Text [ en-US ] = "~Ask when not saving in ODF format";
85	};
86};
87
88
89