ibodyregion-ag凯发旗舰厅
com.spire.doc.documents
interface ibodyregion
- all superinterfaces:
- idocumentobject
- all known subinterfaces:
- iparagraph
- all known implementing classes:
- bodyregion, paragraph, structuredocumenttag, table
public interface ibodyregion
- extends idocumentobject
interface publishes text range interface
method summary |
int |
replace(java.util.regex.pattern pattern,
java.lang.string replace)
replaces all entries of matchstring regular expression with newvalue string. |
int |
replace(java.util.regex.pattern pattern,
textselection textselection)
replaces by specified pattern. |
int |
replace(java.lang.string given,
java.lang.string replace,
boolean casesensitive,
boolean wholeword)
replaces by specified matchstring string. |
replace
int replace(java.util.regex.pattern pattern,
java.lang.string replace)
- replaces all entries of matchstring regular expression with newvalue string.
- parameters:
pattern
- the patternreplace
- replace string
- returns:
- int
replace
int replace(java.lang.string given,
java.lang.string replace,
boolean casesensitive,
boolean wholeword)
- replaces by specified matchstring string.
- parameters:
given
- the matchstring.replace
- the newvalue.casesensitive
- if it specifies case sensitive, set to truewholeword
- if it specifies to search a whole word,set to true
- returns:
- int
replace
int replace(java.util.regex.pattern pattern,
textselection textselection)
- replaces by specified pattern.
- parameters:
pattern
- the pattern.textselection
- the text selection.
- returns:
- int