Wednesday 24 September 2014

Cognos 8 Report Studio - Rotate Text


Introduction


If you want to Rotate some text in Cognos 8 Report Studio . i found very helpful data and here i am sharing with you. At the end of steps by step guide you will get the report with text rotated in 90 degrees and 270 degrees.

Steps by Step guide: 

1. Click on the Report Studio link from cognos connection and open Report Studio with Go Sales and Retailer package
2. Select a Blank Report from file menu or an icon.
3. From the Toolbox, insert a Table with 3 columns and 1 row.
4. Insert a List with Model Data Items in the 2nd column of Table on Layout
5. Insert a HTML Item in to the 1st column of Table from tool box.
6. Similarly insert a second HTML Item in to the 3rd column of the Table.
7. Right-click on the first HTML Item and select Edit
8. Copy-Paste the below HTML code 

<html>
<head>
<script language=javascript>
</script>
</head>
<body>
<div id="mydiv" style="height:333; width:333;filter='progid:DXImageTransform.Microsoft.BasicImage(rotation=3)'">
<center>
 <font size=11> Cognos 8 BI</font>
</center>
 </div>
</body>
</html>

9. Change the Value of rotation=3 by rotation=1 for 90 degree shift.
10. Save and run the report. 

after running the report u will get "Cognos 8 BI" rotated at 90 and 270 degrees.

No comments:

Post a Comment