열린 작업 제거
Contents
[
Hide
]
문서 열기 작업 제거
- 소스 PDF를
PdfContentEditor파사드에 바인딩하세요. removeDocumentOpenAction()를 호출하세요.- 업데이트된 PDF 문서를 저장하세요.
public static void removeOpenAction(Path inputFile, Path outputFile) {
PdfContentEditor editor = new PdfContentEditor();
try {
editor.bindPdf(inputFile.toString());
editor.removeDocumentOpenAction();
editor.save(outputFile.toString());
} finally {
editor.close();
}
}