ReportSize in Excel not the same as in PDF - ssrs-2008

I have done already a lot of small (and also bigger reports) with report viewer 2010. In most cases I give the user the possibility to select the destination-format (PDF, Excel and sometimes also word).
However I always encouter the problem that the page format settings are applied different in the different output formats: If I create a report and optimize it to PDF, set the page size and the borders, then design the report, the report looks good (Measures are correct, borders are correct). However if I export it to Excel, it always is to big. What in PDF gives me one page, is in excel on two pages (horizontally).
I checked the page borders in excel because I have read that there was a bug in an ancient report viewer with this, but they are exactly as specified in the reports properties. The paper size is also correct.
I also have set the report width over the properties grid (via F4) to PageWidth-LeftBorder-RightBorder, but this is the same.
I have also played around with the InteractiveSize, but this seems not to have an influence.
Is there something special to know about Excel-Exports from report viewer or is there a known bug? Has someone a solution for this behaviour?
It seems to me that in excel the same page format has half an inch less size than in pdf. Up to now I was never be able to create an exact copy of some paper report template. In the end, it was always something like making handicraft work, but I don't like that. I would like to understand whats going on.
As an additional information, I specify all metrics in centimeter, may be there is a problem with that? And the office is office 2010.

A real solution to this problem I have not found. Maybe this connect entry promises somethin for the future:
http://connect.microsoft.com/VisualStudio/feedback/details/636407/rdlc-excel-export-margin-problem#

Related

Can birt support reading html tables from database and displaying them dynamically to a pdf report file?

I have come across a scenario where I have to read html data from database and display it in pdf reports. This html data also contains table structure <table></table> tags and other html element inside it. Previously we used jasper reports for our reporting needs but recently as we came to know that the above functionality is not supported in jasper, I wanted to know which reporting tool can be used so that it can be incorporated with servoy. Does birt provide this functionality?
AFAIK none of the well-known reporting tools does support this, although in BIRT it works "somehow" - but not good enough to be usable.
The reason for this is simple, I think: A reporting tool would have to incorporate a complete browser engine like WebKit or others to achieve this, because it would have to "understand" the structure for its page-breaking algorithm.
Yes, BIRT has a text element where we can set the display type to HTML. If the html table is in a dataset field you will just have to include it in the expression of the text using "value-of" tag, something like this:
<VALUE-OF format="HTML">row["htmlTableField"]</VALUE-OF>
PDF format is taking such html elements into account, including most of simple style settings such background color, text-align, borders etc.
Usually the reports render just fine with html.
There are some tricks to displaying html correctly in BIRT.
You may use a Dynamic Text element and set to html or auto.
Here are some tricks to handling free form text..
Make sure your xml is valid, I recommend replacing line breaks or you may catch a scenario where the rptdocument will not export.
Also, if possible keep these in auto layout, when using run + render. The page breaks may actually be calculated once on run and again on render. You might experience breaking issues with fixed. The page may attempt to display all the html prior to breaking a page when using the RUN() phase, in web viewer or the rptdocument. Then when rendering to pdf the the breaks are applied differently, with fixed layout.

Generate IReport / Jasper Report containing 2-page report (with 3 columns each) on a single sheet in landscape mode

I'm doing a report for a client and I am not able to mount it according to your need. What he needs is to generate an A4 sheet of PDF in landscape mode, each containing sheet two pages (odd and even), and each page with 3 columns.
Already researched in various forums (both here in JUG as in others) but none could find something to help me with this resolution, and I'm already late with the delivery of this software, where only lack this report the products.
To illustrate better, I am sending this post the image of the result I need.
Please staff, someone knows and / or ever needed to generate a report of two pages on one single sheet? The 3 columns I can generate, but only on 1 page.
If you have any idea or suggestion to also otherwise to generate, will be very welcome, because my chances are very close to exhausted, so I need, and your help.
I'm using version 5.6.0 IReport
Add a one more detail band and those three columns which you would like to show in second page. Adding detail bands makes adding different pages.

Eclipse BIRT and Accessibility

I work for a large financial institution and all our web sites need to be accessible for people with disabilities. We are using Eclipse BIRT to generate some reports and I want to explore if anyone out there has any experience in making the reports accessible. The main problem is that there is a lot of data in the report and some of it may not be understandable by the value alone, for instance a string like "123444" may be an account number, a check number or a transaction id. In a pure HTML page we will either use a dl/dt/dd construct to make it clear the purpose of the date, or we use ARIA attributes like aria-labelledby.
Another area of concern is the creation of accessible PDF files.
Any help or report on experience will be greatly appreciated.
Given your description I presume that you are focusing on blind users. One of the most popular screen readers for English language use is JAWS by Freedom Scientific There is a free trial version which you can download for testing and/or your organization can purchase a copy.
You can read your report with JAWS and find what issues need to be addressed. Proper labeling conventions for buttons and such is probably the most overlooked by developers. (i.e. Button123 with Image1A is the submit button, JAWS can't read the picture of words in the image, soo...)
Speaking from experience (I am closely associated with a blind computer user) stay away from PDF if you want it to be blind friendly. Web pages and text documents are much more blind friendly.
PDF works to create a version of a document that is static for visual appeal. In the process is chops up the text, when JAWS tries to read it it will read half of one item, then half of another, than maybe jump back to finish the last 1/3 of the first, leaving the middle 1/6 for last, it is painful. Of course a PDF that does not have text layer (i.e. a picture of a word document) is not readable by any screen reader.

jasper ireport basic functionality

I am new to JasperReports and iReport and I am sturggling to get the most basic example up and running. I'm trying to read input from a .xls file and put it into a table using iReport. Eventually, I want to read from a database, and transform the data in a meaningful way but for now I just want to view what I am reading and I can't get that going. First, if I just drag and drop my Field into the template, $F{Account}, I would expect to see the list of values for that field name (as I do when I preview my "query"). However, if that is all I do and then preview, I see the first account number in my input xls, and then 50 pages of empty white space. Why would this be?
Next, if I create a basic table, I am getting an error
Error filling print... null
java.lang.NullPointerException      at net.sf.jasperreports.components.table.util.TableUtil.isSortableAndFilterable(TableUtil.java:344)   ...
Print not filled. Try to use an EmptyDataSource...
Any help is greatly appreciated! Also, I should note, I did download JasperReports but I'm wondering if I need to somehow connect iReport to those classes. I saw a way to do it in the Netbeans plugin but I'm just trying to use the iReport GUI
The table component is great. But it's harder to use than it should be. Take a look at this Table Component tutorial to learn how to use it.
For the first part of your question you don't give enough information for anyone to know. My guess is that you put the field into the Title band rather than the Detail band.

crystal report 9

new page break is not working when exporting from Crystal report 9 using visual studio studio.net.
I have set the below options in crystal report 9 design
paper size is a3 and orientation is landscape.
I have created 2 report groups (date and org unit)
I want a page break after every new date and after every new org unit.
I have already set the new page after in group footer1 and group footer 2.
when i export to excel it doesn't break the page after each group is changed.
Can anybody help me to resolve this issue.
thanks
bby
I said this in another question regarding exporting to Excel:
If this was made with CR, I've found
that if a report is going to
consistently be exported to Excel,
it's best to remove ALL formatting
that CR has/does. Otherwise you'll get
weird anomalies like what you're
experiencing and will save you a lot
of grief down the road.
What I've done for some of my users is
create one report with no formatting,
specifically for exporting, and one
report with all the bells and whistles
of CR.
Page breaks are not understood by Excel during the export. The best bet is to do a grouping on the report and render them as tabs in the Excel document.
Crystal has a long history of problems when exporting to excel. There are quite a few tips about on how to get both good looking reports on the screen and in an Excel worksheet. There is no one answer for your problem, as it really depends on just how your report is structured. I googled on "crystal reports page break excel export" and get plenty of material to look at. For example:
Exporting to Excel in Crystal Reports .NET - Perfect Excel Exports