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 23 24#define __RSC 25 26#include "newerverwarn.hrc" 27#include "ids.hrc" 28 29ModalDialog RID_DLG_NEWER_VERSION_WARNING 30{ 31 HelpId = HID_DLG_NEWERVERSIONWARNING ; 32 OutputSize = TRUE ; 33 Size = MAP_APPFONT ( DLG_WIDTH, DLG_HEIGHT ) ; 34 SvLook = TRUE ; 35 Moveable = TRUE ; 36 Closeable = TRUE ; 37 Text [ en-US ] = "ODF Version Conflict" ; 38 FixedImage FI_IMAGE 39 { 40 Pos = MAP_APPFONT ( COL_1, ROW_1 ) ; 41 Size = MAP_APPFONT ( IMAGE_WIDTH, IMAGE_HEIGHT ) ; 42 Hide = FALSE ; 43 Fixed = Image 44 { 45 ImageBitmap = Bitmap {File = "versionwarning.png" ;} ; 46 }; 47 }; 48 FixedText FT_INFO 49 { 50 Pos = MAP_APPFONT ( COL_2, ROW_1 ) ; 51 Size = MAP_APPFONT ( INFO_WIDTH, INFO_LINES * RSC_CD_FIXEDTEXT_HEIGHT ) ; 52 Wordbreak = TRUE ; 53 Text [ en-US ] = "This document uses an unsupported version of the Open Document Format. Some features may not be displayed correctly.\n\nClick 'Update Now' to run online update and see if there is a new version of %PRODUCTNAME available." ; 54 }; 55 FixedLine FL_BUTTON 56 { 57 Pos = MAP_APPFONT ( 0, ROW_2 ) ; 58 Size = MAP_APPFONT ( DLG_WIDTH, RSC_CD_FIXEDLINE_HEIGHT ) ; 59 }; 60 PushButton PB_UPDATE 61 { 62 HelpID = "uui:PushButton:RID_DLG_NEWER_VERSION_WARNING:PB_UPDATE" ; 63 Pos = MAP_APPFONT ( COL_3, ROW_3 ) ; 64 Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT ) ; 65 TabStop = TRUE ; 66 Text [ en-US ] = "~Update Now..." ; 67 }; 68 CancelButton PB_LATER 69 { 70 Pos = MAP_APPFONT ( COL_4, ROW_3 ) ; 71 Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT ) ; 72 TabStop = TRUE ; 73 Text [ en-US ] = "~Later" ; 74 }; 75}; 76 77// ********************************************************************** EOF 78