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.
 
methods inherited from interface com.spire.doc.interfaces.idocumentobject
deepclone, getdocument, getdocumentobjecttype, getnextsibling, getowner, getprevioussibling, iscomposite
 
method detail

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 pattern
replace - 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 true
wholeword - 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


网站地图