Java org.apache.poi.hwpf.usermodel Range fields, constructors, methods, implement or subclass

Example usage for Java org.apache.poi.hwpf.usermodel Range fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.poi.hwpf.usermodel Range.

The text is from its open source code.

Constructor

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.

Method

ParagraphgetParagraph(int index)
Gets the paragraph at index.
SectiongetSection(int index)
Gets the section at index.
TablegetTable(Paragraph paragraph)
Gets the table that starts with paragraph.
CharacterRuninsertAfter(String text)
Inserts text onto the end of this range
CharacterRuninsertBefore(String text)
Inserts text into the front of this range.
intnumParagraphs()
Used to get the number of paragraphs in a range.
intnumSections()
Used to get the number of sections in a range.
voidreplaceText(String newText, boolean addAfter)
Replace range text with new one, adding it to the range and deleting original text from document
voidreplaceText(String pPlaceHolder, String pValue)
Replace (all instances of) a piece of text with another...
Stringtext()
Gets the text that this Range contains.