Home | History | Annotate | Download | only in text

Lines Matching defs:paragraph

41      * character, then set the paragraph level to 0 (left-to-right).
47 * character, then set the paragraph level to 1 (right-to-left).
90 * AttributedCharacterIterator} of a paragraph text. The RUN_DIRECTION
104 * @param paragraph
105 * the String containing the paragraph text to perform the
107 * @throws IllegalArgumentException if {@code paragraph == null}
112 public Bidi(AttributedCharacterIterator paragraph) {
113 if (paragraph == null) {
114 throw new IllegalArgumentException("paragraph is null");
117 int begin = paragraph.getBeginIndex();
118 int end = paragraph.getEndIndex();
123 text[0] = paragraph.first();
125 paragraph.first();
130 Object direction = paragraph.getAttribute(TextAttribute.RUN_DIRECTION);
141 for (int textLimit = 1, i = 1; i < length; textLimit = paragraph
144 Object embedding = paragraph.getAttribute(TextAttribute.BIDI_EMBEDDING);
153 text[i] = paragraph.next();
158 text[i] = paragraph.next();
164 Object numericShaper = paragraph.getAttribute(TextAttribute.NUMERIC_SHAPING);
182 * the char array of the paragraph text that is processed.
184 * the index in {@code text} of the start of the paragraph.
186 * the embedding level array of the paragraph text, specifying
193 * the index in {@code embeddings} of the start of the paragraph.
231 throw new IllegalArgumentException("Negative paragraph length " + paragraphLength);
246 * @param paragraph
247 * the string containing the paragraph text to perform the
259 public Bidi(String paragraph, int flags) {
260 this((paragraph == null ? null : paragraph.toCharArray()), 0, null, 0,
261 (paragraph == null ? 0 : paragraph.length()), flags);
382 * than the length of this object's paragraph text.
589 * object's paragraph text.