Apache-FOP: gap between columns

I need to put a "gap" between columns of a table in Apache-FOP:

<fo:table column-gap="2mm" width="156mm" height="260mm" table-layout="fixed" page-break-after="always">
            <fo:table-column column-number="1" column-width="50mm"/>
            <fo:table-column column-number="2" column-width="50mm"/>
            <fo:table-column column-number="3" column-width="50mm"/>

            <fo:table-body start-indent="0pt" text-align="start" font-family="Arial, Helvetica, Tahoma, sans-serif"
                           font-weight="normal" font-size="10pt">

            // rows/cells stuff
            </fo:table-body>
        </fo:table>

I tried using column-gap, spacing-before, margin-left etc but the columns are sticked together yet. Any idea how to put a gap between? Maybe the only solution is creating "empty" columns?

Answers


If I remember right in my xsl-fo documents always blocks inside the table-cell elements. Gaps and distances are realized with margin attributes of the block elements.


Need Your Help

Renaming a macro

excel vba excel-vba

I am using the same macro twice on a sheet. The sheet will not let me use both unless I rename one. Whenever I have tried it stops functioning.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.