From fdf9774ef847f631d07cfe099e3940467ddbe10c Mon Sep 17 00:00:00 2001 From: leebeomjun Date: Thu, 25 Apr 2024 13:53:19 +0900 Subject: [PATCH] no message --- src/main/java/cokr/xit/fims/cmmn/hwp/format/HWPFormat.java | 2 +- .../java/cokr/xit/fims/cmmn/pdf/print/format/Advntce.java | 1 - src/main/java/cokr/xit/fims/cmmn/pdf/print/format/Nht.java | 1 - .../cokr/xit/fims/cmmn/pdf/print/format/PDFPrintFormat.java | 5 ++--- 4 files changed, 3 insertions(+), 6 deletions(-) diff --git a/src/main/java/cokr/xit/fims/cmmn/hwp/format/HWPFormat.java b/src/main/java/cokr/xit/fims/cmmn/hwp/format/HWPFormat.java index f3a70cf8..1019a1ad 100644 --- a/src/main/java/cokr/xit/fims/cmmn/hwp/format/HWPFormat.java +++ b/src/main/java/cokr/xit/fims/cmmn/hwp/format/HWPFormat.java @@ -17,8 +17,8 @@ import kr.dogfoot.hwplib.reader.HWPReader; public abstract class HWPFormat { protected HWPWriter writer; - protected PrintOption printOption; protected Print print; + protected PrintOption printOption; protected List data; protected String formatFilePath; diff --git a/src/main/java/cokr/xit/fims/cmmn/pdf/print/format/Advntce.java b/src/main/java/cokr/xit/fims/cmmn/pdf/print/format/Advntce.java index 39c1e9b4..9fbd7670 100644 --- a/src/main/java/cokr/xit/fims/cmmn/pdf/print/format/Advntce.java +++ b/src/main/java/cokr/xit/fims/cmmn/pdf/print/format/Advntce.java @@ -88,7 +88,6 @@ public class Advntce extends PDFPrintFormat { DataObject otptBscStng, List otptArtclStngList, String paperSeCd, List data){ super(print,printOption,otptBscStng,otptArtclStngList,paperSeCd, data); this.print.setFormatKorName("사전통지서"); - this.sndngSeCd = "02"; } /** diff --git a/src/main/java/cokr/xit/fims/cmmn/pdf/print/format/Nht.java b/src/main/java/cokr/xit/fims/cmmn/pdf/print/format/Nht.java index d2b2bc64..bf9791de 100644 --- a/src/main/java/cokr/xit/fims/cmmn/pdf/print/format/Nht.java +++ b/src/main/java/cokr/xit/fims/cmmn/pdf/print/format/Nht.java @@ -98,7 +98,6 @@ public class Nht extends PDFPrintFormat { DataObject otptBscStng, List otptArtclStngList, String paperSeCd, List data) { super(print,printOption,otptBscStng,otptArtclStngList,paperSeCd, data); this.print.setFormatKorName("고지서"); - this.sndngSeCd = "03"; } diff --git a/src/main/java/cokr/xit/fims/cmmn/pdf/print/format/PDFPrintFormat.java b/src/main/java/cokr/xit/fims/cmmn/pdf/print/format/PDFPrintFormat.java index 8d3c39c1..34beecaa 100644 --- a/src/main/java/cokr/xit/fims/cmmn/pdf/print/format/PDFPrintFormat.java +++ b/src/main/java/cokr/xit/fims/cmmn/pdf/print/format/PDFPrintFormat.java @@ -32,7 +32,7 @@ import cokr.xit.fims.sprt.MediaUtil; import cokr.xit.foundation.data.DataObject; public abstract class PDFPrintFormat { - protected String sndngSeCd; + protected PDFWriter writer; protected Print print; protected PrintOption printOption; @@ -230,13 +230,12 @@ public abstract class PDFPrintFormat { public Map makeFile() { Map result = new HashMap<>(); - PDFWriter writer = new PDFWriter(); + writer = new PDFWriter(); //폰트 로드 Map fontMap = this.getFontMap(writer); //용지 크기 설정 - //PDRectangle paper = null; if(this.paperSeCd.equals("01")) { writer.paper("A4"); } else {