当前的 Java PdfContentEditorExamples 类直接支持:
PdfContentEditorExamples
replaceTextSimple(...)
replaceTextWithState(...)