master
黄海 4 years ago
parent 230f9aac60
commit ab9900e5f4

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

@ -0,0 +1,9 @@
_title{
font-size: 20px;
font-weight: bold;
color: #4b4b4b;
}
_bold{
font-weight: bold;
}

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<styleConfigs>
<config>
<name>mystyle2</name>
<file>globalTemp.css</file>
</config>
<config>
<name>reportStyle</name>
<file>reportStyle.css</file>
</config>
</styleConfigs>

@ -1,29 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<Config>
<License>
<product>3</product>
<productName>"润乾报表"</productName>
<serialNo>1</serialNo>
<type>4</type>
<expiration>2</expiration>
<expirationDate>"2022-01-01"</expirationDate>
<serviceStartDate/>
<serviceExpiration>2</serviceExpiration>
<serviceExpirationDate>"2022-01-01"</serviceExpirationDate>
<stamp>"仅限学习试用禁止商用"</stamp>
<fps>54</fps>
<functions>"oooo-oooo-ooxx-oxxo"</functions>
<cpu>1</cpu>
<IPRange>""</IPRange>
<host>""</host>
<vendor>"北京润乾信息系统技术有限公司"</vendor>
<vendorURL>"http://www.raqsoft.com.cn"</vendorURL>
<vendorTel>"010-51295366"</vendorTel>
<vendorLogo>""</vendorLogo>
<copyright>"2020-2021"</copyright>
<ISV>"润乾软件2021"</ISV>
<user>""</user>
<projectName>""</projectName>
<signature>"h6l8LLMkUbM7RIIjlMB1U9PeSXuyp2ka+xXS5wB6r8GE9NI2iTlC62ppvkHhxQXdk3myHYF13creSceqvWVGqLcOFT+QOfYxyy0j1u41ItLS4d5sBCKf6giXgFsYL+YK9HqpQVKSr26bXeSeSHKOpo3EOOxjnlqhiB/E94zzxqU="</signature>
</License>
</Config>

@ -33,11 +33,13 @@ public class Test {
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace(); e.printStackTrace();
} }
cxt.setConnection("HUANGHAI", con); //这样设定默认数据源 cxt.setConnection("HUANGHAI", con);
cxt.setDefDataSourceName("HUANGHAI"); cxt.setDefDataSourceName("HUANGHAI");//这样设定默认数据源
Engine engine = new Engine(rd, cxt); //构造报表引擎 Engine engine = new Engine(rd, cxt); //构造报表引擎
System.out.println("cccc");
IReport iReport = engine.calc(); //运算报表 IReport iReport = engine.calc(); //运算报表
System.out.println("dddd");
ReportExporter re = new ReportExporter("c:\\1.xls", ReportExporter.EXPORT_EXCEL); //导出为Excel ReportExporter re = new ReportExporter("c:\\1.xls", ReportExporter.EXPORT_EXCEL); //导出为Excel
re.export(iReport); //导出 re.export(iReport); //导出

Loading…
Cancel
Save