Re: [docbook-apps] Table entry orientation in customization layer

From
Bob Stayton <>
Date
2007-09-23T19:14:37+00:00
ID
003001c7fe15$cced2390$6400a8c0@totoro
Thread
Re: [docbook-apps] Table entry orientation in customization layer
Hi,

Can I ask what XSL-FO processor you are 
using?  If it is Antenna House, then you can just set the rotation and it 
will work.  If it is XEP, it won't work without also setting the width of 
the content with the <?dbfo rotated-width="xx"?> processing 
instruction.  XEP will make the table cell (and row) too tall of you 
don't.

 

And currently FOP 0.94 won't position the rotated 
text correctly in the cell if you don't set the other processing 
instruction.

 

So using the rotate attribute may not be sufficient 
with the current crop of processors.

 

Bob Stayton
Sagehill Enterprises
DocBook Consulting


 

 

  
----- Original Message ----- 

  
From: 
  Mimil Mimil 
  

  
To:  
  

  
Sent: Saturday, September 15, 2007 6:39 
  AM

  
Subject: [docbook-apps] Table entry 
  orientation in customization layer

  

Hi everybody,

I would like to customize my fo layer on 
  table <entry> in order to use the rotate=1 attribute value. I would like 
  the following:

When:
<entry rotate="1">text</entry> 
  
Have the same behaviour as:
<entry align="right"><?dbfo 
  orientation="90"?>text</entry>

But I don't know how to mimic 
  the add of a Processing Instruction.

By the way I don't know if it is 
  the best solution. I just want to not add a Processing Instruction in each of 
  my entries I want rotated. 

Could anyone give me a 
  hint?

Thx,
Regards,