Lines Matching refs:paragraph

94  * <h3>Basic concept: paragraph</h3>
134 * a default for the paragraph level for
185 * <h5>Rendering a paragraph with the ICU Bidi API</h5>
188 * could be used to render a paragraph of text. Rendering code depends highly on
476 * then set the paragraph level to 0 (left-to-right).<p>
502 * then set the paragraph level to 1 (right-to-left).<p>
793 * reference to parent paragraph object (reference to self if this object is
794 * a paragraph object); set to null in a newly opened object; set to a
833 /* the paragraph level */
844 /* the overall paragraph or line directionality*/
857 /* fields for paragraph handling */
863 /* for single paragraph text, we only need a tiny array of paras (no allocation) */
943 /* paragraph and segment separators */
1213 int paraStart = 0; /* index of first char in paragraph */
1228 /* count paragraphs and determine the paragraph level (P2..P3) */
1348 * entire paragraph at once instead of having to parse it once more and
1354 * On one hand, the paragraph has to be scanned for same-level-runs, but
1399 /* set all levels to the paragraph level */
1754 /* ON following an R sequence within an even-level paragraph. */
1758 /* to paragraph level in adjustWSLevels(). */
1761 private static final byte impTabL_DEFAULT[][] = /* Even paragraph level */
1775 private static final byte impTabR_DEFAULT[][] = /* Odd paragraph level */
1794 private static final byte impTabL_NUMBERS_SPECIAL[][] = { /* Even paragraph level */
1863 private static final byte impTabR_INVERSE_LIKE_DIRECT[][] = { /* Odd paragraph level */
2242 * from the paragraph in (X9).
2251 /* reset a sequence of WS/BN before eop and B/S to the paragraph paraLevel */
2306 * separator in the text terminates a paragraph, and whatever comes next starts
2307 * a new paragraph. The exception to this rule is when a Carriage Return (CR)
2310 * preceding paragraph, and a new paragraph will be started by a character
2323 * If the method shall determine the paragraph level from the text,
2327 * paragraphs, the paragraph level shall be determined separately for
2328 * each paragraph; if a paragraph does not include any strongly typed
2341 * paragraph separator even if <code>paraLevel&gt;0</code> when multiple
2391 * separator in the text terminates a paragraph, and whatever comes next starts
2392 * a new paragraph. The exception to this rule is when a Carriage Return (CR)
2395 * preceding paragraph, and a new paragraph will be started by a character
2407 * If the method shall determine the paragraph level from the text,
2411 * paragraphs, the paragraph level shall be determined separately for
2412 * each paragraph; if a paragraph does not include any strongly typed
2425 * paragraph separator even if <code>paraLevel&gt;0</code> when multiple
2485 * For an empty paragraph, create a Bidi object with the paraLevel and
2512 * determine the paragraph level if necessary.
2527 /* initialize paras for single paragraph */
2546 * the paragraph text has mixed directionality!
2569 * then we can treat the entire paragraph as one run.
2604 /* except if this is a new paragraph, then set sor = para level */
2651 * Perform the Unicode Bidi algorithm on a given paragraph, as defined in the
2656 * This method takes a paragraph of text and computes the
2665 * in the paragraph.<p>
2675 * attribute, if present, must be applied to all the text in the paragraph.
2686 * @param paragraph a paragraph of text with optional character and
2687 * paragraph attribute information
2690 public void setPara(AttributedCharacterIterator paragraph)
2693 char ch = paragraph.first();
2695 (Boolean) paragraph.getAttribute(TextAttributeConstants.RUN_DIRECTION);
2696 Object shaper = paragraph.getAttribute(TextAttributeConstants.NUMERIC_SHAPING);
2705 int len = paragraph.getEndIndex() - paragraph.getBeginIndex();
2712 (Integer) paragraph.getAttribute(TextAttributeConstants.BIDI_EMBEDDING);
2725 ch = paragraph.next();
2740 * means that all paragraph separators (including one possibly appearing
2743 * When this feature is not enabled, a paragraph separator at the last
2745 * of the reordered text when the paragraph level is odd.
2747 * @param ordarParaLTR specifies whether paragraph separators (B) must
2798 * Get the paragraph level of the text.
2800 * @return The paragraph level. If there are multiple paragraphs, their
2802 * LEVEL_DEFAULT_RTL. In that case, the level of the first paragraph
2821 * Get the index of a paragraph, given a position within the text.<p>
2826 * @return The index of the paragraph containing the specified position,
2859 * It is not necessary if each paragraph is treated as a single line.<p>
2881 * or if the specified line crosses a paragraph boundary
2966 * <code>Bidi</code> (paragraph or line) object.
3057 * @param text an array containing the paragraph of text to process.
3059 * paragraph.
3061 * in the paragraph. This can be null, in which case it is assumed
3064 * paragraph.
3065 * @param paragraphLength the length of the paragraph in the text and