xref: /trunk/main/offapi/com/sun/star/sdb/TableDesign.idl (revision d1766043)
1*d1766043SAndrew Rist/**************************************************************
2cdf0e10cSrcweir *
3*d1766043SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
4*d1766043SAndrew Rist * or more contributor license agreements.  See the NOTICE file
5*d1766043SAndrew Rist * distributed with this work for additional information
6*d1766043SAndrew Rist * regarding copyright ownership.  The ASF licenses this file
7*d1766043SAndrew Rist * to you under the Apache License, Version 2.0 (the
8*d1766043SAndrew Rist * "License"); you may not use this file except in compliance
9*d1766043SAndrew Rist * with the License.  You may obtain a copy of the License at
10*d1766043SAndrew Rist *
11*d1766043SAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12*d1766043SAndrew Rist *
13*d1766043SAndrew Rist * Unless required by applicable law or agreed to in writing,
14*d1766043SAndrew Rist * software distributed under the License is distributed on an
15*d1766043SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*d1766043SAndrew Rist * KIND, either express or implied.  See the License for the
17*d1766043SAndrew Rist * specific language governing permissions and limitations
18*d1766043SAndrew Rist * under the License.
19*d1766043SAndrew Rist *
20*d1766043SAndrew Rist *************************************************************/
21*d1766043SAndrew Rist
22*d1766043SAndrew Rist
23cdf0e10cSrcweir#ifndef __com_sun_star_sdb_TableDesign_idl__
24cdf0e10cSrcweir#define __com_sun_star_sdb_TableDesign_idl__
25cdf0e10cSrcweir
26cdf0e10cSrcweir#ifndef __com_sun_star_frame_XController_idl__
27cdf0e10cSrcweir#include <com/sun/star/frame/XController.idl>
28cdf0e10cSrcweir#endif
29cdf0e10cSrcweir#ifndef __com_sun_star_lang_XInitialization_idl__
30cdf0e10cSrcweir#include <com/sun/star/lang/XInitialization.idl>
31cdf0e10cSrcweir#endif
32cdf0e10cSrcweir#ifndef __com_sun_star_frame_XDispatchProvider_idl__
33cdf0e10cSrcweir#include <com/sun/star/frame/XDispatchProvider.idl>
34cdf0e10cSrcweir#endif
35cdf0e10cSrcweir#ifndef __com_sun_star_form_FormController_idl__
36cdf0e10cSrcweir#include <com/sun/star/form/FormController.idl>
37cdf0e10cSrcweir#endif
38cdf0e10cSrcweir
39cdf0e10cSrcweirmodule com {  module sun {  module star {  module sdb {
40cdf0e10cSrcweir
41cdf0e10cSrcweir//=============================================================================
42cdf0e10cSrcweir/** implements a component which allows the creation of tables.
43cdf0e10cSrcweir
44cdf0e10cSrcweir	<p>This service implements a user interface for creating tables through a graphical design interface.</p>
45cdf0e10cSrcweir
46cdf0e10cSrcweir	<p>The design view of the TableDesign is divided into two parts. The first part contains the rows
47cdf0e10cSrcweir	where columns can be defined for the table. The second part contains the properties of the selected column.</p>
48cdf0e10cSrcweir
49cdf0e10cSrcweir	@see com::sun::star::sdb::ContentLoader
50cdf0e10cSrcweir	@see com::sun::star::frame::XDispatch
51cdf0e10cSrcweir	@see com::sun::star::frame::XDispatchProviderInterceptor
52cdf0e10cSrcweir
53cdf0e10cSrcweir    @since OOo 1.1.2
54cdf0e10cSrcweir*/
55cdf0e10cSrcweir
56cdf0e10cSrcweirpublished service TableDesign
57cdf0e10cSrcweir{
58cdf0e10cSrcweir	/** allows the component to be plugged into frames.
59cdf0e10cSrcweir	*/
60cdf0e10cSrcweir	interface com::sun::star::frame::XController;
61cdf0e10cSrcweir
62cdf0e10cSrcweir	/** is used to initialize the TableDesign.
63cdf0e10cSrcweir
64cdf0e10cSrcweir		<p>Parameters (passed to the method
65cdf0e10cSrcweir		<member scope="com::sun::star::lang">XInitialization::initialize</member>)
66cdf0e10cSrcweir		have to be instances of <type scope="com::sun::star::beans">PropertyValue</type>, where the
67cdf0e10cSrcweir		<member scope="com::sun::star::beans">PropertyValue::Name</member> member specifies what the parameter controls,
68cdf0e10cSrcweir		with the <member scope="com::sun::star::beans">PropertyValue::Value</member> member containing the value
69cdf0e10cSrcweir		to be used.<br>
70cdf0e10cSrcweir		Recognized parameters are:
71cdf0e10cSrcweir		<ul>
72cdf0e10cSrcweir			<li><b>Frame</b><br>
73cdf0e10cSrcweir			has to be an <type scope="com::sun::star::frame">XFrame</type> interface specifying the frame to plug the
74cdf0e10cSrcweir			TableDesign component into.
75cdf0e10cSrcweir			</li>
76cdf0e10cSrcweir			<li><b>DataSourceName</b><br>
77cdf0e10cSrcweir			The name of the globally registered <type>DataSource</type> to be used for initial display. It is only
78cdf0e10cSrcweir			meaningful together with the other parameters specifying the object to display.
79cdf0e10cSrcweir			</li>
80cdf0e10cSrcweir			<li><b>CurrentTable</b><br>
81cdf0e10cSrcweir			This is a string giving the name of the object to display initially.
82cdf0e10cSrcweir			</li>
83cdf0e10cSrcweir		</ul>
84cdf0e10cSrcweir		</p>
85cdf0e10cSrcweir	*/
86cdf0e10cSrcweir	interface com::sun::star::lang::XInitialization;
87cdf0e10cSrcweir};
88cdf0e10cSrcweir
89cdf0e10cSrcweir//=============================================================================
90cdf0e10cSrcweir}; }; }; };
91cdf0e10cSrcweir
92cdf0e10cSrcweir#endif
93