최초커밋(나머지)

main
이범준 11 months ago
parent 7e3e6113ef
commit 99f4dcda19

@ -0,0 +1,220 @@
<%@page import="com.clipsoft.clipreport.server.service.viewer.MemoUpdate"%>
<%@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("exportViewImageBase64".equals(ClipType)){
ExportViewImage viewImage = new ExportViewImage();
viewImage.doPostBase64(request, response, propertyPath);
}
else if("DocumentPageView".equals(ClipType)){
MakeDocumentJSON documentPage = new MakeDocumentJSON();
documentPage.doPost(request, response, propertyPath);
}
else if("memoUpdate".equals(ClipType)){
MemoUpdate memoUpdate = new MemoUpdate();
String responseValue = memoUpdate.doPost(request, propertyPath);
memoUpdate.setOutPutText(response, responseValue);
}
}
%>

@ -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;
*/
}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

@ -0,0 +1,31 @@
/*
* Nanum Gothic (Korean) http://www.google.com/fonts/earlyaccess
*/
@font-face {
font-family: 'NanumGothic';
font-style: normal;
font-weight: 400;
src: url(../font/NanumGothic-Regular.eot);
src: url(../font/NanumGothic-Regular.eot?#iefix) format('embedded-opentype'),
url(../font/NanumGothic-Regular.woff2) format('woff2'),
url(../font/NanumGothic-Regular.woff) format('woff'),
url(../font/NanumGothic-Regular.ttf) format('truetype');
/*
url(../font/NanumGothic-Regular.svg#NanumGothic) format('svg');
*/
}
@font-face {
font-family: '나눔고딕';
font-style: normal;
font-weight: 400;
src: url(../font/NanumGothic-Regular.eot);
src: url(../font/NanumGothic-Regular.eot?#iefix) format('embedded-opentype'),
url(../font/NanumGothic-Regular.woff2) format('woff2'),
url(../font/NanumGothic-Regular.woff) format('woff'),
url(../font/NanumGothic-Regular.ttf) format('truetype');
/*
url(../font/NanumGothic-Regular.svg#) format('svg');
*/
}

@ -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("*", "brspw");
%><%@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 + '${pageContext.request.contextPath}';
function html2xml(divPath){
var reportkey = "<%=resultKey%>";
var report = createImportJSPReport(urlPath + "/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
}
%>

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 13 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 649 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 635 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 617 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 598 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 668 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 637 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 668 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 572 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 669 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 638 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 467 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

@ -0,0 +1,110 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 18.1.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="레이어_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px"
y="0px" viewBox="0 0 30 30" enable-background="new 0 0 30 30" xml:space="preserve">
<g>
<path fill="#F8B500" d="M-96.7,12.5v1.7h-20.6v-1.7c-1.9,0-3.4,1.5-3.4,3.4v10.3c0,1,0.8,1.7,1.7,1.7H-95c1,0,1.7-0.8,1.7-1.7V15.9
C-93.3,14-94.8,12.5-96.7,12.5L-96.7,12.5z M-98.4,24.5c0,1-0.8,1.7-1.7,1.7h-13.8c-0.9,0-1.7-0.8-1.7-1.7v-1.7h17.2V24.5z
M-95.8,19.4h-1.7c-0.5,0-0.9-0.4-0.9-0.9s0.4-0.9,0.9-0.9h1.7c0.5,0,0.9,0.4,0.9,0.9S-95.4,19.4-95.8,19.4L-95.8,19.4z
M-95.8,19.4"/>
<g>
<path fill="#9FA0A0" d="M-98.4,0.8h-17.2v12h17.2V0.8z M-99.4,11.8h-15.2v-10h15.2V11.8z M-100.1,11.1"/>
<rect x="-112.5" y="3.7" fill="#9FA0A0" width="10.9" height="1"/>
<rect x="-112.5" y="8.9" fill="#9FA0A0" width="10.9" height="1"/>
<rect x="-112.5" y="6.3" fill="#9FA0A0" width="10.9" height="1"/>
</g>
</g>
<g>
<path fill="#F8B500" d="M-58,1.7h-2.1v8.5h-14.6V1.7h-2.1c-2.1,0-3.9,1.7-3.9,3.8v18.8c0,2.1,1.7,3.8,3.9,3.8H-58
c2.1,0,3.9-1.7,3.9-3.8V5.5C-54.1,3.4-55.9,1.7-58,1.7z M-58.5,24.1c0,1.5-1.2,2.6-2.7,2.6h-12.4c-1.5,0-2.7-1.2-2.7-2.6v-5.3
c0-1.5,1.2-2.7,2.7-2.7h12.4c1.5,0,2.7,1.2,2.7,2.7V24.1z"/>
<g>
<rect x="-73.1" y="2.9" fill="#B5B5B6" width="2.7" height="6"/>
</g>
<g>
<rect x="-74.9" y="21.2" fill="#B5B5B6" width="15.1" height="0.7"/>
<rect x="-74.9" y="23.3" fill="#B5B5B6" width="15.1" height="0.7"/>
<rect x="-74.9" y="19" fill="#B5B5B6" width="15.1" height="0.7"/>
</g>
<path fill-rule="evenodd" clip-rule="evenodd" fill="#0068B7" d="M-63.6,6.3h2.6l-4.1,2.6l-4.1-2.6h2.9V0.6c0.9,0,1.9,0,2.8,0V6.3z
"/>
</g>
<g>
<path fill="#9FA0A0" d="M-35.5,0c8.3,0,15,6.7,15,15c0,8.3-6.7,15-15,15c-8.3,0-15-6.7-15-15C-50.5,6.7-43.8,0-35.5,0L-35.5,0z
M-35.5,29c7.7,0,14-6.3,14-14c0-7.7-6.3-14-14-14c-7.7,0-14,6.3-14,14C-49.5,22.7-43.2,29-35.5,29L-35.5,29z M-35.5,29"/>
<path d="M-37.3,9.7c0.1,0,0.3,0,0.4,0.1l5,5c0.2,0.2,0.2,0.5,0,0.7l-5,5c-0.2,0.2-0.5,0.2-0.7,0c-0.2-0.2-0.2-0.5,0-0.7l4.6-4.6
l-4.6-4.6c-0.2-0.2-0.2-0.5,0-0.7C-37.5,9.8-37.4,9.7-37.3,9.7L-37.3,9.7z M-37.3,9.7"/>
</g>
<g>
<path fill="#9FA0A0" d="M-35.5,38.4c8.3,0,15,6.7,15,15c0,8.3-6.7,15-15,15c-8.3,0-15-6.7-15-15C-50.5,45.1-43.8,38.4-35.5,38.4
L-35.5,38.4z M-35.5,67.4c7.7,0,14-6.3,14-14c0-7.7-6.3-14-14-14c-7.7,0-14,6.3-14,14C-49.5,61.1-43.2,67.4-35.5,67.4L-35.5,67.4z
M-35.5,67.4"/>
<g>
<path d="M-40.1,47.9c0.1,0,0.3,0,0.4,0.1l5,5c0.2,0.2,0.2,0.5,0,0.7l-5,5c-0.2,0.2-0.5,0.2-0.7,0c-0.2-0.2-0.2-0.5,0-0.7l4.6-4.6
l-4.6-4.6c-0.2-0.2-0.2-0.5,0-0.7C-40.4,48-40.2,47.9-40.1,47.9L-40.1,47.9z M-40.1,47.9"/>
<path d="M-30.5,48.2v10.4c0,0.2-0.2,0.4-0.5,0.4c-0.3,0-0.5-0.2-0.5-0.4V48.2c0-0.2,0.2-0.4,0.5-0.4C-30.7,47.8-30.5,48-30.5,48.2
L-30.5,48.2z M-30.5,48.2"/>
</g>
</g>
<g>
<path fill="#9FA0A0" d="M-148.3,30c-8.3,0-15-6.7-15-15c0-8.3,6.7-15,15-15c8.3,0,15,6.7,15,15C-133.3,23.3-140.1,30-148.3,30
L-148.3,30z M-148.3,1c-7.7,0-14,6.3-14,14c0,7.7,6.3,14,14,14c7.7,0,14-6.3,14-14C-134.4,7.3-140.6,1-148.3,1L-148.3,1z M-148.3,1
"/>
<path d="M-146.6,20.3c-0.1,0-0.3,0-0.4-0.1l-5-5c-0.2-0.2-0.2-0.5,0-0.7l5-5c0.2-0.2,0.5-0.2,0.7,0c0.2,0.2,0.2,0.5,0,0.7l-4.6,4.6
l4.6,4.6c0.2,0.2,0.2,0.5,0,0.7C-146.3,20.2-146.5,20.3-146.6,20.3L-146.6,20.3z M-146.6,20.3"/>
</g>
<g>
<path fill="#9FA0A0" d="M-153.1,71.8c-8.3,0-15-6.7-15-15c0-8.3,6.7-15,15-15c8.3,0,15,6.7,15,15
C-138.1,65.1-144.8,71.8-153.1,71.8L-153.1,71.8z M-153.1,42.8c-7.7,0-14,6.3-14,14c0,7.7,6.3,14,14,14c7.7,0,14-6.3,14-14
C-139.1,49.1-145.4,42.8-153.1,42.8L-153.1,42.8z M-153.1,42.8"/>
<g>
<path d="M-148.5,62.3c-0.1,0-0.3,0-0.4-0.1l-5-5c-0.2-0.2-0.2-0.5,0-0.7l5-5c0.2-0.2,0.5-0.2,0.7,0c0.2,0.2,0.2,0.5,0,0.7
l-4.6,4.6l4.6,4.6c0.2,0.2,0.2,0.5,0,0.7C-148.2,62.3-148.4,62.3-148.5,62.3L-148.5,62.3z M-148.5,62.3"/>
<path d="M-158.1,62V51.6c0-0.2,0.2-0.4,0.5-0.4c0.3,0,0.5,0.2,0.5,0.4V62c0,0.2-0.2,0.4-0.5,0.4C-157.9,62.5-158.1,62.3-158.1,62
L-158.1,62z M-158.1,62"/>
</g>
</g>
<rect fill="none" width="30" height="30"/>
<g>
<g>
<path fill="#9FA0A0" d="M-80.3,55.5c2.3,0,4.2-1.9,4.2-4.2c0-2.3-1.9-4.2-4.2-4.2c-2.3,0-4.2,1.9-4.2,4.2
C-84.5,53.6-82.7,55.5-80.3,55.5L-80.3,55.5z M-80.3,55.5"/>
<path fill="#9FA0A0" d="M-83.9,56.3c-1.6,0-2.9,1.3-2.9,2.9v3.3c0,0.3,0.3,0.6,0.6,0.6h11.9c0.3,0,0.6-0.3,0.6-0.6v-3.2
c0-0.1,0.1-0.2,0.1-0.3l2.3-6.1c0.1-0.2,0.1-0.4,0.1-0.6v-6.8c0-1-0.8-1.8-1.8-1.8c-1,0-1.8,0.8-1.8,1.8V52l-1.6,4.3H-83.9z
M-83.9,56.3"/>
</g>
<g>
<path fill="#F8B500" d="M-97.4,42.7h2.3c0.5,0,0.9-0.4,1-0.8c0.1-0.9,0.4-1.5,0.8-1.9c0.4-0.4,0.9-0.5,1.6-0.5
c0.7,0,1.3,0.2,1.7,0.6c0.4,0.4,0.6,0.9,0.6,1.6c0,0.3-0.1,0.6-0.2,0.9c-0.1,0.1-0.4,0.6-1.5,1.5c-1,0.9-1.7,1.7-2.2,2.5
c-0.4,0.8-0.6,2.1-0.6,3.7c0,0.5,0.4,1,1,1h2.1c0.5,0,1-0.4,1-1c0-1.3,0.2-1.8,0.2-2c0.1-0.2,0.4-0.6,1.6-1.6
c1.1-0.9,1.8-1.7,2.3-2.5c0.4-0.8,0.7-1.7,0.7-2.7c0-1.7-0.6-3.1-1.9-4.2c-1.2-1.1-2.8-1.6-4.8-1.6c-1.8,0-3.4,0.5-4.6,1.6
c-1.2,1.1-1.9,2.6-2.1,4.4C-98.5,42.2-98,42.7-97.4,42.7L-97.4,42.7z M-97.4,42.7"/>
<path fill="#F8B500" d="M-90.8,56.8c0.5,0,1-0.4,1-1v-2.1c0-0.5-0.4-1-1-1h-2.1c-0.5,0-1,0.4-1,1v2.1c0,0.5,0.4,1,1,1H-90.8z
M-90.8,56.8"/>
</g>
</g>
<g>
<line fill="#F8B500" x1="10.5" y1="19.5" x2="19.5" y2="10.5"/>
<line fill="#F8B500" x1="10.5" y1="10.5" x2="19.5" y2="19.5"/>
<g>
<path d="M10.5,20c-0.1,0-0.3-0.1-0.4-0.1c-0.2-0.2-0.2-0.5,0-0.7l8.9-8.9c0.2-0.2,0.5-0.2,0.7,0c0.2,0.2,0.2,0.5,0,0.7l-8.9,8.9
C10.8,19.9,10.7,20,10.5,20L10.5,20z M10.5,20"/>
<path d="M19.5,20c-0.1,0-0.3-0.1-0.4-0.1l-8.9-8.9c-0.2-0.2-0.2-0.5,0-0.7c0.2-0.2,0.5-0.2,0.7,0l8.9,8.9c0.2,0.2,0.2,0.5,0,0.7
C19.7,19.9,19.6,20,19.5,20L19.5,20z M19.5,20"/>
</g>
<path fill="#9FA0A0" d="M15,30C6.7,30,0,23.3,0,15S6.7,0,15,0c8.3,0,15,6.7,15,15S23.3,30,15,30L15,30z M15,1C7.3,1,1,7.3,1,15
c0,7.7,6.3,14,14,14c7.7,0,14-6.3,14-14C29,7.3,22.7,1,15,1L15,1z M15,1"/>
</g>
<g>
<path fill="#9FA0A0" d="M77.7,30c-8.3,0-15-6.7-15-15c0-8.3,6.7-15,15-15c8.3,0,15,6.7,15,15C92.7,23.3,86,30,77.7,30L77.7,30z
M77.7,1c-7.7,0-14,6.3-14,14c0,7.7,6.3,14,14,14c7.7,0,14-6.3,14-14C91.7,7.3,85.4,1,77.7,1L77.7,1z M77.7,1"/>
<g>
<path d="M83.2,12.8c0,0.1,0,0.3-0.1,0.4l-5,5c-0.2,0.2-0.5,0.2-0.7,0l-5-5c-0.2-0.2-0.2-0.5,0-0.7c0.2-0.2,0.5-0.2,0.7,0l4.6,4.6
l4.6-4.6c0.2-0.2,0.5-0.2,0.7,0C83.2,12.6,83.2,12.7,83.2,12.8L83.2,12.8z M83.2,12.8"/>
<path d="M82.9,22.4H72.5c-0.2,0-0.4-0.2-0.4-0.5c0-0.3,0.2-0.5,0.4-0.5h10.4c0.2,0,0.4,0.2,0.4,0.5C83.4,22.2,83.2,22.4,82.9,22.4
L82.9,22.4z M82.9,22.4"/>
<path d="M77.2,16.9V6.4c0-0.2,0.2-0.4,0.5-0.4c0.3,0,0.5,0.2,0.5,0.4v10.4c0,0.2-0.2,0.4-0.5,0.4C77.5,17.3,77.2,17.1,77.2,16.9
L77.2,16.9z M77.2,16.9"/>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 6.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save