1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: ExtensionNotPresent.src,v $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
30 #include "ExtensionNotPresent.hrc"
31 #include "dbaccess_helpid.hrc"
32 #include "dbu_resource.hrc"
33 #include <svx/globlmn.hrc>
34 #include <svx/svxids.hrc>
37 String RID_STR_EXTENSION_NOT_PRESENT
39 // #i96130# use hard coded name
40 Text [ en-US ] = "To open a report you require the extension Sun™ Report Builder.\n\nClick 'Download...' to download and install the extension.";
41 // OLD: Text [ en-US ] = "To open a report you require the extension %RPT_EXTENSION_NAME.\n\nClick 'Download...' to download and install the extension.";
43 // To open a report you require the extension Sun Report Designer weiss der Geier Hauptsache extra langer Name
44 // String RID_STR_EXTENSION_NAME
46 // Text = "Sun(TM) Report Builder";
49 ModalDialog RID_EXTENSION_NOT_PRESENT_DLG
53 Size = MAP_APPFONT ( DLG_WIDTH , DLG_HEIGHT ) ;
54 Text [ en-US ] = "%PRODUCTNAME %PRODUCTVERSION" ;
55 HelpId = HID_EXTENSION_NOT_PRESENT_DLG;
59 // most of the calulated values here are overridden by the ExtensionNotPresent ctor itself.
62 Pos = MAP_APPFONT (CELL_PADDING / 2, CELL_PADDING) ;
64 Fixed=BMP_EXCEPTION_WARNING;
70 Pos = MAP_APPFONT ( 32 , CELL_PADDING ) ;
71 Size = MAP_APPFONT ( DLG_WIDTH - LEFT_PADDING - RIGHT_PADDING , 3 * (FIXEDTEXT_HEIGHT + 2) ) ;
73 // Text will set outside from RID_STR_EXTENSION_NOT_PRESENT
76 PushButton PB_DOWNLOAD
78 Pos = MAP_APPFONT ( DLG_WIDTH / 2 - (CELL_PADDING/2) - BUTTON_WIDTH, ACTION_LINE_START ) ;
79 Size = MAP_APPFONT ( BUTTON_WIDTH , BUTTON_HEIGHT ) ;
82 Text [ en-US ] = "~Download..." ;
85 CancelButton PB_CANCEL
87 Pos = MAP_APPFONT ( DLG_WIDTH / 2 + (CELL_PADDING/2), ACTION_LINE_START) ;
88 Size = MAP_APPFONT ( BUTTON_WIDTH , BUTTON_HEIGHT ) ;