bump product version to 4.1.6.2
[LibreOffice.git] / dbaccess / source / ui / dlg / directsql.src
blob230bd67e33c6605413ee0581577c0ab9036aefba
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3  * This file is part of the LibreOffice project.
4  *
5  * This Source Code Form is subject to the terms of the Mozilla Public
6  * License, v. 2.0. If a copy of the MPL was not distributed with this
7  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8  *
9  * This file incorporates work covered by the following license notice:
10  *
11  *   Licensed to the Apache Software Foundation (ASF) under one or more
12  *   contributor license agreements. See the NOTICE file distributed
13  *   with this work for additional information regarding copyright
14  *   ownership. The ASF licenses this file to you under the Apache
15  *   License, Version 2.0 (the "License"); you may not use this file
16  *   except in compliance with the License. You may obtain a copy of
17  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
18  */
20 #include "directsql.hrc"
21 #include "dbu_dlg.hrc"
23 #define BUTTON_SIZE_X       50
24 #define BUTTON_SIZE_Y       14
26 #define WINDOW_SIZE_X       200
27 #define WINDOW_SIZE_Y       255 + BUTTON_SIZE_Y + BUTTON_SIZE_Y
29 ModalDialog DLG_DIRECTSQL
31     HelpID = "dbaccess:ModalDialog:DLG_DIRECTSQL";
32     OutputSize  = TRUE ;
33     Moveable    = TRUE ;
34     Closeable   = TRUE ;
35     SVLook      = TRUE ;
36     Size        = MAP_APPFONT ( WINDOW_SIZE_X , WINDOW_SIZE_Y ) ;
38     FixedLine FL_SQL
39     {
40         Pos = MAP_APPFONT( 4, 3 );
41         Size = MAP_APPFONT( WINDOW_SIZE_X - 8, 8 );
42         Text [ en-US ] = "SQL command";
43     };
44     FixedText FT_SQL
45     {
46         Pos = MAP_APPFONT( 7, 15 );
47         Size = MAP_APPFONT( WINDOW_SIZE_X - 14, 8 );
48         Text [ en-US ] = "Command to execute";
49     };
50     MultiLineEdit ME_SQL
51     {
52         HelpID = "dbaccess:MultiLineEdit:DLG_DIRECTSQL:ME_SQL";
53         Pos = MAP_APPFONT( 7, 26 );
54         Size = MAP_APPFONT( WINDOW_SIZE_X - 14, 60 );
55         SVLook = TRUE;
56         Border = TRUE;
57         TabStop = TRUE;
58         IgnoreTab = TRUE;
59     };
60     CheckBox   CB_SHOWOUTPUT
61     {
62         Pos = MAP_APPFONT( 7, 89 );
63         Size = MAP_APPFONT( 120, 10 );
64         Text [ en-US ] = "Show output of \"select\" statements";
65     };
66     PushButton PB_EXECUTE
67     {
68         HelpID = "dbaccess:PushButton:DLG_DIRECTSQL:PB_EXECUTE";
69         Pos = MAP_APPFONT( WINDOW_SIZE_X - BUTTON_SIZE_X - 7, 89 );
70         Size = MAP_APPFONT( BUTTON_SIZE_X, BUTTON_SIZE_Y );
71         Text [ en-US ] = "Execute";
72         DefButton = TRUE;
73     };
74     FixedText FT_HISTORY
75     {
76         Pos = MAP_APPFONT( 7, 85 + BUTTON_SIZE_Y + 3 );
77         Size = MAP_APPFONT( WINDOW_SIZE_X - 14, 8 );
78         Text [ en-US ] = "Previous commands";
79     };
80     ListBox LB_HISTORY
81     {
82         HelpID = "dbaccess:ListBox:DLG_DIRECTSQL:LB_HISTORY";
83         Pos = MAP_APPFONT( 7, 96 + BUTTON_SIZE_Y + 3 );
84         Size = MAP_APPFONT( WINDOW_SIZE_X - 14, 14 );
85         SvLook = TRUE;
86         DropDown = TRUE;
87         Border = TRUE;
88     };
89     FixedLine FL_STATUS
90     {
91         Pos = MAP_APPFONT( 4, 113 + BUTTON_SIZE_Y + 4 );
92         Size = MAP_APPFONT( WINDOW_SIZE_X - 8, 8 );
93         Text [ en-US ] = "Status";
94     };
95     MultiLineEdit ME_STATUS
96     {
97         HelpID = "dbaccess:MultiLineEdit:DLG_DIRECTSQL:ME_STATUS";
98         Pos = MAP_APPFONT( 7, 128 + BUTTON_SIZE_Y );
99         Size = MAP_APPFONT( WINDOW_SIZE_X - 14, 41 );
100         Border = TRUE;
101         ReadOnly = TRUE;
102         VScroll = TRUE;
103     };
104     FixedLine FL_OUTPUT
105     {
106         Pos = MAP_APPFONT( 4, 173 + BUTTON_SIZE_Y + 4 );
107         Size = MAP_APPFONT( WINDOW_SIZE_X - 8, 8 );
108         Text [ en-US ] = "Output";
109     };
110     MultiLineEdit ME_OUTPUT
111     {
112         Pos = MAP_APPFONT( 7, 188 + BUTTON_SIZE_Y );
113         Size = MAP_APPFONT( WINDOW_SIZE_X - 14, 51 );
114         Border = TRUE;
115         ReadOnly = TRUE;
116         VScroll = TRUE;
117         HScroll = TRUE;
118     };
119     FixedLine FL_BUTTONS
120     {
121         Pos = MAP_APPFONT( 4, 238 + BUTTON_SIZE_Y + 4 );
122         Size = MAP_APPFONT( WINDOW_SIZE_X - 8, 8 );
123     };
124     HelpButton PB_HELP
125     {
126         Pos = MAP_APPFONT( WINDOW_SIZE_X - 7 - BUTTON_SIZE_X - 3 - BUTTON_SIZE_X, 252 + BUTTON_SIZE_Y );
127         Size = MAP_APPFONT( BUTTON_SIZE_X, BUTTON_SIZE_Y );
128     };
129     PushButton PB_CLOSE
130     {
131         HelpID = "dbaccess:PushButton:DLG_DIRECTSQL:PB_CLOSE";
132         Pos = MAP_APPFONT( WINDOW_SIZE_X - 7 - BUTTON_SIZE_X, 252 + BUTTON_SIZE_Y );
133         Size = MAP_APPFONT( BUTTON_SIZE_X, BUTTON_SIZE_Y );
134         Text [ en-US ] = "Close";
135     };
137     Text [ en-US ]  = "Execute SQL Statement" ;
140 String STR_COMMAND_EXECUTED_SUCCESSFULLY
142     Text [ en-US ] = "Command successfully executed." ;
145 String STR_DIRECTSQL_CONNECTIONLOST
147     Text [ en-US ] = "The connection to the database has been lost. This dialog will be closed.";
150 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */