xsl fo - XSL-FO: Table layout tweaking -


Here's my problem, I have such a table

 This is a column header (A). Another column header (B). Header (C) | Another column header (D) ------------------------------------------- - ------------------------------------------------- - ---- Value A | Man B Maan Si | Value D 

This thing is that the value in columns A and C can be very long, whereas values ​​in B and D can be very low. I have no problem wrapping the headers or values ​​- so ideally I would like to show a typical table like the following:

 This is a column header (A). One more Header (C) | One more Column | | Column | Header (B) | | Header (D) ---------------------------------------------- -------------------------------------------------- ---------- Value is very long and verbose is, bla bla | | Man B Mana C - It is quite long. Value De Blah Blah Blah - Wrap it. | 

Basically, I want to wrap the value in column header table data cells to priority . I can not apply the wrap-option = "no-wrap" attribute to table cells - just as the page is not enough to accommodate all long text.

I have tried to specify the proportional-column-width attribute in the column - but this is not ideal because I do not know which column is the longest in all the circumstances Text will be included.

The best time since I have solved, it clearly puts a line break in the column header text, but its unwanted side effect is that it increases the width of the column in the appropriate amount. See for example. It produces this output. Note that columns 3, 4, 5, 6 and 7 contain generous padding, which means that columns can be 1 and 2. Anyone can be compressed with it.

Any help would be greatly appreciated.

- I am using an Ibex rendering engine

using again But if it supports table-layout = "auto" (which makes the most commercial engines), then by getting results you can get better results.

Without understanding anybody else without line breaks.


Comments

Popular posts from this blog

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -