xref: /AOO41X/main/sfx2/source/dialog/alienwarn.src (revision ca62e2c2083b5d0995f1245bad6c2edfb455fbec)
1*acbf353aSAndrew Rist/**************************************************************
2cdf0e10cSrcweir *
3*acbf353aSAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
4*acbf353aSAndrew Rist * or more contributor license agreements.  See the NOTICE file
5*acbf353aSAndrew Rist * distributed with this work for additional information
6*acbf353aSAndrew Rist * regarding copyright ownership.  The ASF licenses this file
7*acbf353aSAndrew Rist * to you under the Apache License, Version 2.0 (the
8*acbf353aSAndrew Rist * "License"); you may not use this file except in compliance
9*acbf353aSAndrew Rist * with the License.  You may obtain a copy of the License at
10cdf0e10cSrcweir *
11*acbf353aSAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12cdf0e10cSrcweir *
13*acbf353aSAndrew Rist * Unless required by applicable law or agreed to in writing,
14*acbf353aSAndrew Rist * software distributed under the License is distributed on an
15*acbf353aSAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*acbf353aSAndrew Rist * KIND, either express or implied.  See the License for the
17*acbf353aSAndrew Rist * specific language governing permissions and limitations
18*acbf353aSAndrew Rist * under the License.
19cdf0e10cSrcweir *
20*acbf353aSAndrew Rist *************************************************************/
21*acbf353aSAndrew Rist
22*acbf353aSAndrew Rist
23cdf0e10cSrcweir
24cdf0e10cSrcweir#include "alienwarn.hrc"
25cdf0e10cSrcweir#include "dialog.hrc"
26cdf0e10cSrcweir#include "helpid.hrc"
27cdf0e10cSrcweir
28cdf0e10cSrcweirModalDialog RID_DLG_ALIEN_WARNING
29cdf0e10cSrcweir{
30cdf0e10cSrcweir    HelpId = HID_WARNING_ALIENFORMAT;
31cdf0e10cSrcweir    Size = MAP_APPFONT( DIALOG_WIDTH, DIALOG_HEIGHT );
32cdf0e10cSrcweir	OutputSize = TRUE;
33cdf0e10cSrcweir	Closeable = FALSE;
34cdf0e10cSrcweir	Moveable = TRUE;
35cdf0e10cSrcweir	SVLook = TRUE;
36cdf0e10cSrcweir
37cdf0e10cSrcweir    Text = "%PRODUCTNAME %PRODUCTVERSION %PRODUCTEXTENSION";
38cdf0e10cSrcweir
39cdf0e10cSrcweir    FixedImage FI_QUERY
40cdf0e10cSrcweir	{
41cdf0e10cSrcweir        Pos = MAP_APPFONT( AW_COL_1, AW_ROW_1 );
42cdf0e10cSrcweir        Size = MAP_APPFONT( SYMBOL_EDGE, SYMBOL_EDGE );
43cdf0e10cSrcweir	};
44cdf0e10cSrcweir    FixedText FT_INFOTEXT
45cdf0e10cSrcweir	{
46cdf0e10cSrcweir        Pos = MAP_APPFONT( AW_COL_2, AW_ROW_1 );
47cdf0e10cSrcweir        Size = MAP_APPFONT( DIALOG_WIDTH-AW_COL_2-RSC_SP_DLG_INNERBORDER_RIGHT, INFO_TEXT_LINES*RSC_CD_FIXEDTEXT_HEIGHT );
48cdf0e10cSrcweir		NoLabel = TRUE;
49cdf0e10cSrcweir        Wordbreak = TRUE;
50cdf0e10cSrcweir        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.";
51cdf0e10cSrcweir	};
52cdf0e10cSrcweir    OKButton PB_NO
53cdf0e10cSrcweir    {
54cdf0e10cSrcweir        Pos = MAP_APPFONT( AW_COL_2, AW_ROW_2 );
55cdf0e10cSrcweir        Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT );
56cdf0e10cSrcweir        DefButton = TRUE ;
57cdf0e10cSrcweir        Text [ en-US ] = "~Keep Current Format";
58cdf0e10cSrcweir    };
59cdf0e10cSrcweir    CancelButton PB_YES
60cdf0e10cSrcweir	{
61cdf0e10cSrcweir        Pos = MAP_APPFONT( AW_COL_3, AW_ROW_2 );
62cdf0e10cSrcweir        Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT );
63cdf0e10cSrcweir        Text [ en-US ] = "~Save in ODF Format";
64cdf0e10cSrcweir	};
65cdf0e10cSrcweir    HelpButton PB_MOREINFO
66cdf0e10cSrcweir	{
67cdf0e10cSrcweir        Pos = MAP_APPFONT( AW_COL_4, AW_ROW_2 );
68cdf0e10cSrcweir        Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT );
69cdf0e10cSrcweir        Hide = TRUE ;
70cdf0e10cSrcweir		Text [ en-US ] = "~More Information...";
71cdf0e10cSrcweir	};
72cdf0e10cSrcweir    FixedLine FL_OPTION
73cdf0e10cSrcweir	{
74cdf0e10cSrcweir        Pos = MAP_APPFONT( 0, AW_ROW_3 );
75cdf0e10cSrcweir        Size = MAP_APPFONT( DIALOG_WIDTH, RSC_CD_FIXEDLINE_HEIGHT );
76cdf0e10cSrcweir	};
77cdf0e10cSrcweir	CheckBox CB_WARNING_OFF
78cdf0e10cSrcweir	{
79cdf0e10cSrcweir	    HelpID = "sfx2:CheckBox:RID_DLG_ALIEN_WARNING:CB_WARNING_OFF";
80cdf0e10cSrcweir        Pos = MAP_APPFONT( AW_COL_2, AW_ROW_4 );
81cdf0e10cSrcweir        Size = MAP_APPFONT( DIALOG_WIDTH-AW_COL_2-RSC_SP_DLG_INNERBORDER_RIGHT, RSC_CD_CHECKBOX_HEIGHT );
82cdf0e10cSrcweir        WordBreak = TRUE ;
83cdf0e10cSrcweir        Text [ en-US ] = "~Ask when not saving in ODF format";
84cdf0e10cSrcweir	};
85cdf0e10cSrcweir};
86cdf0e10cSrcweir
87cdf0e10cSrcweir
88