Skip to main content
1-Visitor
March 24, 2014
Solved

How to rotate text in table cell

  • March 24, 2014
  • 2 replies
  • 10386 views

Is there a way to rotate text 90 degrees in a table row or table cell?

Thanks,

    Best answer by PeterVarga

    I hope it helps:

    <e-i-c gi="entry">

    <charlist charsubsetref="own-line">

    <font inherit="1">

    <hyphen inherit="1">

    </charlist>

    <att>

    <specval attname="rotate" attval="1">

    <charsubset>

    <suppress sup="1">

    <usetext source="%\ROTCCW%,#CONTENT,%\ENDROTCCW%"></usetext>

    </charsubset>

    </att>

    </e-i-c>

    2 replies

    12-Amethyst
    March 24, 2014

    Are you using Arbortext FOSI composition, Arbortext Print Publishing composion or XSL-FO composition?

    PDF output, HTML output?

    1-Visitor
    March 24, 2014

    FOSI for PDF output.

    1-Visitor
    March 25, 2014

    I hope it helps:

    <e-i-c gi="entry">

    <charlist charsubsetref="own-line">

    <font inherit="1">

    <hyphen inherit="1">

    </charlist>

    <att>

    <specval attname="rotate" attval="1">

    <charsubset>

    <suppress sup="1">

    <usetext source="%\ROTCCW%,#CONTENT,%\ENDROTCCW%"></usetext>

    </charsubset>

    </att>

    </e-i-c>

    1-Visitor
    March 24, 2015

    Will this solution work for the Editor vs. the Print Composer output?

    18-Opal
    January 14, 2016

    Hi Bryon--

    When you update your FOSI, don't insert the whole chunk of code that Peter posted. Instead, there should already be an <eic> for "entry". Find that one, copy the entire <att> element and its content from Peter's code sample, and insert it at the end of the entry EIC (just before the </eic> end tag, after any other <att> elements).

    If it still doesn't work, you might need to play around with the order of <att> conditions in your entry EIC, to prevent some other <att> condition from triggering first before you get to the @rotate check.

    --Clay