Cognos Analytics

Cognos Analytics

Connect, learn, and share with thousands of IBM Cognos Analytics users! 

 View Only
  • 1.  Rotate Crosstab Headings

    Posted Fri March 01, 2024 01:53 PM

    We currently resorted to changing the writing mode for cross tab headings to "rotate" them but noticed that doesn't work for PDF output. Is there any better way to rotate cross tab headings 90 degrees either way?



    ------------------------------
    Robert Hofstetter
    ------------------------------


  • 2.  RE: Rotate Crosstab Headings
    Best Answer

    Posted Thu March 07, 2024 03:32 PM
      |   view attached

    This is difficult. I've been experimenting with different techniques and haven't found anything easy. The PDF writer being used appears to be incredibly limited in terms of the supported styles. As an experiment I generated a ton of CSS styles and a table of matching text/blocks using them. It was depressing the amount of styles that are ignored. 

    That being said, I've handled this requirement in the past by using images. I'd generate images for all of the headers, then use a layout expression in the image to call the correct one. '/server/images/header_' + [query].[fieldname] + '.png'. Personally I hate this solution, gonna keep at it though.



    ------------------------------
    Paul Mendelson
    ------------------------------

    Attachment(s)

    xml
    css report.xml   173 KB 1 version