ReplaceTextStrategy
Overview
ReplaceTextStrategy Java için Aspose.PDF FOSS sınıfıdır.
{@link PdfContentEditor#replaceText(String, String)} nasıl değiştirileceğini kontrol eder.
Bu sınıf, Java programlarında ReplaceTextStrategy nesnelerle çalışmak için 4 yöntem sunar. Mevcut yöntemler şunları içerir: getReplaceScope, isRegularExpressionUsed, setRegularExpressionUsed, setReplaceScope. Tüm kamu üyeleri, Java paket için Aspose.PDF FOSS’u yükledikten sonra herhangi bir Java uygulamasına erişilebilir. Mülkiyet : regularExpressionUsed, replaceScope.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
regularExpressionUsed | boolean | Read | Düzenli ifade eşleştirme etkin olup olmadığını geri getirir. |
replaceScope | Scope | Read | Değiştirme alanını geri getirir. |
Methods
| Signature | Description |
|---|---|
isRegularExpressionUsed() → boolean | Düzenli ifade eşleştirme etkin olup olmadığını geri getirir. |
setRegularExpressionUsed(regularExpressionUsed: boolean) | Düzenli ifade eşleşmesini sağlar veya engeller. |
getReplaceScope() → Scope | Değiştirme alanını geri getirir. |
setReplaceScope(replaceScope: Scope) | Değiştirme alanını belirleyin. |