- Description
- is used to initialize the browser.
Parameters (passed to the method com::sun::star::lang::XInitialization::initialize())
have to be instances of com::sun::star::beans::PropertyValue, or
instances of com::sun::star::beans::NamedValue, where the Name member
specifies what the parameter controls, with the 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 browser 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.
- CommandType
This has to be a CommandType value, specifying the type of the object to display initially.
It is only meaningful together with the DataSourceName and the Command parameters.
- Command
This is a string giving the name of the object to display initially. Whether it is table name, a query
name or a SQL string is controller by the CommandType parameter.
- EnableBrowser
is a boolean value (defaulting to `TRUE`), which specifies whether to enable the data source browser
control. This is a tree control on the left hand side of the view, which allows to browse all registered
data sources, including their tables and queries.
- ShowBrowser
is a boolean value (defaulting to `TRUE`), which specifies whether to initially show the data source
browser control. If EnableBrowser is `FALSE`, then this parameter is ignored. If
EnableBrowser is `TRUE`, and ShowBrowser is `FALSE`, then the control
is initially hidden, but can be toggled by a toolbar button.
- ShowMenu
is a boolean value (defaulting to `TRUE`), specifying whether or not to show a menu in the frame
where the component is plugged.
|