Support

Expand all | Collapse all

Velocity Report How to rotate text in Word table header

  • 1.  Velocity Report How to rotate text in Word table header

    Posted 28 days ago
    The report creates a table in Word. Previously, all of the cells were created using <td>, but I've replaced the header row cells with <th> so that the headers will be repeated on each page. However, switching to <th> stops the text inside from rotating. How can I get around this? The code for one of the cells is below:
    <th width=3D1.5% nowrap style=3D'border:solid windowtext 1.0pt;
    border-top:none;mso-border-left-alt:solid windowtext .5pt;mso-border-bottom-alt:
    solid windowtext .5pt;mso-border-right-alt:solid windowtext .5pt;background:
    gray;padding:0in 0in 0in 0in;mso-rotate:90;height:93.75pt'>
    	<p class=3DMsoNormal align=3Dcenter style=3D'margin-bottom:0in;margin-bottom:.0001pt;
    	text-align:center;line-height:normal'><b><span style=3D'font-size:6.0pt;
    	font-family:"Arial",sans-serif;mso-fareast-font-family:"Times New Roman";
    	color:black'>Reference #<o:p></o:p></span></b></p>
    </th>


    ------------------------------
    Jack
    ------------------------------


  • 2.  RE: Velocity Report How to rotate text in Word table header

    Posted 27 days ago
    Hi Jack,

    What do you mean by rotating the text?

    Cheers,

    ------------------------------
    Katlin Anderson
    Jama Software
    ------------------------------



  • 3.  RE: Velocity Report How to rotate text in Word table header

    Posted 27 days ago
    Hi Katlin,

    This is what it used to look like before I changed the <td> tags to <th> tags. The first column has been rotated 90 degrees to conserve space.


    I'd like to achieve the same effect while turning this row into a header than repeats on each page of the exported Word document.


    ------------------------------
    Jack
    ------------------------------



  • 4.  RE: Velocity Report How to rotate text in Word table header

    Posted 26 days ago
    I still haven't figured it out yet. Any suggestions?

    ------------------------------
    Jack
    ------------------------------



  • 5.  RE: Velocity Report How to rotate text in Word table header

    Posted 26 days ago
    Hi Jack,

    I've done some research about this but I can't quite figure it out either. I think there is some more specific context needed to find the answer. Could you have one of the names support contacts for your company open a ticket with Support about this? Having access to the document you are using would help with troubleshooting what is going on here.

    ------------------------------
    Katlin Anderson
    Jama Software
    ------------------------------



  • 6.  RE: Velocity Report How to rotate text in Word table header

    Posted 26 days ago
    Hi Katlin,

    Thanks for looking into it regardless. We will submit a ticket.

    ------------------------------
    Jack
    ------------------------------



  • 7.  RE: Velocity Report How to rotate text in Word table header

    Posted 20 days ago
    Hi Jack

    After troubleshooting with you via your support ticket, we took a look at the report and saw that it did appear to work much better after you changed the <th> tags to <td> tags while keeping the <thead> and <tbody> sections. You also made other formatting changes in the meantime, and added the <thead> and <tbody> tags back to the report and is now working as expected.

    If anyone here has a similar issue that you think would need more in depth assistance, please feel free to contact us by submitting a Support Ticket

    Thank you

    ------------------------------
    Godiva Hunt
    ------------------------------



  • 8.  RE: Velocity Report How to rotate text in Word table header

    Posted 20 days ago
    Just an added note: we learned the "mso-rotate:90" attribute specifically will only work in an <td> element, but not a <th> element.

    ------------------------------
    Katlin Anderson
    Jama Software
    ------------------------------