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

unpublished service OfficeDatabaseDocument
Description
specifies a office database document which is a storable document.

These documents contain information about forms, and reports, and the properties of a data source.

The database document contains no data per default. The following is stored inside the document:

The component does not support the ::com::sun::star::view::XPrintable interface. This interface is required by the base service (::com::sun::star::document::OfficeDocument), but that's considered a documentation error.

See also
XOfficeDatabaseDocument, ::com::sun::star::document::OfficeDocument

Included Services
::com::sun::star::document::OfficeDocument
(referenced entity's summary:)
abstract service which specifies a storable and printable document
Exported Interfaces
XOfficeDatabaseDocument
(referenced entity's summary:)
simplifies the accessing of data sources, and it's corresponding database document and forms, and reports.
::com::sun::star::document::XEmbeddedScripts
Description
allows access to the Basic macros and dialogs possibly embedded in the document
::com::sun::star::script::provider::XScriptProviderSupplier
Description
supplies a script provider which can be used to execute macros and scripts embedded in the document
::com::sun::star::util::XCloseable
Description
implements life time control

Whoever retrieves a OfficeDatabaseDocument should be aware of life time issues, since a document needs to be closed when nobody needs it anymore.

This implies that clients of a document need to ensure that as soon as they don't need, they invoke ::com::sun::star::util::XCloseable::close.

Since this can be done by multiple clients, every client is additionally required to register itself as ::com::sun::star::util::XCloseListener at the document, to prevent some other client closing the model while it's still needed by the first client.


 
Top of Page