xref: /AOO42X/main/uui/source/newerverwarn.src (revision 48b4597a2856c699bd618a4df53b49e70a921b21)
12611ca73SAndrew Rist/**************************************************************
2cdf0e10cSrcweir *
32611ca73SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
42611ca73SAndrew Rist * or more contributor license agreements.  See the NOTICE file
52611ca73SAndrew Rist * distributed with this work for additional information
62611ca73SAndrew Rist * regarding copyright ownership.  The ASF licenses this file
72611ca73SAndrew Rist * to you under the Apache License, Version 2.0 (the
82611ca73SAndrew Rist * "License"); you may not use this file except in compliance
92611ca73SAndrew Rist * with the License.  You may obtain a copy of the License at
10cdf0e10cSrcweir *
112611ca73SAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12cdf0e10cSrcweir *
132611ca73SAndrew Rist * Unless required by applicable law or agreed to in writing,
142611ca73SAndrew Rist * software distributed under the License is distributed on an
152611ca73SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
162611ca73SAndrew Rist * KIND, either express or implied.  See the License for the
172611ca73SAndrew Rist * specific language governing permissions and limitations
182611ca73SAndrew Rist * under the License.
19cdf0e10cSrcweir *
202611ca73SAndrew Rist *************************************************************/
212611ca73SAndrew Rist
22cdf0e10cSrcweir#define __RSC
23cdf0e10cSrcweir
24cdf0e10cSrcweir#include "newerverwarn.hrc"
25cdf0e10cSrcweir#include "ids.hrc"
26cdf0e10cSrcweir
27cdf0e10cSrcweirModalDialog RID_DLG_NEWER_VERSION_WARNING
28cdf0e10cSrcweir{
29cdf0e10cSrcweir    HelpId = HID_DLG_NEWERVERSIONWARNING ;
30cdf0e10cSrcweir    OutputSize = TRUE ;
31cdf0e10cSrcweir    Size = MAP_APPFONT ( DLG_WIDTH, DLG_HEIGHT ) ;
32cdf0e10cSrcweir    SvLook = TRUE ;
33cdf0e10cSrcweir    Moveable = TRUE ;
34cdf0e10cSrcweir    Closeable = TRUE ;
35*feb8e0e0Smseidel    Text [ en-US ] = "ODF Version Conflict" ;
36cdf0e10cSrcweir    FixedImage FI_IMAGE
37cdf0e10cSrcweir    {
38cdf0e10cSrcweir        Pos = MAP_APPFONT ( COL_1, ROW_1 ) ;
39cdf0e10cSrcweir        Size = MAP_APPFONT ( IMAGE_WIDTH, IMAGE_HEIGHT ) ;
40cdf0e10cSrcweir        Hide = FALSE ;
41cdf0e10cSrcweir        Fixed = Image
42cdf0e10cSrcweir        {
43cdf0e10cSrcweir            ImageBitmap = Bitmap {File = "versionwarning.png" ;} ;
44cdf0e10cSrcweir        };
45cdf0e10cSrcweir    };
46cdf0e10cSrcweir    FixedText FT_INFO
47cdf0e10cSrcweir    {
48cdf0e10cSrcweir        Pos = MAP_APPFONT ( COL_2, ROW_1 ) ;
49cdf0e10cSrcweir        Size = MAP_APPFONT ( INFO_WIDTH, INFO_LINES * RSC_CD_FIXEDTEXT_HEIGHT ) ;
50cdf0e10cSrcweir        Wordbreak = TRUE ;
51*feb8e0e0Smseidel        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." ;
52cdf0e10cSrcweir    };
53cdf0e10cSrcweir    FixedLine FL_BUTTON
54cdf0e10cSrcweir    {
55cdf0e10cSrcweir        Pos = MAP_APPFONT ( 0, ROW_2 ) ;
56cdf0e10cSrcweir        Size = MAP_APPFONT ( DLG_WIDTH, RSC_CD_FIXEDLINE_HEIGHT ) ;
57cdf0e10cSrcweir    };
58cdf0e10cSrcweir    PushButton PB_UPDATE
59cdf0e10cSrcweir    {
60cdf0e10cSrcweir        HelpID = "uui:PushButton:RID_DLG_NEWER_VERSION_WARNING:PB_UPDATE" ;
61cdf0e10cSrcweir        Pos = MAP_APPFONT ( COL_3, ROW_3 ) ;
62cdf0e10cSrcweir        Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT ) ;
63cdf0e10cSrcweir        TabStop = TRUE ;
64cdf0e10cSrcweir        Text [ en-US ] = "~Update Now..." ;
65cdf0e10cSrcweir    };
66cdf0e10cSrcweir    CancelButton PB_LATER
67cdf0e10cSrcweir    {
68cdf0e10cSrcweir        Pos = MAP_APPFONT ( COL_4, ROW_3 ) ;
69cdf0e10cSrcweir        Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT ) ;
70cdf0e10cSrcweir        TabStop = TRUE ;
71cdf0e10cSrcweir        Text [ en-US ] = "~Later" ;
72cdf0e10cSrcweir    };
73cdf0e10cSrcweir};
74b580b466Smseidel
75b580b466Smseidel// ********************************************************************** EOF
76