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