<html> <head> <title>Service MediaProperties</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="MediaProperties-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">Interfaces' Summary</td> <td class="navisub"><a href="#PropertiesSummary" class="navisub">Properties' Summary</a></td> <td class="navisub">Services' Details</td> <td class="navisub">Interfaces' Details</td> <td class="navisub"><a href="#PropertiesDetails" class="navisub">Properties' 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">graphic</a> :: </p> </td> </tr> <tr> <td class="title">service MediaProperties</td> </tr> <tr> <td><dl> <dt><b>Description</b></dt> <dd>This service describes the properties that are used when using the <a href="XGraphicProvider.html">XGraphicProvider</a> interface methods </dd> </dl> </td> </tr> </table> <hr> <a name="PropertiesSummary"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle"> <tr> <td class="subtitle" colspan="2">Properties' Summary</td> </tr> <tr> <td class="imsum_left">string<br> <a href="#URL">URL</a></td> <td class="imsum_right"><b>[ OPTIONAL ]<br> </b>Property that describes the location of the source or target of the graphic as URL. </td> </tr> <tr> <td class="imsum_left">::com::sun::star::<a href="../io/module-ix.html">io</a>::<a href="../io/XInputStream.html">XInputStream</a><br> <a href="#InputStream">InputStream</a></td> <td class="imsum_right"><b>[ OPTIONAL ]<br> </b>This property is only used for loading graphics or querying graphic descriptors </td> </tr> <tr> <td class="imsum_left">::com::sun::star::<a href="../io/module-ix.html">io</a>::<a href="../io/XStream.html">XStream</a><br> <a href="#OutputStream">OutputStream</a></td> <td class="imsum_right"><b>[ OPTIONAL ]<br> </b>This property is only used for storing graphics </td> </tr> <tr> <td class="imsum_left">string<br> <a href="#MimeType">MimeType</a></td> <td class="imsum_right"><b>[ OPTIONAL ]<br> </b>This property is only used for storing graphics and describes the format into which the graphic is to be converted </td> </tr> <tr> <td class="imsum_left">::com::sun::star::<a href="../beans/module-ix.html">beans</a>::<a href="../beans/PropertyValues.html">PropertyValues</a><br> <a href="#FilterData">FilterData</a></td> <td class="imsum_right"><b>[ OPTIONAL ]<br> </b>Additional properties that will be passed to the appropriate filter module. </td> </tr> </table> <a name="PropertiesDetails"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle"> <tr> <td class="subtitle">Properties' Details</td> </tr> <tr> <td class="imdetail"><a name="URL" class="membertitle">URL</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>string <b>URL</b>;<hr> <dl> <dt><b>Usage Restrictions</b></dt> <dd><i>optional</i></dd> <dt><b>Description</b></dt> <dd>Property that describes the location of the source or target of the graphic as URL. </dd> <dd><p>A URL can be used instead of the <a href="#InputStream">InputStream</a> or <a href="#OutputStream">OutputStream</a> property</p> <p>In addition to the normal protocols like file:// or http:// you can use private URLs as follows to get access to graphics lying inside the resource system within an Office context: <ul> <li>private:resource/projectshortname/bitmap/12345</li> <li>private:resource/projectshortname/bitmapex/12345</li> <li>private:resource/projectshortname/image/12345</li> <li>private:resource/projectshortname/imagelist/12345</li> <li>private:resource/projectshortname/imagelist/12345/12</li> </ul> And additionally, GraphicObject scheme URLs like <ul> <li>vnd.sun.star.GraphicObject:10000000000001940000012FB99807BD</li> </ul> can be used to access graphics held by the GraphicCache implementation. </p> <p>Yet more, you can access graphics in the application-wide image repository by specifying URLs of the form <code>private:graphicrepository/<em><path_in_repository></em></code>. </p> </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="InputStream" class="membertitle">InputStream</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>::com::sun::star::<a href="../io/module-ix.html">io</a>::<a href="../io/XInputStream.html">XInputStream</a> <b>InputStream</b>;<hr> <dl> <dt><b>Usage Restrictions</b></dt> <dd><i>optional</i></dd> <dt><b>Description</b></dt> <dd>This property is only used for loading graphics or querying graphic descriptors </dd> <dd><p>A <a href="#InputStream">InputStream</a> can be used instead of the <a href="#URL">URL</a> property</p> </dd> <dt><b>See also</b></dt> <dd>::com::sun::star::<a href="../io/module-ix.html">io</a>::<a href="../io/XInputStream.html">XInputStream</a></dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="OutputStream" class="membertitle">OutputStream</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>::com::sun::star::<a href="../io/module-ix.html">io</a>::<a href="../io/XStream.html">XStream</a> <b>OutputStream</b>;<hr> <dl> <dt><b>Usage Restrictions</b></dt> <dd><i>optional</i></dd> <dt><b>Description</b></dt> <dd>This property is only used for storing graphics </dd> <dd><p>A <a href="#OutputStream">OutputStream</a> can be used instead of the <a href="#URL">URL</a> property</p> </dd> <dt><b>See also</b></dt> <dd>::com::sun::star::<a href="../io/module-ix.html">io</a>::<a href="../io/XStream.html">XStream</a></dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="MimeType" class="membertitle">MimeType</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>string <b>MimeType</b>;<hr> <dl> <dt><b>Usage Restrictions</b></dt> <dd><i>optional</i></dd> <dt><b>Description</b></dt> <dd>This property is only used for storing graphics and describes the format into which the graphic is to be converted </dd> <dd><p>At the moment, the following mime types are supported for storing graphics:</p> <ul> <li>image/bmp</li> <li>image/gif</li> <li>image/jpeg</li> <li>image/png</li> <li>image/tiff</li> <li>image/svg+xml</li> <li>image/x-cmu-raster</li> <li>image/x-emf</li> <li>image/x-eps</li> <li>image/x-met</li> <li>image/x-pict</li> <li>image/x-portable-bitmap</li> <li>image/x-portable-pixmap</li> <li>image/x-wmf</li> <li>image/x-svm</li> <li>image/x-xpixmap</li> <li>image/x-vclgraphic</li> </ul> </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="FilterData" class="membertitle">FilterData</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>::com::sun::star::<a href="../beans/module-ix.html">beans</a>::<a href="../beans/PropertyValues.html">PropertyValues</a> <b>FilterData</b>;<hr> <dl> <dt><b>Usage Restrictions</b></dt> <dd><i>optional</i></dd> <dt><b>Description</b></dt> <dd>Additional properties that will be passed to the appropriate filter module. </dd> </dl> </td> </tr> </table> </td> </tr> </table> <br> <a href="#_top_">Top of Page</a><hr size="3"><p class="copyright" align="center">Copyright © 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> </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>