alienwarn.src (430a148e) alienwarn.src (14b9f946)
1/**************************************************************
1/**************************************************************
2 *
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
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 *
10 *
11 * http://www.apache.org/licenses/LICENSE-2.0
11 * http://www.apache.org/licenses/LICENSE-2.0
12 *
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.
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 *
19 *
20 *************************************************************/
21
22
23
24#include "alienwarn.hrc"
25#include "dialog.hrc"
26#include "helpid.hrc"
27
28ModalDialog RID_DLG_ALIEN_WARNING
29{
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;
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
36
37 Text = "%PRODUCTNAME %PRODUCTVERSION %PRODUCTEXTENSION";
37 Text = "%PRODUCTNAME %PRODUCTVERSION %PRODUCTEXTENSION" ;
38
38
39 FixedImage FI_QUERY
39 FixedImage FI_QUERY
40 {
40 {
41 Pos = MAP_APPFONT( AW_COL_1, AW_ROW_1 );
42 Size = MAP_APPFONT( SYMBOL_EDGE, SYMBOL_EDGE );
41 Pos = MAP_APPFONT ( AW_COL_1, AW_ROW_1 ) ;
42 Size = MAP_APPFONT ( SYMBOL_EDGE, SYMBOL_EDGE ) ;
43 };
43 };
44 FixedText FT_INFOTEXT
44 FixedText FT_INFOTEXT
45 {
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.";
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 };
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
52 OKButton PB_NO
60 {
53 {
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";
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" ;
64 };
58 };
65 HelpButton PB_MOREINFO
59 CancelButton PB_YES
66 {
60 {
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...";
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" ;
71 };
64 };
72 FixedLine FL_OPTION
65 HelpButton PB_MOREINFO
73 {
66 {
74 Pos = MAP_APPFONT( 0, AW_ROW_3 );
75 Size = MAP_APPFONT( DIALOG_WIDTH, RSC_CD_FIXEDLINE_HEIGHT );
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..." ;
76 };
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 {
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";
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
84 };
85};
86
87
87// ********************************************************************** EOF