Overview | Module | Use | Devguide | Index

Included Services | Exported Interfaces | Properties' Summary | Properties' Details

:: com :: sun :: star :: sdb ::
service QueryDesign
Description implements a component which allows the creation of SQL statements. This service implements a user interface for creating SQL statements either through a graphical design interface or simply to enter the SQL statement directly. The design view of the QueryDesign is divided into two parts. The first part contains the table windows where columns can be selected for the SQL statement. The second part contains the columns which should appear in the selection of the SQL statement or criterias which narrow the query. See also ContentLoader See also ::com::sun::star::frame::XDispatch See also ::com::sun::star::frame::XDispatchProviderInterceptor Since version OpenOffice.org 1.1.1

Exported Interfaces
::com::sun::star::frame::XController | Description allows the component to be plugged into frames.
::com::sun::star::lang::XInitialization | Description is used to initialize the QueryDesign. Parameters (passed to the method ::com::sun::star::lang::XInitialization::initialize ) have to be instances of ::com::sun::star::beans::PropertyValue , where the ::com::sun::star::beans::PropertyValue::Name member specifies what the parameter controls, with the ::com::sun::star::beans::PropertyValue::Value member containing the value to be used. Recognized parameters are: Frame has to be an ::com::sun::star::frame::XFrame interface specifying the frame to plug the QueryDesign component into. DataSourceName The name of the globally registered DataSource to be used for initial display. It is only meaningful together with the other parameters specifying the object to display. CurrentQuery This is a string giving the name of the object to display initially. QueryDesignView This value indicates if the QueryDesign should be opened in the design view or in the text view. If set to than the design view will be displayed otherwise the text view will appear.

Top of Page

Copyright © 2003 Sun Microsystems, Inc.