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: directsql.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 ************************************************************************/
31 #ifndef _DBACCESS_UI_DIRECTSQL_HRC_
32 #include "directsql.hrc"
35 #include "dbu_dlg.hrc"
38 #define BUTTON_SIZE_X 50
39 #define BUTTON_SIZE_Y 14
41 #define WINDOW_SIZE_X 200
42 #define WINDOW_SIZE_Y 210 + BUTTON_SIZE_Y + BUTTON_SIZE_Y
44 ModalDialog DLG_DIRECTSQL
50 Size = MAP_APPFONT ( WINDOW_SIZE_X , WINDOW_SIZE_Y ) ;
54 Pos = MAP_APPFONT( 4, 3 );
55 Size = MAP_APPFONT( WINDOW_SIZE_X - 8, 8 );
56 Text [ en-US ] = "SQL command";
60 Pos = MAP_APPFONT( 7, 15 );
61 Size = MAP_APPFONT( WINDOW_SIZE_X - 14, 8 );
62 Text [ en-US ] = "Command to execute";
66 Pos = MAP_APPFONT( 7, 26 );
67 Size = MAP_APPFONT( WINDOW_SIZE_X - 14, 80 );
75 Pos = MAP_APPFONT( WINDOW_SIZE_X - BUTTON_SIZE_X - 7, 109 );
76 Size = MAP_APPFONT( BUTTON_SIZE_X, BUTTON_SIZE_Y );
77 Text [ en-US ] = "Execute";
82 Pos = MAP_APPFONT( 7, 110 + BUTTON_SIZE_Y + 3 );
83 Size = MAP_APPFONT( WINDOW_SIZE_X - 14, 8 );
84 Text [ en-US ] = "Previous commands";
88 Pos = MAP_APPFONT( 7, 121 + BUTTON_SIZE_Y + 3 );
89 Size = MAP_APPFONT( WINDOW_SIZE_X - 14, 14 );
96 Pos = MAP_APPFONT( 4, 138 + BUTTON_SIZE_Y + 4 );
97 Size = MAP_APPFONT( WINDOW_SIZE_X - 8, 8 );
98 Text [ en-US ] = "Status";
100 MultiLineEdit ME_STATUS
102 Pos = MAP_APPFONT( 7, 153 + BUTTON_SIZE_Y );
103 Size = MAP_APPFONT( WINDOW_SIZE_X - 14, 41 );
110 Pos = MAP_APPFONT( 4, 193 + BUTTON_SIZE_Y + 4 );
111 Size = MAP_APPFONT( WINDOW_SIZE_X - 8, 8 );
115 Pos = MAP_APPFONT( WINDOW_SIZE_X - 7 - BUTTON_SIZE_X - 3 - BUTTON_SIZE_X, 207 + BUTTON_SIZE_Y );
116 Size = MAP_APPFONT( BUTTON_SIZE_X, BUTTON_SIZE_Y );
120 Pos = MAP_APPFONT( WINDOW_SIZE_X - 7 - BUTTON_SIZE_X, 207 + BUTTON_SIZE_Y );
121 Size = MAP_APPFONT( BUTTON_SIZE_X, BUTTON_SIZE_Y );
122 Text [ en-US ] = "Close";
125 Text [ en-US ] = "Execute SQL Statement" ;
128 String STR_COMMAND_EXECUTED_SUCCESSFULLY
130 Text [ en-US ] = "Command successfully executed." ;
133 String STR_DIRECTSQL_CONNECTIONLOST
135 Text [ en-US ] = "The connection to the database has been lost. This dialog will be closed.";