xref: /trunk/main/uui/source/newerverwarn.src (revision a3cbd3e50c1a12e759959b66e76b58b3aeb2b2af)
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#define __RSC
23
24#include "newerverwarn.hrc"
25#include "ids.hrc"
26
27ModalDialog RID_DLG_NEWER_VERSION_WARNING
28{
29    HelpId = HID_DLG_NEWERVERSIONWARNING ;
30    OutputSize = TRUE ;
31    Size = MAP_APPFONT ( DLG_WIDTH, DLG_HEIGHT ) ;
32    SvLook = TRUE ;
33    Moveable = TRUE ;
34    Closeable = TRUE ;
35    Text [ en-US ] = "ODF Version Conflict" ;
36    FixedImage FI_IMAGE
37    {
38        Pos = MAP_APPFONT ( COL_1, ROW_1 ) ;
39        Size = MAP_APPFONT ( IMAGE_WIDTH, IMAGE_HEIGHT ) ;
40        Hide = FALSE ;
41        Fixed = Image
42        {
43            ImageBitmap = Bitmap {File = "versionwarning.png" ;} ;
44        };
45    };
46    FixedText FT_INFO
47    {
48        Pos = MAP_APPFONT ( COL_2, ROW_1 ) ;
49        Size = MAP_APPFONT ( INFO_WIDTH, INFO_LINES * RSC_CD_FIXEDTEXT_HEIGHT ) ;
50        Wordbreak = TRUE ;
51        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." ;
52    };
53    FixedLine FL_BUTTON
54    {
55        Pos = MAP_APPFONT ( 0, ROW_2 ) ;
56        Size = MAP_APPFONT ( DLG_WIDTH, RSC_CD_FIXEDLINE_HEIGHT ) ;
57    };
58    PushButton PB_UPDATE
59    {
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 ) ;
63        TabStop = TRUE ;
64        Text [ en-US ] = "~Update Now..." ;
65    };
66    CancelButton PB_LATER
67    {
68        Pos = MAP_APPFONT ( COL_4, ROW_3 ) ;
69        Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT ) ;
70        TabStop = TRUE ;
71        Text [ en-US ] = "~Later" ;
72    };
73};
74
75// ********************************************************************** EOF
76