:: com :: sun :: star :: sdb ::

unpublished service DocumentContainer
Description
describes a container which provides access to documents embedded into a database document, usually forms and reports.

The ::com::sun::star::lang::XMultiServiceFactory::createInstanceWithArguments() should be used to create sub document container or form, or report objects.

The embedded documents do not support any particular database related service, instead, they're usual ::com::sun::star::document::OfficeDocument s.
The only thing worth mentioning here is that they support the ::com::sun::star::container::XChild interface, whose ::com::sun::star::container::XChild::getParent method can be used to obtain the database document which the embedded document belongs to.

See also
::com::sun::star::sdb::DocumentDefinition, ::com::sun::star::sdb::OfficeDatabaseDocument

Included Services
::com::sun::star::sdb::DefinitionContainer
(referenced entity's summary:)
describes a container which provides access to database related definitions like commands, forms, and reports.
Exported Interfaces
::com::sun::star::frame::XComponentLoader
Description
can be used to load the document inside.

URL: describes the name of the document definition to load, TargetFrameName: isn't used. SearchFlags: isn't used. Arguments:

  1. PropertyValue
  2. Name = ActiveConnection Value = The connection which should be used when opening the text document.
  3. PropertyValue
  4. Name = OpenMode Value = string, "open" if the document should be opened in live mode (editing is not possible), "openDesign" if the document should be open in design mode (editing is possible)
See also
::com::sun::star::sdbc::XConnection

::com::sun::star::lang::XMultiServiceFactory
Description
can be used to create container elements.

If this interface is supported, the object created using it (e.g., the object returned by XMultiServiceFactory::createInstanceWithArguments() ) can be used as container elements.

::com::sun::star::container::XHierarchicalNameContainer
Description
can be used to create folder hierarchies and to organize forms or reports in different sub folders.

 
Top of Page