2 * This file is part of the LibreOffice project.
4 * This Source Code Form is subject to the terms of the Mozilla Public
5 * License, v. 2.0. If a copy of the MPL was not distributed with this
6 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 * This file incorporates work covered by the following license notice:
10 * Licensed to the Apache Software Foundation (ASF) under one or more
11 * contributor license agreements. See the NOTICE file distributed
12 * with this work for additional information regarding copyright
13 * ownership. The ASF licenses this file to you under the Apache
14 * License, Version 2.0 (the "License"); you may not use this file
15 * except in compliance with the License. You may obtain a copy of
16 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
21 #include "newerverwarn.hrc"
24 #define STD_MASKCOLOR Color { Red=0xffff; Green=0x0000; Blue=0xffff; }
26 ModalDialog RID_DLG_NEWER_VERSION_WARNING
28 HelpId = HID_DLG_NEWERVERSIONWARNING;
30 Size = MAP_APPFONT ( DLG_WIDTH , DLG_HEIGHT ) ;
34 Text [ en-US ] = "%PRODUCTNAME Update Available" ;
37 Pos = MAP_APPFONT ( COL_1 , ROW_1 );
38 Size = MAP_APPFONT ( IMAGE_WIDTH , IMAGE_HEIGHT );
42 ImageBitmap = Bitmap { File = "versionwarning.png"; };
43 MaskColor = STD_MASKCOLOR;
48 Pos = MAP_APPFONT( COL_2, ROW_1 );
49 Size = MAP_APPFONT( INFO_WIDTH, INFO_LINES * RSC_CD_FIXEDTEXT_HEIGHT );
51 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.";
55 Pos = MAP_APPFONT ( 0 , ROW_2 ) ;
56 Size = MAP_APPFONT ( DLG_WIDTH , RSC_CD_FIXEDLINE_HEIGHT ) ;
60 HelpID = "uui:PushButton:RID_DLG_NEWER_VERSION_WARNING:PB_UPDATE";
61 Pos = MAP_APPFONT ( COL_3 , ROW_3 ) ;
62 Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH , RSC_CD_PUSHBUTTON_HEIGHT ) ;
64 Text [ en-US ] = "~Update Now..." ;
68 Pos = MAP_APPFONT ( COL_4 , ROW_3 ) ;
69 Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH , RSC_CD_PUSHBUTTON_HEIGHT ) ;
71 Text [ en-US ] = "~Later" ;