From ab9900e5f4884ab88c79027db9470327667e2b4a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=84=E6=B5=B7?= <10402852@qq.com> Date: Wed, 12 May 2021 09:00:23 +0800 Subject: [PATCH] commit --- RunQianUpdate/globalTemp.css | 460 +++++++++++++++++++ RunQianUpdate/reportStyle.css | 9 + RunQianUpdate/reportStyleConfig.xml | 11 + RunQianUpdate/reportTrialLicense20211231.xml | 29 -- RunQianUpdate/src/Test.java | 6 +- RunQianUpdate/target/classes/Test.class | Bin 2961 -> 3005 bytes 6 files changed, 484 insertions(+), 31 deletions(-) create mode 100644 RunQianUpdate/globalTemp.css create mode 100644 RunQianUpdate/reportStyle.css create mode 100644 RunQianUpdate/reportStyleConfig.xml delete mode 100644 RunQianUpdate/reportTrialLicense20211231.xml 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 6efde3247c8663c8dc3a65d4c3ccfeb8e09eeda7..c720d198d73eddd3ecc1c146055ac621c00b41c3 100644 GIT binary patch delta 898 zcmX|<*-ukJ6oFIYFbQNfXy39Isi?V&W&MX?3oo z9Mh&~HE_r3nzl zW$9sHmUTv=&8b)--m17_Tkb-4fP8zkyEqh}&%l2?+#U|b62bCVW3(#X+?J|MC8Oac zivU+89Z56=li`-u#F136p($7!ZE1_fBT2p0F z$tm$=`ZDzxxlU@Hq(()#h-zx&p}2AS9>j0An`Pan1-4f(uL&IlW?$%<+7Xd9am5y>KP2Ml2tNv7T4ugsq~pE%4=9F>81(j$)m_ijBW%x}ZpN;FUFe}AoMYUp!VymJ?vCY9T6t!vW XkUEb5>|~dmyoQj;2V=Kb7kmBzMhm52 delta 777 zcmXAnSx*!}6otQ@o}qdwoj@>VAP|w&0cBAU6juZUR8Ukv+;Bw1L1Y&Z5L`f95o`s) zeS0#7pb5A{e}K=v8h?q)ZRv+|>)x(=&Z(;VH82qv`u^whHz1ccnibS44qDV{JRDLS z*7!K0II2+`v#8e`C!{!`XwcZyTAb80a>|7!#c55LW{WcxEf#0ptX0vb3D9oQ;kI1}9i?+&-M3h}TLZDyH4(w!nRHzLT0LBJU|0zR7{*PLlH-W=t+^U(}N+_1UHEhoVn zPQ7h&hcTPGj2lEYhk8QUT^%ji#hu}v#!khA%{?6Fowvfg&jaVTHzsD1bOWoby0Ege ztgzf>iibASj5wLTpcQ1s<`IvbeqUZxkS8`zd8T-7^MaSoCtsYUcxCgNkqUr9t<&@E|?)%wnRgsFJl2??*H$Vf)W3Vk*t!ny|{r)vLy3MOAe;n zY|P?COKr;eu)dH`7rorOKw^PE)*oxllk}eC=#+U<=Y%PT3iisonYcPN zEOlmd$xy!-8WqklQJfSdSGP};HxtEb*2t9XlZja?)1+KI){!Ss%iZR)URakf%mxbN zaB&Q{RSh>{e7LDiwQ_lnq5ygxEp^4EA$CRz5?V$;D7D=%MBx(Q|-7