report

Change page layout in the middle of report (SSRS)

守給你的承諾、 提交于 2019-12-10 16:38:19
问题 Hei, I have a main report with Portrait layout, but the main report contains subreports and some of subreports needs to be in Landscape layout. Is it possible to change main report layout so that it shows some subreports as lanscape and some in portrait? Thanks a lot! 回答1: I'm sorry, I don't think this is possible, at least not in SSRS 2008. From the subreports section at the end of this Rendering Report Items MSDN article: Subreports can grow to the size of the body defined in the .rdl file

Non-invocable member 'File' cannot be used like a method while generating Reports

六月ゝ 毕业季﹏ 提交于 2019-12-10 16:32:40
问题 I used a method for generating report in my previous project and tried to use the same method in the new project. However, I encounter "Non-invocable member 'File' cannot be used like a method" error and File cannot be recognized. By looking at the references of file, it seems to be FileContentResult Controller.File() in the previous project, but System.IO.File() in the new project (even if I remove using System.IO; from the references lines, I encounter "The name 'File' does not exist in the

missing pie chart and other elements when display serenity report from jenkins

岁酱吖の 提交于 2019-12-10 16:22:05
问题 Need your help! I've been working on integrating my automation test to Jenkins. I use Serenity BDD and JBehave. My Serenity report displayed OK when I run my test manually. But, when I integrate the test to Jenkins and try to display the report through Publish HTML Report Plugin, it can't display the pie chart and missing other elements as well. Any idea how to solve this? 回答1: Actually you don't need to downgrade Jenkins. This issue happens because of new content security policy headers that

怎样自动把报表插入到 word 文档中

风格不统一 提交于 2019-12-10 15:33:41
在很多业务场景中需要在 word 文档中嵌入报表。比如下图这个报告: 这是一个某大学年度毕业生就业报告,其中表格和统计图的数据来自数据库,如果通过报表工具,制作这样的表格和统计图是轻而易举的事情,但如果要把这些报表和统计图做到 word 报告里就麻烦很多。以往有两个办法:一个是每次做好报表和统计图之后,导出为 word,再手工复制粘贴到 word 报告中;第二个是把整个报告都做成一个报表模板,然后再一起导出为 word。 方法一,纯手工操作效率低;方法二,报表工具排版能力有限,生成的 word 版面效果不够完美。 那么,还有什么好办法呢? 通常这类报告都有规定的模板样式,只是要定期替换里面的个别信息,比如上图所示的文档编号,报告时间,标题里的年度,图片,每个章节下的报表和统计图,这些信息是动态变化的,而其他文字描述部分以及整体样式都是固定不变的。所以,如果能把报表嵌入 word 文档做成流水线式的自动化过程,那就是一件两全其美,事半功倍的事情。 润乾报表就提供了把报表嵌入 word 的功能,实现步骤如下: 1、制作 word 模板,将需要插入内容的位置设置好书签 比如我们开篇看到的大学毕业生就业报告,我们可以先做成如上图所示的 word 模板,图示绿色线框位置就是需要定期更新的部分,预先在这些位置插入书签(比如书签名为:编号,时间,logo,年度,报表,统计图),以此标记要插入到

(DOORS/DXL) Export to pdf or print with a given template

百般思念 提交于 2019-12-10 15:16:20
问题 We are interested in export/print one view from formal module. As we want it can be an ofcial document we want to add our corporative template that have it own front page, and its own headers and footers pages with a given text font, size, and color, and inserted images (company symbol, clients ones). As far as I can see, DOORS let us print adding header&footer but without images. On the other side it is possible export to Word adding a template, but I can't do it directly to pdf format or to

Converting Oracle Reports (.rdf) to BIRT reports

独自空忆成欢 提交于 2019-12-10 13:17:53
问题 I have some Oracle Reports (.rdf) that I am considering converting to BIRT reports. Is there a way to convert .rdf files to BIRT report design files? 回答1: A fully automated solution is probably not possible. You can partially automate the conversion process as follows: Convert the RDF files to XML. Extract the report query. Convert the XML to BIRT (or JRXML) using XSLT. XML Conversion The first step is fairly simple, using Cygwin: cd /path/to/reports/ mkdir xml for i in *.rdf; do rwconverter

How to get rid of zeros in the section numbering in LATEX report document class?

六月ゝ 毕业季﹏ 提交于 2019-12-10 12:58:22
问题 So I'm writing a report using Latex and the document class I am using is report: \documentclass[a4paper]{report} But for some reason the section numbering is written so that it is preceded with "0.", for example it looks like: 0.1 Introduction 0.2 Theory 0.3 Experimental Method and so on. Can somebody help me get rid of those zeros so that it appears how it is supposed to be? Any help is very appreciated, thanks. 回答1: report assumes you'll be using \chapter s as your main sectional unit. As

Creating PDFs in android

▼魔方 西西 提交于 2019-12-10 12:25:36
问题 I am using this code to generate pdf file in android but it gives me "File not found exception" try { OutputStream file = new FileOutputStream(new File("D:\\Test.pdf")); Document document = new Document(); // PdfWriter.getInstance(document, new FileOutputStream(FILE)); PdfWriter.getInstance(document, file); document.open(); addMetaData(document); addTitlePage(document); addContent(document); //createImage(); document.close(); } catch (Exception e) { e.printStackTrace(); } when I execute this

Cannot process 'reportname.rdlc' because it is not an EDMX file

∥☆過路亽.° 提交于 2019-12-10 11:57:55
问题 I've inherited a C# app which uses an .rdlc file. I get an error (not a warning) in my error list: Cannot process 'reportTerminalStatus.rdlc' because it is not an EDMX file. but unlike normal code compilation errors it doesn't prevent the production of an executable file. I don't want to ignore it, but is it safe too? I've googled for information about the specific problem, but I'm not coming up with anything. I'm using VS2010 Ultimate on Windows 2008 server, and I've just run Windows Update

Access: How to pass parameters to report when WHERE clause is embedded in complex SQL

感情迁移 提交于 2019-12-10 11:47:10
问题 I know the question of how to pass parameters has been asked a while back with the this Previous Stack Overflow question However my situation involves SQL that is a bit more complex and cannot make use of the "where clause" filter available when opening a report. My SQL statement is an aggregate that produces a single row with one field for each aggregate. I have two parameters "@StartDate" and "@EndDate" that I need to pass into the query. SELECT q1.CasesAssigned, q2.WarningsIssued FROM