> -----Original Message-----
> From: Dirk Bromberg [mailto:[EMAIL PROTECTED]
>
> In fop 0.92 it works. Which version do you use?
>
> > I'm trying to use the reference-orientation attribute to rotate the
> > text in a table cell, my xsl looks something like this:
> >
> > <fo:table-body>
> > <fo:table-row height="50pt">
> > <fo:table-cell>
> > <fo:block-container reference-orientation="90">
> <fo:block >Last
> > Name</fo:block>
> > </fo:block-container>
> > </fo:table-cell>
> > </fo:table-row>
> > </fo:table-body>
> >
> > However, this doesn't seem to be working, once I added the
> > reference-orientation attribute in, the "Last Name" text
> disappeared
> > from the PDF output. Any ideas why this could be? Is
> > reference-orientation supported in FOP? Is there another way I can
> > accomplish what I'm trying to do here?
Hi Lucky,
I think you should specify explicitely i-p-d when rotation is +/- 90°
See the snippet below.
HTH,
Pascal
<fo:block-container border="solid olive 1pt"
reference-orientation="0">
<fo:block border="solid red 1pt">test-0</fo:block>
</fo:block-container>
<fo:block-container border="solid blue 1pt"
reference-orientation="90" display-align="center"
inline-progression-dimension.minimum="5mm"
inline-progression-dimension.optimum="30mm"
inline-progression-dimension.maximum="auto">
<fo:block border="solid red 1pt" hyphenate="true">test-90</fo:block>
</fo:block-container>
<fo:block-container border="solid green 1pt"
reference-orientation="180"
block-progression-dimension="inherited-property-value(line-height)">
<fo:block border="solid red 1pt">test-180</fo:block>
</fo:block-container>
<fo:block-container border="solid gray 1pt"
reference-orientation="270"
inline-progression-dimension="25mm">
<fo:block border="solid red 1pt">test-270</fo:block>
</fo:block-container>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]