Report Studio
The (Don't Print) class allows HTML items to display in the Web browser but not to print.
The (Don't Print) class behaves as follows in the various report output formats
- HTML
The web browser defines the behavior. The HTML standard is that the item appears on the screen in the browser but is excluded by the print operation of the browser.
- PDF
The item is excluded from the output.
- Excel 2002
The class is specified in the HTML that Cognos uses to render Excel 2002 output. However, Excel 2002 does not appear to honor it and displays the item as missing some or all other style definitions.
- Excel 2007
The item is excluded from the output.
- CSV
The item is included in the output.
- XML
The item is included in the output.
An alternative way to consistently exclude a report object from HTML, PDF and Microsoft Excel output is to set the Box Type property for the object to None. CSV and XML report outputs will still contain the object.
Related Topics: