Searched refs:paragraph (Results 1 - 9 of 9) sorted by relevance
/openjdk7/jdk/src/share/classes/java/text/ |
H A D | Bidi.java | 88 * Create Bidi from the given paragraph of text and base direction. 89 * @param paragraph a paragraph of text 95 public Bidi(String paragraph, int flags) { argument 96 if (paragraph == null) { 97 throw new IllegalArgumentException("paragraph is null"); 100 bidiBase = new BidiBase(paragraph.toCharArray(), 0, null, 0, paragraph.length(), flags); 104 * Create Bidi from the given paragraph of text. 110 * present, must be applied to all the text in the paragraph 128 Bidi(AttributedCharacterIterator paragraph) argument [all...] |
/openjdk7/jdk/test/java/text/Bidi/ |
H A D | BidiConformance.java | 111 String paragraph; 116 paragraph = data4Constructor1[textNo][0]; 117 int start = paragraph.indexOf('<')+1; 118 int limit = paragraph.indexOf('>'); 123 toReadableString(paragraph) + "\") " + 129 AttributedString astr = new AttributedString(paragraph); 140 astr = new AttributedString(paragraph); 152 astr = new AttributedString(paragraph); 164 astr = new AttributedString(paragraph); 176 astr = new AttributedString(paragraph); [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/ |
H A D | JTextPane.java | 48 * paragraph may have a logical style attached to it which contains 50 * on the paragraph or character run. Components and images may 307 * Sets the logical style to use for the paragraph at the 309 * for character and paragraph attributes they will resolve 310 * through the logical style assigned to the paragraph, which 314 * @param s the logical style to assign to the paragraph, 323 * Fetches the logical style assigned to the paragraph represented 375 * Fetches the current paragraph attributes in effect 382 Element paragraph = doc.getParagraphElement(getCaretPosition()); 383 if (paragraph ! [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/text/ |
H A D | DefaultStyledDocument.java | 51 * A document that can be marked up with character and paragraph 54 * style runs. These style runs are mapped into a paragraph element 56 * style runs break at paragraph boundaries since logical styles are 57 * assigned to paragraph boundaries. 420 * Sets the logical style to use for the paragraph at the 422 * for character and paragraph attributes they will resolve 423 * through the logical style assigned to the paragraph, which 433 * @param s the logical style to assign to the paragraph, null if none 436 Element paragraph = getParagraphElement(pos); 437 if ((paragraph ! 811 createSpecsForInsertAfterNewline(Element paragraph, Element pParagraph, AttributeSet pattr, Vector<ElementSpec> parseBuffer, int offset, int endOffset) argument [all...] |
H A D | Utilities.java | 841 * Determines the element to use for a paragraph/line. 854 Element paragraph = map.getElement(index); 855 if ((offs >= paragraph.getStartOffset()) && (offs < paragraph.getEndOffset())) { 856 return paragraph;
|
H A D | AbstractDocument.java | 933 * Get the paragraph element containing the given position. Sub-classes 934 * must define for themselves what exactly constitutes a paragraph. They 935 * should keep in mind however that a paragraph should at least be the 1021 * exactly one paragraph. This method also assumes that it is called 1037 Element paragraph = getParagraphElement( chng.getOffset() ); 1038 firstPStart = paragraph.getStartOffset(); 1039 lastPEnd = paragraph.getEndOffset(); 1185 // For each paragraph in the given range of paragraphs, get its 1192 // default run direction for the paragraph. This will be 1201 //System.out.println("updateBidi: paragraph star [all...] |
/openjdk7/jdk/src/share/classes/sun/text/bidi/ |
H A D | BidiBase.java | 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 o 2690 setPara(AttributedCharacterIterator paragraph) argument [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/text/html/ |
H A D | HTMLDocument.java | 134 * paragraph element.</p> 154 * paragraph, and <code>d.insertBeforeEnd(e, "<ul><li>List 156 * paragraph. The <code>DIV</code> block becomes the parent of the 473 * Sets attributes for a paragraph. 480 * @param offset the offset into the paragraph (must be at least 0) 489 // Make sure we send out a change for the length of the paragraph. 501 Element paragraph = getParagraphElement(pos); 502 if (lastEnd == paragraph.getEndOffset()) { 506 lastEnd = paragraph.getEndOffset(); 509 (MutableAttributeSet) paragraph [all...] |
H A D | HTMLEditorKit.java | 1149 // paragraph 1380 /** The paragraph left indent action identifier 1383 /** The paragraph right indent action identifier 1824 * the parent HTML.Tag based on the paragraph element at the selection 1843 Element paragraph = doc.getParagraphElement(offset); 1844 if (paragraph.getParentElement() != null) { 1845 parentTag = (HTML.Tag)paragraph.getParentElement().
|
Completed in 1147 milliseconds