1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * This file is part of OpenOffice.org.
11 * OpenOffice.org is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU Lesser General Public License version 3
13 * only, as published by the Free Software Foundation.
15 * OpenOffice.org is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU Lesser General Public License version 3 for more details
19 * (a copy is included in the LICENSE file that accompanied this code).
21 * You should have received a copy of the GNU Lesser General Public License
22 * version 3 along with OpenOffice.org. If not, see
23 * <http://www.openoffice.org/license.html>
24 * for a copy of the LGPLv3 License.
26 ************************************************************************/
30 #include "newerverwarn.hrc"
33 #define STD_MASKCOLOR Color { Red=0xffff; Green=0x0000; Blue=0xffff; }
35 ModalDialog RID_DLG_NEWER_VERSION_WARNING
37 HelpId = HID_DLG_NEWERVERSIONWARNING;
39 Size = MAP_APPFONT ( DLG_WIDTH , DLG_HEIGHT ) ;
43 Text [ en-US ] = "%PRODUCTNAME Update Available" ;
46 Pos = MAP_APPFONT ( COL_1 , ROW_1 );
47 Size = MAP_APPFONT ( IMAGE_WIDTH , IMAGE_HEIGHT );
51 ImageBitmap = Bitmap { File = "versionwarning.png"; };
52 MaskColor = STD_MASKCOLOR;
57 Pos = MAP_APPFONT( COL_2, ROW_1 );
58 Size = MAP_APPFONT( INFO_WIDTH, INFO_LINES * RSC_CD_FIXEDTEXT_HEIGHT );
60 Text [ en-US ] = "This document was created by a newer version of %PRODUCTNAME. It may contain features not supported by your current version.\n\nClick 'Update Now...' to run online update and get the latest version of %PRODUCTNAME.";
64 Pos = MAP_APPFONT ( 0 , ROW_2 ) ;
65 Size = MAP_APPFONT ( DLG_WIDTH , RSC_CD_FIXEDLINE_HEIGHT ) ;
69 HelpID = "uui:PushButton:RID_DLG_NEWER_VERSION_WARNING:PB_UPDATE";
70 Pos = MAP_APPFONT ( COL_3 , ROW_3 ) ;
71 Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH , RSC_CD_PUSHBUTTON_HEIGHT ) ;
73 Text [ en-US ] = "~Update Now..." ;
77 Pos = MAP_APPFONT ( COL_4 , ROW_3 ) ;
78 Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH , RSC_CD_PUSHBUTTON_HEIGHT ) ;
80 Text [ en-US ] = "~Later" ;