Sophie

Sophie

distrib > Mandriva > current > i586 > media > main-updates > by-pkgid > fc480f9d5aabed8eeaffe8ad3401a94c > files > 7284

openoffice.org-devel-doc-3.2.1-0.3mdv2010.2.i586.rpm

<html>
<head>
<title>Struct ContentInfo</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="ContentInfo-xref.html" class="navimain">Use</a></td>
<td class="navimain"><a href="http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/UCB/Creating" class="navimain">Devguide</a></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="#Elements" class="navisub">Elements' Summary</a></td>
<td class="navisub"><a href="#ElementDetails" class="navisub">Elements' Details</a></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">struct ContentInfo</td>
</tr>
<tr>
<td/></tr>
<tr>
<td><dl>
<dt><b>Description</b></dt>
<dd>A structure for information about contents.

 </dd>
<dt><b>See also</b></dt>
<dd><a href="XContentCreator.html">XContentCreator</a>, <a href="XCommandProcessor.html">XCommandProcessor</a></dd>
</dl>
<a name="devmanual"> </a><dl>
<dt><b>Developers Guide</b></dt>
<dd><a href="http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/UCB/Creating">UCB - Creating</a></dd>
</dl>
</td>
</tr>
</table>
<hr>
<a name="Elements"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle">
<tr>
<td class="subtitle" colspan="2">Elements' Summary</td>
</tr>
<tr>
<td class="imsum_left"><a href="#Type">Type</a></td>
<td class="imsum_right">A type identifier string for a content.

 &nbsp;</td>
</tr>
<tr>
<td class="imsum_left"><a href="#Attributes">Attributes</a></td>
<td class="imsum_right">Additional attributes.

 &nbsp;</td>
</tr>
<tr>
<td class="imsum_left"><a href="#Properties">Properties</a></td>
<td class="imsum_right">This field contains a list with the properties which must be set at
 a content that was just created using
 <a href="XContentCreator.html">XContentCreator</a>::<a href="XContentCreator.html#createNewContent">createNewContent</a> before it can be
 committed (by executing the command "insert" at the new content).

 &nbsp;</td>
</tr>
</table>
<a name="ElementDetails"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle">
<tr>
<td class="subtitle">Elements' Details</td>
</tr>
<tr>
<td class="imdetail"><a name="Type" class="membertitle">Type</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center">
<tr>
<td>string <b>Type</b>;<hr>
<dl>
<dt><b>Description</b></dt>
<dd>A type identifier string for a content.

 </dd>
<dd><p>This is an implementation specific string characterizing the
 kind of a content (e.g. "application/vnd.sun.star.hierarchy-link").
 The value of this member should match the value returned by
 <a href="XContent.html">XContent</a>::<a href="XContent.html#getContentType">getContentType</a> of an appropriate content.
 </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="Attributes" class="membertitle">Attributes</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center">
<tr>
<td>long <b>Attributes</b>;<hr>
<dl>
<dt><b>Description</b></dt>
<dd>Additional attributes.

 </dd>
<dd><p>These flags contain extra information on the content, like its kind
 (KIND_FOLDER, KIND_DOCUMENT, KIND_LINK).

 <p>It is highly recommended to fill these flags very accurately, as
 they are very important when transferring contents between different
 <a href="ContentProvider.html">ContentProvider</a>s.

 <p>The value can be one of the <a href="ContentInfoAttribute.html">ContentInfoAttribute</a>
 constants.
 </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="Properties" class="membertitle">Properties</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center">
<tr>
<td>sequence&lt; ::com::sun::star::<a href="../beans/module-ix.html">beans</a>::<a href="../beans/Property.html">Property</a> &gt; <b>Properties</b>;<hr>
<dl>
<dt><b>Description</b></dt>
<dd>This field contains a list with the properties which must be set at
 a content that was just created using
 <a href="XContentCreator.html">XContentCreator</a>::<a href="XContentCreator.html#createNewContent">createNewContent</a> before it can be
 committed (by executing the command "insert" at the new content).

 </dd>
<dd><p>If one of the properties is missing, the insert command will fail.

 <p>In example, a new file system folder content will need a title. The
 Properties member of the ContentInfo provided for this kind of
 content must include the property "Title".

 <p><b>Important:</b> The required properties must have one of the
 following basic data types (in order to make it possible to implement
 client applications with a small set of generic input methods for the
 values):

 <p>
 <ul>
 <li>boolean
 <li>char
 <li>byte
 <li>string
 <li>short
 <li>long
 <li>hyper
 <li>float
 <li>double
 </ul>
 </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
</table>
<a href="#_top_">Top of Page</a><hr size="3"><p class="copyright" align="center">Copyright &copy; 2011, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.</p>

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

</html>