iText 학습노트 3RTF를 사용하여 doc 파일 만들기
700 단어 itext
// step 1 Document
Document document = new Document();
// step 2 RtfWriter
RtfWriter.getInstance(document, new FileOutputStream(filename));
// step 3 Document
document.open();
// step 4 Document
document.add(new Paragraph("Hello World!"));
// step 5 Document
document.close();
2. 모든 PDF 특성이 RTF에서 지원되는 것은 아니므로 수정 없이 PDF를 RTF로 변환하면 형식에 문제가 발생할 수 있습니다.지원되지 않는 특성은 다음과 같습니다.
워터마크
리더 매개변수
암호화하다
포함된 글꼴
블록 간격
단락 오른쪽 축소판
목록 오른쪽 축소판
점 기호 목록 없음
내포된 테이블
JPEG 및 PNG 이외의 이미지