Sophie

Sophie

distrib > Mandriva > 2008.1 > x86_64 > by-pkgid > 280da2a01a3d16776505ea3f476de84f > files > 111

icu-doc-3.8.1-2mdv2008.1.x86_64.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>ICU 3.8: ParagraphLayout Class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.1 -->
<div class="tabs">
  <ul>
    <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
    <li><a href="modules.html"><span>Modules</span></a></li>
    <li id="current"><a href="classes.html"><span>Data&nbsp;Structures</span></a></li>
    <li><a href="files.html"><span>Files</span></a></li>
    <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
    <li>
      <form action="search.php" method="get">
        <table cellspacing="0" cellpadding="0" border="0">
          <tr>
            <td><label>&nbsp;<u>S</u>earch&nbsp;for&nbsp;</label></td>
            <td><input type="text" name="query" value="" size="20" accesskey="s"/></td>
          </tr>
        </table>
      </form>
    </li>
  </ul></div>
<div class="tabs">
  <ul>
    <li><a href="classes.html"><span>Alphabetical&nbsp;List</span></a></li>
    <li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
    <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
    <li><a href="functions.html"><span>Data&nbsp;Fields</span></a></li>
  </ul></div>
<h1>ParagraphLayout Class Reference</h1><!-- doxytag: class="ParagraphLayout" --><!-- doxytag: inherits="UObject" --><a class="el" href="classParagraphLayout.html">ParagraphLayout</a>.  
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="ParagraphLayout_8h-source.html">ParagraphLayout.h</a>&gt;</code>
<p>
<p>Inheritance diagram for ParagraphLayout:
<p><center><img src="classParagraphLayout.png" usemap="#ParagraphLayout_map" border="0" alt=""></center>
<map name="ParagraphLayout_map">
<area href="classUObject.html" alt="UObject" shape="rect" coords="0,56,110,80">
<area href="classUMemory.html" alt="UMemory" shape="rect" coords="0,0,110,24">
</map>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classParagraphLayout.html#7907074382283b025c7bdd04489f902d">ParagraphLayout</a> (const <a class="el" href="LETypes_8h.html#903cb689308cdef41500411d096a2c2d">LEUnicode</a> chars[], <a class="el" href="LETypes_8h.html#3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a> count, const <a class="el" href="classFontRuns.html">FontRuns</a> *fontRuns, const <a class="el" href="classValueRuns.html">ValueRuns</a> *levelRuns, const <a class="el" href="classValueRuns.html">ValueRuns</a> *scriptRuns, const <a class="el" href="classLocaleRuns.html">LocaleRuns</a> *localeRuns, <a class="el" href="ubidi_8h.html#b2460a19f323ab9787a79a95db91a606">UBiDiLevel</a> paragraphLevel, <a class="el" href="LETypes_8h.html#4b77bc254d0e88fdabffde9c03e6728f">le_bool</a> vertical, <a class="el" href="LETypes_8h.html#2f75d3bb5abf7f0a71adbf00826e1934">LEErrorCode</a> &amp;status)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Construct a <code><a class="el" href="classParagraphLayout.html">ParagraphLayout</a></code> object for a styled paragraph.  <a href="#7907074382283b025c7bdd04489f902d"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classParagraphLayout.html#3ef387e6749a804b0b4343567ad27961">~ParagraphLayout</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The destructor.  <a href="#3ef387e6749a804b0b4343567ad27961"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="ubidi_8h.html#b2460a19f323ab9787a79a95db91a606">UBiDiLevel</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classParagraphLayout.html#90f17221c71a4bbb893dc43bf44b8352">getParagraphLevel</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return the resolved paragraph level.  <a href="#90f17221c71a4bbb893dc43bf44b8352"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="ubidi_8h.html#68a6b5fdcbf80aaa51b5bd39f7f31102">UBiDiDirection</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classParagraphLayout.html#2a90412e5a4c2465d5068920579137fc">getTextDirection</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return the directionality of the text in the paragraph.  <a href="#2a90412e5a4c2465d5068920579137fc"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="LETypes_8h.html#3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classParagraphLayout.html#98e69f09c070722129c3c9c1c516644a">getAscent</a> () const</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return the max ascent value for all the fonts in the paragraph.  <a href="#98e69f09c070722129c3c9c1c516644a"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="LETypes_8h.html#3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classParagraphLayout.html#8fdf1cefdb97ad3f3fd3d391f1f4c49c">getDescent</a> () const</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return the max descent value for all the fonts in the paragraph.  <a href="#8fdf1cefdb97ad3f3fd3d391f1f4c49c"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="LETypes_8h.html#3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classParagraphLayout.html#86682c5e376fb7c1ec0bbfea63372eba">getLeading</a> () const</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return the max leading value for all the fonts in the paragraph.  <a href="#86682c5e376fb7c1ec0bbfea63372eba"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classParagraphLayout.html#437d556bb78f8f31a3167cdebed34697">reflow</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Reset line breaking to start from the beginning of the paragraph.  <a href="#437d556bb78f8f31a3167cdebed34697"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classParagraphLayout_1_1Line.html">Line</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classParagraphLayout.html#232b40ef6d0a565c026bec85890d7b50">nextLine</a> (float width)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return a <code><a class="el" href="classParagraphLayout_1_1Line.html">ParagraphLayout::Line</a></code> object which represents next line in the paragraph.  <a href="#232b40ef6d0a565c026bec85890d7b50"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="utypes_8h.html#22af10545208a455a6e884008df48e9f">UClassID</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classParagraphLayout.html#aba7228f6c81e2bbcaebf11dd4cb6668">getDynamicClassID</a> () const</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">ICU "poor man's RTTI", returns a UClassID for the actual class.  <a href="#aba7228f6c81e2bbcaebf11dd4cb6668"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="LETypes_8h.html#4b77bc254d0e88fdabffde9c03e6728f">le_bool</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classParagraphLayout.html#f1135377e5cb8e87f36b1552c338105a">isComplex</a> (const <a class="el" href="LETypes_8h.html#903cb689308cdef41500411d096a2c2d">LEUnicode</a> chars[], <a class="el" href="LETypes_8h.html#3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a> count)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Examine the given text and determine if it contains characters in any script which requires complex processing to be rendered correctly.  <a href="#f1135377e5cb8e87f36b1552c338105a"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="utypes_8h.html#22af10545208a455a6e884008df48e9f">UClassID</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classParagraphLayout.html#a2b61f27a4915a526eced0e2b089f182">getStaticClassID</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">ICU "poor man's RTTI", returns a UClassID for this class.  <a href="#a2b61f27a4915a526eced0e2b089f182"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Data Structures</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classParagraphLayout_1_1Line.html">Line</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This class represents a single line of text in a <code><a class="el" href="classParagraphLayout.html">ParagraphLayout</a></code>.  <a href="classParagraphLayout_1_1Line.html#_details">More...</a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">struct &nbsp;</td><td class="memItemRight" valign="bottom"><b>StyleRunInfo</b></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classParagraphLayout_1_1VisualRun.html">VisualRun</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This object represents a single visual run in a line of text in a paragraph.  <a href="classParagraphLayout_1_1VisualRun.html#_details">More...</a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
<a class="el" href="classParagraphLayout.html">ParagraphLayout</a>. 
<p>
The <code><a class="el" href="classParagraphLayout.html">ParagraphLayout</a></code> object will analyze the text into runs of text in the same font, script and direction, and will create a <code><a class="el" href="classLayoutEngine.html">LayoutEngine</a></code> object for each run. The <code><a class="el" href="classLayoutEngine.html">LayoutEngine</a></code> will transform the characters into glyph codes in visual order.<p>
Clients can use this to break a paragraph into lines, and to display the glyphs in each line. 
<p>

<p>
Definition at line <a class="el" href="ParagraphLayout_8h-source.html#l00044">44</a> of file <a class="el" href="ParagraphLayout_8h-source.html">ParagraphLayout.h</a>.<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="7907074382283b025c7bdd04489f902d"></a><!-- doxytag: member="ParagraphLayout::ParagraphLayout" ref="7907074382283b025c7bdd04489f902d" args="(const LEUnicode chars[], le_int32 count, const FontRuns *fontRuns, const ValueRuns *levelRuns, const ValueRuns *scriptRuns, const LocaleRuns *localeRuns, UBiDiLevel paragraphLevel, le_bool vertical, LEErrorCode &amp;status)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ParagraphLayout::ParagraphLayout           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="LETypes_8h.html#903cb689308cdef41500411d096a2c2d">LEUnicode</a>&nbsp;</td>
          <td class="paramname"> <em>chars</em>[], </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="LETypes_8h.html#3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a>&nbsp;</td>
          <td class="paramname"> <em>count</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classFontRuns.html">FontRuns</a> *&nbsp;</td>
          <td class="paramname"> <em>fontRuns</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classValueRuns.html">ValueRuns</a> *&nbsp;</td>
          <td class="paramname"> <em>levelRuns</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classValueRuns.html">ValueRuns</a> *&nbsp;</td>
          <td class="paramname"> <em>scriptRuns</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classLocaleRuns.html">LocaleRuns</a> *&nbsp;</td>
          <td class="paramname"> <em>localeRuns</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="ubidi_8h.html#b2460a19f323ab9787a79a95db91a606">UBiDiLevel</a>&nbsp;</td>
          <td class="paramname"> <em>paragraphLevel</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="LETypes_8h.html#4b77bc254d0e88fdabffde9c03e6728f">le_bool</a>&nbsp;</td>
          <td class="paramname"> <em>vertical</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="LETypes_8h.html#2f75d3bb5abf7f0a71adbf00826e1934">LEErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>status</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Construct a <code><a class="el" href="classParagraphLayout.html">ParagraphLayout</a></code> object for a styled paragraph. 
<p>
The paragraph is specified as runs of text all in the same font. An <code><a class="el" href="classLEFontInstance.html">LEFontInstance</a></code> object and a limit offset are specified for each font run. The limit offset is the offset of the character immediately after the font run.<p>
Clients can optionally specify directional runs and / or script runs. If these aren't specified they will be computed.<p>
If any errors are encountered during construction, <code>status</code> will be set, and the object will be set to be empty.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>chars</em>&nbsp;</td><td>is an array of the characters in the paragraph</td></tr>
    <tr><td valign="top"></td><td valign="top"><em>count</em>&nbsp;</td><td>is the number of characters in the paragraph.</td></tr>
    <tr><td valign="top"></td><td valign="top"><em>fontRuns</em>&nbsp;</td><td>a pointer to a <code><a class="el" href="classFontRuns.html">FontRuns</a></code> object representing the font runs.</td></tr>
    <tr><td valign="top"></td><td valign="top"><em>levelRuns</em>&nbsp;</td><td>is a pointer to a <code><a class="el" href="classValueRuns.html">ValueRuns</a></code> object representing the directional levels. If this pointer in <code>NULL</code> the levels will be determined by running the Unicde Bidi algorithm.</td></tr>
    <tr><td valign="top"></td><td valign="top"><em>scriptRuns</em>&nbsp;</td><td>is a pointer to a <code><a class="el" href="classValueRuns.html">ValueRuns</a></code> object representing script runs. If this pointer in <code>NULL</code> the script runs will be determined using the Unicode code points.</td></tr>
    <tr><td valign="top"></td><td valign="top"><em>localeRuns</em>&nbsp;</td><td>is a pointer to a <code><a class="el" href="classLocaleRuns.html">LocaleRuns</a></code> object representing locale runs. The <code><a class="el" href="classLocale.html">Locale</a></code> objects are used to determind the language of the text. If this pointer is <code>NULL</code> the default locale will be used for all of the text.</td></tr>
    <tr><td valign="top"></td><td valign="top"><em>paragraphLevel</em>&nbsp;</td><td>is the directionality of the paragraph, as in the UBiDi object.</td></tr>
    <tr><td valign="top"></td><td valign="top"><em>vertical</em>&nbsp;</td><td>is <code>TRUE</code> if the paragraph should be set vertically.</td></tr>
    <tr><td valign="top"></td><td valign="top"><em>status</em>&nbsp;</td><td>will be set to any error code encountered during construction.</td></tr>
  </table>
</dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="ubidi_8h.html">ubidi.h</a> <p>
<a class="el" href="LEFontInstance_8h.html">LEFontInstance.h</a> <p>
<a class="el" href="LayoutEngine_8h.html">LayoutEngine.h</a> <p>
<a class="el" href="RunArrays_8h.html">RunArrays.h</a></dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable003454">Stable:</a></b></dt><dd>ICU 2.8 </dd></dl>

</div>
</div><p>
<a class="anchor" name="3ef387e6749a804b0b4343567ad27961"></a><!-- doxytag: member="ParagraphLayout::~ParagraphLayout" ref="3ef387e6749a804b0b4343567ad27961" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ParagraphLayout::~ParagraphLayout           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
The destructor. 
<p>
Virtual so that it works correctly with sublcasses.<p>
<dl compact><dt><b><a class="el" href="stable.html#_stable003455">Stable:</a></b></dt><dd>ICU 3.2 </dd></dl>

</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="f1135377e5cb8e87f36b1552c338105a"></a><!-- doxytag: member="ParagraphLayout::isComplex" ref="f1135377e5cb8e87f36b1552c338105a" args="(const LEUnicode chars[], le_int32 count)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="LETypes_8h.html#4b77bc254d0e88fdabffde9c03e6728f">le_bool</a> ParagraphLayout::isComplex           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="LETypes_8h.html#903cb689308cdef41500411d096a2c2d">LEUnicode</a>&nbsp;</td>
          <td class="paramname"> <em>chars</em>[], </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="LETypes_8h.html#3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a>&nbsp;</td>
          <td class="paramname"> <em>count</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Examine the given text and determine if it contains characters in any script which requires complex processing to be rendered correctly. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>chars</em>&nbsp;</td><td>is an array of the characters in the paragraph</td></tr>
    <tr><td valign="top"></td><td valign="top"><em>count</em>&nbsp;</td><td>is the number of characters in the paragraph.</td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd><code>TRUE</code> if any of the text requires complex processing.</dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable003456">Stable:</a></b></dt><dd>ICU 3.2 </dd></dl>

</div>
</div><p>
<a class="anchor" name="90f17221c71a4bbb893dc43bf44b8352"></a><!-- doxytag: member="ParagraphLayout::getParagraphLevel" ref="90f17221c71a4bbb893dc43bf44b8352" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="ubidi_8h.html#b2460a19f323ab9787a79a95db91a606">UBiDiLevel</a> ParagraphLayout::getParagraphLevel           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return the resolved paragraph level. 
<p>
This is useful for those cases where the bidi analysis has determined the level based on the first strong character in the paragraph.<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the resolved paragraph level.</dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable003457">Stable:</a></b></dt><dd>ICU 3.2 </dd></dl>

<p>
Definition at line <a class="el" href="ParagraphLayout_8h-source.html#l00628">628</a> of file <a class="el" href="ParagraphLayout_8h-source.html">ParagraphLayout.h</a>.
<p>
References <a class="el" href="ubidi_8h.html#6724e673e9ff8f0ee47bd24e47ceb95a">ubidi_getParaLevel()</a>.
</div>
</div><p>
<a class="anchor" name="2a90412e5a4c2465d5068920579137fc"></a><!-- doxytag: member="ParagraphLayout::getTextDirection" ref="2a90412e5a4c2465d5068920579137fc" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="ubidi_8h.html#68a6b5fdcbf80aaa51b5bd39f7f31102">UBiDiDirection</a> ParagraphLayout::getTextDirection           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return the directionality of the text in the paragraph. 
<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd><code>UBIDI_LTR</code> if the text is all left to right, <code>UBIDI_RTL</code> if the text is all right to left, or <code>UBIDI_MIXED</code> if the text has mixed direction.</dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable003458">Stable:</a></b></dt><dd>ICU 3.2 </dd></dl>

<p>
Definition at line <a class="el" href="ParagraphLayout_8h-source.html#l00633">633</a> of file <a class="el" href="ParagraphLayout_8h-source.html">ParagraphLayout.h</a>.
<p>
References <a class="el" href="ubidi_8h.html#f31ec52194764c663c224f5171e95ea3">ubidi_getDirection()</a>.
</div>
</div><p>
<a class="anchor" name="98e69f09c070722129c3c9c1c516644a"></a><!-- doxytag: member="ParagraphLayout::getAscent" ref="98e69f09c070722129c3c9c1c516644a" args="() const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="LETypes_8h.html#3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a> ParagraphLayout::getAscent           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return the max ascent value for all the fonts in the paragraph. 
<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the ascent value.</dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable003459">Stable:</a></b></dt><dd>ICU 3.2 </dd></dl>

</div>
</div><p>
<a class="anchor" name="8fdf1cefdb97ad3f3fd3d391f1f4c49c"></a><!-- doxytag: member="ParagraphLayout::getDescent" ref="8fdf1cefdb97ad3f3fd3d391f1f4c49c" args="() const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="LETypes_8h.html#3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a> ParagraphLayout::getDescent           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return the max descent value for all the fonts in the paragraph. 
<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the decent value.</dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable003460">Stable:</a></b></dt><dd>ICU 3.2 </dd></dl>

</div>
</div><p>
<a class="anchor" name="86682c5e376fb7c1ec0bbfea63372eba"></a><!-- doxytag: member="ParagraphLayout::getLeading" ref="86682c5e376fb7c1ec0bbfea63372eba" args="() const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="LETypes_8h.html#3ae79f31399d76e3055d2a2745bd0d9a">le_int32</a> ParagraphLayout::getLeading           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return the max leading value for all the fonts in the paragraph. 
<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the leading value.</dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable003461">Stable:</a></b></dt><dd>ICU 3.2 </dd></dl>

</div>
</div><p>
<a class="anchor" name="437d556bb78f8f31a3167cdebed34697"></a><!-- doxytag: member="ParagraphLayout::reflow" ref="437d556bb78f8f31a3167cdebed34697" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ParagraphLayout::reflow           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Reset line breaking to start from the beginning of the paragraph. 
<p>
<dl compact><dt><b><a class="el" href="stable.html#_stable003462">Stable:</a></b></dt><dd>ICU 3.2 </dd></dl>

<p>
Definition at line <a class="el" href="ParagraphLayout_8h-source.html#l00638">638</a> of file <a class="el" href="ParagraphLayout_8h-source.html">ParagraphLayout.h</a>.
</div>
</div><p>
<a class="anchor" name="232b40ef6d0a565c026bec85890d7b50"></a><!-- doxytag: member="ParagraphLayout::nextLine" ref="232b40ef6d0a565c026bec85890d7b50" args="(float width)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classParagraphLayout_1_1Line.html">Line</a>* ParagraphLayout::nextLine           </td>
          <td>(</td>
          <td class="paramtype">float&nbsp;</td>
          <td class="paramname"> <em>width</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return a <code><a class="el" href="classParagraphLayout_1_1Line.html">ParagraphLayout::Line</a></code> object which represents next line in the paragraph. 
<p>
The width of the line is specified each time so that it can be varied to support arbitrary paragraph shapes.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>width</em>&nbsp;</td><td>is the width of the line. If <code>width</code> is less than or equal to zero, a <code><a class="el" href="classParagraphLayout_1_1Line.html">ParagraphLayout::Line</a></code> object representing the rest of the paragraph will be returned.</td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>a <code><a class="el" href="classParagraphLayout_1_1Line.html">ParagraphLayout::Line</a></code> object which represents the line. The caller is responsible for deleting the object. Returns <code>NULL</code> if there are no more lines in the paragraph.</dd></dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classParagraphLayout_1_1Line.html">ParagraphLayout::Line</a></dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable003463">Stable:</a></b></dt><dd>ICU 3.2 </dd></dl>

</div>
</div><p>
<a class="anchor" name="a2b61f27a4915a526eced0e2b089f182"></a><!-- doxytag: member="ParagraphLayout::getStaticClassID" ref="a2b61f27a4915a526eced0e2b089f182" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="utypes_8h.html#22af10545208a455a6e884008df48e9f">UClassID</a> ParagraphLayout::getStaticClassID           </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [inline, static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
ICU "poor man's RTTI", returns a UClassID for this class. 
<p>
<dl compact><dt><b><a class="el" href="stable.html#_stable003464">Stable:</a></b></dt><dd>ICU 3.2 </dd></dl>

<p>
Definition at line <a class="el" href="ParagraphLayout_8h-source.html#l00526">526</a> of file <a class="el" href="ParagraphLayout_8h-source.html">ParagraphLayout.h</a>.
</div>
</div><p>
<a class="anchor" name="aba7228f6c81e2bbcaebf11dd4cb6668"></a><!-- doxytag: member="ParagraphLayout::getDynamicClassID" ref="aba7228f6c81e2bbcaebf11dd4cb6668" args="() const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="utypes_8h.html#22af10545208a455a6e884008df48e9f">UClassID</a> ParagraphLayout::getDynamicClassID           </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
ICU "poor man's RTTI", returns a UClassID for the actual class. 
<p>
<dl compact><dt><b><a class="el" href="stable.html#_stable003465">Stable:</a></b></dt><dd>ICU 3.2 </dd></dl>

<p>
Implements <a class="el" href="classUObject.html#ce1dd31fb2c6f2c07dfebe8fd240ec37">UObject</a>.
<p>
Definition at line <a class="el" href="ParagraphLayout_8h-source.html#l00533">533</a> of file <a class="el" href="ParagraphLayout_8h-source.html">ParagraphLayout.h</a>.
</div>
</div><p>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="ParagraphLayout_8h-source.html">ParagraphLayout.h</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Fri Sep 14 12:59:43 2007 for ICU 3.8 by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address>
</body>
</html>