Sophie

Sophie

distrib > * > cooker > x86_64 > by-pkgid > 5fb1c39f9f9130a3cc01e8b1ffa5c0f8 > files > 7317

libreoffice-devel-3.5.4-4.x86_64.rpm

<html>
<head>
<title>Service FileContent</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="FileContent-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">Services' Summary</td>
<td class="navisub"><a href="#InterfacesSummary" class="navisub">Interfaces' Summary</a></td>
<td class="navisub">Properties' Summary</td>
<td class="navisub">Services' Details</td>
<td class="navisub"><a href="#InterfacesDetails" class="navisub">Interfaces' Details</a></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">service FileContent</td>
</tr>
<tr>
<td><dl>
<dt><b>Description</b></dt>
<dd>A File Content represents either a directory or a file in the local file
 system.

 </dd>
<dd><p>Whether a content represents a folder or a file can be determined by
 inspecting its property <b>IsFolder</b> or <b>IsDocument</b>.

 </dd>
<dt><b>See also</b></dt>
<dd><a href="FileContentProvider.html">FileContentProvider</a></dd>
</dl>
</td>
</tr>
</table>
<hr>
<a name="InterfacesSummary"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle">
<tr>
<td class="subtitle" colspan="2">Exported Interfaces - Summary</td>
</tr>
<tr>
<td class="imsum_left">::com::sun::star::<a href="../lang/module-ix.html">lang</a>::<a href="../lang/XComponent.html">XComponent</a></td>
<td class="imsum_right"><p>This interface is implemented according to the specification of
 service <a href="Content.html">Content</a>.
 </p>
</td>
</tr>
<tr>
<td class="imsum_left"><a href="XContent.html">XContent</a></td>
<td class="imsum_right"><p>This interface is implemented according to the specification of
 service <a href="Content.html">Content</a>.
 </p>
</td>
</tr>
<tr>
<td class="imsum_left"><a href="XContentCreator.html">XContentCreator</a></td>
<td class="imsum_right"><p>This interface is implemented according to the specification of
 service <a href="Content.html">Content</a>.

 (<a href="#XContentCreator">details</a>)</p>
</td>
</tr>
<tr>
<td class="imsum_left"><a href="XCommandProcessor.html">XCommandProcessor</a></td>
<td class="imsum_right"><p>This interface is implemented according to the specification of
 service <a href="Content.html">Content</a>.

 (<a href="#XCommandProcessor">details</a>)</p>
</td>
</tr>
<tr>
<td class="imsum_left"><a href="XCommandProcessor2.html">XCommandProcessor2</a></td>
<td class="imsum_right"><p>is an enhanced version of <a href="XCommandProcessor.html">XCommandProcessor</a> that has an
 additional method for releasing command identifiers obtained via
 <a href="XCommandProcessor.html">XCommandProcessor</a>::<a href="XCommandProcessor.html#createCommandIdentifier">createCommandIdentifier</a> to avoid
 resource leaks. For a detailed description of the problem refer to
 <a href="XCommandProcessor2.html">XCommandProcessor2</a>::<a href="XCommandProcessor2.html#releaseCommandIdentifier">releaseCommandIdentifier</a>.

 (<a href="#XCommandProcessor2">details</a>)</p>
</td>
</tr>
<tr>
<td class="imsum_left">::com::sun::star::<a href="../beans/module-ix.html">beans</a>::<a href="../beans/XPropertiesChangeNotifier.html">XPropertiesChangeNotifier</a></td>
<td class="imsum_right"><p>This interface is implemented according to the specification of
 service <a href="Content.html">Content</a>.
 </p>
</td>
</tr>
<tr>
<td class="imsum_left">::com::sun::star::<a href="../beans/module-ix.html">beans</a>::<a href="../beans/XPropertyContainer.html">XPropertyContainer</a></td>
<td class="imsum_right"><p>This interface is implemented according to the specification of
 service <a href="Content.html">Content</a>.
 </p>
</td>
</tr>
<tr>
<td class="imsum_left">::com::sun::star::<a href="../beans/module-ix.html">beans</a>::<a href="../beans/XPropertySetInfoChangeNotifier.html">XPropertySetInfoChangeNotifier</a></td>
<td class="imsum_right"><p>This interface is implemented according to the specification of
 service <a href="Content.html">Content</a>.
 </p>
</td>
</tr>
<tr>
<td class="imsum_left"><a href="XCommandInfoChangeNotifier.html">XCommandInfoChangeNotifier</a></td>
<td class="imsum_right"><p>This interface is implemented according to the specification of
 service <a href="Content.html">Content</a>.
 </p>
</td>
</tr>
<tr>
<td class="imsum_left">::com::sun::star::<a href="../container/module-ix.html">container</a>::<a href="../container/XChild.html">XChild</a></td>
<td class="imsum_right"><p>This interface is implemented according to the specification of
 service <a href="Content.html">Content</a>.
 </p>
</td>
</tr>
</table>
<a name="InterfacesDetails"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle">
<tr>
<td class="subtitle" colspan="2">Exported Interfaces - Details</td>
</tr>
<tr/>
<tr>
<td class="imdetail"><a name="XComponent" class="membertitle">::com::sun::star::<a href="../lang/module-ix.html">lang</a>::<a href="../lang/XComponent.html">XComponent</a></a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center">
<tr>
<td><dl>
<dt><b>Description</b></dt>
<dd>This interface is implemented according to the specification of
 service <a href="Content.html">Content</a>.
 </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr/>
<tr>
<td class="imdetail"><a name="XContent" class="membertitle"><a href="XContent.html">XContent</a></a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center">
<tr>
<td><dl>
<dt><b>Description</b></dt>
<dd>This interface is implemented according to the specification of
 service <a href="Content.html">Content</a>.
 </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr/>
<tr>
<td class="imdetail"><a name="XContentCreator" class="membertitle"><a href="XContentCreator.html">XContentCreator</a></a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center">
<tr>
<td><dl>
<dt><b>Description</b></dt>
<dd>This interface is implemented according to the specification of
 service <a href="Content.html">Content</a>.

 </dd>
<dd><p>An object representing a directory in the file system is able
 to create a new object, which in turn can become the representation
 of a physical file/directory being contained in the initial directory.
 The precise way is the following:

 <p>

 <ol>
 <li>
 Let the parent folder create a new content by calling
 <a href="XContentCreator.html">XContentCreator</a>::<a href="XContentCreator.html#createNewContent">createNewContent</a> on it. The content
 type to use for new directories is
 "application/vnd.sun.staroffice.fsys-folder". To create a new file
 use the type "application/vnd.sun.staroffice.fsys-file".
 As return value you get a new file content object.
 </li>
 <li>
 Set a title at the new object by letting it execute
 the command "setPropertyValues", which sets at least the property
 "Title" to a non-empty value ).
 </li>
 <li>
 Let the new object ( not the parent! ) execute the command "insert".
 This will create the corresponding physical file or directory.
 For files, you need to supply the implementation of
 an ::com::sun::star::<a href="../io/module-ix.html">io</a>::<a href="../io/XInputStream.html">XInputStream</a> with the
 command's parameters, that provides access to the stream data.
 </li>
 </ol>

 </p>
 </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr/>
<tr>
<td class="imdetail"><a name="XCommandProcessor" class="membertitle"><a href="XCommandProcessor.html">XCommandProcessor</a></a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center">
<tr>
<td><dl>
<dt><b>Description</b></dt>
<dd>This interface is implemented according to the specification of
 service <a href="Content.html">Content</a>.

 </dd>
<dd><p>

 <b>Supported Commands</b>

 <ul>
 <li>
 getCommandInfo
 </li>
 <li>
 getPropertySetInfo
 </li>
 <li>
 getPropertyValues
 </li>
 <li>
 setPropertyValues
 </li>
 <li>
 insert ( makes a newly created document persistent )
 </li>
 <li>
 delete
 </li>
 <li>
 open
 </li>
 <li>
 transfer
 </li>
 </ul>

 <b>Supported Properties</b>
 <ul>
 <li>
 string ContentType ( read-only, either
 "application/vnd.sun.staroffice.fsys-folder" or
 "application/vnd.sun.staroffice.fsys-file" )
 </li>
 <li>
 boolean IsDocument ( read-only, always <b>true</b> for files, always
 <b>false</b> for directories )
 </li>
 <li>
 boolean IsFolder ( read-only ), always <b>false</b> for files, always
 <b>true</b> for directories )
 </li>
 <li>
 ::com::sun::star::<a href="../util/module-ix.html">util</a>::<a href="../util/DateTime.html">DateTime</a> DateModified ( read-only )
 </li>
 <li>
 boolean IsReadOnly ( read-only attribute )
 </li>
 <li>
 hyper Size ( file size )
 </li>
 <li>
 string Title ( file name )
 </li>
 <li>
 boolean IsVolume ( read-only )
 </li>
 <li>
 boolean IsRemoveable ( read-only )
 </li>
 <li>
 boolean IsRemote ( read-only )
 </li>
 <li>
 boolean IsCompactDisc ( read-only )
 </li>
 <li>
 boolean IsFloppy ( read-only )
 </li>
 <li>
 boolean IsHidden ( read-only )
 </li>
 </ul>

 </p>
 </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr/>
<tr>
<td class="imdetail"><a name="XCommandProcessor2" class="membertitle"><a href="XCommandProcessor2.html">XCommandProcessor2</a></a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center">
<tr>
<td><dl>
<dt><b>Usage Restrictions</b></dt>
<dd><i>optional</i></dd>
<dt><b>Description</b></dt>
<dd>is an enhanced version of <a href="XCommandProcessor.html">XCommandProcessor</a> that has an
 additional method for releasing command identifiers obtained via
 <a href="XCommandProcessor.html">XCommandProcessor</a>::<a href="XCommandProcessor.html#createCommandIdentifier">createCommandIdentifier</a> to avoid
 resource leaks. For a detailed description of the problem refer to
 <a href="XCommandProcessor2.html">XCommandProcessor2</a>::<a href="XCommandProcessor2.html#releaseCommandIdentifier">releaseCommandIdentifier</a>.

 </dd>
<dd><p>Where many existing <a href="Content.html">Content</a> implementations do not
 (yet), every new implementation should support this interface.
 </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr/>
<tr>
<td class="imdetail"><a name="XPropertiesChangeNotifier" class="membertitle">::com::sun::star::<a href="../beans/module-ix.html">beans</a>::<a href="../beans/XPropertiesChangeNotifier.html">XPropertiesChangeNotifier</a></a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center">
<tr>
<td><dl>
<dt><b>Description</b></dt>
<dd>This interface is implemented according to the specification of
 service <a href="Content.html">Content</a>.
 </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr/>
<tr>
<td class="imdetail"><a name="XPropertyContainer" class="membertitle">::com::sun::star::<a href="../beans/module-ix.html">beans</a>::<a href="../beans/XPropertyContainer.html">XPropertyContainer</a></a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center">
<tr>
<td><dl>
<dt><b>Description</b></dt>
<dd>This interface is implemented according to the specification of
 service <a href="Content.html">Content</a>.
 </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr/>
<tr>
<td class="imdetail"><a name="XPropertySetInfoChangeNotifier" class="membertitle">::com::sun::star::<a href="../beans/module-ix.html">beans</a>::<a href="../beans/XPropertySetInfoChangeNotifier.html">XPropertySetInfoChangeNotifier</a></a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center">
<tr>
<td><dl>
<dt><b>Description</b></dt>
<dd>This interface is implemented according to the specification of
 service <a href="Content.html">Content</a>.
 </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr/>
<tr>
<td class="imdetail"><a name="XCommandInfoChangeNotifier" class="membertitle"><a href="XCommandInfoChangeNotifier.html">XCommandInfoChangeNotifier</a></a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center">
<tr>
<td><dl>
<dt><b>Description</b></dt>
<dd>This interface is implemented according to the specification of
 service <a href="Content.html">Content</a>.
 </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr/>
<tr>
<td class="imdetail"><a name="XChild" class="membertitle">::com::sun::star::<a href="../container/module-ix.html">container</a>::<a href="../container/XChild.html">XChild</a></a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center">
<tr>
<td><dl>
<dt><b>Description</b></dt>
<dd>This interface is implemented according to the specification of
 service <a href="Content.html">Content</a>.
 </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
</table>
<br>&nbsp;<a href="#_top_">Top of Page</a><hr size="3"><p class="copyright" align="center">Copyright &copy; 2000, 2012 LibreOffice contributors and/or their affiliates. All rights reserved.</p><p class="copyright" align="center">LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.</p><p class="copyright" align="center">The Document Foundation acknowledges all community members, please find more info <a href="http://www.libreoffice.org/about-us/credits/" target="_blank">at our website</a>.<p>&nbsp;</p><p class="copyright" align="center"><a href="http://www.libreoffice.org/privacy" target="_blank">Privacy Policy</a> | <a href="http://www.libreoffice.org/imprint" target="_blank">Impressum (Legal Info)</a> | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (<a href="http://www.libreoffice.org/download/license/" target="_blank">LGPLv3</a>). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our <a href="http://wiki.documentfoundation.org/TradeMark_Policy" target="_blank">trademark policy</a>.</p>

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

</html>