INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login




Remember Me
Forgot Password?
Join Us!

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Tek-Tips
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.
Jobs from Indeed

Link To This Forum!

Partner Button
Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

fo:table-cell vertical text

fo:table-cell vertical text

(OP)
Hi!
I would like to show the text "Name" vertical in my table-cell instead of horizontal. How do I do that??
 
     <fo:table-cell border-right="solid" display-align="center" border-width="1pt">
         <fo:block margin-left="1mm">Name</fo:block>
      </fo:table-cell>

Best regards/
Helena

RE: fo:table-cell vertical text

You can use reference-orientation attribute on the fo:block-container, something like this.

      <fo:table-cell border-right="solid" display-align="center" border-width="1pt">
         <fo:block-container reference-orientation="90">
            <fo:block margin-left="1mm">Name</fo:block>
         </fo:block-container>
      </fo:table-cell>

Sure, you might have the height & width & text-align to take care according to need.

RE: fo:table-cell vertical text

(OP)
Thanks for your response. I tried to use the block-container but the Name disappeared in my table-cell. I even tried to remove my special attributes like this:
         
<fo:table-cell>
  <fo:block-container reference-orientation="90">      
    <fo:block>Name</fo:block>
   </fo:block-container>
</fo:table-cell>

But the same thing appears, the cell stays empty.

RE: fo:table-cell vertical text

That does not sound probable. It might be badly formatted, but disappeared?! Are there error/warning messages? Also do you mean without those block-container etc, your original lines show Name?

RE: fo:table-cell vertical text

(OP)
I get an error message:
[ERROR] property - "reference-orientation" is not implemented yet.

I use Fop 1.0.

RE: fo:table-cell vertical text

>I use Fop 1.0.
You bet... It is implemented even before that version and 1.0 even fixes some bugs.

RE: fo:table-cell vertical text

(OP)
You were right. I was redirecting myself to a fop2.bat in an older version of fop than 1.0. Thank you. It works well now!!

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close