Sophie

Sophie

distrib > Mandriva > 2008.1 > x86_64 > media > main-testing > by-pkgid > 2c50825dd66d0497b96a67f7fab2ee84 > files > 7184

openoffice.org64-devel-doc-2.4.1.10-1mdv2008.1.x86_64.rpm

<html>
<head>
<title>Service TransientDocumentsContentProvider</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="TransientDocumentsContentProvider-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">Included Services</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">ucb</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 TransientDocumentsContentProvider</td>
<td width="*"/></tr>
</table>
</td>
</tr>
<tr>
<td><dl>
<dt><b>Description</b></dt>
<dd>The Transient Documents Content Provider (TDCP) implements a
 <a href="ContentProvider.html">ContentProvider</a> for the <a href="UniversalContentBroker.html">UniversalContentBroker</a>
 (UCB).

 </dd>
<dd><p>It provides access to the hierachical structure of the documents that
 are active in a running OpenOffice.org process. As long as a document was
 not closed, the TDCP can access it. All documents that have been loaded -
 regardless of their persistent document format (sxw, doc, sxc, xls, ...)
 or that have been created but not yet saved to any storage medium, are
 supported. The TDCP is not able to load any documents itself. This is
 exclusively done by the OpenOffice.org document handling framework. The
 document contents provided by the TDCP represent live data, which may
 differ from any persistent representation of the document, for instance,
 because the user modified the document after loading, but did not yet save
 it.

 </dd>
<dt><b>Since </b></dt>
<dd>OpenOffice 2.0</dd>
<dt><b>See also</b></dt>
<dd><a href="TransientDocumentsRootContent.html">TransientDocumentsRootContent</a>, <a href="TransientDocumentsDocumentContent.html">TransientDocumentsDocumentContent</a>, <a href="TransientDocumentsFolderContent.html">TransientDocumentsFolderContent</a>, <a href="TransientDocumentsStreamContent.html">TransientDocumentsStreamContent</a></dd>
</dl>
</td>
</tr>
</table>
<hr>
<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="XContentProvider.html">XContentProvider</a></td>
<td class="imsum_right"><dl>
<dt><b>Description</b></dt>
<dd>provides four different types of contents: Stream, Folder, Document and
 Root.

 </dd>
<dd><p>

 <b>TDCP Contents</b>
 <ol>
 <li>
 A TDCP Stream (<a href="TransientDocumentsStreamContent.html">TransientDocumentsStreamContent</a>) is a
 content which represents a data stream of an Office document. It is
 contained in a TDCP Folder or TDCP Document. A TDCP Stream has no
 children.
 </li>
 <li>
 A TDCP Folder (<a href="TransientDocumentsFolderContent.html">TransientDocumentsFolderContent</a>) is a
 container for other TDCP Folders and TDCP Streams. It may be contained
 in another TDCP Folder or in a TDCP Document.
 </li>
 <li>
 A TDCP Document (<a href="TransientDocumentsDocumentContent.html">TransientDocumentsDocumentContent</a>)
 represents the root folder of a transient document. It is a container
 for other TDCP Folders and TDCP Streams. It is always a child of the
 TDCP Root.
 </li>
 <li>
 There is at most one instance of a TDCP Root
 (<a href="TransientDocumentsRootContent.html">TransientDocumentsRootContent</a>) at a time. All other TDCP
 contents are children of this folder. The TDCP Root Folder can contain
 only TDCP Documents. It has the fixed URL "vnd.sun.star.tdoc:/".
 </li>
 </ol>

 <p><b>URL Scheme for TDCP Contents</b>

 <p>Each TDCP content has an identifier corresponding to the following
 scheme:

 <ul>
 <li>
 tdcp-URL = "vnd.sun.star.tdoc:" abs-path
 </li>
 <li>
 abs-path = +( "/" segment )
 </li>
 <li>
 segment = *( pchar )
 </li>
 <li>
 pchar = unreserved | escaped | ":" | "@" | "&" | "=" | "+" | "$" | ","
 </li>
 <li>
 unreserved = alphanum | mark
 </li>
 <li>
 mark = "-" | "_" | "." | "!" | "~" | "*" | "'" | "(" | ")"
 </li>
 <li>
 escaped = "%" hex hex
 </li>
 </ul>

 <p>Examples:

 <ul>
 <li>
 vnd.sun.star.tdoc:/
 ( The TDCP Root )
 </li>
 <li>
 vnd.sun.star.tdoc:/22
 ( The document with the id 22 )
 </li>
 <li>
 vnd.sun.star.tdoc:/22/
 ( The document with the id 22 )
 </li>
 <li>
 vnd.sun.star.tdoc:/42/folder/subfolder
 ( The folder/stream named subfolder contained in folder named folder,
 which is contained in the document with the id 42 )
 </li>
 </ul>

 </p>
 </dd>
</dl>
</td>
</tr>
</table>
<br>&nbsp;<a href="#_top_">Top of Page</a><hr size="3"><p class="copyright" align="center">Copyright &copy; 2008 Sun Microsystems, Inc.</p>

</div> <!-- id="adc-idlref" -->
</body>

</html>