1/************************************************************** 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 10 * 11 * http://www.apache.org/licenses/LICENSE-2.0 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. 19 * 20 *************************************************************/ 21 22#include "alienwarn.hrc" 23#include "dialog.hrc" 24#include "helpid.hrc" 25 26ModalDialog RID_DLG_ALIEN_WARNING 27{ 28 HelpId = HID_WARNING_ALIENFORMAT ; 29 Size = MAP_APPFONT ( DIALOG_WIDTH, DIALOG_HEIGHT ) ; 30 OutputSize = TRUE ; 31 Closeable = FALSE ; 32 Moveable = TRUE ; 33 SVLook = TRUE ; 34 35 Text = "%PRODUCTNAME %PRODUCTVERSION %PRODUCTEXTENSION" ; 36 37 FixedImage FI_QUERY 38 { 39 Pos = MAP_APPFONT ( AW_COL_1, AW_ROW_1 ) ; 40 Size = MAP_APPFONT ( SYMBOL_EDGE, SYMBOL_EDGE ) ; 41 }; 42 FixedText FT_INFOTEXT 43 { 44 Pos = MAP_APPFONT ( AW_COL_2, AW_ROW_1 ) ; 45 Size = MAP_APPFONT ( DIALOG_WIDTH-AW_COL_2-RSC_SP_DLG_INNERBORDER_RIGHT, INFO_TEXT_LINES*RSC_CD_FIXEDTEXT_HEIGHT ) ; 46 NoLabel = TRUE ; 47 Wordbreak = TRUE ; 48 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." ; 49 }; 50 OKButton PB_NO 51 { 52 Pos = MAP_APPFONT ( AW_COL_2, AW_ROW_2 ) ; 53 Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT ) ; 54 DefButton = TRUE ; 55 Text [ en-US ] = "~Keep Current Format" ; 56 }; 57 CancelButton PB_YES 58 { 59 Pos = MAP_APPFONT ( AW_COL_3, AW_ROW_2 ) ; 60 Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT ) ; 61 Text [ en-US ] = "~Save in ODF Format" ; 62 }; 63 HelpButton PB_MOREINFO 64 { 65 Pos = MAP_APPFONT ( AW_COL_4, AW_ROW_2 ) ; 66 Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT ) ; 67 Hide = TRUE ; 68 Text [ en-US ] = "~More Information..." ; 69 }; 70 FixedLine FL_OPTION 71 { 72 Pos = MAP_APPFONT ( 0, AW_ROW_3 ) ; 73 Size = MAP_APPFONT ( DIALOG_WIDTH, RSC_CD_FIXEDLINE_HEIGHT ) ; 74 }; 75 CheckBox CB_WARNING_OFF 76 { 77 HelpID = "sfx2:CheckBox:RID_DLG_ALIEN_WARNING:CB_WARNING_OFF" ; 78 Pos = MAP_APPFONT ( AW_COL_2, AW_ROW_4 ) ; 79 Size = MAP_APPFONT ( DIALOG_WIDTH-AW_COL_2-RSC_SP_DLG_INNERBORDER_RIGHT, RSC_CD_CHECKBOX_HEIGHT ) ; 80 WordBreak = TRUE ; 81 Text [ en-US ] = "~Ask when not saving in ODF format" ; 82 }; 83}; 84 85// ********************************************************************** EOF 86