dynamic-reports

Create docx word document web api .net core 2.0

折月煮酒 提交于 2020-01-24 04:09:05
问题 I am developing a Web API project in Asp.net core 2.0. I am in need of a library or way to create Word document. I have searched an tried NPOI and DocX. Both are not as good as expected. Can anyone suggest me a tool? 回答1: At first glance, the below link can help somehow: https://asp.net-hacker.rocks/2017/02/23/word-document-formatter-in-aspnetcore.html Anyway, about DOCX - Word Document using Open XML SDK by Microsoft - you can install Open XML SDK into your solution using the version 2.8.1.

How to increase the column width dynamically in iReport using dynamic report?

混江龙づ霸主 提交于 2019-12-29 08:27:31
问题 I have created a jrxml file and by using dynamic reports I am filling up the data for the template.I need to adjust the column width based on the content inside it,I have looked into documentation and blogs everything leads to stretch overflow.But it will only increase the height and wrap the data . My scenario I need to adjust the width of the column based on the content.Is it possible anyway? Is it possible to do it by using DynamicReports ? If so how? 回答1: In jasper reports, you cannot

How to get same styles in DynamicReports and JasperReports [duplicate]

你。 提交于 2019-12-25 09:11:53
问题 This question already has answers here : External Styles in JasperReports (3 answers) Closed 3 years ago . I would like to found best solution for having same styles for dynamicReports and jasperReports. I started to use dynamicReports, however I found it hard to create unusual reports there. It was much easier to do that in iReport graphical builder. So now I have 50% reports which runs on Dynamic and 50% on Jasper. Now I can't resolve style problem. I've created styles, fonts etc in

How to display DynamicReports in browser without download to cliend drive?

爱⌒轻易说出口 提交于 2019-12-25 07:18:49
问题 I have to display some reports with Dynamic Reports . I use NetBeans and Tomcat 7. Eventually, all must be uploaded to cloud OpenShift. I used DynamicReports to create simple report (code snippet): Connection conn=null; try { Class.forName(DBConnStrings.driver); conn = DriverManager.getConnection(DBConnStrings.url + DBConnStrings.dbName+DBConnStrings.sslState, DBConnStrings.userName, DBConnStrings.password); } catch (Exception e) { e.printStackTrace(); } JasperReportBuilder report =

what is this error and how do I prevent this? The bucket expression values are not comparable and no comparator specified

℡╲_俬逩灬. 提交于 2019-12-24 13:06:35
问题 Im using jasperReports with dynamicReports and I want to build a crosstab report. so far I have figured out that this error happens when I add columns that are numeric to rowGroups or columnGroups. this is what I get and I don't know why and I don't know how to solve this. The error is: The bucket expression values are not comparable and no comparator specified My code is: CrosstabValues crosstabValues = report.getCrosstab().getCrosstabValues(); Collection<CrosstabRowGroupBuilder> rowGroup =

Add exclude apache.commons.lang3 from net.sourceforge.dynamicreports

半城伤御伤魂 提交于 2019-12-24 03:14:20
问题 I want to add a dependency in my project to use dynamic report, i found this: <dependency> <groupId>net.sourceforge.dynamicreports</groupId> <artifactId>dynamicreports-core</artifactId> <version>4.0.0</version> </dependency> but when i add it to my pom.xml , i got this error : The method isNoneBlank(String) is undefined for the type StringUtils error in StringUtils.isNoneBlank(...) . I think it's a conflit in versions of lang3 how can i add an exclude for commons.lang3 ? 回答1: That's how you

Jasperreports engine JRRuntimeException on report().show

我是研究僧i 提交于 2019-12-24 00:27:03
问题 I am creating a java application using DynamicReports and JasperReports. While trying to show the JasperReportBuilder, I get this error: ... DEBUG DefaultExtensionsRegistry - Instantiating extensions registry for system.f ont.families using factory class net.sf.dynamicreports.jasper.base.JasperSystemF ontExtensionsRegistryFactory Exception in thread "AWT-EventQueue-0" Exception in thread "AWT-EventQueue-0" Exception: net.sf.jasperreports.engine.JRRuntimeException thrown from the

Getting Error retrieving field value from bean Exception with JasperReports API [duplicate]

a 夏天 提交于 2019-12-23 09:36:22
问题 This question already has answers here : Unable to retrieve value from a JavaBean while generating reports using JasperReports API (2 answers) Closed 6 years ago . I am trying to get a sample report generated by JasperReports but it is throwing some exception that I can not understand. I have a bean: class DataBean { public String country; public String name; public String getCountry() { return country; } public void setCountry(String country) { this.country = country; } public String getName

DynamicReports: How to import the libraries to use with NetBeans in a new project?

落花浮王杯 提交于 2019-12-14 03:00:40
问题 How do I import DynamicReports library to a netBeans project? http://www.dynamicreports.org/getting_started.html#step9 I found this link: http://www.dynamicreports.org/documentation/documentation.html#examples_netbeans But it shows how to import existing examples. If I want to build a dynamic report from scratch i.e. a new project instead of an existing one, in NetBeans, how do I import DynamicReports libraries after I have downloaded dynamicreports-3.1.0-project-with-dependencies? For

Single RDLC file to populate any type of custom object passed to it

邮差的信 提交于 2019-12-13 23:28:27
问题 I have a list of stored procedures which return different types of object (with varying column) to my business layer. Also, I created a single RDLC file named allreports.rdlc in my mvc application and put it in some .cshtml page. Now, I want to call any of the stored procedure (based on user input passed as query parameter to my controller) and retrieve data in dataset (or any better format if available) and want to pass it to my rdlc report. Can I achieve this using a single rdlc file which