|
|
@ -32,7 +32,7 @@ import cokr.xit.fims.sprt.MediaUtil;
|
|
|
|
import cokr.xit.foundation.data.DataObject;
|
|
|
|
import cokr.xit.foundation.data.DataObject;
|
|
|
|
|
|
|
|
|
|
|
|
public abstract class PDFPrintFormat {
|
|
|
|
public abstract class PDFPrintFormat {
|
|
|
|
protected String sndngSeCd;
|
|
|
|
protected PDFWriter writer;
|
|
|
|
|
|
|
|
|
|
|
|
protected Print print;
|
|
|
|
protected Print print;
|
|
|
|
protected PrintOption printOption;
|
|
|
|
protected PrintOption printOption;
|
|
|
@ -230,13 +230,12 @@ public abstract class PDFPrintFormat {
|
|
|
|
public Map<String, Object> makeFile() {
|
|
|
|
public Map<String, Object> makeFile() {
|
|
|
|
Map<String, Object> result = new HashMap<>();
|
|
|
|
Map<String, Object> result = new HashMap<>();
|
|
|
|
|
|
|
|
|
|
|
|
PDFWriter writer = new PDFWriter();
|
|
|
|
writer = new PDFWriter();
|
|
|
|
|
|
|
|
|
|
|
|
//폰트 로드
|
|
|
|
//폰트 로드
|
|
|
|
Map<String, PDType0Font> fontMap = this.getFontMap(writer);
|
|
|
|
Map<String, PDType0Font> fontMap = this.getFontMap(writer);
|
|
|
|
|
|
|
|
|
|
|
|
//용지 크기 설정
|
|
|
|
//용지 크기 설정
|
|
|
|
//PDRectangle paper = null;
|
|
|
|
|
|
|
|
if(this.paperSeCd.equals("01")) {
|
|
|
|
if(this.paperSeCd.equals("01")) {
|
|
|
|
writer.paper("A4");
|
|
|
|
writer.paper("A4");
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|