Sophie

Sophie

distrib > Mandriva > current > i586 > media > main-updates > by-pkgid > f51238514e2abe817779ad2fe01b0759 > files > 771

icu-doc-4.4-2.1mdv2010.2.i586.rpm

<!-- This comment will put IE 6, 7 and 8 in quirks mode -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>ICU 4.4: ushape.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javaScript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body onload='searchBox.OnSelectItem(0);'>
<!-- Generated by Doxygen 1.6.1 -->
<script type="text/javascript"><!--
var searchBox = new SearchBox("searchBox", "search",false,'Search');
--></script>
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <img id="MSearchSelect" src="search/search.png"
             onmouseover="return searchBox.OnSearchSelectShow()"
             onmouseout="return searchBox.OnSearchSelectHide()"
             alt=""/>
        <input type="text" id="MSearchField" value="Search" accesskey="S"
             onfocus="searchBox.OnSearchFieldFocus(true)" 
             onblur="searchBox.OnSearchFieldFocus(false)" 
             onkeyup="searchBox.OnSearchFieldChange(event)"/>
        <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
        </div>
      </li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="files.html"><span>File&nbsp;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
<h1>ushape.h</h1><a href="ushape_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span>
<a name="l00002"></a>00002 <span class="comment">******************************************************************************</span>
<a name="l00003"></a>00003 <span class="comment">*</span>
<a name="l00004"></a>00004 <span class="comment">*   Copyright (C) 2000-2010, International Business Machines</span>
<a name="l00005"></a>00005 <span class="comment">*   Corporation and others.  All Rights Reserved.</span>
<a name="l00006"></a>00006 <span class="comment">*</span>
<a name="l00007"></a>00007 <span class="comment">******************************************************************************</span>
<a name="l00008"></a>00008 <span class="comment">*   file name:  ushape.h</span>
<a name="l00009"></a>00009 <span class="comment">*   encoding:   US-ASCII</span>
<a name="l00010"></a>00010 <span class="comment">*   tab size:   8 (not used)</span>
<a name="l00011"></a>00011 <span class="comment">*   indentation:4</span>
<a name="l00012"></a>00012 <span class="comment">*</span>
<a name="l00013"></a>00013 <span class="comment">*   created on: 2000jun29</span>
<a name="l00014"></a>00014 <span class="comment">*   created by: Markus W. Scherer</span>
<a name="l00015"></a>00015 <span class="comment">*/</span>
<a name="l00016"></a>00016 
<a name="l00017"></a>00017 <span class="preprocessor">#ifndef __USHAPE_H__</span>
<a name="l00018"></a>00018 <span class="preprocessor"></span><span class="preprocessor">#define __USHAPE_H__</span>
<a name="l00019"></a>00019 <span class="preprocessor"></span>
<a name="l00020"></a>00020 <span class="preprocessor">#include &quot;<a class="code" href="utypes_8h.html" title="Basic definitions for ICU, for both C and C++ APIs.">unicode/utypes.h</a>&quot;</span>
<a name="l00021"></a>00021 
<a name="l00099"></a>00099 <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98" title="This is used to declare a function as a stable public ICU C API.">U_STABLE</a> int32_t <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a>
<a name="l00100"></a>00100 <a class="code" href="ushape_8h.html#a1f89291c5a24a50b8f6dcad5eb4668f7" title="Shape Arabic text on a character basis.">u_shapeArabic</a>(<span class="keyword">const</span> <a class="code" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac" title="Define UChar to be wchar_t if that is 16 bits wide; always assumed to be unsigned...">UChar</a> *source, int32_t sourceLength,
<a name="l00101"></a>00101               <a class="code" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac" title="Define UChar to be wchar_t if that is 16 bits wide; always assumed to be unsigned...">UChar</a> *dest, int32_t destSize,
<a name="l00102"></a>00102               uint32_t options,
<a name="l00103"></a>00103               <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all...">UErrorCode</a> *pErrorCode);
<a name="l00104"></a>00104 
<a name="l00110"></a><a class="code" href="ushape_8h.html#ac17406c6548f18e1c9d7f3339e20c99f">00110</a> <span class="preprocessor">#define U_SHAPE_LENGTH_GROW_SHRINK              0</span>
<a name="l00111"></a>00111 <span class="preprocessor"></span>
<a name="l00118"></a><a class="code" href="ushape_8h.html#a44a55b05c3e6d7083cb38149860ad4a8">00118</a> <span class="preprocessor">#define U_SHAPE_LAMALEF_RESIZE                  0 </span>
<a name="l00119"></a>00119 <span class="preprocessor"></span>
<a name="l00125"></a><a class="code" href="ushape_8h.html#a56141bf9903c7b5e884d4193d110e7ab">00125</a> <span class="preprocessor">#define U_SHAPE_LENGTH_FIXED_SPACES_NEAR        1</span>
<a name="l00126"></a>00126 <span class="preprocessor"></span>
<a name="l00134"></a><a class="code" href="ushape_8h.html#a4f48efd37560b34e415a755a485519eb">00134</a> <span class="preprocessor">#define U_SHAPE_LAMALEF_NEAR                    1 </span>
<a name="l00135"></a>00135 <span class="preprocessor"></span>
<a name="l00141"></a><a class="code" href="ushape_8h.html#a1176691c3596d19baad04f9421f8389e">00141</a> <span class="preprocessor">#define U_SHAPE_LENGTH_FIXED_SPACES_AT_END      2</span>
<a name="l00142"></a>00142 <span class="preprocessor"></span>
<a name="l00150"></a><a class="code" href="ushape_8h.html#a16b1f4c076f22c3201877149d8a866d4">00150</a> <span class="preprocessor">#define U_SHAPE_LAMALEF_END                     2 </span>
<a name="l00151"></a>00151 <span class="preprocessor"></span>
<a name="l00157"></a><a class="code" href="ushape_8h.html#a76a858155800f59a06ea800f66821ed4">00157</a> <span class="preprocessor">#define U_SHAPE_LENGTH_FIXED_SPACES_AT_BEGINNING 3</span>
<a name="l00158"></a>00158 <span class="preprocessor"></span>
<a name="l00166"></a><a class="code" href="ushape_8h.html#ab006a540a0f924e9e19e194da2f5c2cd">00166</a> <span class="preprocessor">#define U_SHAPE_LAMALEF_BEGIN                    3 </span>
<a name="l00167"></a>00167 <span class="preprocessor"></span>
<a name="l00168"></a>00168 
<a name="l00182"></a><a class="code" href="ushape_8h.html#a222f9407817a37959cfcd8ee31edaa39">00182</a> <span class="preprocessor">#define U_SHAPE_LAMALEF_AUTO                     0x10000 </span>
<a name="l00183"></a>00183 <span class="preprocessor"></span>
<a name="l00185"></a><a class="code" href="ushape_8h.html#ac08849a490c2f229a7dc5e74faf00f33">00185</a> <span class="preprocessor">#define U_SHAPE_LENGTH_MASK                      0x10003 </span><span class="comment">/* Changed old value 3 */</span>
<a name="l00186"></a>00186 
<a name="l00187"></a>00187 
<a name="l00192"></a><a class="code" href="ushape_8h.html#adf5a64eaf97d100e07be80339f2c13c9">00192</a> <span class="preprocessor">#define U_SHAPE_LAMALEF_MASK                     0x10003 </span><span class="comment">/* updated */</span>
<a name="l00193"></a>00193 
<a name="l00195"></a><a class="code" href="ushape_8h.html#a376059a8a3abdb0516f783941ff7d464">00195</a> <span class="preprocessor">#define U_SHAPE_TEXT_DIRECTION_LOGICAL          0</span>
<a name="l00196"></a>00196 <span class="preprocessor"></span>
<a name="l00204"></a><a class="code" href="ushape_8h.html#a0d7a7f1722037ec0af54e74d16695ca3">00204</a> <span class="preprocessor">#define U_SHAPE_TEXT_DIRECTION_VISUAL_RTL       0</span>
<a name="l00205"></a>00205 <span class="preprocessor"></span>
<a name="l00212"></a><a class="code" href="ushape_8h.html#a98b7d5a066c6d71319f911dd0ae0fda4">00212</a> <span class="preprocessor">#define U_SHAPE_TEXT_DIRECTION_VISUAL_LTR       4</span>
<a name="l00213"></a>00213 <span class="preprocessor"></span>
<a name="l00215"></a><a class="code" href="ushape_8h.html#aead4db716c892f18366202c5d231672a">00215</a> <span class="preprocessor">#define U_SHAPE_TEXT_DIRECTION_MASK             4</span>
<a name="l00216"></a>00216 <span class="preprocessor"></span>
<a name="l00217"></a>00217 
<a name="l00219"></a><a class="code" href="ushape_8h.html#a86f5c2c9667050dc9ab52b2568b2f299">00219</a> <span class="preprocessor">#define U_SHAPE_LETTERS_NOOP                    0</span>
<a name="l00220"></a>00220 <span class="preprocessor"></span>
<a name="l00222"></a><a class="code" href="ushape_8h.html#ae54a10c82b703d47e46655b732e9ee50">00222</a> <span class="preprocessor">#define U_SHAPE_LETTERS_SHAPE                   8</span>
<a name="l00223"></a>00223 <span class="preprocessor"></span>
<a name="l00225"></a><a class="code" href="ushape_8h.html#ab5db2793e06b3f711b2413ae43fda338">00225</a> <span class="preprocessor">#define U_SHAPE_LETTERS_UNSHAPE                 0x10</span>
<a name="l00226"></a>00226 <span class="preprocessor"></span>
<a name="l00234"></a><a class="code" href="ushape_8h.html#a147edaa89bc02994a85f99d0eca97dd2">00234</a> <span class="preprocessor">#define U_SHAPE_LETTERS_SHAPE_TASHKEEL_ISOLATED 0x18</span>
<a name="l00235"></a>00235 <span class="preprocessor"></span>
<a name="l00236"></a>00236 
<a name="l00238"></a><a class="code" href="ushape_8h.html#a5ede249701211173c977a9069d808800">00238</a> <span class="preprocessor">#define U_SHAPE_LETTERS_MASK                        0x18</span>
<a name="l00239"></a>00239 <span class="preprocessor"></span>
<a name="l00240"></a>00240 
<a name="l00242"></a><a class="code" href="ushape_8h.html#ac30d73f1b5a592655063a2a07169aaee">00242</a> <span class="preprocessor">#define U_SHAPE_DIGITS_NOOP                     0</span>
<a name="l00243"></a>00243 <span class="preprocessor"></span>
<a name="l00249"></a><a class="code" href="ushape_8h.html#ad2a55f99c617158f846c246bc2d08e0e">00249</a> <span class="preprocessor">#define U_SHAPE_DIGITS_EN2AN                    0x20</span>
<a name="l00250"></a>00250 <span class="preprocessor"></span>
<a name="l00256"></a><a class="code" href="ushape_8h.html#ab64949486e9c70a4452903d6938d8198">00256</a> <span class="preprocessor">#define U_SHAPE_DIGITS_AN2EN                    0x40</span>
<a name="l00257"></a>00257 <span class="preprocessor"></span>
<a name="l00269"></a><a class="code" href="ushape_8h.html#aaf9e74416ef9eb51078194c75ae58c2b">00269</a> <span class="preprocessor">#define U_SHAPE_DIGITS_ALEN2AN_INIT_LR          0x60</span>
<a name="l00270"></a>00270 <span class="preprocessor"></span>
<a name="l00281"></a><a class="code" href="ushape_8h.html#a62280016a9a1e6dae2606e7f4885a293">00281</a> <span class="preprocessor">#define U_SHAPE_DIGITS_ALEN2AN_INIT_AL          0x80</span>
<a name="l00282"></a>00282 <span class="preprocessor"></span>
<a name="l00284"></a><a class="code" href="ushape_8h.html#abda4f9060a11b445ceaae095b0ef6e09">00284</a> <span class="preprocessor">#define U_SHAPE_DIGITS_RESERVED                 0xa0</span>
<a name="l00285"></a>00285 <span class="preprocessor"></span>
<a name="l00287"></a><a class="code" href="ushape_8h.html#a85ff906eb1189dccac37fda9f801edf5">00287</a> <span class="preprocessor">#define U_SHAPE_DIGITS_MASK                     0xe0</span>
<a name="l00288"></a>00288 <span class="preprocessor"></span>
<a name="l00289"></a>00289 
<a name="l00291"></a><a class="code" href="ushape_8h.html#ace82e665031672d4d90e9de8802ee877">00291</a> <span class="preprocessor">#define U_SHAPE_DIGIT_TYPE_AN                   0</span>
<a name="l00292"></a>00292 <span class="preprocessor"></span>
<a name="l00294"></a><a class="code" href="ushape_8h.html#ad702c7e0c649d5cb2ac70d3e0a820cb1">00294</a> <span class="preprocessor">#define U_SHAPE_DIGIT_TYPE_AN_EXTENDED          0x100</span>
<a name="l00295"></a>00295 <span class="preprocessor"></span>
<a name="l00297"></a><a class="code" href="ushape_8h.html#ae7a72684ba67ebae3e141c0427736302">00297</a> <span class="preprocessor">#define U_SHAPE_DIGIT_TYPE_RESERVED             0x200</span>
<a name="l00298"></a>00298 <span class="preprocessor"></span>
<a name="l00300"></a><a class="code" href="ushape_8h.html#a57ba27bfc4ba29dffa3354d1d9ca045f">00300</a> <span class="preprocessor">#define U_SHAPE_DIGIT_TYPE_MASK                 0x300 </span><span class="comment">/* I need to change this from 0x3f00 to 0x300 */</span>
<a name="l00301"></a>00301 
<a name="l00309"></a><a class="code" href="ushape_8h.html#aa3b28918b5a9c1b597eeb1cf9b04067f">00309</a> <span class="preprocessor">#define U_SHAPE_AGGREGATE_TASHKEEL              0x4000</span>
<a name="l00310"></a>00310 <span class="preprocessor"></span>
<a name="l00311"></a><a class="code" href="ushape_8h.html#a5df6abccc5c906fa4bc07c84351614c7">00311</a> <span class="preprocessor">#define U_SHAPE_AGGREGATE_TASHKEEL_NOOP         0</span>
<a name="l00312"></a>00312 <span class="preprocessor"></span>
<a name="l00313"></a><a class="code" href="ushape_8h.html#a16d0d1f59bc47273fbc7fa358aba981f">00313</a> <span class="preprocessor">#define U_SHAPE_AGGREGATE_TASHKEEL_MASK         0x4000</span>
<a name="l00314"></a>00314 <span class="preprocessor"></span>
<a name="l00321"></a><a class="code" href="ushape_8h.html#af9b205460569cb5d6667ed773bc0c9d5">00321</a> <span class="preprocessor">#define U_SHAPE_PRESERVE_PRESENTATION           0x8000</span>
<a name="l00322"></a>00322 <span class="preprocessor"></span>
<a name="l00327"></a><a class="code" href="ushape_8h.html#abb9ef25407831f84a85a8812592ffe00">00327</a> <span class="preprocessor">#define U_SHAPE_PRESERVE_PRESENTATION_NOOP      0</span>
<a name="l00328"></a>00328 <span class="preprocessor"></span>
<a name="l00329"></a><a class="code" href="ushape_8h.html#a713bd393961c912cc5af94400b7b6752">00329</a> <span class="preprocessor">#define U_SHAPE_PRESERVE_PRESENTATION_MASK      0x8000</span>
<a name="l00330"></a>00330 <span class="preprocessor"></span>
<a name="l00331"></a>00331 <span class="comment">/* Seen Tail option */</span> 
<a name="l00344"></a><a class="code" href="ushape_8h.html#a0be47852d24dd3ea9fd5f029ec831a56">00344</a> <span class="preprocessor">#define U_SHAPE_SEEN_TWOCELL_NEAR     0x200000</span>
<a name="l00345"></a>00345 <span class="preprocessor"></span>
<a name="l00350"></a><a class="code" href="ushape_8h.html#ae7d634565a9489deb4afd698f09435d4">00350</a> <span class="preprocessor">#define U_SHAPE_SEEN_MASK             0x700000</span>
<a name="l00351"></a>00351 <span class="preprocessor"></span>
<a name="l00352"></a>00352 <span class="comment">/* YehHamza option */</span> 
<a name="l00365"></a><a class="code" href="ushape_8h.html#ab2eb63f2ed694089974d76ba83da25c9">00365</a> <span class="preprocessor">#define U_SHAPE_YEHHAMZA_TWOCELL_NEAR      0x1000000</span>
<a name="l00366"></a>00366 <span class="preprocessor"></span>
<a name="l00367"></a>00367 
<a name="l00372"></a><a class="code" href="ushape_8h.html#aabc0cc02c0b88d31f1a53f3c1f5e0740">00372</a> <span class="preprocessor">#define U_SHAPE_YEHHAMZA_MASK              0x3800000</span>
<a name="l00373"></a>00373 <span class="preprocessor"></span>
<a name="l00374"></a>00374 <span class="comment">/* New Tashkeel options */</span> 
<a name="l00384"></a><a class="code" href="ushape_8h.html#a14476be839b55f569a46d6e5412d35c3">00384</a> <span class="preprocessor">#define U_SHAPE_TASHKEEL_BEGIN                      0x40000</span>
<a name="l00385"></a>00385 <span class="preprocessor"></span>
<a name="l00395"></a><a class="code" href="ushape_8h.html#aa9a5ccf21b70f720239f3bbdd3bd30ed">00395</a> <span class="preprocessor">#define U_SHAPE_TASHKEEL_END                        0x60000</span>
<a name="l00396"></a>00396 <span class="preprocessor"></span>
<a name="l00405"></a><a class="code" href="ushape_8h.html#a5a123149941ac200596e538dd713fdfb">00405</a> <span class="preprocessor">#define U_SHAPE_TASHKEEL_RESIZE                     0x80000</span>
<a name="l00406"></a>00406 <span class="preprocessor"></span>
<a name="l00416"></a><a class="code" href="ushape_8h.html#abbb7c0115c0752d3f79d31db94fdfc24">00416</a> <span class="preprocessor">#define U_SHAPE_TASHKEEL_REPLACE_BY_TATWEEL         0xC0000</span>
<a name="l00417"></a>00417 <span class="preprocessor"></span>
<a name="l00422"></a><a class="code" href="ushape_8h.html#a2023bfdb099970a1eddaed17b65d2092">00422</a> <span class="preprocessor">#define U_SHAPE_TASHKEEL_MASK                       0xE0000</span>
<a name="l00423"></a>00423 <span class="preprocessor"></span>
<a name="l00424"></a>00424 
<a name="l00425"></a>00425 <span class="comment">/* Space location Control options */</span> 
<a name="l00446"></a><a class="code" href="ushape_8h.html#adca8805b353d9abfe80b27e2d104a899">00446</a> <span class="preprocessor">#define U_SHAPE_SPACES_RELATIVE_TO_TEXT_BEGIN_END 0x4000000</span>
<a name="l00447"></a>00447 <span class="preprocessor"></span>
<a name="l00452"></a><a class="code" href="ushape_8h.html#a80c0f9a48e3e40864ba0bdb6bf9480cc">00452</a> <span class="preprocessor">#define U_SHAPE_SPACES_RELATIVE_TO_TEXT_MASK      0x4000000</span>
<a name="l00453"></a>00453 <span class="preprocessor"></span>
<a name="l00466"></a><a class="code" href="ushape_8h.html#aa31b44f9ea6e8dc63e3bf66d10451153">00466</a> <span class="preprocessor">#define SHAPE_TAIL_NEW_UNICODE        0x8000000</span>
<a name="l00467"></a>00467 <span class="preprocessor"></span>
<a name="l00472"></a><a class="code" href="ushape_8h.html#a4e0e785d00adba348267bd1154312a89">00472</a> <span class="preprocessor">#define SHAPE_TAIL_TYPE_MASK          0x8000000</span>
<a name="l00473"></a>00473 <span class="preprocessor"></span>
<a name="l00474"></a>00474 <span class="preprocessor">#endif</span>
</pre></div></div>
<!--- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&nbsp;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&nbsp;</span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&nbsp;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&nbsp;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&nbsp;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&nbsp;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&nbsp;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&nbsp;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&nbsp;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&nbsp;</span>Defines</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<hr size="1"/><address style="text-align: right;"><small>Generated on 16 Mar 2010 for ICU 4.4 by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
</body>
</html>