<html> <head> <title>Constants' Group ControlCharacter</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="navimain"><a href="http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/Text/Editing_Text#Control_Characters" class="navimain">Devguide</a></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 ControlCharacter</td> </tr> <tr> <td><dl> <dt><b>Description</b></dt> <dd>These constants are the codes for inserting control characters using <method>XSimpleText::insertControlCharacter</method> interface. </dd> </dl> <a name="devmanual"> </a><dl> <dt><b>Developers Guide</b></dt> <dd><a href="http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/Text/Editing_Text#Control_Characters">Text - Editing Text - Control Characters</a></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="#PARAGRAPH_BREAK">PARAGRAPH_BREAK</a></td> <td class="imsum_right">This control character starts a new paragraph. </td> </tr> <tr> <td class="imsum_left"><a href="#LINE_BREAK">LINE_BREAK</a></td> <td class="imsum_right">This control character starts a new line in a paragraph. </td> </tr> <tr> <td class="imsum_left"><a href="#HARD_HYPHEN">HARD_HYPHEN</a></td> <td class="imsum_right">This control character equals a dash but prevents this position from being hyphenated. </td> </tr> <tr> <td class="imsum_left"><a href="#SOFT_HYPHEN">SOFT_HYPHEN</a></td> <td class="imsum_right">This control character defines a special position as a hyphenation point. If a word containing a soft hyphen must be split at the end of a line, then this position is preferred. </td> </tr> <tr> <td class="imsum_left"><a href="#HARD_SPACE">HARD_SPACE</a></td> <td class="imsum_right">This control character is used to link two words and prevents this concatenation from being hyphenated. It is printed as a space. </td> </tr> <tr> <td class="imsum_left"><a href="#APPEND_PARAGRAPH">APPEND_PARAGRAPH</a></td> <td class="imsum_right">This control character appends a new paragraph. </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="PARAGRAPH_BREAK" class="membertitle">PARAGRAPH_BREAK</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>const short <b>PARAGRAPH_BREAK</b> = 0;<hr> <dl> <dt><b>Description</b></dt> <dd>This control character starts a new paragraph. </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="LINE_BREAK" class="membertitle">LINE_BREAK</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>const short <b>LINE_BREAK</b> = 1;<hr> <dl> <dt><b>Description</b></dt> <dd>This control character starts a new line in a paragraph. </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="HARD_HYPHEN" class="membertitle">HARD_HYPHEN</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>const short <b>HARD_HYPHEN</b> = 2;<hr> <dl> <dt><b>Description</b></dt> <dd>This control character equals a dash but prevents this position from being hyphenated. </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="SOFT_HYPHEN" class="membertitle">SOFT_HYPHEN</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>const short <b>SOFT_HYPHEN</b> = 3;<hr> <dl> <dt><b>Description</b></dt> <dd>This control character defines a special position as a hyphenation point. If a word containing a soft hyphen must be split at the end of a line, then this position is preferred. </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="HARD_SPACE" class="membertitle">HARD_SPACE</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>const short <b>HARD_SPACE</b> = 4;<hr> <dl> <dt><b>Description</b></dt> <dd>This control character is used to link two words and prevents this concatenation from being hyphenated. It is printed as a space. </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="APPEND_PARAGRAPH" class="membertitle">APPEND_PARAGRAPH</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>const short <b>APPEND_PARAGRAPH</b> = 5;<hr> <dl> <dt><b>Description</b></dt> <dd>This control character appends a new paragraph. </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>