|
|
|
@ -49,9 +49,9 @@ public class SvbtcList extends HWPFormat {
|
|
|
|
if (info == null) return;
|
|
|
|
if (info == null) return;
|
|
|
|
|
|
|
|
|
|
|
|
String offcsFilePath = EgovStringUtil.null2void(info.string("OFFCS_FILE_PATH"));
|
|
|
|
String offcsFilePath = EgovStringUtil.null2void(info.string("OFFCS_FILE_PATH"));
|
|
|
|
if(!offcsFilePath.isEmpty()) {
|
|
|
|
if(!offcsFilePath.isEmpty()) {
|
|
|
|
File offcsFile = new File(offcsFilePath);
|
|
|
|
File offcsFile = new File(offcsFilePath);
|
|
|
|
if(!offcsFile.exists()) {
|
|
|
|
if(!offcsFile.exists()) {
|
|
|
|
throw new HttpStatusCodeException(500, "HWP파일 생성 중 오류가 발생하였습니다.\n직인 파일을 찾을 수 없습니다.");
|
|
|
|
throw new HttpStatusCodeException(500, "HWP파일 생성 중 오류가 발생하였습니다.\n직인 파일을 찾을 수 없습니다.");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
BiConsumer<Paragraph, Rectangle> bc = writer.image().add(offcsFilePath);
|
|
|
|
BiConsumer<Paragraph, Rectangle> bc = writer.image().add(offcsFilePath);
|
|
|
|
|