Birt: vertical cross Tab page break - birt

I'm using birt report designer for create a report: in my report i have a crossTab with dynamic number of column because i'll do a query on DB with the parameters that the user post. Using the PageBreak property of the column Area in the crossTab i have no problem viewing my report in web browser or exporting this in excel file but when i export my report in PDF some column is cut.
I realize that i view all the column of the cross tab only if i set 'Fit to whole page' exporting the report:
Anyone know how i can manage the export in pdf in different way or if i can set 'Fit to whole page' for default?

Related

Birt report - hidden cross tab cells showing in excel

I have a cross tab. I hide an entire column by setting the style to one containing "display: none". This looks great in html and pdf.
But when exporting to Excel, the column appears with empty values.
How do I force the excel export to not show the column?
Have you tried using the visibility expression for the column instead of the style display:none?
I think setting width to 0 only hide the column (when exporting to excel) when the report Layout is "Fixed Layout".
Unfortunately "Fixed Layout" is a pain to use when you have a crosstab with lots of columns, as Excel starts throwing errors if the width gets too big.

Birt report set table page break in script on basis of report format

I am using BIRT 4.5. and the eclipse report design perspective
I have some reports which have tables in them.The output format of the reports is XLSX, PDF, and HTML.
Currently the page break for the tables is set to 50 and repeat header is checked.
However for only the XLSX format I want to set page break 0 and repeat header to false.
How can I do this conditionally where and what condition do I exactly need to put.Please suggest.Thanks.
I have found the answer for this.
In the report design perspective in eclipse click on the table in the Layout view then click on the script tab and select the onPrepare event.
Put the following script here:
if(reportContext.getOutputFormat()=="xlsx")
{
reportContext.getDesignHandle().findElement("report_data_table").setIntProperty("pageBreakInterval",0);
reportContext.getDesignHandle().findElement("report_data_table").setIntProperty("repeatHeader",false);
}
Replace the "report_data_table" with your table name.Hope it helps if anybody else face this issue.

Hide column when exporting OBIEE report to Excel

In an Oracle BI 10g report, some of the columns are hidden with CSS: display:none.
But when I try to export the report to Excel file, the hidden columns appear. I tried with mso-hide:all; in the CSS, but it did not hide any columns, because the table is into another table. Do you have any ideas how to hide these columns from Oracle BI Analytics in order not to appear when exporting the report to Excel?
You can try creating a separate logical table with only columns you need to expose.
Go to the edit view button in the analysis tab.
*-Click on More Options button in the appropiate column.
*-Click on hidden.
The concerned column will be hidden in the analyis as well as in the excel file.

Define bookmark in BIRT report so that it gets displayed in pdf output

I am creating a BIRT report which fetches data from SQL. There are 4 different queries in the report which gives output in 4 different tables in report. I have added header(title) to each table (using insert text feature / lable feature) . My requirement is to include them (Title) in bookmark when that report is run in pdf output.
You can specify PDF bookmarks using the Table of Contents feature in BIRT.
The simplest way to do this is to select each table object in turn in the Layout tab, and in the Table of Contents section of the Properties tab within the Property Editor for the table, enter the desired bookmark text / title within double quotes (").
Save and run the report in PDF format, and the specified TOC entries titles should appear as bookmarks.

Freeze header on export to excel from SSRS

I have the header in my report on SSRS frozen so it scrolls down as I scroll down the page. Is it possible to keep this header frozen when I export the report to excel so it will do the same in excel?
As far as I know, you can't do so with table headings. However, items that appear in the Page Header section of a report do get exported to frozen heading rows in Excel.

Resources