안녕하세요.
SetTextFile API를 활용해보실 수 있을 것 같습니다.
String data = "<html> .... </html>; hwp.SetTextFile(data, "HTML", "insertfile");
참고 게시글
감사합니다.