<html> <head> <title>Service OfficeDatabaseDocument</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <link rel="stylesheet" type="text/css" href="../../../../idl.css"> </head> <body> <div id="adc-idlref"> <a name="_top_"> </a><table class="navimain" border="0" cellpadding="3"> <tr> <td class="navimain"><a href="../module-ix.html" class="navimain">Overview</a></td> <td class="navimain"><a href="module-ix.html" class="navimain">Module</a></td> <td class="navimain"><a href="OfficeDatabaseDocument-xref.html" class="navimain">Use</a></td> <td class="navimainnone">Devguide</td> <td class="navimain"><a href="../../../../index-files/index-1.html" class="navimain">Index</a></td> </tr> </table> <table class="navisub" border="0" cellpadding="0"> <tr> <td class="navisub"><a href="#IncludedServices" class="navisub">Included Services</a></td> <td class="navisub"><a href="#ExportedInterfaces" class="navisub">Exported Interfaces</a></td> <td class="navisub">Properties' Summary</td> <td class="navisub">Properties' Details</td> </tr> </table> <hr> <table border="0" width="100%" cellpadding="5" cellspacing="3" class="title-table" style="margin-bottom:6pt;"> <tr> <td><p class="namechain"><a href="../../../../module-ix.html" class="namechain">::</a> <a href="../../../module-ix.html" class="namechain">com</a> :: <a href="../../module-ix.html" class="namechain">sun</a> :: <a href="../module-ix.html" class="namechain">star</a> :: <a href="module-ix.html" class="namechain">sdb</a> :: </p> </td> </tr> <tr> <td class="title"><table class="title-table" width="99%"> <tr> <td width="25%" class="title2">unpublished </td> <td width="50%" class="title">service OfficeDatabaseDocument</td> <td width="*"/></tr> </table> </td> </tr> <tr> <td><dl> <dt><b>Description</b></dt> <dd>specifies a office database document which is a storable document. </dd> <dd><p> These documents contain information about forms, and reports, and the properties of a data source. </p> <p> The database document contains no data per default. The following is stored inside the document: <li> Forms </li> <li> Reports </li> <li> The table settings defined in <a href="DataSettings.html">DataSettings</a> </li> <li> The query settings defined in <a href="DataSettings.html">DataSettings</a> </li> <li> All properties of the service <a href="DataSource.html">DataSource</a> </li> </p> <p> That the interface ::com::sun::star::<a href="../view/module-ix.html">view</a>::<a href="../view/XPrintable.html">XPrintable</a> is not optional at the ::com::sun::star::<a href="../document/module-ix.html">document</a>::<a href="../document/OfficeDocument.html">OfficeDocument</a> service is a documenation problem. The service <a href="OfficeDatabaseDocument.html">OfficeDatabaseDocument</a> doesn't support any printing. </p> </dd> <dt><b/></dt> <dd/><dt><b>See also</b></dt> <dd><a href="XOfficeDatabaseDocument.html">XOfficeDatabaseDocument</a>, ::com::sun::star::<a href="../document/module-ix.html">document</a>::<a href="../document/OfficeDocument.html">OfficeDocument</a></dd> </dl> </td> </tr> </table> <hr> <a name="IncludedServices"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle"> <tr> <td class="subtitle" colspan="2">Included Services</td> </tr> <tr> <td class="imsum_left">::com::sun::star::<a href="../document/module-ix.html">document</a>::<a href="../document/OfficeDocument.html">OfficeDocument</a></td> <td class="imsum_right"><dl> <dt>(referenced entity's summary:)</dt> <dd>abstract service which specifies a storable and printable document </dd> </dl> </td> </tr> </table> <a name="ExportedInterfaces"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle"> <tr> <td class="subtitle" colspan="2">Exported Interfaces</td> </tr> <tr> <td class="imsum_left"><a href="XOfficeDatabaseDocument.html">XOfficeDatabaseDocument</a></td> <td class="imsum_right"><dl> <dt>(referenced entity's summary:)</dt> <dd>simplifies the accessing of data sources, and it's corresponding database document and forms, and reports. </dd> </dl> </td> </tr> <tr> <td class="imsum_left">::com::sun::star::<a href="../util/module-ix.html">util</a>::<a href="../util/XCloseable.html">XCloseable</a></td> <td class="imsum_right"><dl> <dt><b>Description</b></dt> <dd>implements life time control </dd> <dd><p>Whoever retrieves a <a href="OfficeDatabaseDocument.html">OfficeDatabaseDocument</a> should be aware of life time issues, since a document needs to be closed when nobody needs it anymore.</p> <p>This implies that clients of a document need to ensure that as soon as they don't need, they invoke ::com::sun::star::<a href="../util/module-ix.html">util</a>::<a href="../util/XCloseable.html">XCloseable</a>::<a href="../util/XCloseable.html#close">close</a>.</p> <p>Since this can be done by multiple clients, every client is additionally required to register itself as ::com::sun::star::<a href="../util/module-ix.html">util</a>::<a href="../util/XCloseListener.html">XCloseListener</a> at the document, to prevent some other client closing the model while it's still needed by the first client.</p> </dd> </dl> </td> </tr> </table> <br> <a href="#_top_">Top of Page</a><hr size="3"><p class="copyright" align="center">Copyright © 2008 Sun Microsystems, Inc.</p> </div> <!-- id="adc-idlref" --> </body> </html>