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.
 
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 - Pattern
replace - Replace text
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