Smart questions
Smart answers
Smart people
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 now!
  • 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

helid (Programmer) (OP)
8 Feb 11 7:05
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
tsuji (TechnicalUser)
9 Feb 11 6:09
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.
helid (Programmer) (OP)
9 Feb 11 6:39
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.
tsuji (TechnicalUser)
9 Feb 11 6:49
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?
helid (Programmer) (OP)
9 Feb 11 7:14
I get an error message:
[ERROR] property - "reference-orientation" is not implemented yet.

I use Fop 1.0.
tsuji (TechnicalUser)
9 Feb 11 7:30
>I use Fop 1.0.
You bet... It is implemented even before that version and 1.0 even fixes some bugs.
helid (Programmer) (OP)
9 Feb 11 9:11
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!

Back To Forum

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