최초커밋(나머지)
@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<license date="2019-07-10" issuer="iText Group NV" library="3">
|
||||
<licensee expire="2069-07-10">
|
||||
<name>Byounggab Cheon</name>
|
||||
<email>byounggab@hsecure.co.kr</email>
|
||||
<company>Hancom Secure</company>
|
||||
<version>7.1</version>
|
||||
<key>de5fa-c380a-43da9-c6ba1</key>
|
||||
<licensetype>commercial</licensetype>
|
||||
<signature>GlXtPOBoybYdX1DNMSm9YgbeFz6O+yXPbv4uJLHSi/TH379mcEKc94zkDPBsHsnNnKzgPAzwSWJo2+8zhqbfeAQ7+xH3NktGfLhpPzMeirM4IzHfl87MbiJPz7WYlfFjWjsLY+XIX8/SVNHJk02opuqTLDkYI9oQMh8Xn6oGfHT7KFVlF/mF4htMtAAi32Qn1zjrkRTAxsrFJlspHp0ILfIm1B7eT8zS8BUHVaterNrQxHYy6m8VDWqjtRh5QqmNQ4GEvDR/Yhd5Nh63l2k7uZ3ZKOmhbg6Wnfr8QwccWpHiousRA5agRCmJJu5hW+UJg9fhftxTWqWRl/oshBQNvvDDJi7cAGwSh61k8JbYx2tY8QNaOGx03JAKkZ5VdTvoGf1iucKoe+oz3FcUVyH5MylvBjeAoNg9jr3STr5YBStcyr3u52sDNi6R3SQ5t07EzR0Nu5OqasB7U9oqfc/252crthA6cW/aVi6cHsWNciTeFMB+Yl5I/o1mOQ9VijcBqKGyt+gGH67G0Z37yRjQGsXi+QQBA68+S50B/89SPT43Wl653DE7xA0LU+y2RyjgefzVKDkXzfqfFTtOsiGY5KoqjRwZuWTrHedPNiWrkEcZypvoEbs7HoW+vZblVOeQ5N9AvG5bbfq6NvT+7K+ANiJG/ZYKoXPnYI24YeSwhU0=</signature>
|
||||
</licensee>
|
||||
</license>
|
||||
@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<license date="2019-07-10" issuer="iText Group NV" library="3">
|
||||
<licensee expire="2069-07-10">
|
||||
<name>Byounggab Cheon</name>
|
||||
<email>byounggab@hsecure.co.kr</email>
|
||||
<company>Hancom Secure</company>
|
||||
<version>7.1</version>
|
||||
<key>a7b34-abae7-1a80b-90a60</key>
|
||||
<licensetype>commercial</licensetype>
|
||||
<signature>D6e/QiN7ujfikmPRWdW/qdl3pI+yeQBST6rUu3WXz21+Kf4HFf50AfYQfTQ5SG7Bt8gzIOw16Fg6sPJzKfE7DsgzpxnZKVHuOU0IvN7COP2dGWHY25Doevk65r01MI2XVz5FLvkj3Fp6VA6bTPO8A6lZA6098YCuBuar1gwvTtcDvDrWn4vDHp12KzeKlr7/rpKWLiatIzw17AS2lapk1SvmxzTD2JITojfrEL+rdKDOL8Ouxf5sidPMdWKdzEFVcsy+m7diOMLHikKa4yYiMafHMsN5a0nlVozNKNgifnRoYe+YTnJ2W/8hPP3NfV+7wvUDsg4URhRx80NasfRPTR4P6ZcKxPpImn3w1XMXKQVTSWojnAp6R8iMIYrGJwaTU2ekhvjMx5/vKuYyB92ZPvms5hunID6RBYEUMFV7OPM0YkI3V0xxMGsiIsqsvJj4DBVT+nggzzvMXVuvY8qmsV2q8upykz9b0ajDdzrifpzznI/cRsRzYc2Z2u+t6b3y3tE6f3sfZCYcnRlrJdy3fA2xfWoOqnOu31kKrAlj+gCHUWX/SLCOJ4KRN/imxhcP0i9aJNI9G6YA/S/2NPTtvTnyj6NwfBVj4o1g92gYxF6HRYynWOkAHRgQ2SBC2S6hIw7231rKuqywevkL/Z84/Xk7ZHzoITM+cA6LM2m7sKw=</signature>
|
||||
</licensee>
|
||||
</license>
|
||||
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<license date="2019-07-10" issuer="iText Group NV" library="3">
|
||||
<licensee expire="2069-07-10">
|
||||
<name>Byounggab Cheon</name>
|
||||
<email>byounggab@hsecure.co.kr</email>
|
||||
<company>Hancom Secure</company>
|
||||
<version>7.1</version>
|
||||
<key>3a6d5-1b354-edcef-8ba1b</key>
|
||||
<licensetype>commercial</licensetype>
|
||||
<signature>Amm+o3bJIWuGNViNDjUySKqXqL5CaOlyFVyr55icW5jSu+/AnE3XNgycuMP7ETZ4TXak0hBdDOlPdnvl5lu8ok5UcfTH7DsneBTIi5/vUNT0VTmqTQZ3SJmscdV4I2kpk5eZnAjLg7234AllFnl0ItfdF8QWC21ALzlXZ1W3CZAb7rYwz+S/kAT6yl0VVKYghtQOYYHWrpTKR/rwgRa1yh8H9Inv+DD/B0E2//fzNwU1buonHXSzF+yqiufcMBfJMeBQKeGT8l+WI3hA29HKB84dW2BKcCUKWO408mdr0zojkrDffb8UOxgVaqzzxpTcid9rfvN9FV9iPkLiX1fh/bD5lCRpd/KaZRVHKLHMTOacOZKAfzOz8gArLKOAb6oV5HvJlvhDFwEylLQdRqCztIj8TApHgtE+IT9G48iAH7vo6pEEml1M11pEjFvYvzTBM5oYZhM7+ASa32adzzWjL8IITdqp4elcz9NtNMdWExUM8o7/FZtKTgTk3RzVzWFheMbXwOx/QsOz8AC5P1ORXWALbhBA6qX3tvreKsGNFzgPVDq+yU0AuX4g7Th+Hw4MfqtPoBUKqA/d6uro1kfqG65wTnLvQWXxyaO719de2lPnFER56pDIJkG5G6pUP7vkcUXpuyFW4vQJ2bvMX+VQwRyey2pJJO8pe8Rj7rXSpPE=</signature>
|
||||
</licensee>
|
||||
<product deploymenttype="" expire="2069-07-10" licensetype="commercial" major="2" name="pdfHtml" platform="java">
|
||||
<signature>TEHwuj3A2yo/CaHHQXOYp8YJeAWWKbv3iAxTeyF0f58J0ULjgnZlT6RrMaZDiyVQZsaNLXRcYfTGkQnDhLiWBdLEiS/hYKfHbNNpUgzOclmjLnxGetWAzY7z3x+FvOHiFS0T7ip/UpOGvMtoC73vy/DnZEmIUYMN85D1LdrB6wMQG5vubnkldbErrrEtfwKeZI9w5/gkyrJ47sssbhUaNDSmb2vwJLTBK8lvNZHZkYhhhdOqNYg5Iu3h73xdfa1Pr5iQY7GtLm7EeS0XL4F4ZmQtyMtGuHbP5taLouGADi/pRElq/B3no/+ihC4buwWNo2YIs77STKJcnebl1TLR7cmp5yEZDkvaMJPkiYHmR1INmbtDPEXJ63S2o2YTqndrw3Kx4bgXxd3fL1HVTWdQAsdgxDtfvK6S6kbPF4fYqiKjG2AH3PcdLBnMq3lIT0pNihhxUNaS59ZLsQ5zh3TZgZm5pFW9s6htCSBUgb7ycTGbc/6iyKBt1E5wWyqat9lGa5s7J4tkZkOLrRa1T5jwn2Gr5OYX0rGXaHR9J5kdruxZXKrnkzOMGqMk8ZxFLe+QhBFOS0KcdKeJuNVtSx4I/jdN8jIdEs9MlIfbRLZ7b3d2hKszTzuWQxQqPjimcVrgPNC+Z3XhL28r5DpLh9gntZhip9CgsTdulrPnVAF/8HM=</signature>
|
||||
</product>
|
||||
</license>
|
||||
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<license date="2019-07-10" issuer="iText Group NV" library="3">
|
||||
<licensee expire="2069-07-10">
|
||||
<name>Byounggab Cheon</name>
|
||||
<email>byounggab@hsecure.co.kr</email>
|
||||
<company>Hancom Secure</company>
|
||||
<version>7.1</version>
|
||||
<key>3ece3-14494-63297-88546</key>
|
||||
<licensetype>commercial</licensetype>
|
||||
<signature>MxeKe1r3I3lQyl4gh2mJUclGrlyuG+MnU37yjILBdJcBWzW6PE1Lg2yLcBHkeBqjsvZdmIYmqkEL4yBg4ASspaOFOwyVs5EoMp7V4XZdb1S0GqoaRzs68KjEOCNltQKhGe0gs7sIEErNqBK15yoc0nw0/Gn1xPweepivzTbOLbSBLXJM7tl9Xq2BKHJFnjKlp6qlapJyLS2kerSGGEAljbisvctyS/Wr21blQC1pOAivqpDyWF0yKp0F2w5rfXWS2LnBqnidvwbTqEIaXda8Ds9QX68Abh38NFMIQTsnNe3XcSfeZtH/KnuI0kFVKR+D7MHmzmRAM84hdAYbf7dTnGVSFHEEy0ZSqggs3nqxESnUwDXsJH1nDxp8dyush6cbW8DL5gMx1YyaGiUtTn2X1+fXwtA7q5KTm/04ayXbJY1W23QWd25bh2db4P7Uvz/opRqeexRqF3Wx9MHvwmSLTy8J5rw5F9qhPeS/GTn+6rBY9tDYGFeYL4gO/3eRDJmvf7p/bHYIkhvQCIjuo7XLfLGe9edxyPKq31X+mZx6mT3FOBYn/rVWvW7SYBGXMsLn0Wd6vD6OpO7ffVxCKT+9RzKDOJOBQBI5MOZrTfaoJO3uI0PAguG+AA0CCyK4m1dizrNhoHALSSfnPJVwHQ/m1KgDg8CPmO1PFMcTiTbRSoo=</signature>
|
||||
</licensee>
|
||||
<product deploymenttype="" expire="2069-07-10" licensetype="commercial" major="2" name="pdfHtml" platform="java">
|
||||
<signature>TEHwuj3A2yo/CaHHQXOYp8YJeAWWKbv3iAxTeyF0f58J0ULjgnZlT6RrMaZDiyVQZsaNLXRcYfTGkQnDhLiWBdLEiS/hYKfHbNNpUgzOclmjLnxGetWAzY7z3x+FvOHiFS0T7ip/UpOGvMtoC73vy/DnZEmIUYMN85D1LdrB6wMQG5vubnkldbErrrEtfwKeZI9w5/gkyrJ47sssbhUaNDSmb2vwJLTBK8lvNZHZkYhhhdOqNYg5Iu3h73xdfa1Pr5iQY7GtLm7EeS0XL4F4ZmQtyMtGuHbP5taLouGADi/pRElq/B3no/+ihC4buwWNo2YIs77STKJcnebl1TLR7cmp5yEZDkvaMJPkiYHmR1INmbtDPEXJ63S2o2YTqndrw3Kx4bgXxd3fL1HVTWdQAsdgxDtfvK6S6kbPF4fYqiKjG2AH3PcdLBnMq3lIT0pNihhxUNaS59ZLsQ5zh3TZgZm5pFW9s6htCSBUgb7ycTGbc/6iyKBt1E5wWyqat9lGa5s7J4tkZkOLrRa1T5jwn2Gr5OYX0rGXaHR9J5kdruxZXKrnkzOMGqMk8ZxFLe+QhBFOS0KcdKeJuNVtSx4I/jdN8jIdEs9MlIfbRLZ7b3d2hKszTzuWQxQqPjimcVrgPNC+Z3XhL28r5DpLh9gntZhip9CgsTdulrPnVAF/8HM=</signature>
|
||||
</product>
|
||||
</license>
|
||||
|
After Width: | Height: | Size: 18 KiB |
|
After Width: | Height: | Size: 15 KiB |
|
After Width: | Height: | Size: 9.9 KiB |
@ -0,0 +1,9 @@
|
||||
Register_URL=/api/v1/service/greentransport/register
|
||||
Update_URL=/api/v1/service/greentransport/update
|
||||
Query_URL=/api/v1/service/greentransport/query
|
||||
QueryAll_URL=/api/v1/service/greentransport/queryAll
|
||||
Delete_URL=/api/v1/service/greentransport/delete
|
||||
Verify_URL=/api/v1/service/greentransport/verify
|
||||
HTTP=http
|
||||
IP=192.168.0.42
|
||||
PORT=8444
|
||||
@ -0,0 +1,210 @@
|
||||
<%@page import="com.clipsoft.clipreport.server.service.viewer.MakeDocumentJSON"%>
|
||||
<%@page import="com.clipsoft.org.apache.commons.codec.binary.Base64"%>
|
||||
<%@page import="com.clipsoft.clipreport.server.service.viewer.ExportViewImage"%>
|
||||
<%@page import="com.clipsoft.clipreport.server.service.eform.EFormThumbnailPage"%>
|
||||
<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
|
||||
<%@ page import="java.io.File"%>
|
||||
<%@ page import="java.io.OutputStream"%>
|
||||
<%@ page import="com.clipsoft.clipreport.server.service.*" %>
|
||||
<%@ page import="com.clipsoft.clipreport.server.service.export.*" %>
|
||||
<%@ page import="com.clipsoft.clipreport.server.service.export.save.SAVEReport" %>
|
||||
<%@ page import="com.clipsoft.clipreport.server.service.export.save.SAVEReportToFileDownload"%>
|
||||
<%@ page import="com.clipsoft.clipreport.server.service.export.save.SAVEReportToFileCheck"%>
|
||||
<%@ page import="com.clipsoft.clipreport.server.service.export.save.SAVEReportToFile"%>
|
||||
<%@ page import="com.clipsoft.clipreport.server.service.html.PrintHTML" %>
|
||||
<%@ page import="com.clipsoft.clipreport.server.service.reporteservice.*" %>
|
||||
<%@ page import="com.clipsoft.clipreport.server.service.eform.EFormUpdateDocument"%>
|
||||
<%@ page import="com.clipsoft.clipreport.server.service.eform.EFormPage"%>
|
||||
<%@ include file="Property.jsp"%><%
|
||||
response.setHeader("Cache-Control", "no-cache, no-store, must-revalidate");
|
||||
//response.setHeader("Cache-Control", "max-age=0");
|
||||
out.clear();
|
||||
out=pageContext.pushBody();
|
||||
|
||||
//크로스 도메인 설정
|
||||
//response.setHeader("Access-Control-Allow-Origin", "*");
|
||||
|
||||
//세션을 활용하여 리포트키들을 관리하지 않는 옵션
|
||||
//request.getSession().setAttribute("ClipReport-SessionList-Allow", false);
|
||||
|
||||
String passName = request.getParameter("ClipID");
|
||||
|
||||
if(null != passName){
|
||||
if("R01".equals(passName)){
|
||||
NewReport newReport = new NewReport();
|
||||
newReport.doPost(request, response, propertyPath);
|
||||
//String responseValue = newReport.doPostToString(request, response, propertyPath);
|
||||
|
||||
//리포트의 특정 사용자 ID를 부여합니다.
|
||||
//clipreport4.properties 의 useuserid 옵션이 true 일 때만 적용됩니다.
|
||||
//clipreport4.properties 의 useuserid 옵션이 true 이고 기본 예제[newReport.doPost(request, response, propertyPath);] 사용 했을 때 세션ID가 userID로 사용 됩니다.
|
||||
//newReport.doPost(request, response, propertyPath, "userID");
|
||||
|
||||
//리포트key의 사용자문자열을 추가합니다.(문자숫자만 가능합니다.)
|
||||
//newReport.doPost(request, response, propertyPath, "userID", "userKey");
|
||||
}
|
||||
else if("R02".equals(passName)){
|
||||
Page page1 = new Page();
|
||||
page1.doPost(request, response, propertyPath);
|
||||
//String pageString = page1.doPostToString(request, response, propertyPath);
|
||||
//리포트의 특정 사용자 ID를 부여합니다.
|
||||
//clipreport4.properties 의 useuserid 옵션이 true 일 때만 적용됩니다.
|
||||
//page1.doPost(request, response, propertyPath, "userID");
|
||||
}
|
||||
else if("R03".equals(passName)){
|
||||
PageCount pageCount = new PageCount();
|
||||
pageCount.doPost(request, response, propertyPath);
|
||||
//String responseValue = pageCount.doPostToString(request, response, propertyPath);
|
||||
}
|
||||
else if("R04".equals(passName)){
|
||||
DeleteReport deleteReport = new DeleteReport();
|
||||
deleteReport.doPost(request, response);
|
||||
//String responseValue = deleteReport.doPostToString(request, response, propertyPath);
|
||||
}
|
||||
|
||||
else if("R07".equals(passName)){
|
||||
HWPReport hwpReport = new HWPReport();
|
||||
hwpReport.doPost(request, response);
|
||||
|
||||
//리포트의 특정 사용자 ID를 부여합니다.
|
||||
//clipreport4.properties 의 useuserid 옵션이 true 일 때만 적용됩니다.
|
||||
//hwpReport.doPost(request, response, "userID");
|
||||
}
|
||||
else if("R08".equals(passName)){
|
||||
PDFReport pdfReport = new PDFReport();
|
||||
pdfReport.doPost(request, response);
|
||||
|
||||
//리포트의 특정 사용자 ID를 부여합니다.
|
||||
//clipreport4.properties 의 useuserid 옵션이 true 일 때만 적용됩니다.
|
||||
//pdfReport.doPost(request, response, "userID");
|
||||
}
|
||||
else if("R09".equals(passName)){
|
||||
SAVEReport saveReport = new SAVEReport();
|
||||
saveReport.doPost(request, response);
|
||||
|
||||
//리포트의 특정 사용자 ID를 부여합니다.
|
||||
//clipreport4.properties 의 useuserid 옵션이 true 일 때만 적용됩니다.
|
||||
//saveReport.doPost(request, response, "userID");
|
||||
|
||||
|
||||
//문서 암호화를 처리하기 위해서는 jsp forward 사용 합니다.
|
||||
//RequestDispatcher dispatcher = request.getRequestDispatcher("export/exportForEncryption.jsp");
|
||||
//dispatcher.forward(request, response);
|
||||
|
||||
}
|
||||
else if("R09S1".equals(passName)){
|
||||
SAVEReportToFile localSaveReport = new SAVEReportToFile();
|
||||
localSaveReport.doPost(request, response);
|
||||
|
||||
//리포트의 특정 사용자 ID를 부여합니다.
|
||||
//clipreport4.properties 의 useuserid 옵션이 true 일 때만 적용됩니다.
|
||||
//saveReport.doPost(request, response, "userID");
|
||||
|
||||
|
||||
//문서 암호화를 처리하기 위해서는 jsp forward 사용 합니다.
|
||||
//RequestDispatcher dispatcher = request.getRequestDispatcher("export/exportForEncryption.jsp");
|
||||
//dispatcher.forward(request, response);
|
||||
|
||||
}
|
||||
else if("R09S2".equals(passName)){
|
||||
SAVEReportToFileCheck saveFileCheck = new SAVEReportToFileCheck();
|
||||
saveFileCheck.doPost(request, response);
|
||||
}
|
||||
|
||||
else if("R09S3".equals(passName)){
|
||||
SAVEReportToFileDownload saveReport = new SAVEReportToFileDownload();
|
||||
saveReport.doPost(request, response);
|
||||
}
|
||||
|
||||
else if("R10".equals(passName)){
|
||||
PagePrint page1 = new PagePrint();
|
||||
page1.doPost(request, response);
|
||||
|
||||
//리포트의 특정 사용자 ID를 부여합니다.
|
||||
//clipreport4.properties 의 useuserid 옵션이 true 일 때만 적용됩니다.
|
||||
//page1.doPost(request, response, "userID");
|
||||
}
|
||||
else if("R11".equals(passName)){
|
||||
UpDatePage page1 = new UpDatePage();
|
||||
page1.doPost(request, response);
|
||||
|
||||
//리포트의 특정 사용자 ID를 부여합니다.
|
||||
//clipreport4.properties 의 useuserid 옵션이 true 일 때만 적용됩니다.
|
||||
//page1.doPost(request, response, "userID");
|
||||
}
|
||||
|
||||
else if("R15".equals(passName)){
|
||||
PrintHTML printHTML = new PrintHTML();
|
||||
printHTML.doPost(request, response);
|
||||
}
|
||||
|
||||
else if ("R16".equals(passName)) {
|
||||
FileDownLoadCheck fileCheck = new FileDownLoadCheck();
|
||||
fileCheck.doPost(request, response);
|
||||
//String responseValue = fileCheck.doPostToString(request, response, propertyPath);
|
||||
}
|
||||
else if ("R17".equals(passName)) {
|
||||
PageImage pageImage = new PageImage();
|
||||
pageImage.doPost(request, response);
|
||||
}
|
||||
else if("R30".equals(passName)){
|
||||
EFormPage eformPage = new EFormPage();
|
||||
eformPage.doPost(request, response, propertyPath);
|
||||
|
||||
//리포트의 특정 사용자 ID를 부여합니다.
|
||||
//clipreport4.properties 의 useuserid 옵션이 true 일 때만 적용됩니다.
|
||||
//eformPage.doPost(request, response, propertyPath, "userID");
|
||||
}
|
||||
else if("R31".equals(passName)){
|
||||
EFormUpdateDocument eformUpDate = new EFormUpdateDocument();
|
||||
eformUpDate.doPost(request, response, propertyPath);
|
||||
}
|
||||
|
||||
else if("R32".equals(passName)){
|
||||
EFormThumbnailPage thumbnailPage = new EFormThumbnailPage();
|
||||
String responseValue = thumbnailPage.doPost(request, propertyPath);
|
||||
thumbnailPage.setOutPutText(response, responseValue);
|
||||
}
|
||||
|
||||
else if ("R50".equals(passName)) {
|
||||
PrintLicense printLicense = new PrintLicense();
|
||||
printLicense.doPost(request, response, propertyPath);
|
||||
}
|
||||
else if ("R51".equals(passName)) {
|
||||
UpdateLicense updateLicense = new UpdateLicense();
|
||||
updateLicense.doPost(request, response, propertyPath);
|
||||
}
|
||||
else if ("R52".equals(passName)) {
|
||||
ConfigurationAuthorization authorization = new ConfigurationAuthorization();
|
||||
authorization.doPost(request, response, propertyPath);
|
||||
}
|
||||
else if("R97".equals(passName)){
|
||||
SVGExport svgExport = new SVGExport();
|
||||
svgExport.doZipPost(request, response);
|
||||
}
|
||||
else if("R98".equals(passName)){
|
||||
ImageBase64Export imageExport = new ImageBase64Export();
|
||||
imageExport.doPost(request, response);
|
||||
}
|
||||
else if ("S01".equals(passName)){
|
||||
ExePrintInfo exePrintInfo = new ExePrintInfo();
|
||||
String strInfo = exePrintInfo.doPost(request);
|
||||
exePrintInfo.setOutPutText(response, strInfo);
|
||||
}
|
||||
|
||||
// Report
|
||||
}
|
||||
|
||||
String ClipType = request.getParameter("ClipType");
|
||||
if(null != ClipType){
|
||||
if("exportViewImage".equals(ClipType)){
|
||||
response.setHeader("Cache-Control", "max-age=1800");
|
||||
ExportViewImage viewImage = new ExportViewImage();
|
||||
viewImage.doPost(request, response, propertyPath);
|
||||
}
|
||||
else if("DocumentPageView".equals(ClipType)){
|
||||
MakeDocumentJSON documentPage = new MakeDocumentJSON();
|
||||
documentPage.doPost(request, response, propertyPath);
|
||||
}
|
||||
}
|
||||
%>
|
||||
@ -0,0 +1,61 @@
|
||||
<%@page import="com.clipsoft.clipreport.oof.OOFFile"%>
|
||||
<%@page import="com.clipsoft.clipreport.oof.OOFDocument"%>
|
||||
<%@page import="java.io.File"%>
|
||||
<%@page import="com.clipsoft.clipreport.server.service.ReportUtil"%>
|
||||
<%@page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
|
||||
<%
|
||||
String regltId = request.getParameter("regltId");
|
||||
String sndngDe = request.getParameter("sndngDe");
|
||||
String endDe = request.getParameter("endDe");
|
||||
|
||||
OOFDocument oof = OOFDocument.newOOF();
|
||||
OOFFile file = oof.addFile("crf.root", "%root%/crf/DcDp0010Report.crf");
|
||||
oof.addConnectionData("*", "fis");
|
||||
oof.addField("REGLT_ID", regltId);
|
||||
oof.addField("OPRATMAN_CNFIRM_SNDNG_DE", sndngDe);
|
||||
oof.addField("OPRATMAN_CNFIRM_END_DE", endDe);
|
||||
|
||||
%><%@include file="Property.jsp"%><%
|
||||
//세션을 활용하여 리포트키들을 관리하지 않는 옵션
|
||||
//request.getSession().setAttribute("ClipReport-SessionList-Allow", false);
|
||||
String resultKey = ReportUtil.createReport(request, oof, "false", "false", request.getRemoteAddr(), propertyPath);
|
||||
//리포트의 특정 사용자 ID를 부여합니다.
|
||||
//clipreport4.properties 의 useuserid 옵션이 true 일 때만 적용됩니다.
|
||||
//clipreport4.properties 의 useuserid 옵션이 true 이고 기본 예제[String resultKey = ReportUtil.createReport(request, oof, "false", "false", request.getRemoteAddr(), propertyPath);] 사용 했을 때 세션ID가 userID로 사용 됩니다.
|
||||
//String resultKey = ReportUtil.createReport(request, oof, "false", "false", request.getRemoteAddr(), propertyPath, "userID");
|
||||
|
||||
//리포트key의 사용자문자열을 추가합니다.(문자숫자만 가능합니다.)
|
||||
//String resultKey = ReportUtil.createReport(request, oof, "false", "false", request.getRemoteAddr(), propertyPath, "", "usetKey");
|
||||
|
||||
//리포트를 저장 스토리지를 지정하여 생성합니다.
|
||||
//String resultKey = ReportUtil.createReportByStorage(request, oof, "false", "false", request.getRemoteAddr(), propertyPath, "rpt1");
|
||||
%>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<title>Report</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<link rel="stylesheet" type="text/css" href="./css/clipreport.css">
|
||||
<link rel="stylesheet" type="text/css" href="./css/UserConfig.css">
|
||||
<link rel="stylesheet" type="text/css" href="./css/font.css">
|
||||
<script type='text/javascript' src='./js/jquery-1.11.1.js'></script>
|
||||
<script type='text/javascript' src='./js/clipreport.js'></script>
|
||||
<script type='text/javascript' src='./js/UserConfig.js'></script>
|
||||
<script type='text/javascript'>
|
||||
var urlPath = document.location.protocol + "//" + document.location.host;
|
||||
|
||||
function html2xml(divPath){
|
||||
var reportkey = "<%=resultKey%>";
|
||||
var report = createImportJSPReport(urlPath + "/ClipReport4/Clip.jsp", reportkey, document.getElementById(divPath));
|
||||
|
||||
//리포트 실행
|
||||
report.setClientPaintView(true);
|
||||
report.view();
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body onload="html2xml('targetDiv1')">
|
||||
<div id='targetDiv1' style='position:absolute;top:5px;left:5px;right:5px;bottom:5px;'></div>
|
||||
</body>
|
||||
</html>
|
||||
@ -0,0 +1,59 @@
|
||||
<%@page import="com.clipsoft.clipreport.oof.OOFFile"%>
|
||||
<%@page import="com.clipsoft.clipreport.oof.OOFDocument"%>
|
||||
<%@page import="java.io.File"%>
|
||||
<%@page import="com.clipsoft.clipreport.server.service.ReportUtil"%>
|
||||
<%@page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
|
||||
<%
|
||||
String sndngMastrId = request.getParameter("sndngMastrId");
|
||||
String sndngId = request.getParameter("sndngId");
|
||||
|
||||
OOFDocument oof = OOFDocument.newOOF();
|
||||
OOFFile file = oof.addFile("crf.root", "%root%/crf/DcDp0053Report.crf");
|
||||
oof.addConnectionData("*", "fis");
|
||||
oof.addField("SNDNG_MASTR_ID", sndngMastrId);
|
||||
oof.addField("SNDNG_ID", sndngId);
|
||||
|
||||
%><%@include file="Property.jsp"%><%
|
||||
//세션을 활용하여 리포트키들을 관리하지 않는 옵션
|
||||
//request.getSession().setAttribute("ClipReport-SessionList-Allow", false);
|
||||
String resultKey = ReportUtil.createReport(request, oof, "false", "false", request.getRemoteAddr(), propertyPath);
|
||||
//리포트의 특정 사용자 ID를 부여합니다.
|
||||
//clipreport4.properties 의 useuserid 옵션이 true 일 때만 적용됩니다.
|
||||
//clipreport4.properties 의 useuserid 옵션이 true 이고 기본 예제[String resultKey = ReportUtil.createReport(request, oof, "false", "false", request.getRemoteAddr(), propertyPath);] 사용 했을 때 세션ID가 userID로 사용 됩니다.
|
||||
//String resultKey = ReportUtil.createReport(request, oof, "false", "false", request.getRemoteAddr(), propertyPath, "userID");
|
||||
|
||||
//리포트key의 사용자문자열을 추가합니다.(문자숫자만 가능합니다.)
|
||||
//String resultKey = ReportUtil.createReport(request, oof, "false", "false", request.getRemoteAddr(), propertyPath, "", "usetKey");
|
||||
|
||||
//리포트를 저장 스토리지를 지정하여 생성합니다.
|
||||
//String resultKey = ReportUtil.createReportByStorage(request, oof, "false", "false", request.getRemoteAddr(), propertyPath, "rpt1");
|
||||
%>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<title>Report</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<link rel="stylesheet" type="text/css" href="./css/clipreport.css">
|
||||
<link rel="stylesheet" type="text/css" href="./css/UserConfig.css">
|
||||
<link rel="stylesheet" type="text/css" href="./css/font.css">
|
||||
<script type='text/javascript' src='./js/jquery-1.11.1.js'></script>
|
||||
<script type='text/javascript' src='./js/clipreport.js'></script>
|
||||
<script type='text/javascript' src='./js/UserConfig.js'></script>
|
||||
<script type='text/javascript'>
|
||||
var urlPath = document.location.protocol + "//" + document.location.host;
|
||||
|
||||
function html2xml(divPath){
|
||||
var reportkey = "<%=resultKey%>";
|
||||
var report = createImportJSPReport(urlPath + "/ClipReport4/Clip.jsp", reportkey, document.getElementById(divPath));
|
||||
|
||||
//리포트 실행
|
||||
report.setClientPaintView(true);
|
||||
report.view();
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body onload="html2xml('targetDiv1')">
|
||||
<div id='targetDiv1' style='position:absolute;top:5px;left:5px;right:5px;bottom:5px;'></div>
|
||||
</body>
|
||||
</html>
|
||||
@ -0,0 +1,4 @@
|
||||
<%@page import="java.io.File"%><%
|
||||
//clipreport4.properties 서버환경에 따라 파일 위치를 지정합니다.
|
||||
String propertyPath = request.getSession().getServletContext().getRealPath("/") + File.separator + "WEB-INF" + File.separator + "clipreport4" + File.separator + "clipreport4.properties";
|
||||
%>
|
||||
@ -0,0 +1,24 @@
|
||||
|
||||
<%@page import="com.clipsoft.clipreport.oof.OOFFile"%>
|
||||
<%@page import="com.clipsoft.clipreport.oof.OOFDocument"%>
|
||||
<%@page import="java.io.File"%>
|
||||
<%@page import="com.clipsoft.clipreport.server.service.ReportUtil"%>
|
||||
<%@page import="com.clipsoft.org.apache.commons.lang.StringEscapeUtils"%>
|
||||
<%@page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
|
||||
<%@page import="com.clipsoft.org.json.simple.JSONObject"%>
|
||||
<%@page import="com.clipsoft.org.json.simple.parser.JSONParser"%>
|
||||
<%
|
||||
OOFDocument oof = OOFDocument.newOOF();
|
||||
OOFFile file = oof.addFile("crf.root", "%root%/crf/CLIP.crf");
|
||||
|
||||
%><%@include file="Property.jsp"%><%
|
||||
String resultKey = ReportUtil.createReport(request, oof, "false", "false", "localhost", propertyPath);
|
||||
//리포트의 특정 사용자 ID를 부여합니다.
|
||||
//clipreport4.properties 의 useuserid 옵션이 true 일 때만 적용됩니다.
|
||||
//clipreport4.properties 의 useuserid 옵션이 true 이고 기본 예제[String resultKey = ReportUtil.createReport(request, oof, "false", "false", request.getRemoteAddr(), propertyPath);] 사용 했을 때 세션ID가 userID로 사용 됩니다.
|
||||
//String resultKey = ReportUtil.createReport(request, oof, "false", "false", request.getRemoteAddr(), propertyPath, "userID");
|
||||
|
||||
//리포트key의 사용자문자열을 추가합니다.(문자숫자만 가능합니다.)
|
||||
//String resultKey = ReportUtil.createReport(request, oof, "false", "false", request.getRemoteAddr(), propertyPath, "", "usetKey");
|
||||
%>
|
||||
<%=resultKey%>
|
||||
@ -0,0 +1,203 @@
|
||||
@CHARSET "UTF-8";
|
||||
|
||||
/*
|
||||
사용자 정의 css 파일입니다.
|
||||
기본적으로 제공하는 css 파일의 내용을 복사하여 오버라이딩 하여 사용합니다.
|
||||
*/
|
||||
|
||||
/*예제 뷰어 메뉴*/
|
||||
/*
|
||||
.report_menu_div {
|
||||
position: absolute;
|
||||
top: 0px;
|
||||
width: 100%;
|
||||
height: 65px;
|
||||
overflow: visible;
|
||||
background-color: red;
|
||||
background-position: 5px 50%;
|
||||
background-repeat: no-repeat;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-khtml-user-select: none;
|
||||
-ms-user-select: none;
|
||||
}
|
||||
*/
|
||||
|
||||
/*
|
||||
필수 항목을 체크하지 않았을 때 필수 항목이 들어간 컨트롤에 아래의 스타일을 적용합니다.
|
||||
*/
|
||||
.eForm_NecessaryCheck{
|
||||
background-color : orange !important;
|
||||
opacity: 0.5 !important;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
입력 컨트롤에 포커스가 들어왔을 때 아래의 스타일을 적용합니다.
|
||||
*/
|
||||
.eform_textarea:focus{
|
||||
border:2pt solid Orange;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.eform_control_focus{
|
||||
border:2pt solid Orange;
|
||||
}
|
||||
|
||||
/*
|
||||
목차에 관련된 스타일을 적용합니다.
|
||||
*/
|
||||
/*
|
||||
.eform_toc_menu_top {
|
||||
position: absolute;
|
||||
left: 10px;
|
||||
top: 55px;
|
||||
height: 50px;
|
||||
width: 250px;
|
||||
background-color: rgba(243, 243, 243, 0.95);
|
||||
border-bottom: 2px solid rgb(212, 212, 212);
|
||||
box-sizing: border-box;
|
||||
border-radius: 10px 10px 0px 0px;
|
||||
}
|
||||
|
||||
.eform_toc_menu_top_text {
|
||||
position: absolute;
|
||||
left: 5px;
|
||||
top: 15px;
|
||||
font-family: 나눔고딕;
|
||||
font-size: 13pt;
|
||||
color: rgb(115, 197, 215);
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.eform_toc_menu_top_close {
|
||||
position: absolute;
|
||||
right: 10px;
|
||||
top: 17px;
|
||||
width: 19px;
|
||||
height: 19px;
|
||||
background-image: url(../img/eform/list_close.png);
|
||||
background-size: contain;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.eform_toc_menu_body {
|
||||
position: absolute;
|
||||
left: 10px;
|
||||
top: 105px;
|
||||
overflow-x: hidden;
|
||||
overflow-y: auto;
|
||||
width: 250px;
|
||||
bottom: 35px;
|
||||
background-color: rgba(243, 243, 243, 0.95);
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.eform_toc_list_depth {
|
||||
position: relative;
|
||||
left: 0px;
|
||||
right: 0px;
|
||||
height: 30px;
|
||||
border-bottom: 1px solid rgb(212, 212, 212);
|
||||
}
|
||||
|
||||
.eform_toc_nec_list_depth {
|
||||
position: relative;
|
||||
left: 0px;
|
||||
right: 0px;
|
||||
height: 30px;
|
||||
border-bottom: 1px solid rgb(212, 212, 212);
|
||||
background-image:url(../img/eform/nec_check.png);
|
||||
background-size: 15px 15px;
|
||||
background-repeat: no-repeat;
|
||||
background-position : 5px center;
|
||||
}
|
||||
|
||||
.eform_toc_list_depth_text{
|
||||
position: absolute;
|
||||
font-family : 나눔고딕;
|
||||
font-weight: bold;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
overflow:hidden;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.eform_toc_list_depth_pageNumber{
|
||||
position: absolute;
|
||||
font-family : 나눔고딕;
|
||||
white-space: nowrap;
|
||||
overflow:hidden;
|
||||
font-size: 10pt;
|
||||
top:7px;
|
||||
right:0px;
|
||||
width:30px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.eform_toc_list_depth1_text {
|
||||
font-size: 12pt;
|
||||
color: rgb(215, 172, 135);
|
||||
top: 5px;
|
||||
bottom: 0px;
|
||||
|
||||
}
|
||||
|
||||
.eform_toc_list_depth2_text {
|
||||
font-size: 12pt;
|
||||
color: rgb(100, 100, 100);
|
||||
top: 5px;
|
||||
bottom: 0px;
|
||||
}
|
||||
|
||||
.eform_toc_list_depth3_text {
|
||||
font-size: 11pt;
|
||||
color: rgb(100, 100, 100);
|
||||
top: 7px;
|
||||
bottom: 0px;
|
||||
}
|
||||
|
||||
.eform_toc_menu_bottom {
|
||||
position: absolute;
|
||||
left: 10px;
|
||||
bottom: 25px;
|
||||
height: 10px;
|
||||
width: 250px;
|
||||
background-color: rgba(243, 243, 243, 0.95);
|
||||
box-sizing: border-box;
|
||||
border-radius: 0px 0px 10px 10px;
|
||||
}
|
||||
*/
|
||||
|
||||
.report_displayNone{
|
||||
position:absoulte !important;
|
||||
width:1px !important;
|
||||
height:1px !important;
|
||||
visibility: hidden !important;
|
||||
opacity:0 !important;
|
||||
}
|
||||
|
||||
/*
|
||||
사용자 정의 프로그래스 createUserProgress 함수를 사용하였을 때 동작합니다.
|
||||
*/
|
||||
.user_progress{
|
||||
background-position: 50% 50%;
|
||||
background-image: url(../img/efromProgress.gif);
|
||||
opacity: 0.5;
|
||||
background-color:gray;
|
||||
}
|
||||
|
||||
/*
|
||||
* 체크박스 및 라디오박스 비활성화 상태일 때 스타일 적용
|
||||
*/
|
||||
.eForm_selectDisabled{
|
||||
/*
|
||||
color : gray !important;
|
||||
fill : gray !important;
|
||||
*/
|
||||
}
|
||||
.eForm_selectBorderDisabled{
|
||||
/*
|
||||
border : 0.75pt solid gray !important;
|
||||
*/
|
||||
}
|
||||
@ -0,0 +1,42 @@
|
||||
@charset "UTF-8";
|
||||
|
||||
html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, code, del, dfn, em, img, q, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
font-weight: inherit;
|
||||
font-style: inherit;
|
||||
font-size: 100%;
|
||||
font-family: inherit;
|
||||
vertical-align: baseline;
|
||||
}
|
||||
body {
|
||||
font:12px/1.5em Arial, dotum, AppleGothic, sans-serif
|
||||
}
|
||||
table {
|
||||
border-collapse: collapse;
|
||||
border-spacing: 0;
|
||||
}
|
||||
caption, th, td {
|
||||
text-align: left;
|
||||
font-weight: normal;
|
||||
}
|
||||
table, td, th {
|
||||
vertical-align: middle;
|
||||
}
|
||||
blockquote:before, blockquote:after, q:before, q:after {
|
||||
content: "";
|
||||
}
|
||||
blockquote {
|
||||
quotes: "" "";
|
||||
}
|
||||
a img {
|
||||
border: none;
|
||||
}
|
||||
|
||||
a {text-decoration:none}
|
||||
|
||||
|
||||
/* Hides from IE5-mac \*/
|
||||
* html { height: 1%; }
|
||||
/* End hide from IE5-mac */
|
||||
@ -0,0 +1,60 @@
|
||||
<%@page import="com.clipsoft.clipreport.oof.OOFFile"%>
|
||||
<%@page import="com.clipsoft.clipreport.oof.OOFDocument"%>
|
||||
<%@page import="java.io.File"%>
|
||||
<%@page import="com.clipsoft.clipreport.server.service.ReportUtil"%>
|
||||
<%@page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
|
||||
<%
|
||||
OOFDocument oof = OOFDocument.newOOF();
|
||||
OOFFile file = oof.addFile("crf.root", "%root%/crf/DBTEST.crf");
|
||||
|
||||
//리포트에 파라미터 적용
|
||||
//oof.addField("PARAM", param);
|
||||
//oof.addField("PARAM2", param2);
|
||||
|
||||
oof.addConnectionData("*", "Tibero1");
|
||||
|
||||
|
||||
|
||||
%><%@include file="Property.jsp"%><%
|
||||
//세션을 활용하여 리포트키들을 관리하지 않는 옵션
|
||||
//request.getSession().setAttribute("ClipReport-SessionList-Allow", false);
|
||||
String resultKey = ReportUtil.createReport(request, oof, "false", "false", request.getRemoteAddr(), propertyPath);
|
||||
//리포트의 특정 사용자 ID를 부여합니다.
|
||||
//clipreport4.properties 의 useuserid 옵션이 true 일 때만 적용됩니다.
|
||||
//clipreport4.properties 의 useuserid 옵션이 true 이고 기본 예제[String resultKey = ReportUtil.createReport(request, oof, "false", "false", request.getRemoteAddr(), propertyPath);] 사용 했을 때 세션ID가 userID로 사용 됩니다.
|
||||
//String resultKey = ReportUtil.createReport(request, oof, "false", "false", request.getRemoteAddr(), propertyPath, "userID");
|
||||
|
||||
//리포트key의 사용자문자열을 추가합니다.(문자숫자만 가능합니다.)
|
||||
//String resultKey = ReportUtil.createReport(request, oof, "false", "false", request.getRemoteAddr(), propertyPath, "", "usetKey");
|
||||
|
||||
//리포트를 저장 스토리지를 지정하여 생성합니다.
|
||||
//String resultKey = ReportUtil.createReportByStorage(request, oof, "false", "false", request.getRemoteAddr(), propertyPath, "rpt1");
|
||||
%>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<title>Report</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<link rel="stylesheet" type="text/css" href="./css/clipreport.css">
|
||||
<link rel="stylesheet" type="text/css" href="./css/UserConfig.css">
|
||||
<link rel="stylesheet" type="text/css" href="./css/font.css">
|
||||
<script type='text/javascript' src='./js/jquery-1.11.1.js'></script>
|
||||
<script type='text/javascript' src='./js/clipreport.js'></script>
|
||||
<script type='text/javascript' src='./js/UserConfig.js'></script>
|
||||
<script type='text/javascript'>
|
||||
var urlPath = document.location.protocol + "//" + document.location.host;
|
||||
|
||||
function html2xml(divPath){
|
||||
var reportkey = "<%=resultKey%>";
|
||||
var report = createImportJSPReport(urlPath + "/com/ClipReport4/Clip.jsp", reportkey, document.getElementById(divPath));
|
||||
|
||||
//리포트 실행
|
||||
report.view();
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body onload="html2xml('targetDiv1')">
|
||||
<div id='targetDiv1' style='position:absolute;top:5px;left:5px;right:5px;bottom:5px;'></div>
|
||||
</body>
|
||||
</html>
|
||||
@ -0,0 +1,57 @@
|
||||
<%@page import="com.clipsoft.clipreport.oof.OOFFile"%>
|
||||
<%@page import="com.clipsoft.clipreport.oof.OOFDocument"%>
|
||||
<%@page import="java.io.File"%>
|
||||
<%@page import="com.clipsoft.clipreport.server.service.ReportUtil"%>
|
||||
<%@page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
|
||||
<%
|
||||
OOFDocument oof = OOFDocument.newOOF();
|
||||
OOFFile file = oof.addFile("crfe.root", "%root%/crf/CLIP.crfe");
|
||||
%><%@include file="Property.jsp"%><%
|
||||
//세션을 활용하여 리포트키들을 관리하지 않는 옵션
|
||||
//request.getSession().setAttribute("ClipReport-SessionList-Allow", false);
|
||||
String resultKey = ReportUtil.createEForm(request, oof, "false", "false", request.getRemoteAddr(), propertyPath);
|
||||
|
||||
//리포트의 특정 사용자 ID를 부여합니다.
|
||||
//clipreport4.properties 의 useuserid 옵션이 true 일 때만 적용됩니다.
|
||||
//clipreport4.properties 의 useuserid 옵션이 true 이고 기본 예제[String resultKey = ReportUtil.createEForm(request, oof, "false", "false", request.getRemoteAddr(), propertyPath);] 사용 했을 때 세션ID가 userID로 사용 됩니다.
|
||||
//String resultKey = ReportUtil.createEForm(request, oof, "false", "false", request.getRemoteAddr(), propertyPath, "userID");
|
||||
|
||||
//리포트를 저장 스토리지를 지정하여 생성합니다.
|
||||
//String resultKey = ReportUtil.createEFormByStorage(request, oof, "false", "false", request.getRemoteAddr(), propertyPath, "rpt2");
|
||||
%>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<title>EForm</title>
|
||||
<meta name="viewport" content="width=800, user-scalable=no">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<link rel="stylesheet" type="text/css" href="./css/clipreport.css">
|
||||
<link rel="stylesheet" type="text/css" href="./css/eform.css">
|
||||
<link rel="stylesheet" type="text/css" href="./css/UserConfig.css">
|
||||
<link rel="stylesheet" type="text/css" href="./css/font.css">
|
||||
<script type='text/javascript' src='./js/jquery-1.11.1.js'></script>
|
||||
<script type='text/javascript' src='./js/clipreport.js?ver=1.0'></script>
|
||||
<script type='text/javascript' src='./js/UserConfig.js'></script>
|
||||
<script type='text/javascript'>
|
||||
var urlPath = document.location.protocol + "//" + document.location.host;
|
||||
|
||||
function html2xml(divPath){
|
||||
var eformkey = "<%=resultKey%>";
|
||||
var eform = createImportJSPEForm(urlPath + "/ClipReport4/Clip.jsp", eformkey, document.getElementById(divPath));
|
||||
|
||||
/*
|
||||
eform.setNecessaryEnabled(true);
|
||||
eform.setEndSaveButtonEvent(function (){
|
||||
alert(JSON.stringify(eform.getEFormData()));
|
||||
});
|
||||
*/
|
||||
eform.view();
|
||||
}
|
||||
|
||||
</script>
|
||||
</head>
|
||||
<body onload="html2xml('targetDiv1')">
|
||||
<div id='targetDiv1' style='position:absolute;top:5px;left:5px;right:5px;bottom:5px;'></div>
|
||||
</body>
|
||||
</html>
|
||||
@ -0,0 +1,199 @@
|
||||
<%@page import="com.clipsoft.clipreport.server.service.eform.EFormServerData"%>
|
||||
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
|
||||
<%@ page import="java.io.File"%>
|
||||
<%@ page import="java.io.OutputStream"%>
|
||||
<%@ page import="com.clipsoft.clipreport.server.service.*" %>
|
||||
<%@ page import="com.clipsoft.clipreport.server.service.export.*" %>
|
||||
<%@ page import="com.clipsoft.clipreport.server.service.export.save.SAVEReport" %>
|
||||
<%@ page import="com.clipsoft.clipreport.server.service.export.save.SAVEReportToFileDownload"%>
|
||||
<%@ page import="com.clipsoft.clipreport.server.service.export.save.SAVEReportToFileCheck"%>
|
||||
<%@ page import="com.clipsoft.clipreport.server.service.export.save.SAVEReportToFile"%>
|
||||
<%@ page import="com.clipsoft.clipreport.server.service.html.PrintHTML" %>
|
||||
<%@ page import="com.clipsoft.clipreport.server.service.reporteservice.*" %>
|
||||
<%@ page import="com.clipsoft.clipreport.server.service.eform.EFormUpdateDocument"%>
|
||||
<%@ page import="com.clipsoft.clipreport.server.service.eform.EFormPage"%>
|
||||
<%@ include file="Property.jsp"%><%
|
||||
out.clear();
|
||||
out=pageContext.pushBody();
|
||||
|
||||
|
||||
String clipData = request.getParameter("ClipData");
|
||||
if(null != clipData){
|
||||
EFormServerData eformData = new EFormServerData();
|
||||
String responseValue = eformData.doPostToString(request, propertyPath);
|
||||
eformData.setOutPutText(response, responseValue);
|
||||
}
|
||||
|
||||
//크로스 도메인 설정
|
||||
//response.setHeader("Access-Control-Allow-Origin", "*");
|
||||
|
||||
//세션을 활용하여 리포트키들을 관리하지 않는 옵션
|
||||
//request.getSession().setAttribute("ClipReport-SessionList-Allow", false);
|
||||
|
||||
String passName = request.getParameter("ClipID");
|
||||
|
||||
if(null != passName){
|
||||
if("R01".equals(passName)){
|
||||
NewReport newReport = new NewReport();
|
||||
newReport.doPost(request, response, propertyPath);
|
||||
//String responseValue = newReport.doPostToString(request, response, propertyPath);
|
||||
|
||||
//리포트의 특정 사용자 ID를 부여합니다.
|
||||
//clipreport4.properties 의 useuserid 옵션이 true 일 때만 적용됩니다.
|
||||
//clipreport4.properties 의 useuserid 옵션이 true 이고 기본 예제[newReport.doPost(request, response, propertyPath);] 사용 했을 때 세션ID가 userID로 사용 됩니다.
|
||||
//newReport.doPost(request, response, propertyPath, "userID");
|
||||
|
||||
//리포트key의 사용자문자열을 추가합니다.(문자숫자만 가능합니다.)
|
||||
//newReport.doPost(request, response, propertyPath, "userID", "userKey");
|
||||
}
|
||||
else if("R02".equals(passName)){
|
||||
Page page1 = new Page();
|
||||
page1.doPost(request, response, propertyPath);
|
||||
//String responseValue = page1.doPostToString(request, response, propertyPath);
|
||||
|
||||
//리포트의 특정 사용자 ID를 부여합니다.
|
||||
//clipreport4.properties 의 useuserid 옵션이 true 일 때만 적용됩니다.
|
||||
//page1.doPost(request, response, propertyPath, "userID");
|
||||
}
|
||||
else if("R03".equals(passName)){
|
||||
|
||||
PageCount pageCount = new PageCount();
|
||||
pageCount.doPost(request, response, propertyPath);
|
||||
//String responseValue = pageCount.doPostToString(request, response, propertyPath);
|
||||
}
|
||||
else if("R04".equals(passName)){
|
||||
DeleteReport deleteReport = new DeleteReport();
|
||||
deleteReport.doPost(request, response);
|
||||
//String responseValue = deleteReport.doPostToString(request, response, propertyPath);
|
||||
}
|
||||
|
||||
else if("R07".equals(passName)){
|
||||
HWPReport hwpReport = new HWPReport();
|
||||
hwpReport.doPost(request, response);
|
||||
|
||||
//리포트의 특정 사용자 ID를 부여합니다.
|
||||
//clipreport4.properties 의 useuserid 옵션이 true 일 때만 적용됩니다.
|
||||
//hwpReport.doPost(request, response, "userID");
|
||||
}
|
||||
else if("R08".equals(passName)){
|
||||
PDFReport pdfReport = new PDFReport();
|
||||
pdfReport.doPost(request, response);
|
||||
|
||||
//리포트의 특정 사용자 ID를 부여합니다.
|
||||
//clipreport4.properties 의 useuserid 옵션이 true 일 때만 적용됩니다.
|
||||
//pdfReport.doPost(request, response, "userID");
|
||||
}
|
||||
else if("R09".equals(passName)){
|
||||
SAVEReport saveReport = new SAVEReport();
|
||||
saveReport.doPost(request, response);
|
||||
|
||||
//리포트의 특정 사용자 ID를 부여합니다.
|
||||
//clipreport4.properties 의 useuserid 옵션이 true 일 때만 적용됩니다.
|
||||
//saveReport.doPost(request, response, "userID");
|
||||
|
||||
|
||||
//문서 암호화를 처리하기 위해서는 jsp forward 사용 합니다.
|
||||
//RequestDispatcher dispatcher = request.getRequestDispatcher("export/exportForEncryption.jsp");
|
||||
//dispatcher.forward(request, response);
|
||||
|
||||
}
|
||||
else if("R09S1".equals(passName)){
|
||||
SAVEReportToFile localSaveReport = new SAVEReportToFile();
|
||||
localSaveReport.doPost(request, response);
|
||||
|
||||
//리포트의 특정 사용자 ID를 부여합니다.
|
||||
//clipreport4.properties 의 useuserid 옵션이 true 일 때만 적용됩니다.
|
||||
//saveReport.doPost(request, response, "userID");
|
||||
|
||||
|
||||
//문서 암호화를 처리하기 위해서는 jsp forward 사용 합니다.
|
||||
//RequestDispatcher dispatcher = request.getRequestDispatcher("export/exportForEncryption.jsp");
|
||||
//dispatcher.forward(request, response);
|
||||
|
||||
}
|
||||
else if("R09S2".equals(passName)){
|
||||
SAVEReportToFileCheck saveFileCheck = new SAVEReportToFileCheck();
|
||||
saveFileCheck.doPost(request, response);
|
||||
}
|
||||
|
||||
else if("R09S3".equals(passName)){
|
||||
SAVEReportToFileDownload saveReport = new SAVEReportToFileDownload();
|
||||
saveReport.doPost(request, response);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
else if("R10".equals(passName)){
|
||||
PagePrint page1 = new PagePrint();
|
||||
page1.doPost(request, response);
|
||||
|
||||
//리포트의 특정 사용자 ID를 부여합니다.
|
||||
//clipreport4.properties 의 useuserid 옵션이 true 일 때만 적용됩니다.
|
||||
//page1.doPost(request, response, "userID");
|
||||
}
|
||||
else if("R11".equals(passName)){
|
||||
UpDatePage page1 = new UpDatePage();
|
||||
page1.doPost(request, response);
|
||||
|
||||
//리포트의 특정 사용자 ID를 부여합니다.
|
||||
//clipreport4.properties 의 useuserid 옵션이 true 일 때만 적용됩니다.
|
||||
//page1.doPost(request, response, "userID");
|
||||
}
|
||||
|
||||
else if("R15".equals(passName)){
|
||||
PrintHTML printHTML = new PrintHTML();
|
||||
printHTML.doPost(request, response);
|
||||
}
|
||||
|
||||
else if ("R16".equals(passName)) {
|
||||
FileDownLoadCheck fileCheck = new FileDownLoadCheck();
|
||||
fileCheck.doPost(request, response);
|
||||
//String responseValue = fileCheck.doPostToString(request, response, propertyPath);
|
||||
}
|
||||
else if ("R17".equals(passName)) {
|
||||
PageImage pageImage = new PageImage();
|
||||
pageImage.doPost(request, response);
|
||||
}
|
||||
else if("R30".equals(passName)){
|
||||
EFormPage eformPage = new EFormPage();
|
||||
eformPage.doPost(request, response, propertyPath);
|
||||
|
||||
//리포트의 특정 사용자 ID를 부여합니다.
|
||||
//clipreport4.properties 의 useuserid 옵션이 true 일 때만 적용됩니다.
|
||||
//eformPage.doPost(request, response, propertyPath, "userID");
|
||||
}
|
||||
else if("R31".equals(passName)){
|
||||
EFormUpdateDocument eformUpDate = new EFormUpdateDocument();
|
||||
eformUpDate.doPost(request, response);
|
||||
}
|
||||
|
||||
else if ("R50".equals(passName)) {
|
||||
PrintLicense printLicense = new PrintLicense();
|
||||
printLicense.doPost(request, response, propertyPath);
|
||||
}
|
||||
else if ("R51".equals(passName)) {
|
||||
UpdateLicense updateLicense = new UpdateLicense();
|
||||
updateLicense.doPost(request, response, propertyPath);
|
||||
}
|
||||
else if ("R52".equals(passName)) {
|
||||
ConfigurationAuthorization authorization = new ConfigurationAuthorization();
|
||||
authorization.doPost(request, response, propertyPath);
|
||||
}
|
||||
else if("R97".equals(passName)){
|
||||
SVGExport svgExport = new SVGExport();
|
||||
svgExport.doZipPost(request, response);
|
||||
}
|
||||
else if("R98".equals(passName)){
|
||||
ImageBase64Export imageExport = new ImageBase64Export();
|
||||
imageExport.doPost(request, response);
|
||||
}
|
||||
else if ("S01".equals(passName)){
|
||||
ExePrintInfo exePrintInfo = new ExePrintInfo();
|
||||
String strInfo = exePrintInfo.doPost(request);
|
||||
exePrintInfo.setOutPutText(response, strInfo);
|
||||
}
|
||||
|
||||
// Report
|
||||
}
|
||||
%>
|
||||
@ -0,0 +1,76 @@
|
||||
<%@page import="com.clipsoft.clipreport.export.option.PDFOption"%>
|
||||
<%@page import="com.clipsoft.clipreport.oof.OOFFile"%>
|
||||
<%@page import="com.clipsoft.clipreport.oof.OOFDocument"%>
|
||||
<%@page import="com.clipsoft.clipreport.server.service.ClipReportExport"%>
|
||||
<%@page import="java.util.Calendar"%>
|
||||
<%@page import="java.io.OutputStream"%>
|
||||
<%@page import="java.io.File"%>
|
||||
<%@page import="java.io.FileOutputStream"%>
|
||||
<%@page import="java.io.PrintWriter"%>
|
||||
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
|
||||
<%@include file="Property.jsp"%>
|
||||
<%
|
||||
String reportFileNm = request.getParameter("crfFileNm");
|
||||
String pdfFileNm = request.getParameter("pdfFileNm");
|
||||
String filePath = request.getParameter("filePath");
|
||||
|
||||
out.clear(); // where out is a JspWriter
|
||||
out = pageContext.pushBody();
|
||||
|
||||
OOFDocument oof = OOFDocument.newOOF();
|
||||
OOFFile file = oof.addFile("crf.root", "%root%/crf/"+reportFileNm+".crf");
|
||||
//oof.addfield("")
|
||||
|
||||
String jsonStr = "";
|
||||
|
||||
String saveFolder = "/was_data/FIS/upload/blockChain/" + filePath;
|
||||
|
||||
File targetDir = new File(saveFolder);
|
||||
|
||||
if (!targetDir.exists()) {
|
||||
targetDir.mkdirs();
|
||||
}
|
||||
|
||||
//서버에 파일로 저장 할 때
|
||||
File localFileSave = new File( saveFolder + pdfFileNm + ".pdf");
|
||||
OutputStream fileStream = new FileOutputStream(localFileSave);
|
||||
|
||||
//response.setContentType("application/json");
|
||||
|
||||
//클라이언트로 파일을 내릴 때
|
||||
//String fileName = "report.pdf";
|
||||
//response.setContentType("application/octet-stream; charset=UTF-8");
|
||||
//response.setHeader("Content-Disposition", "attachment; filename=" + fileName + ";");
|
||||
//OutputStream fileStream = response.getOutputStream();
|
||||
|
||||
//클라이언트 브라우져에서 바로 보는 방법(헤더 변경)
|
||||
//response.setContentType("application/pdf");
|
||||
//OutputStream fileStream = response.getOutputStream();
|
||||
|
||||
PDFOption option = null;
|
||||
/*
|
||||
option = new PDFOption();
|
||||
option.setUserPassword("사용자(읽기) 암호");
|
||||
option.setOwnerPassword("저자(쓰기) 암호");
|
||||
option.setTextToImage(true); // 글자를 이미지로 처리 - unicode 처리시 사용
|
||||
option.setNumCopies(1); // 프린팅 매수 미리 설정
|
||||
option.setImportOriginImage(true); // 원본 이미지 삽입
|
||||
option.setNotAllowCopy(true); //text복사 방지 (1.0.0.84 version 부터 적용)
|
||||
option.setEditable(false); // 편집 허용 여부 (1.0.0.173 version 부터 적용)
|
||||
*/
|
||||
//pdf 생성 데이터를 한번에 저장
|
||||
boolean isDataSaveOnce = true;
|
||||
int statusType = ClipReportExport.createExportForPDF(request, fileStream, propertyPath, oof, option, isDataSaveOnce);
|
||||
|
||||
//int statusType = ClipReportExport.createExportForPDF(request, fileStream, propertyPath, oof, option);
|
||||
//statusType == 0 정상적인 출력
|
||||
//statusType == 1 인스톨 오류
|
||||
//statusType == 2 oof 문서 오류
|
||||
//statusType == 3 리포트 엔진 오류
|
||||
//statusType == 4 PDF 출력 오류
|
||||
//statusType == 5 리포트의 페이지 0 일 경우 오류
|
||||
jsonStr = "{\"statusType\" :" + Integer.toString(statusType) + "}";
|
||||
%>
|
||||
<%=statusType%>
|
||||
|
||||
|
||||
|
After Width: | Height: | Size: 13 MiB |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 649 B |
|
After Width: | Height: | Size: 20 KiB |
|
After Width: | Height: | Size: 635 B |
|
After Width: | Height: | Size: 617 B |
|
After Width: | Height: | Size: 598 B |
|
After Width: | Height: | Size: 668 B |
|
After Width: | Height: | Size: 637 B |
|
After Width: | Height: | Size: 22 KiB |
|
After Width: | Height: | Size: 22 KiB |
|
After Width: | Height: | Size: 22 KiB |
|
After Width: | Height: | Size: 22 KiB |
|
After Width: | Height: | Size: 22 KiB |
|
After Width: | Height: | Size: 24 KiB |
|
After Width: | Height: | Size: 22 KiB |
|
After Width: | Height: | Size: 22 KiB |
|
After Width: | Height: | Size: 22 KiB |
|
After Width: | Height: | Size: 22 KiB |
|
After Width: | Height: | Size: 22 KiB |
|
After Width: | Height: | Size: 668 B |
|
After Width: | Height: | Size: 572 B |