<html> <head> <title>Constants' Group CellFlags</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">sheet</a> :: </p> </td> </tr> <tr> <td class="title">constants group CellFlags</td> </tr> <tr> <td><dl> <dt><b>Description</b></dt> <dd>These constants select different types of cell contents. </dd> <dd><P>The values can be combined. They are used to insert, copy, or delete contents.</P> </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="#VALUE">VALUE</a></td> <td class="imsum_right">selects constant numeric values that are not formatted as dates or times. </td> </tr> <tr> <td class="imsum_left"><a href="#DATETIME">DATETIME</a></td> <td class="imsum_right">selects constant numeric values that have a date or time number format. </td> </tr> <tr> <td class="imsum_left"><a href="#STRING">STRING</a></td> <td class="imsum_right">selects constant strings. </td> </tr> <tr> <td class="imsum_left"><a href="#ANNOTATION">ANNOTATION</a></td> <td class="imsum_right">selects cell annotations. </td> </tr> <tr> <td class="imsum_left"><a href="#FORMULA">FORMULA</a></td> <td class="imsum_right">selects formulas. </td> </tr> <tr> <td class="imsum_left"><a href="#HARDATTR">HARDATTR</a></td> <td class="imsum_right">selects all explicit formatting, but not the formatting which is applied implicitly through style sheets. </td> </tr> <tr> <td class="imsum_left"><a href="#STYLES">STYLES</a></td> <td class="imsum_right">selects cell styles. </td> </tr> <tr> <td class="imsum_left"><a href="#OBJECTS">OBJECTS</a></td> <td class="imsum_right">selects drawing objects. </td> </tr> <tr> <td class="imsum_left"><a href="#EDITATTR">EDITATTR</a></td> <td class="imsum_right">selects formatting within parts of the cell contents. </td> </tr> <tr> <td class="imsum_left"><a href="#FORMATTED">FORMATTED</a></td> <td class="imsum_right">selects cells with formatting within the cells or cells with more than one paragraph within the cells. </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="VALUE" class="membertitle">VALUE</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>const long <b>VALUE</b> = 1;<hr> <dl> <dt><b>Description</b></dt> <dd>selects constant numeric values that are not formatted as dates or times. </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="DATETIME" class="membertitle">DATETIME</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>const long <b>DATETIME</b> = 2;<hr> <dl> <dt><b>Description</b></dt> <dd>selects constant numeric values that have a date or time number format. </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="STRING" class="membertitle">STRING</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>const long <b>STRING</b> = 4;<hr> <dl> <dt><b>Description</b></dt> <dd>selects constant strings. </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="ANNOTATION" class="membertitle">ANNOTATION</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>const long <b>ANNOTATION</b> = 8;<hr> <dl> <dt><b>Description</b></dt> <dd>selects cell annotations. </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="FORMULA" class="membertitle">FORMULA</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>const long <b>FORMULA</b> = 16;<hr> <dl> <dt><b>Description</b></dt> <dd>selects formulas. </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="HARDATTR" class="membertitle">HARDATTR</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>const long <b>HARDATTR</b> = 32;<hr> <dl> <dt><b>Description</b></dt> <dd>selects all explicit formatting, but not the formatting which is applied implicitly through style sheets. </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="STYLES" class="membertitle">STYLES</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>const long <b>STYLES</b> = 64;<hr> <dl> <dt><b>Description</b></dt> <dd>selects cell styles. </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="OBJECTS" class="membertitle">OBJECTS</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>const long <b>OBJECTS</b> = 128;<hr> <dl> <dt><b>Description</b></dt> <dd>selects drawing objects. </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="EDITATTR" class="membertitle">EDITATTR</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>const long <b>EDITATTR</b> = 256;<hr> <dl> <dt><b>Description</b></dt> <dd>selects formatting within parts of the cell contents. </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="FORMATTED" class="membertitle">FORMATTED</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>const long <b>FORMATTED</b> = 512;<hr> <dl> <dt><b>Description</b></dt> <dd>selects cells with formatting within the cells or cells with more than one paragraph within the cells. </dd> </dl> </td> </tr> </table> </td> </tr> </table> <a href="#_top_">Top of Page</a><hr size="3"><p class="copyright" align="center">Copyright © 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>