Sophie

Sophie

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

libreoffice-devel-3.5.4-4.x86_64.rpm

<html>
<head>
<title>Constants' Group ItemStyle</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="navimainnone">Use</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"><a href="#Constants" class="navisub">Constants</a></td>
<td class="navisub"><a href="#ConstantDetails" class="navisub">Constants' 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">ui</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">constants group ItemStyle</td>
<td width="*"/></tr>
</table>
</td>
</tr>
<tr>
<td><dl>
<dt><b>Usage Restrictions</b></dt>
<dd><i>not published</i></dd>
<dt><b>Description</b></dt>
<dd>specifies styles which influence the appearance and the behavior of an
 user interface item.

 </dd>
<dd><p>
 These styles are only valid if the item describes a toolbar or statusbar item.
 The style values can be combined with the OR operator. Styles which are not valid
 for an item will be ignored by the implementation.<br/>
 There are two styles where
 only one value is valid:
 Alignment:
 <ul>
 <li>ALIGN_LEFT</li>
 <li>ALIGN_CENTER</li>
 <li>ALIGN_RIGHT</li>
 </ul>
 Drawing:
 <ul>
 <li>DRAW_OUT3D</li>
 <li>DRAW_IN3D</li>
 <li>DRAW_FLAT</li>
 </ul>
 </p>

 </dd>
<dt><b>Since </b></dt>
<dd>OOo 2.0</dd>
</dl>
</td>
</tr>
</table>
<hr>
<a name="Constants"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle">
<tr>
<td class="subtitle" colspan="2">Constants</td>
</tr>
<tr>
<td class="imsum_left"><a href="#ALIGN_LEFT">ALIGN_LEFT</a></td>
<td class="imsum_right">specifies how the output of the item is aligned in the bounding box of
 the user interface element.
 &nbsp;</td>
</tr>
<tr>
<td class="imsum_left"><a href="#ALIGN_CENTER">ALIGN_CENTER</a></td>
<td class="imsum_right">specifies how the output of the item is aligned in the bounding box of
 the user interface element.
 &nbsp;</td>
</tr>
<tr>
<td class="imsum_left"><a href="#ALIGN_RIGHT">ALIGN_RIGHT</a></td>
<td class="imsum_right">specifies how the output of the item is aligned in the bounding box of
 the user interface element.
 &nbsp;</td>
</tr>
<tr>
<td class="imsum_left"><a href="#DRAW_OUT3D">DRAW_OUT3D</a></td>
<td class="imsum_right">specifies how the implementation should draw the item.
 &nbsp;</td>
</tr>
<tr>
<td class="imsum_left"><a href="#DRAW_IN3D">DRAW_IN3D</a></td>
<td class="imsum_right">specifies how the implementation should draw the item.
 &nbsp;</td>
</tr>
<tr>
<td class="imsum_left"><a href="#DRAW_FLAT">DRAW_FLAT</a></td>
<td class="imsum_right">specifies how the implementation should draw the item.
 &nbsp;</td>
</tr>
<tr>
<td class="imsum_left"><a href="#OWNER_DRAW">OWNER_DRAW</a></td>
<td class="imsum_right">specifies whether or not a item is displayed using an external function.
 &nbsp;</td>
</tr>
<tr>
<td class="imsum_left"><a href="#AUTO_SIZE">AUTO_SIZE</a></td>
<td class="imsum_right">specifies whether or not the size of the item is set automatically by
 the parent user interface element.
 &nbsp;</td>
</tr>
<tr>
<td class="imsum_left"><a href="#RADIO_CHECK">RADIO_CHECK</a></td>
<td class="imsum_right">determines whether the item unchecks neighbor entries which have also this style set.
 &nbsp;</td>
</tr>
<tr>
<td class="imsum_left"><a href="#ICON">ICON</a></td>
<td class="imsum_right">specifies if an icon is placed on left side of the text, like an entry in a taskbar.
 &nbsp;</td>
</tr>
<tr>
<td class="imsum_left"><a href="#DROP_DOWN">DROP_DOWN</a></td>
<td class="imsum_right">specifies that the item supports a dropdown menu or toolbar for additional functions.
 &nbsp;</td>
</tr>
<tr>
<td class="imsum_left"><a href="#REPEAT">REPEAT</a></td>
<td class="imsum_right">indicates that the item continues to execute the command while you click and hold
 the mouse button.
 &nbsp;</td>
</tr>
<tr>
<td class="imsum_left"><a href="#DROPDOWN_ONLY">DROPDOWN_ONLY</a></td>
<td class="imsum_right">indicates that the item only supports a dropdown menu or toolbar for
 additional functions. There is no function on the button itself.
 &nbsp;</td>
</tr>
<tr>
<td class="imsum_left"><a href="#TEXT">TEXT</a></td>
<td class="imsum_right">indicates if icon, text or text+icon is displayed for the item.
 &nbsp;</td>
</tr>
</table>
<a name="ConstantDetails"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle">
<tr>
<td class="subtitle">Constants' Details</td>
</tr>
<tr>
<td class="imdetail"><a name="ALIGN_LEFT" class="membertitle">ALIGN_LEFT</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center">
<tr>
<td>const short <b>ALIGN_LEFT</b> = 1;<hr>
<dl>
<dt><b>Description</b></dt>
<dd>specifies how the output of the item is aligned in the bounding box of
 the user interface element.
 </dd>
<dd><p>This style is only valid for an item which describes a statusbar item.
 Draw item with a left aligned output.</p>
 </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="ALIGN_CENTER" class="membertitle">ALIGN_CENTER</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center">
<tr>
<td>const short <b>ALIGN_CENTER</b> = 2;<hr>
<dl>
<dt><b>Description</b></dt>
<dd>specifies how the output of the item is aligned in the bounding box of
 the user interface element.
 </dd>
<dd><p>This style is only valid for an item which describes a statusbar item.
 Draw item with a centered aligned output.</p>
 </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="ALIGN_RIGHT" class="membertitle">ALIGN_RIGHT</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center">
<tr>
<td>const short <b>ALIGN_RIGHT</b> = 3;<hr>
<dl>
<dt><b>Description</b></dt>
<dd>specifies how the output of the item is aligned in the bounding box of
 the user interface element.
 </dd>
<dd><p>This style is only valid for an item which describes a statusbar item.
 Draw item with a right aligned output.</p>
 </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="DRAW_OUT3D" class="membertitle">DRAW_OUT3D</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center">
<tr>
<td>const short <b>DRAW_OUT3D</b> = 4;<hr>
<dl>
<dt><b>Description</b></dt>
<dd>specifies how the implementation should draw the item.
 </dd>
<dd><p>This style is only valid for an item which describes a statusbar item.
 Draw item with an embossed 3D effect.</p>
 </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="DRAW_IN3D" class="membertitle">DRAW_IN3D</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center">
<tr>
<td>const short <b>DRAW_IN3D</b> = 8;<hr>
<dl>
<dt><b>Description</b></dt>
<dd>specifies how the implementation should draw the item.
 </dd>
<dd><p>This style is only valid for an item which describes a statusbar item.
 Draw item with an impressed 3D effect.</p>
 </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="DRAW_FLAT" class="membertitle">DRAW_FLAT</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center">
<tr>
<td>const short <b>DRAW_FLAT</b> = 12;<hr>
<dl>
<dt><b>Description</b></dt>
<dd>specifies how the implementation should draw the item.
 </dd>
<dd><p>This style is only valid for an item which describes a statusbar item.
 Draw item without an 3D effect.</p>
 </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="OWNER_DRAW" class="membertitle">OWNER_DRAW</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center">
<tr>
<td>const short <b>OWNER_DRAW</b> = 16;<hr>
<dl>
<dt><b>Description</b></dt>
<dd>specifies whether or not a item is displayed using an external function.
 </dd>
<dd><p>This style is only valid if the item describes a statusbar item.</p>
 </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="AUTO_SIZE" class="membertitle">AUTO_SIZE</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center">
<tr>
<td>const short <b>AUTO_SIZE</b> = 32;<hr>
<dl>
<dt><b>Description</b></dt>
<dd>specifies whether or not the size of the item is set automatically by
 the parent user interface element.
 </dd>
<dd><p>This style is only valid if the item describes a toolbar or statusbar item.</p>
 </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="RADIO_CHECK" class="membertitle">RADIO_CHECK</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center">
<tr>
<td>const short <b>RADIO_CHECK</b> = 64;<hr>
<dl>
<dt><b>Description</b></dt>
<dd>determines whether the item unchecks neighbor entries which have also this style set.
 </dd>
<dd><p>This style is only valid if the item describes a toolbar item.</p>
 </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="ICON" class="membertitle">ICON</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center">
<tr>
<td>const short <b>ICON</b> = 128;<hr>
<dl>
<dt><b>Description</b></dt>
<dd>specifies if an icon is placed on left side of the text, like an entry in a taskbar.
 </dd>
<dd><p>This style is only valid if the item describes a toolbar item and visible if
 style of the toolbar is set to symboltext.</p>
 <p> This style can also be used for custom toolbars and menus, in a custom toolbar an item's Style setting can used to override the toolbar container setting, the style can be bitwise OR-ed with <a href="#TEXT">TEXT</a> to define text, text+icon or icon only is to be displayed. Similarly for menu items, an items Style can override the application setting to display either text or icon ( note: for menu an icon only setting interpreted as icon+text ) </p>
 </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="DROP_DOWN" class="membertitle">DROP_DOWN</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center">
<tr>
<td>const short <b>DROP_DOWN</b> = 256;<hr>
<dl>
<dt><b>Description</b></dt>
<dd>specifies that the item supports a dropdown menu or toolbar for additional functions.
 </dd>
<dd><p>This style is only valid if the item describes a toolbar item.</p>
 </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="REPEAT" class="membertitle">REPEAT</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center">
<tr>
<td>const short <b>REPEAT</b> = 512;<hr>
<dl>
<dt><b>Description</b></dt>
<dd>indicates that the item continues to execute the command while you click and hold
 the mouse button.
 </dd>
<dd><p>This style is only valid if the item describes a toolbar item.</p>
 </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="DROPDOWN_ONLY" class="membertitle">DROPDOWN_ONLY</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center">
<tr>
<td>const short <b>DROPDOWN_ONLY</b> = 1024;<hr>
<dl>
<dt><b>Description</b></dt>
<dd>indicates that the item only supports a dropdown menu or toolbar for
 additional functions. There is no function on the button itself.
 </dd>
<dd><p>This style is only valid if the item describes a toolbar item.</p>
 </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="TEXT" class="membertitle">TEXT</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center">
<tr>
<td>const short <b>TEXT</b> = 2048;<hr>
<dl>
<dt><b>Description</b></dt>
<dd>indicates if icon, text or text+icon is displayed for the item.
 </dd>
<dd><p> This style can be used for custom toolbars and menus, in a custom toolbar an item's Style setting can used to override the toolbar container setting, the style can be bitwise OR-ed with <a href="#ICON">ICON</a> to define text, text+icon or icon only is to be displayed. Similarly for menu items, an items Style can override the application setting to display either text or icon ( note: for menu an icon only setting interpreted as icon+text ) </p>
 </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; 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>