[prev in list] [next in list] [prev in thread] [next in thread] 

List:       fop-user
Subject:    RE: rotating text in table cell
From:       "Pascal Sancho" <pascal.sancho () takoma ! fr>
Date:       2006-07-24 7:10:14
Message-ID: 743B49C43C0964459527F8E8D4B04D8A6263BF () mercure ! takoma ! fr
[Download RAW message or body]

> -----Original Message-----
> From: Dirk Bromberg [mailto:dirk@familie-bromberg.de] 
> 
> 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: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic