ReplaceTextStrategy
Overview
ReplaceTextStrategy is a class in Aspose.Pdf FOSS for Java.
Controls how {@link PdfContentEditor#replaceText(String, String)} performs replacements.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
regularExpressionUsed | boolean | Read | Returns whether regular-expression matching is enabled. |
replaceScope | Scope | Read | Returns the replacement scope. |
Methods
| Signature | Description |
|---|---|
isRegularExpressionUsed() → boolean | Returns whether regular-expression matching is enabled. |
setRegularExpressionUsed(regularExpressionUsed: boolean) | Enables or disables regular-expression matching. |
getReplaceScope() → Scope | Returns the replacement scope. |
setReplaceScope(replaceScope: Scope) | Sets the replacement scope. |