how to make text vertical in table columns, header ?
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 7
- Joined: Fri Feb 24, 2012 7:18 pm
how to make text vertical in table columns, header ?
Hi,
My problem is that I have a wide table with several columns and the column headers horizontal and run out of the PDF's sode when printed. I'd like to make the headers vertical so I gain some space.
Thanks,
Csaba
My problem is that I have a wide table with several columns and the column headers horizontal and run out of the PDF's sode when printed. I'd like to make the headers vertical so I gain some space.
Thanks,
Csaba
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: how to make text vertical in table columns, header ?
Post by sorin_ristache »
Hi,
You did not specify the type of your XML document, maybe the framework of that type of documents has some parameters for setting the text orientation.
If you want to modify directly the XSL-FO file you can add some attributes like writing-mode="tb-rl" glyph-orientation-vertical="90" which should enable vertical orientation.
Other option is to set a fixed width for each table column, like 100px or 200px or some proportional sizes like 25% for each of the four columns or 20% for each of the five columns. This will force the header text to span several lines of text so that the overflowing text will be split over several lines.
Maybe other useful option would be to change the paper orientation to Landscape instead or Portrait or Letter?
I hope this helps,
Sorin
You did not specify the type of your XML document, maybe the framework of that type of documents has some parameters for setting the text orientation.
If you want to modify directly the XSL-FO file you can add some attributes like writing-mode="tb-rl" glyph-orientation-vertical="90" which should enable vertical orientation.
Other option is to set a fixed width for each table column, like 100px or 200px or some proportional sizes like 25% for each of the four columns or 20% for each of the five columns. This will force the header text to span several lines of text so that the overflowing text will be split over several lines.
Maybe other useful option would be to change the paper orientation to Landscape instead or Portrait or Letter?
I hope this helps,
Sorin
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service