diff --git a/RunQianUpdate/globalTemp.css b/RunQianUpdate/globalTemp.css new file mode 100644 index 00000000..137f8f69 --- /dev/null +++ b/RunQianUpdate/globalTemp.css @@ -0,0 +1,460 @@ +_global_标题{ +font-family:微软雅黑 !important; +font-size:24px !important; +color:#3e9d95 !important; +font-weight: bold !important; +font-style: normal !important; +text-decoration: none !important; +text-align:left !important; +vertical-align:middle !important; +background-color:#ffffff !important; +border-left-style:none !important; +border-left-width:0.5px !important; +border-left-color:#0 !important; +border-top-style:none !important; +border-top-width:0.5px !important; +border-top-color:#0 !important; +border-right-style:none !important; +border-right-width:0.5px !important; +border-right-color:#0 !important; +border-bottom-style:none !important; +border-bottom-width:0.5px !important; +border-bottom-color:#0 !important; +} +_global_副标题{ +font-family:微软雅黑 !important; +font-size:14px !important; +color:#666666 !important; +font-weight: bold !important; +font-style: italic !important; +text-decoration: none !important; +text-align:left !important; +vertical-align:middle !important; +background-color:#cceae8 !important; +border-left-style:none !important; +border-left-width:0.5px !important; +border-left-color:#0 !important; +border-top-style:none !important; +border-top-width:0.5px !important; +border-top-color:#0 !important; +border-right-style:none !important; +border-right-width:0.5px !important; +border-right-color:#0 !important; +border-bottom-style:none !important; +border-bottom-width:0.5px !important; +border-bottom-color:#0 !important; +} +_global_二级表头{ +font-family:微软雅黑 !important; +font-size:12px !important; +color:#333333 !important; +font-weight: bold !important; +font-style: normal !important; +text-decoration: none !important; +text-align:center !important; +vertical-align:middle !important; +background-color:#acdfda !important; +border-left-style:none !important; +border-left-width:0.5px !important; +border-left-color:#0 !important; +border-top-style:none !important; +border-top-width:0.5px !important; +border-top-color:#0 !important; +border-right-style:none !important; +border-right-width:0.5px !important; +border-right-color:#0 !important; +border-bottom-style:none !important; +border-bottom-width:0.5px !important; +border-bottom-color:#0 !important; +} +_global_注释{ +font-family:微软雅黑 !important; +font-size:11px !important; +color:#999999 !important; +font-weight: normal !important; +font-style: italic !important; +text-decoration: none !important; +text-align:left !important; +vertical-align:middle !important; +background-color:#ffffff !important; +border-left-style:none !important; +border-left-width:0.5px !important; +border-left-color:#0 !important; +border-top-style:none !important; +border-top-width:0.5px !important; +border-top-color:#0 !important; +border-right-style:none !important; +border-right-width:0.5px !important; +border-right-color:#0 !important; +border-bottom-style:none !important; +border-bottom-width:0.5px !important; +border-bottom-color:#0 !important; +} +_global_表头{ +font-family:微软雅黑 !important; +font-size:16px !important; +color:#c5e0b2 !important; +font-weight: bold !important; +font-style: normal !important; +text-decoration: none !important; +text-align:center !important; +vertical-align:middle !important; +background-color:#3e9d95 !important; +border-left-style:none !important; +border-left-width:0.5px !important; +border-left-color:#0 !important; +border-top-style:none !important; +border-top-width:0.5px !important; +border-top-color:#0 !important; +border-right-style:none !important; +border-right-width:0.5px !important; +border-right-color:#0 !important; +border-bottom-style:none !important; +border-bottom-width:0.5px !important; +border-bottom-color:#0 !important; +} +_global_左表头{ +font-family:微软雅黑 !important; +font-size:11px !important; +color:#0 !important; +font-weight: normal !important; +font-style: normal !important; +text-decoration: none !important; +text-align:left !important; +vertical-align:middle !important; +background-color:#ffffff !important; +border-left-style:none !important; +border-left-width:0.5px !important; +border-left-color:#0 !important; +border-top-style:none !important; +border-top-width:0.5px !important; +border-top-color:#0 !important; +border-right-style:none !important; +border-right-width:0.5px !important; +border-right-color:#0 !important; +border-bottom-style:none !important; +border-bottom-width:0.5px !important; +border-bottom-color:#0 !important; +} +_global_报表主体{ +font-family:微软雅黑 !important; +font-size:11px !important; +color:#0 !important; +font-weight: normal !important; +font-style: normal !important; +text-decoration: none !important; +text-align:center !important; +vertical-align:middle !important; +background-color:#ffffff !important; +border-left-style:none !important; +border-left-width:0.5px !important; +border-left-color:#0 !important; +border-top-style:none !important; +border-top-width:0.5px !important; +border-top-color:#0 !important; +border-right-style:none !important; +border-right-width:0.5px !important; +border-right-color:#0 !important; +border-bottom-style:none !important; +border-bottom-width:0.5px !important; +border-bottom-color:#0 !important; +} +_global_报表主体(渐变){ +font-family:微软雅黑 !important; +font-size:11px !important; +color:#0 !important; +font-weight: normal !important; +font-style: normal !important; +text-decoration: none !important; +text-align:center !important; +vertical-align:middle !important; +background-color:#cceae8 !important; +border-left-style:none !important; +border-left-width:0.5px !important; +border-left-color:#0 !important; +border-top-style:none !important; +border-top-width:0.5px !important; +border-top-color:#0 !important; +border-right-style:none !important; +border-right-width:0.5px !important; +border-right-color:#0 !important; +border-bottom-style:none !important; +border-bottom-width:0.5px !important; +border-bottom-color:#0 !important; +} +_global_报表信息{ +font-family:微软雅黑 !important; +font-size:11px !important; +color:#0 !important; +font-weight: normal !important; +font-style: italic !important; +text-decoration: none !important; +text-align:left !important; +vertical-align:middle !important; +background-color:#ffffff !important; +border-left-style:none !important; +border-left-width:0.5px !important; +border-left-color:#0 !important; +border-top-style:none !important; +border-top-width:0.5px !important; +border-top-color:#0 !important; +border-right-style:none !important; +border-right-width:0.5px !important; +border-right-color:#0 !important; +border-bottom-style:none !important; +border-bottom-width:0.5px !important; +border-bottom-color:#0 !important; +} +_global_引用链接{ +font-family:微软雅黑 !important; +font-size:12px !important; +color:#5875cf !important; +font-weight: normal !important; +font-style: normal !important; +text-decoration: none !important; +text-align:center !important; +vertical-align:middle !important; +background-color:#ffffff !important; +border-left-style:none !important; +border-left-width:0.5px !important; +border-left-color:#0 !important; +border-top-style:none !important; +border-top-width:0.5px !important; +border-top-color:#0 !important; +border-right-style:none !important; +border-right-width:0.5px !important; +border-right-color:#0 !important; +border-bottom-style:none !important; +border-bottom-width:0.5px !important; +border-bottom-color:#0 !important; +} +_global_强调{ +font-family:宋体 !important; +font-size:11px !important; +color:#0 !important; +font-weight: bold !important; +font-style: normal !important; +text-decoration: none !important; +text-align:center !important; +vertical-align:middle !important; +background-color:#ffffff !important; +border-left-style:none !important; +border-left-width:0.5px !important; +border-left-color:#0 !important; +border-top-style:none !important; +border-top-width:0.5px !important; +border-top-color:#0 !important; +border-right-style:none !important; +border-right-width:0.5px !important; +border-right-color:#0 !important; +border-bottom-style:none !important; +border-bottom-width:0.5px !important; +border-bottom-color:#0 !important; +} +_global_汇总标题{ +font-family:微软雅黑 !important; +font-size:12px !important; +color:#c5e0b2 !important; +font-weight: bold !important; +font-style: normal !important; +text-decoration: none !important; +text-align:center !important; +vertical-align:middle !important; +background-color:#3e9d95 !important; +border-left-style:none !important; +border-left-width:0.5px !important; +border-left-color:#0 !important; +border-top-style:none !important; +border-top-width:0.5px !important; +border-top-color:#0 !important; +border-right-style:none !important; +border-right-width:0.5px !important; +border-right-color:#0 !important; +border-bottom-style:none !important; +border-bottom-width:0.5px !important; +border-bottom-color:#0 !important; +} +_global_填报格{ +font-family:微软雅黑 !important; +font-size:11px !important; +color:#0 !important; +font-weight: normal !important; +font-style: normal !important; +text-decoration: none !important; +text-align:left !important; +vertical-align:middle !important; +background-color:#c6e0b4 !important; +border-left-style:none !important; +border-left-width:0.5px !important; +border-left-color:#0 !important; +border-top-style:none !important; +border-top-width:0.5px !important; +border-top-color:#0 !important; +border-right-style:none !important; +border-right-width:0.5px !important; +border-right-color:#0 !important; +border-bottom-style:none !important; +border-bottom-width:0.5px !important; +border-bottom-color:#0 !important; +} +_global_汇总数字{ +font-family:宋体 !important; +font-size:11px !important; +color:#0 !important; +font-weight: bold !important; +font-style: normal !important; +text-decoration: none !important; +text-align:right !important; +vertical-align:middle !important; +background-color:#acdfda !important; +border-left-style:none !important; +border-left-width:0.5px !important; +border-left-color:#0 !important; +border-top-style:none !important; +border-top-width:0.5px !important; +border-top-color:#0 !important; +border-right-style:none !important; +border-right-width:0.5px !important; +border-right-color:#0 !important; +border-bottom-style:none !important; +border-bottom-width:0.5px !important; +border-bottom-color:#0 !important; +} +_global_预警数字{ +font-family:微软雅黑 !important; +font-size:11px !important; +color:#ff0000 !important; +font-weight: bold !important; +font-style: normal !important; +text-decoration: none !important; +text-align:right !important; +vertical-align:middle !important; +background-color:#ffffff !important; +border-left-style:none !important; +border-left-width:0.5px !important; +border-left-color:#0 !important; +border-top-style:none !important; +border-top-width:0.5px !important; +border-top-color:#0 !important; +border-right-style:none !important; +border-right-width:0.5px !important; +border-right-color:#0 !important; +border-bottom-style:none !important; +border-bottom-width:0.5px !important; +border-bottom-color:#0 !important; +} +_global_数值型{ +font-family:微软雅黑 !important; +font-size:11px !important; +color:#0 !important; +font-weight: normal !important; +font-style: normal !important; +text-decoration: none !important; +text-align:right !important; +vertical-align:middle !important; +background-color:#ffffff !important; +border-left-style:none !important; +border-left-width:0.5px !important; +border-left-color:#0 !important; +border-top-style:none !important; +border-top-width:0.5px !important; +border-top-color:#0 !important; +border-right-style:none !important; +border-right-width:0.5px !important; +border-right-color:#0 !important; +border-bottom-style:none !important; +border-bottom-width:0.5px !important; +border-bottom-color:#0 !important; +} +_global_日期型{ +font-family:宋体 !important; +font-size:11px !important; +color:#0 !important; +font-weight: normal !important; +font-style: normal !important; +text-decoration: none !important; +text-align:center !important; +vertical-align:middle !important; +background-color:#ffffff !important; +border-left-style:none !important; +border-left-width:0.5px !important; +border-left-color:#0 !important; +border-top-style:none !important; +border-top-width:0.5px !important; +border-top-color:#0 !important; +border-right-style:none !important; +border-right-width:0.5px !important; +border-right-color:#0 !important; +border-bottom-style:none !important; +border-bottom-width:0.5px !important; +border-bottom-color:#0 !important; +} +_global_尾标题{ +font-family:微软雅黑 !important; +font-size:11px !important; +color:#c5e0a8 !important; +font-weight: bold !important; +font-style: normal !important; +text-decoration: none !important; +text-align:center !important; +vertical-align:middle !important; +background-color:#3e9d95 !important; +border-left-style:none !important; +border-left-width:0.5px !important; +border-left-color:#0 !important; +border-top-style:none !important; +border-top-width:0.5px !important; +border-top-color:#0 !important; +border-right-style:none !important; +border-right-width:0.5px !important; +border-right-color:#0 !important; +border-bottom-style:none !important; +border-bottom-width:0.5px !important; +border-bottom-color:#0 !important; +} +_global_页眉{ +font-family:微软雅黑 !important; +font-size:11px !important; +color:#999999 !important; +font-weight: normal !important; +font-style: normal !important; +text-decoration: none !important; +text-align:left !important; +vertical-align:middle !important; +background-color:#ffffff !important; +border-left-style:none !important; +border-left-width:0.5px !important; +border-left-color:#999999 !important; +border-top-style:none !important; +border-top-width:0.5px !important; +border-top-color:#999999 !important; +border-right-style:none !important; +border-right-width:0.5px !important; +border-right-color:#999999 !important; +border-bottom-style:dotted !important; +border-bottom-width:0.5px !important; +border-bottom-color:#999999 !important; +} +_global_页脚{ +font-family:微软雅黑 !important; +font-size:11px !important; +color:#999999 !important; +font-weight: normal !important; +font-style: normal !important; +text-decoration: none !important; +text-align:left !important; +vertical-align:middle !important; +background-color:#ffffff !important; +border-left-style:none !important; +border-left-width:0.5px !important; +border-left-color:#999999 !important; +border-top-style:dotted !important; +border-top-width:0.5px !important; +border-top-color:#999999 !important; +border-right-style:none !important; +border-right-width:0.5px !important; +border-right-color:#999999 !important; +border-bottom-style:none !important; +border-bottom-width:0.5px !important; +border-bottom-color:#999999 !important; +} diff --git a/RunQianUpdate/reportStyle.css b/RunQianUpdate/reportStyle.css new file mode 100644 index 00000000..f7b283d7 --- /dev/null +++ b/RunQianUpdate/reportStyle.css @@ -0,0 +1,9 @@ +_title{ + font-size: 20px; + font-weight: bold; + color: #4b4b4b; +} + +_bold{ + font-weight: bold; +} \ No newline at end of file diff --git a/RunQianUpdate/reportStyleConfig.xml b/RunQianUpdate/reportStyleConfig.xml new file mode 100644 index 00000000..f05abc9e --- /dev/null +++ b/RunQianUpdate/reportStyleConfig.xml @@ -0,0 +1,11 @@ +锘 + + + mystyle2 + globalTemp.css + + + reportStyle + reportStyle.css + + \ No newline at end of file diff --git a/RunQianUpdate/reportTrialLicense20211231.xml b/RunQianUpdate/reportTrialLicense20211231.xml deleted file mode 100644 index 9cc2630b..00000000 --- a/RunQianUpdate/reportTrialLicense20211231.xml +++ /dev/null @@ -1,29 +0,0 @@ - - - -3 -"娑︿咕鎶ヨ〃" -1 -4 -2 -"2022-01-01" - -2 -"2022-01-01" -"浠呴檺瀛︿範璇曠敤绂佹鍟嗙敤" -54 -"oooo-oooo-ooxx-oxxo" -1 -"" -"" -"鍖椾含娑︿咕淇℃伅绯荤粺鎶鏈湁闄愬叕鍙" -"http://www.raqsoft.com.cn" -"010-51295366" -"" -"2020-2021" -"娑︿咕杞欢2021" -"" -"" -"h6l8LLMkUbM7RIIjlMB1U9PeSXuyp2ka+xXS5wB6r8GE9NI2iTlC62ppvkHhxQXdk3myHYF13creSceqvWVGqLcOFT+QOfYxyy0j1u41ItLS4d5sBCKf6giXgFsYL+YK9HqpQVKSr26bXeSeSHKOpo3EOOxjnlqhiB/E94zzxqU=" - - diff --git a/RunQianUpdate/src/Test.java b/RunQianUpdate/src/Test.java index 91905758..5b62d542 100644 --- a/RunQianUpdate/src/Test.java +++ b/RunQianUpdate/src/Test.java @@ -33,11 +33,13 @@ public class Test { } catch (Exception e) { e.printStackTrace(); } - cxt.setConnection("HUANGHAI", con); //杩欐牱璁惧畾榛樿鏁版嵁婧 - cxt.setDefDataSourceName("HUANGHAI"); + cxt.setConnection("HUANGHAI", con); + cxt.setDefDataSourceName("HUANGHAI");//杩欐牱璁惧畾榛樿鏁版嵁婧 Engine engine = new Engine(rd, cxt); //鏋勯犳姤琛ㄥ紩鎿 + System.out.println("cccc"); IReport iReport = engine.calc(); //杩愮畻鎶ヨ〃 + System.out.println("dddd"); ReportExporter re = new ReportExporter("c:\\1.xls", ReportExporter.EXPORT_EXCEL); //瀵煎嚭涓篍xcel re.export(iReport); //瀵煎嚭 diff --git a/RunQianUpdate/target/classes/Test.class b/RunQianUpdate/target/classes/Test.class index 6efde324..c720d198 100644 Binary files a/RunQianUpdate/target/classes/Test.class and b/RunQianUpdate/target/classes/Test.class differ