기업회원 첨부파일 PDF 사이즈 변경
This commit is contained in:
parent
c71a33ca2a
commit
3133900a3c
@ -110,7 +110,7 @@ public final class PdfUtil {
|
|||||||
File imgFiles = new File(imgDir + "." +extsn);
|
File imgFiles = new File(imgDir + "." +extsn);
|
||||||
Image img = ImageIO.read(imgFiles);
|
Image img = ImageIO.read(imgFiles);
|
||||||
|
|
||||||
PDPage page = new PDPage(PDRectangle.A4);
|
PDPage page = new PDPage(PDRectangle.A2);
|
||||||
doc.addPage(page);
|
doc.addPage(page);
|
||||||
|
|
||||||
PDImageXObject pdImage = PDImageXObject.createFromFile(imgFiles.toString(), doc);
|
PDImageXObject pdImage = PDImageXObject.createFromFile(imgFiles.toString(), doc);
|
||||||
|
|||||||
@ -30,7 +30,7 @@ function pdfViewPop(atchFileId,mberNm,bizNo,ceoNm,hstManagerNm,hstMbtlNum) {
|
|||||||
document.pdfForm.hstManagerNm.value = hstManagerNm;
|
document.pdfForm.hstManagerNm.value = hstManagerNm;
|
||||||
document.pdfForm.hstMbtlNum.value = hstMbtlNum;
|
document.pdfForm.hstMbtlNum.value = hstMbtlNum;
|
||||||
document.pdfForm.fileSn.value = 0;
|
document.pdfForm.fileSn.value = 0;
|
||||||
window.open("about:blank", 'taxListPopup', 'width=1020, height=800, top=100, left=0, fullscreen=no, menubar=no, status=no, toolbar=no, titlebar=no, location=no, scrollbar=no');
|
window.open("about:blank", 'taxListPopup', 'width=1020, height=800, top=100, left=0, fullscreen=no, menubar=no, status=no, toolbar=no, titlebar=no, location=no, scrollbars=yes');
|
||||||
document.pdfForm.action = "<c:url value='/uss/ion/msg/pdfView.do'/>";
|
document.pdfForm.action = "<c:url value='/uss/ion/msg/pdfView.do'/>";
|
||||||
document.pdfForm.target = "taxListPopup";
|
document.pdfForm.target = "taxListPopup";
|
||||||
document.pdfForm.submit();
|
document.pdfForm.submit();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user