Example usage for Java org.apache.poi.hwpf.usermodel Range fields, constructors, methods, implement or subclass
The text is from its open source code.
Range(int start, int end, HWPFDocumentCore doc) Used to construct a Range from a document. | |
Range(int start, int end, Range parent) Used to create Ranges that are children of other Ranges. |
Paragraph | getParagraph(int index) Gets the paragraph at index. |
Section | getSection(int index) Gets the section at index. |
Table | getTable(Paragraph paragraph) Gets the table that starts with paragraph. |
CharacterRun | insertAfter(String text) Inserts text onto the end of this range |
CharacterRun | insertBefore(String text) Inserts text into the front of this range. |
int | numParagraphs() Used to get the number of paragraphs in a range. |
int | numSections() Used to get the number of sections in a range. |
void | replaceText(String newText, boolean addAfter) Replace range text with new one, adding it to the range and deleting original text from document |
void | replaceText(String pPlaceHolder, String pValue) Replace (all instances of) a piece of text with another... |
String | text() Gets the text that this Range contains. |