Yes, there is an easy workaround for the case that I sent you. However, I kept 
the case deliberately simple in order to demonstrate the problem. Consider the 
slightly more complex sample that is attached. If there is more than one block 
in a table cell, I cannot simply move the border definition from the block to 
the table cell. There might also be different borders on the table cell and 
some of the blocks. There might be margins/paddings between the blocks and the 
cell.

Most likely I will also find a workaround for this case. I am experimenting 
with nested blocks right now. This gets a bit tiresome, as I have to 
distinguish lots of different cases and try to find a working solution for each 
of them, where a simple border definition on the block should just work.

I understand that you cannot solve this problem right away. I just wanted to 
point out that a workaround for the problem is not so easily available as it 
seemed at first, hoping that this issue might be addressed in one of the next 
releases.


-----Original Message-----
From: Hussein Shafie [mailto:[email protected]] 
Sent: Donnerstag, 04. April 2013 16:17
To: LEITNER Martin
Cc: [email protected]
Subject: Re: [XFC] vertical borders of blocks within table cells are not 
displayed in DOCX format

On 04/04/2013 11:32 AM, LEITNER Martin wrote:
>
> when I use the fo2docx utility, vertical borders on blocks are not 
> applied if the block is within a table cell. A sample FO file and the 
> generated DOCX file are attached.
>
> version used: xfc pro java 4.7.0
>
> Java version:
>
> java version "1.6.0_25"
>
> Java(TM) SE Runtime Environment (build 1.6.0_25-b06)
>
> Java HotSpot(TM) Client VM (build 20.0-b11, mixed mode, sharing)
>
> OS: Microsoft Windows [Version 6.1.7601]
>

Thank you for your excellent bug report which makes the issue crystal-clear.

I'm really sorry but we currently do not see how we could solve this problem.

You have found the workaround (at least for some cases) by yourself: add the 
border around the table-cell and not around the top-level block which is the 
content of the table-cell.

Attachment: FullBlockBordersInCellNotWorking_2.fo
Description: FullBlockBordersInCellNotWorking_2.fo

Attachment: FullBlockBordersInCellNotWorking_2.docx
Description: FullBlockBordersInCellNotWorking_2.docx

--
XMLmind FO Converter Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xfc-support

Reply via email to