xref: /AOO41X/main/dbaccess/source/ui/querydesign/querydlg.src (revision cdf0e10c4e3984b49a9502b011690b615761d4a3)
1*cdf0e10cSrcweir/*************************************************************************
2*cdf0e10cSrcweir *
3*cdf0e10cSrcweir * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4*cdf0e10cSrcweir *
5*cdf0e10cSrcweir * Copyright 2000, 2010 Oracle and/or its affiliates.
6*cdf0e10cSrcweir *
7*cdf0e10cSrcweir * OpenOffice.org - a multi-platform office productivity suite
8*cdf0e10cSrcweir *
9*cdf0e10cSrcweir * This file is part of OpenOffice.org.
10*cdf0e10cSrcweir *
11*cdf0e10cSrcweir * OpenOffice.org is free software: you can redistribute it and/or modify
12*cdf0e10cSrcweir * it under the terms of the GNU Lesser General Public License version 3
13*cdf0e10cSrcweir * only, as published by the Free Software Foundation.
14*cdf0e10cSrcweir *
15*cdf0e10cSrcweir * OpenOffice.org is distributed in the hope that it will be useful,
16*cdf0e10cSrcweir * but WITHOUT ANY WARRANTY; without even the implied warranty of
17*cdf0e10cSrcweir * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18*cdf0e10cSrcweir * GNU Lesser General Public License version 3 for more details
19*cdf0e10cSrcweir * (a copy is included in the LICENSE file that accompanied this code).
20*cdf0e10cSrcweir *
21*cdf0e10cSrcweir * You should have received a copy of the GNU Lesser General Public License
22*cdf0e10cSrcweir * version 3 along with OpenOffice.org.  If not, see
23*cdf0e10cSrcweir * <http://www.openoffice.org/license.html>
24*cdf0e10cSrcweir * for a copy of the LGPLv3 License.
25*cdf0e10cSrcweir *
26*cdf0e10cSrcweir ************************************************************************/
27*cdf0e10cSrcweir#ifndef _DBU_QRY_HRC_
28*cdf0e10cSrcweir#include "dbu_qry.hrc"
29*cdf0e10cSrcweir#endif
30*cdf0e10cSrcweir#ifndef DBAUI_QUERYDLG_HRC
31*cdf0e10cSrcweir#include "querydlg.hrc"
32*cdf0e10cSrcweir#endif
33*cdf0e10cSrcweir#include "dbaccess_helpid.hrc"
34*cdf0e10cSrcweir
35*cdf0e10cSrcweirModalDialog DLG_QRY_JOIN
36*cdf0e10cSrcweir{
37*cdf0e10cSrcweir	OutputSize = TRUE ;
38*cdf0e10cSrcweir	SVLook = TRUE ;
39*cdf0e10cSrcweir	HelpId = HID_DLG_QRY_JOIN ;
40*cdf0e10cSrcweir	Size = MAP_APPFONT ( 265, 219 ) ;
41*cdf0e10cSrcweir
42*cdf0e10cSrcweir	Moveable = TRUE ;
43*cdf0e10cSrcweir	Closeable = TRUE ;
44*cdf0e10cSrcweir
45*cdf0e10cSrcweir    Window WND_JOIN_CONTROL
46*cdf0e10cSrcweir	{
47*cdf0e10cSrcweir		Pos = MAP_APPFONT( 0, 0 );
48*cdf0e10cSrcweir		Size = MAP_APPFONT( 203, 44 );
49*cdf0e10cSrcweir		DialogControl = TRUE;
50*cdf0e10cSrcweir		HelpId        = HID_DLG_QRY_JOIN_CONTROL ;
51*cdf0e10cSrcweir        FixedLine FL_JOIN
52*cdf0e10cSrcweir	    {
53*cdf0e10cSrcweir		    Pos = MAP_APPFONT ( 6 , 3 ) ;
54*cdf0e10cSrcweir		    Size = MAP_APPFONT ( 191 , 8 ) ;
55*cdf0e10cSrcweir		    Text [ en-US ] = "Options";
56*cdf0e10cSrcweir	    };
57*cdf0e10cSrcweir
58*cdf0e10cSrcweir	    FixedText FT_LISTBOXTITLE
59*cdf0e10cSrcweir	    {
60*cdf0e10cSrcweir		    Pos = MAP_APPFONT ( 12 , 16 ) ;
61*cdf0e10cSrcweir		    Size = MAP_APPFONT ( 89 , 8 ) ;
62*cdf0e10cSrcweir
63*cdf0e10cSrcweir		    Text [ en-US ] = "~Type";
64*cdf0e10cSrcweir	    };
65*cdf0e10cSrcweir
66*cdf0e10cSrcweir	    ListBox LB_JOINTYPE
67*cdf0e10cSrcweir	    {
68*cdf0e10cSrcweir		    Pos             = MAP_APPFONT ( 101 , 15 ) ;
69*cdf0e10cSrcweir		    Size            = MAP_APPFONT ( 90 , 60 ) ;
70*cdf0e10cSrcweir		    HelpId          = HID_DLG_QRY_JOINTYPE ;
71*cdf0e10cSrcweir
72*cdf0e10cSrcweir		    DropDown		= TRUE;
73*cdf0e10cSrcweir		    DDExtraWidth	= TRUE;
74*cdf0e10cSrcweir	        StringList [ en-US ] =
75*cdf0e10cSrcweir	        {
76*cdf0e10cSrcweir		        < "Inner join"          ; ID_INNER_JOIN;    > ;
77*cdf0e10cSrcweir		        < "Left join"           ; ID_LEFT_JOIN;     > ;
78*cdf0e10cSrcweir		        < "Right join"          ; ID_RIGHT_JOIN;    > ;
79*cdf0e10cSrcweir		        < "Full (outer) join"   ; ID_FULL_JOIN;     > ;
80*cdf0e10cSrcweir                < "Cross join"          ; ID_CROSS_JOIN;    > ;
81*cdf0e10cSrcweir	        };
82*cdf0e10cSrcweir	    };
83*cdf0e10cSrcweir        CheckBox CB_NATURAL
84*cdf0e10cSrcweir	    {
85*cdf0e10cSrcweir            HelpID = "dbaccess:CheckBox:DLG_QRY_JOIN:CB_NATURAL";
86*cdf0e10cSrcweir		    Pos = MAP_APPFONT ( 101 , 31 ) ;
87*cdf0e10cSrcweir		    Size = MAP_APPFONT ( 89 , 8 ) ;
88*cdf0e10cSrcweir
89*cdf0e10cSrcweir		    Text [ en-US ] = "Natural";
90*cdf0e10cSrcweir	    };
91*cdf0e10cSrcweir    };
92*cdf0e10cSrcweir
93*cdf0e10cSrcweir	Window WND_CONTROL
94*cdf0e10cSrcweir	{
95*cdf0e10cSrcweir		Pos = MAP_APPFONT( 0, 0 );
96*cdf0e10cSrcweir		Size = MAP_APPFONT( 203, 153 );
97*cdf0e10cSrcweir		DialogControl = TRUE;
98*cdf0e10cSrcweir		HelpId        = HID_DLG_QRY_WINDOW_CONTROL ;
99*cdf0e10cSrcweir
100*cdf0e10cSrcweir		FixedLine FL_INVOLVED_TABLES
101*cdf0e10cSrcweir		{
102*cdf0e10cSrcweir			Pos = MAP_APPFONT ( 6 , 3 ) ;
103*cdf0e10cSrcweir			Size = MAP_APPFONT ( 191 , 8 ) ;
104*cdf0e10cSrcweir			Text [ en-US ] = "Tables involved";
105*cdf0e10cSrcweir		};
106*cdf0e10cSrcweir
107*cdf0e10cSrcweir		ListBox LB_LEFT_TABLE
108*cdf0e10cSrcweir		{
109*cdf0e10cSrcweir			Border = TRUE;
110*cdf0e10cSrcweir			Pos = MAP_APPFONT( 12, 14 );
111*cdf0e10cSrcweir			Size = MAP_APPFONT( 87, 60 );
112*cdf0e10cSrcweir			HelpId        = HID_DLG_QRY_LEFT_TABLE ;
113*cdf0e10cSrcweir			DropDown = TRUE;
114*cdf0e10cSrcweir			TabStop = TRUE;
115*cdf0e10cSrcweir		};
116*cdf0e10cSrcweir
117*cdf0e10cSrcweir		ListBox LB_RIGHT_TABLE
118*cdf0e10cSrcweir		{
119*cdf0e10cSrcweir			Border = TRUE;
120*cdf0e10cSrcweir			Pos = MAP_APPFONT( 104, 14 );
121*cdf0e10cSrcweir			Size = MAP_APPFONT( 87, 60 );
122*cdf0e10cSrcweir			HelpId        = HID_DLG_QRY_RIGHT_TABLE ;
123*cdf0e10cSrcweir			DropDown = TRUE;
124*cdf0e10cSrcweir			TabStop = TRUE;
125*cdf0e10cSrcweir		};
126*cdf0e10cSrcweir
127*cdf0e10cSrcweir		FixedLine FL_INVOLVED_FIELDS
128*cdf0e10cSrcweir		{
129*cdf0e10cSrcweir			Pos = MAP_APPFONT ( 6 , 29 ) ;
130*cdf0e10cSrcweir			Size = MAP_APPFONT ( 191 , 8 ) ;
131*cdf0e10cSrcweir			Text [ en-US ] = "Fields involved";
132*cdf0e10cSrcweir		};
133*cdf0e10cSrcweir	};
134*cdf0e10cSrcweir
135*cdf0e10cSrcweir	FixedText ML_HELPTEXT
136*cdf0e10cSrcweir	{
137*cdf0e10cSrcweir		Pos             = MAP_APPFONT ( 12 , 159 ) ;
138*cdf0e10cSrcweir		Size            = MAP_APPFONT ( 179 , 49 ) ;
139*cdf0e10cSrcweir		UniqueId        = HID_DLG_QRY_HELPTEXT ;
140*cdf0e10cSrcweir		SVLook          = TRUE;
141*cdf0e10cSrcweir		WordBreak		= TRUE;
142*cdf0e10cSrcweir	};
143*cdf0e10cSrcweir
144*cdf0e10cSrcweir	OKButton PB_OK
145*cdf0e10cSrcweir	{
146*cdf0e10cSrcweir		Pos = MAP_APPFONT ( 206 , 6 ) ;
147*cdf0e10cSrcweir		Size = MAP_APPFONT ( 50 , 14 ) ;
148*cdf0e10cSrcweir		TabStop = TRUE ;
149*cdf0e10cSrcweir		DefButton = TRUE ;
150*cdf0e10cSrcweir	};
151*cdf0e10cSrcweir	CancelButton PB_CANCEL
152*cdf0e10cSrcweir	{
153*cdf0e10cSrcweir		Pos = MAP_APPFONT ( 206 , 23 ) ;
154*cdf0e10cSrcweir		Size = MAP_APPFONT ( 50 , 14 ) ;
155*cdf0e10cSrcweir		TabStop = TRUE ;
156*cdf0e10cSrcweir	};
157*cdf0e10cSrcweir	HelpButton PB_HELP
158*cdf0e10cSrcweir	{
159*cdf0e10cSrcweir		Pos = MAP_APPFONT ( 206 , 43 ) ;
160*cdf0e10cSrcweir		Size = MAP_APPFONT ( 50 , 14 ) ;
161*cdf0e10cSrcweir		TabStop = TRUE ;
162*cdf0e10cSrcweir	};
163*cdf0e10cSrcweir
164*cdf0e10cSrcweir	Text [ en-US ] = "Join Properties";
165*cdf0e10cSrcweir};
166*cdf0e10cSrcweir
167*cdf0e10cSrcweirString STR_JOIN_TYPE_HINT
168*cdf0e10cSrcweir{
169*cdf0e10cSrcweir    Text [ en-US ] = "Please note that some databases may not support this join type.";
170*cdf0e10cSrcweir};
171*cdf0e10cSrcweir
172*cdf0e10cSrcweirString STR_QUERY_INNER_JOIN
173*cdf0e10cSrcweir{
174*cdf0e10cSrcweir	Text [ en-US ] = "Includes only records for which the contents of the related fields of both tables are identical.";
175*cdf0e10cSrcweir};
176*cdf0e10cSrcweir
177*cdf0e10cSrcweirString STR_QUERY_LEFTRIGHT_JOIN
178*cdf0e10cSrcweir{
179*cdf0e10cSrcweir	Text [ en-US ] = "Contains ALL records from table '%1' but only records from table '%2' where the values in the related fields are matching.";
180*cdf0e10cSrcweir};
181*cdf0e10cSrcweir
182*cdf0e10cSrcweirString STR_QUERY_FULL_JOIN
183*cdf0e10cSrcweir{
184*cdf0e10cSrcweir	Text [ en-US ] = "Contains ALL records from '%1' and from '%2'.";
185*cdf0e10cSrcweir};
186*cdf0e10cSrcweirString STR_QUERY_CROSS_JOIN
187*cdf0e10cSrcweir{
188*cdf0e10cSrcweir	Text [ en-US ] = "Contains the cartesian product of ALL records from '%1' and from '%2'.";
189*cdf0e10cSrcweir};
190*cdf0e10cSrcweirString STR_QUERY_NATURAL_JOIN
191*cdf0e10cSrcweir{
192*cdf0e10cSrcweir	Text [ en-US ] = "Contains only one column for each pair of equally-named columns from '%1' and from '%2'.";
193*cdf0e10cSrcweir};
194*cdf0e10cSrcweir
195*cdf0e10cSrcweir
196