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