1
Vote

Unable to rotate text using reference-orientation

description

I'm trying to rotate text in table column block but not able to do so kindly help , i have tried using all available option on net.

i'm doing something like this :
 <fo:block-container width="58px" height="213px" border="1pt solid black" reference-orientation="90">
                              <fo:block>
                                Text flips upside down.
                              </fo:block>
                            </fo:block-container>
is it supported by this version of fonet?

comments

satinder779 wrote May 10, 2016 at 11:17 PM

I am getting same error. If I try this:

<fo:table-cell reference-orientation="90">
<fo:block>
    <fo:block-container reference-orientation="90">
        <fo:block text-align="left">
            <fo:inline>
                <xsl:text>RandomTest</xsl:text>
            </fo:inline>
        </fo:block>
    </fo:block-container>
</fo:block>
</fo:table-cell>

I get exception:

Unable to cast object of type 'Fonet.Layout.BlockArea' to type 'Fonet.Layout.AreaContainer'

and I try the way shown above, it doesnt render text.

Any help will be appreciated.