ReplaceTextStrategy
Overview
ReplaceTextStrategy เป็นคลาสใน Aspose.PDF FOSS สําหรับ Java.
การควบคุมวิธีการ {@link PdfContentEditor#replaceText(String, String) } ทําการเปลี่ยน.
หมวดนี้ให้ 4 วิธีในการทํางานกับวัตถุ ReplaceTextStrategy ในโปรแกรม Java. วิธีการที่ใช้ได้แก่: getReplaceScope, isRegularExpressionUsed, setRegularExpressionUsed, setReplaceScope. สมาชิกสาธารณะทุกคนสามารถเข้าถึงการใช้งาน Java ใดก็ได้หลังจากติดตั้งแพ็คเกจ FOSS for Java. คุณสมบัติ: regularExpressionUsed, replaceScope.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
regularExpressionUsed | boolean | Read | กลับข้อมูลที่เปิดให้การจับตัวแสดงผลเป็นปกติได้หรือไม่. |
replaceScope | Scope | Read | กลับสเปคสํารอง. |
Methods
| Signature | Description |
|---|---|
isRegularExpressionUsed() → boolean | กลับข้อมูลที่เปิดให้การจับตัวแสดงผลเป็นปกติได้หรือไม่. |
setRegularExpressionUsed(regularExpressionUsed: boolean) | เปิดหรือปิดการตรงกับคําแสดงออกปกติ. |
getReplaceScope() → Scope | กลับสเปคสํารอง. |
setReplaceScope(replaceScope: Scope) | ตั้งวงจรสํารอง. |