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 {