导出WORD出错 和 报表居中的问题
java.lang.NoSuchMethodError: com.lowagie.text.Meta.content()Ljava/lang/String;
com.lowagie.text.rtf.RtfWriter.writeMeta(RtfWriter.java:1711)
com.lowagie.text.rtf.RtfWriter.addElement(RtfWriter.java:958)
com.lowagie.text.rtf.RtfWriter.add(RtfWriter.java:895)
com.lowagie.text.Document.add(Unknown Source)
com.lowagie.text.Document.addProducer(Unknown Source)
com.lowagie.text.rtf.RtfWriter.initDefaults(RtfWriter.java:2203)
com.lowagie.text.rtf.RtfWriter.<init>(RtfWriter.java:668)
com.lowagie.text.rtf.RtfWriter.getInstance(RtfWriter.java:745)
jatools.engine.export.doc.RtfExport.export(RtfExport.java:121)
jatools.engine.export.runnable.RtfRunnable.run(RtfRunnable.java:35)
jatools.engine._Job.generatePage(_Job.java:157)
jatools.engine._Job.printAsRTF(_Job.java:208)
jatools.engine.ReportJob.printAsRTF(ReportJob.java:185)
jatools.server.ReportExporter.export(ReportExporter.java:94)
jatools.server.ReportExporter.service(ReportExporter.java:241)
jatools.server.JatoolsReportServlet.jrservice(JatoolsReportServlet.java:57)
jatools.server.JatoolsReportServlet.doGet(JatoolsReportServlet.java:81)
javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:388)
com.ascend.util.GlobalFilter.doFilter(GlobalFilter.java:40)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
二 居中的问题
怎样将报表在一个新窗口中居中显示?
我采用css控制它居中如下
$('#_container_div').css('text-align','center');
$('.pcls').css('float','none');
但是放大 缩小功能后会将报表位置偏移
[ 本帖最后由 terryzz 于 2010-10-14 15:34 编辑 ]