단일 대 다중

한 줄 필드를 여러 줄로 변환

  1. 소스 PDF를 FormEditor 파사드에 바인딩하세요.
  2. 대상 필드 이름을 인수로 전달하여 single2Multiple(...)를 호출하세요.
  3. 업데이트된 문서를 저장하세요.
public static void singleToMultiple(Path inputFile, Path outputFile) {
    FormEditor editor = new FormEditor();
    try {
        editor.bindPdf(inputFile.toString());
        editor.single2Multiple("City");
        editor.save(outputFile.toString());
    } finally {
        editor.close();
    }
}