:: 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:

  • Forms
  • Reports
  • The table settings defined in ::com::sun::star::sdb::DataSettings
  • The query settings defined in ::com::sun::star::sdb::DataSettings
  • All properties of the service ::com::sun::star::sdb::DataSource
  • That the interface ::com::sun::star::view::XPrintable is not optional at the ::com::sun::star::document::OfficeDocument service is a documenation problem. The service ::com::sun::star::sdb::OfficeDatabaseDocument doesn't support any printing.

    Since
    OpenOffice 2.0.0
    See also
    ::com::sun::star::sdb::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
    ::com::sun::star::sdb::XOfficeDatabaseDocument
    (referenced entity's summary:)
    simplifies the accessing of data sources, and it's corresponding database document and forms, and reports.
    ::com::sun::star::util::XCloseable
    Description
    implements life time control

    Whoever retrieves a ::com::sun::star::sdb::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