0
XWPF 워드 문서에서 책갈피를 읽고 편집/대체하는 데 사용되는 예제가 많이 있습니다. 하지만 문서를 만들고 새 북마크를 만들고 싶습니다. 문서를 작성하지 - 문제 :java poi XWPF 단어 - 새 문서에 북마크 만들기
private void createWordDoc() throws IOException {
XWPFDocument document = new XWPFDocument();
File tempDocFile = new File(pathName+"\\temp.docx");
FileOutputStream out = new FileOutputStream(tempDocFile);
XWPFParagraph paragraph = document.createParagraph();
XWPFRun run = paragraph.createRun();
run.setText("testing string ");
document.write(out);
out.close();
}
가 어떻게 텍스트 "테스트 문자열"에 책갈피를 만들 수 를?