<html> <head> <title>Service GraphicDescriptor</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="GraphicDescriptor-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"><a href="#PropertiesSummary" class="navisub">Properties' Summary</a></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 GraphicDescriptor</td> </tr> <tr> <td><dl> <dt><b>Description</b></dt> <dd>This service describes all graphic properties that are available via the ::com::sun::star::<a href="../beans/module-ix.html">beans</a>::<a href="../beans/XPropertySet.html">XPropertySet</a> interface </dd> <dt><b>See also</b></dt> <dd>XPropertySet</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">::com::sun::star::<a href="../beans/module-ix.html">beans</a>::<a href="../beans/XPropertySet.html">XPropertySet</a></td> <td class="imsum_right"><dl> <dt><b>Description</b></dt> <dd>The property interface by which the properties of all supported services are exchanged </dd> </dl> </td> </tr> </table> <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">byte<br> <a href="#GraphicType">GraphicType</a></td> <td class="imsum_right">The type of the graphic </td> </tr> <tr> <td class="imsum_left">string<br> <a href="#MimeType">MimeType</a></td> <td class="imsum_right">The MimeType of the loaded graphic </td> </tr> <tr> <td class="imsum_left">::com::sun::star::<a href="../awt/module-ix.html">awt</a>::<a href="../awt/Size.html">Size</a><br> <a href="#SizePixel">SizePixel</a></td> <td class="imsum_right"><b>[ OPTIONAL ]<br> </b>The Size of the graphic in pixel. </td> </tr> <tr> <td class="imsum_left">::com::sun::star::<a href="../awt/module-ix.html">awt</a>::<a href="../awt/Size.html">Size</a><br> <a href="#Size100thMM">Size100thMM</a></td> <td class="imsum_right"><b>[ OPTIONAL ]<br> </b>The Size of the graphic in 100th mm. </td> </tr> <tr> <td class="imsum_left">byte<br> <a href="#BitsPerPixel">BitsPerPixel</a></td> <td class="imsum_right"><b>[ OPTIONAL ]<br> </b>The number of bits per pixel used for the pixel graphic </td> </tr> <tr> <td class="imsum_left">boolean<br> <a href="#Transparent">Transparent</a></td> <td class="imsum_right"><b>[ OPTIONAL ]<br> </b>Indicates that it is a transparent graphic </td> </tr> <tr> <td class="imsum_left">boolean<br> <a href="#Alpha">Alpha</a></td> <td class="imsum_right"><b>[ OPTIONAL ]<br> </b>Indicates that it is a pixel graphic with an alpha channel </td> </tr> <tr> <td class="imsum_left">boolean<br> <a href="#Animated">Animated</a></td> <td class="imsum_right"><b>[ OPTIONAL ]<br> </b>Indicates that it is a graphic that consists of several frames that can be played as an animation </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="GraphicType" class="membertitle">GraphicType</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>byte <b>GraphicType</b>;<hr> <dl> <dt><b>Description</b></dt> <dd>The type of the graphic </dd> <dt><b>See also</b></dt> <dd><a href="GraphicType.html">GraphicType</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>Description</b></dt> <dd>The MimeType of the loaded graphic </dd> <dd><p> The mime can be the original mime type of the graphic source the graphic container was constructed from or it can be the internal mime type image/x-vclgraphic, in which case the original mime type is not available anymore</p> <p> Currently, the following mime types are supported for loaded graphics:<\p> <ul> <li>image/bmp</li> <li>image/gif</li> <li>image/jpeg</li> <li>image/x-photo-cd</li> <li>image/x-pcx</li> <li>image/png</li> <li>image/tiff</li> <li>image/x-xbitmap</li> <li>image/x-xpixmap</li> <li>image/x-portable-bitmap</li> <li>image/x-portable-graymap</li> <li>image/x-portable-pixmap</li> <li>image/x-cmu-raster</li> <li>image/x-targa</li> <li>image/x-photoshop</li> <li>image/x-eps</li> <li>image/x-dxf</li> <li>image/x-met</li> <li>image/x-pict</li> <li>image/x-sgf</li> <li>image/x-svm</li> <li>image/x-wmf</li> <li>image/x-sgv</li> <li>image/x-emf</li> <li>image/x-vclgraphic</li> </ul> </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="SizePixel" class="membertitle">SizePixel</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="../awt/module-ix.html">awt</a>::<a href="../awt/Size.html">Size</a> <b>SizePixel</b>;<hr> <dl> <dt><b>Usage Restrictions</b></dt> <dd><i>optional</i></dd> <dt><b>Description</b></dt> <dd>The Size of the graphic in pixel. </dd> <dd><p> This property may not be available in case of vector graphics or if the pixel size can not be determined correctly for some formats without loading the whole graphic</p> </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="Size100thMM" class="membertitle">Size100thMM</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="../awt/module-ix.html">awt</a>::<a href="../awt/Size.html">Size</a> <b>Size100thMM</b>;<hr> <dl> <dt><b>Usage Restrictions</b></dt> <dd><i>optional</i></dd> <dt><b>Description</b></dt> <dd>The Size of the graphic in 100th mm. </dd> <dd><p> This property may not be available in case of pixel graphics or if the logical size can not be determined correctly for some formats without loading the whole graphic</p> </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="BitsPerPixel" class="membertitle">BitsPerPixel</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>byte <b>BitsPerPixel</b>;<hr> <dl> <dt><b>Usage Restrictions</b></dt> <dd><i>optional</i></dd> <dt><b>Description</b></dt> <dd>The number of bits per pixel used for the pixel graphic </dd> <dd><p> This property is not available for vector graphics and may not be available for some kinds of pixel graphics</p> </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="Transparent" class="membertitle">Transparent</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>boolean <b>Transparent</b>;<hr> <dl> <dt><b>Usage Restrictions</b></dt> <dd><i>optional</i></dd> <dt><b>Description</b></dt> <dd>Indicates that it is a transparent graphic </dd> <dd><p>This property is always <b>true</b> for vector graphics. The status of this flag is not always clear if the graphic was not loaded at all, e.g. in case of just querying for the <a href="GraphicDescriptor.html">GraphicDescriptor</a>.</p> </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="Alpha" class="membertitle">Alpha</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>boolean <b>Alpha</b>;<hr> <dl> <dt><b>Usage Restrictions</b></dt> <dd><i>optional</i></dd> <dt><b>Description</b></dt> <dd>Indicates that it is a pixel graphic with an alpha channel </dd> <dd><p>The status of this flag is not always clear if the graphic was not loaded at all, e.g. in case of just querying for the <a href="GraphicDescriptor.html">GraphicDescriptor</a></p> </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="Animated" class="membertitle">Animated</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>boolean <b>Animated</b>;<hr> <dl> <dt><b>Usage Restrictions</b></dt> <dd><i>optional</i></dd> <dt><b>Description</b></dt> <dd>Indicates that it is a graphic that consists of several frames that can be played as an animation </dd> <dd><p>The status of this flag is not always clear if the graphic was not loaded at all, e.g. in case of just querying for the <a href="GraphicDescriptor.html">GraphicDescriptor</a></p> </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 © 2008 Sun Microsystems, Inc.</p> </div> <!-- id="adc-idlref" --> </body> </html>