xref: /trunk/main/sfx2/source/dialog/alienwarn.src (revision cdf0e10c)
1/*************************************************************************
2 *
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
6 *
7 * OpenOffice.org - a multi-platform office productivity suite
8 *
9 * This file is part of OpenOffice.org.
10 *
11 * OpenOffice.org is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU Lesser General Public License version 3
13 * only, as published by the Free Software Foundation.
14 *
15 * OpenOffice.org is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18 * GNU Lesser General Public License version 3 for more details
19 * (a copy is included in the LICENSE file that accompanied this code).
20 *
21 * You should have received a copy of the GNU Lesser General Public License
22 * version 3 along with OpenOffice.org.  If not, see
23 * <http://www.openoffice.org/license.html>
24 * for a copy of the LGPLv3 License.
25 *
26 ************************************************************************/
27
28#include "alienwarn.hrc"
29#include "dialog.hrc"
30#include "helpid.hrc"
31
32ModalDialog RID_DLG_ALIEN_WARNING
33{
34    HelpId = HID_WARNING_ALIENFORMAT;
35    Size = MAP_APPFONT( DIALOG_WIDTH, DIALOG_HEIGHT );
36	OutputSize = TRUE;
37	Closeable = FALSE;
38	Moveable = TRUE;
39	SVLook = TRUE;
40
41    Text = "%PRODUCTNAME %PRODUCTVERSION %PRODUCTEXTENSION";
42
43    FixedImage FI_QUERY
44	{
45        Pos = MAP_APPFONT( AW_COL_1, AW_ROW_1 );
46        Size = MAP_APPFONT( SYMBOL_EDGE, SYMBOL_EDGE );
47	};
48    FixedText FT_INFOTEXT
49	{
50        Pos = MAP_APPFONT( AW_COL_2, AW_ROW_1 );
51        Size = MAP_APPFONT( DIALOG_WIDTH-AW_COL_2-RSC_SP_DLG_INNERBORDER_RIGHT, INFO_TEXT_LINES*RSC_CD_FIXEDTEXT_HEIGHT );
52		NoLabel = TRUE;
53        Wordbreak = TRUE;
54        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.";
55        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.";
56	};
57    OKButton PB_NO
58    {
59        Pos = MAP_APPFONT( AW_COL_2, AW_ROW_2 );
60        Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT );
61        DefButton = TRUE ;
62        Text [ en-US ] = "~Keep Current Format";
63    };
64    CancelButton PB_YES
65	{
66        Pos = MAP_APPFONT( AW_COL_3, AW_ROW_2 );
67        Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT );
68        Text [ en-US ] = "~Save in ODF Format";
69	};
70    HelpButton PB_MOREINFO
71	{
72        Pos = MAP_APPFONT( AW_COL_4, AW_ROW_2 );
73        Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT );
74        Hide = TRUE ;
75		Text [ en-US ] = "~More Information...";
76	};
77    FixedLine FL_OPTION
78	{
79        Pos = MAP_APPFONT( 0, AW_ROW_3 );
80        Size = MAP_APPFONT( DIALOG_WIDTH, RSC_CD_FIXEDLINE_HEIGHT );
81	};
82	CheckBox CB_WARNING_OFF
83	{
84	    HelpID = "sfx2:CheckBox:RID_DLG_ALIEN_WARNING:CB_WARNING_OFF";
85        Pos = MAP_APPFONT( AW_COL_2, AW_ROW_4 );
86        Size = MAP_APPFONT( DIALOG_WIDTH-AW_COL_2-RSC_SP_DLG_INNERBORDER_RIGHT, RSC_CD_CHECKBOX_HEIGHT );
87        WordBreak = TRUE ;
88        Text [ en-US ] = "~Ask when not saving in ODF format";
89	};
90};
91
92
93