<html> <head> <title>Constants' Group ReferenceFieldPart</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">text</a> :: </p> </td> </tr> <tr> <td class="title">constants group ReferenceFieldPart</td> </tr> <tr> <td><dl> <dt><b>Description</b></dt> <dd>These constants define how the reference position is displayed in reference text fields. </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="#PAGE">PAGE</a></td> <td class="imsum_right">The page number is displayed using arabic numbers. </td> </tr> <tr> <td class="imsum_left"><a href="#CHAPTER">CHAPTER</a></td> <td class="imsum_right">The number of the chapter is displayed. </td> </tr> <tr> <td class="imsum_left"><a href="#TEXT">TEXT</a></td> <td class="imsum_right">The reference text is displayed. </td> </tr> <tr> <td class="imsum_left"><a href="#UP_DOWN">UP_DOWN</a></td> <td class="imsum_right">The reference is displayed as one of the (localized) words, "above" or "below". </td> </tr> <tr> <td class="imsum_left"><a href="#PAGE_DESC">PAGE_DESC</a></td> <td class="imsum_right">The page number is displayed using the numbering type defined in the page style of the reference position. </td> </tr> <tr> <td class="imsum_left"><a href="#CATEGORY_AND_NUMBER">CATEGORY_AND_NUMBER</a></td> <td class="imsum_right">The category and the number of a caption is displayed. </td> </tr> <tr> <td class="imsum_left"><a href="#ONLY_CAPTION">ONLY_CAPTION</a></td> <td class="imsum_right">The caption text of a caption is displayed. </td> </tr> <tr> <td class="imsum_left"><a href="#ONLY_SEQUENCE_NUMBER">ONLY_SEQUENCE_NUMBER</a></td> <td class="imsum_right">The number of a sequence field is displayed. </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="PAGE" class="membertitle">PAGE</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>const short <b>PAGE</b> = 0;<hr> <dl> <dt><b>Description</b></dt> <dd>The page number is displayed using arabic numbers. </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="CHAPTER" class="membertitle">CHAPTER</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>const short <b>CHAPTER</b> = 1;<hr> <dl> <dt><b>Description</b></dt> <dd>The number of the chapter is displayed. </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> = 2;<hr> <dl> <dt><b>Description</b></dt> <dd>The reference text is displayed. </dd> <dd><p>If the source of the reference is a sequence field, then the complete text of the paragraph is displayed. This is useful to reference to captions. </p> </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="UP_DOWN" class="membertitle">UP_DOWN</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>const short <b>UP_DOWN</b> = 3;<hr> <dl> <dt><b>Description</b></dt> <dd>The reference is displayed as one of the (localized) words, "above" or "below". </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="PAGE_DESC" class="membertitle">PAGE_DESC</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>const short <b>PAGE_DESC</b> = 4;<hr> <dl> <dt><b>Description</b></dt> <dd>The page number is displayed using the numbering type defined in the page style of the reference position. </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="CATEGORY_AND_NUMBER" class="membertitle">CATEGORY_AND_NUMBER</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>const short <b>CATEGORY_AND_NUMBER</b> = 5;<hr> <dl> <dt><b>Description</b></dt> <dd>The category and the number of a caption is displayed. </dd> <dd><p>This option is only valid if the source of the reference is a sequence field.</p> </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="ONLY_CAPTION" class="membertitle">ONLY_CAPTION</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>const short <b>ONLY_CAPTION</b> = 6;<hr> <dl> <dt><b>Description</b></dt> <dd>The caption text of a caption is displayed. </dd> <dd><p>This option is only valid if the source of the reference is a sequence field.</p> </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="ONLY_SEQUENCE_NUMBER" class="membertitle">ONLY_SEQUENCE_NUMBER</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>const short <b>ONLY_SEQUENCE_NUMBER</b> = 7;<hr> <dl> <dt><b>Description</b></dt> <dd>The number of a sequence field is displayed. </dd> <dd><p>This option is only valid if the source of the reference is a sequence field.</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 © 2008 Sun Microsystems, Inc.</p> </div> <!-- id="adc-idlref" --> </body> </html>