Re: right table borders not generated

Bas van den Broek <[email protected]>
Newsgroups gmane.text.xml.xfc.general
Message-ID <B3296067F8BB774F9A1CC86F819DF9AD4E41A03E@Win-Exchange-01.MENDIXDOMAIN.local>
Ok, thanks for letting me know, I'll set the ticket to closed here too.

-----Original Message-----
From: Hussein Shafie [mailto:[email protected]] 
Sent: 10 December 2011 12:05
To: Bas van den Broek
Cc: [email protected]
Subject: Re: [XFC] right table borders not generated

We are about to release a new version of XFC that's why we have tried to fix the bug you have reported a few months ago (we have informed you about this long delay at the time you have reported the bug).

* This problem is absolutely not related to:
---
Bug fixes (RTF)

* Right border on table cells spanning multiple columns was not handled properly, possibly resulting in a missing border.
---

* The right table borders are correctly generated, but you don't always see them (which make us think that's the problem comes from MS-Word).

Example at zoom=100%, you don't see the rights borders. See attached screenshot bug.docx.100.png

But at zoom=60%, you see them. See attached screenshot bug.docx.60.png

Moreover if you save the .docx as PDF using MS-Word 2007 "Save As PDF", you clearly see the rights borders. See attached PDF file: bug.docx.pdf

* We are really sorry but we don't see what XFC bug we could fix here.



On 08/24/2011 11:51 AM, Bas van den Broek wrote:
>
> I am using XFC 4.4 and experienced a problem with rendering table cells.
> In the following example I included an image (in base64) that shows 
> how the table should roughly look like. In the actual rendered table, 
> the right borders are missing.
>
> Do you have a solution/workaround for this problem?
>
> Kind regards,
>
> Bas van den Broek
>
> <?xml version="1.0" encoding="UTF-8"?><fo:root 
> xmlns:fo="http://www.w3.org/1999/XSL/Format">
>
> <fo:layout-master-set>
>
> <fo:simple-page-master master-name="MyPage" page-height="11.693in"
> page-width="8.268in">
>
> <fo:region-body margin-bottom="1.5in" margin-left="0.5in"
> margin-right="0.5in" margin-top="1.5in"/>
>
> <fo:region-before display-align="before" extent="1.5in"
> region-name="xsl-region-before"/>
>
> <fo:region-after display-align="after" extent="1.5in"
> region-name="xsl-region-after"/>
>
> <fo:region-start extent="0.5in"/>
>
> <fo:region-end extent="0.5in"/>
>
> </fo:simple-page-master>
>
> </fo:layout-master-set>
>
> <fo:page-sequence master-reference="MyPage">
>
> <fo:flow flow-name="xsl-region-body">
>
> <fo:block>
>
> <fo:table border-collapse="separate" border-spacing="0pt"
> table-layout="fixed" text-align="left" width="100%">
>
> <fo:table-column column-width="47%"/>
>
> <fo:table-column column-width="53%"/>
>
> <fo:table-body>
>
> <fo:table-row>
>
> <fo:table-cell display-align="before" padding="0pt" text-align="left">
>
> <fo:block white-space-collapse="false" wrap-option="wrap">
>
> <fo:block linefeed-treatment="preserve" white-space-collapse="false"
> wrap-option="wrap">This generated table...</fo:block>
>
> </fo:block>
>
> </fo:table-cell>
>
> <fo:table-cell display-align="before" padding="0pt" text-align="left">
>
> <fo:block white-space-collapse="false" wrap-option="wrap"/>
>
> </fo:table-cell>
>
> </fo:table-row>
>
> <fo:table-row>
>
> <fo:table-cell display-align="before" padding="0pt" text-align="left">
>
> <fo:block white-space-collapse="false" wrap-option="wrap">
>
> <fo:block linefeed-treatment="preserve"/>
>
> </fo:block>
>
> </fo:table-cell>
>
> <fo:table-cell display-align="before" padding="0pt" text-align="left">
>
> <fo:block white-space-collapse="false" wrap-option="wrap"/>
>
> </fo:table-cell>
>
> </fo:table-row>
>
> <fo:table-row>
>
> <fo:table-cell display-align="before" padding="0pt" text-align="left">
>
> <fo:block white-space-collapse="false" wrap-option="wrap">
>
> <fo:block text-align="left">
>
> <fo:table border-collapse="separate" border-spacing="0pt"
> table-layout="fixed" width="100%">
>
> <fo:table-column column-width="100%"/>
>
> <fo:table-body>
>
> <fo:table-row>
>
> <fo:table-cell border-bottom="1px solid #000000" border-left="1px 
> solid #000000" border-right="1px solid #000000" border-top="1px solid #000000"
> font-family="tahoma" font-size="10pt" font-weight="bold" padding="0pt"
> text-align="left" vertical-align="top">
>
> <fo:block white-space-collapse="false" 
> wrap-option="wrap">Fruit</fo:block>
>
> </fo:table-cell>
>
> </fo:table-row>
>
> <fo:table-row>
>
> <fo:table-cell border-bottom="1px solid #000000" border-left="1px 
> solid #000000" border-right="1px solid #000000" border-top="1px solid #000000"
> font-family="tahoma" font-size="10pt" padding="0pt" text-align="left">
>
> <fo:block vertical-align="top" white-space-collapse="false"
> wrap-option="wrap">Appelcaption</fo:block>
>
> </fo:table-cell>
>
> </fo:table-row>
>
> <fo:table-row>
>
> <fo:table-cell border-bottom="1px solid #000000" border-left="1px 
> solid #000000" border-right="1px solid #000000" border-top="1px solid #000000"
> font-family="tahoma" font-size="10pt" padding="0pt" text-align="left">
>
> <fo:block vertical-align="top" white-space-collapse="false"
> wrap-option="wrap">Banaancaption</fo:block>
>
> </fo:table-cell>
>
> </fo:table-row>
>
> <fo:table-row>
>
> <fo:table-cell border-bottom="1px solid #000000" border-left="1px 
> solid #000000" border-right="1px solid #000000" border-top="1px solid #000000"
> font-family="tahoma" font-size="10pt" padding="0pt" text-align="left">
>
> <fo:block vertical-align="top" white-space-collapse="false"
> wrap-option="wrap"/>
>
> </fo:table-cell>
>
> </fo:table-row>
>
> <fo:table-row>
>
> <fo:table-cell border-bottom="1px solid #000000" border-left="1px 
> solid #000000" border-right="1px solid #000000" border-top="1px solid #000000"
> font-family="tahoma" font-size="10pt" padding="0pt" text-align="left">
>
> <fo:block vertical-align="top" white-space-collapse="false"
> wrap-option="wrap">Citroencaption</fo:block>
>
> </fo:table-cell>
>
> </fo:table-row>
>
> </fo:table-body>
>
> </fo:table>
>
> </fo:block>
>
> </fo:block>
>
> </fo:table-cell>
>
> <fo:table-cell display-align="before" padding="0pt" text-align="left">
>
> <fo:block white-space-collapse="false" wrap-option="wrap"/>
>
> </fo:table-cell>
>
> </fo:table-row>
>
> </fo:table-body>
>
> </fo:table>
>
> <fo:block linefeed-treatment="preserve"/>
>
> <fo:table border-collapse="separate" border-spacing="0pt"
> table-layout="fixed" text-align="left" width="100%">
>
> <fo:table-column column-width="100%"/>
>
> <fo:table-body>
>
> <fo:table-row>
>
> <fo:table-cell display-align="before" padding="0pt" text-align="left">
>
> <fo:block white-space-collapse="false" wrap-option="wrap">
>
> <fo:block linefeed-treatment="preserve" white-space-collapse="false"
> wrap-option="wrap">... should look like this image</fo:block>
>
> </fo:block>
>
> </fo:table-cell>
>
> </fo:table-row>
>
> </fo:table-body>
>
> </fo:table>
>
> <fo:block linefeed-treatment="preserve"/>
>
> <fo:external-graphic content-width="370px"
> src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAWgAAABlCAYAAABgDHm
> /AAAAAXNSR0IArs4c6QAAAARnQU1BAACx&#10;jwv8YQUAAAAJcEhZcwAADsAAAA7AAWrW
> iQkAAAkwSURBVHhe7d0Nkqo6EIZh18WCXI+rcTOzGEaQ&#10;n/ArQYyAz6k6VXeOIem86
> fnSt4npS+4PAggggMAuCVx2aRWjEEAAAQRyAs0JEEAAgZ0SINA7XRhm&#10;IYAAAgOBvl
> wuub8Y8AE+wAfS+sDYdjQq0PYtBBBAAIF0BIrNkECn420kBBBAYDEBAr0YlYYIIIBA&#10
> ;WgL7Eei/W56Vee4sv/2lhWA0BBBAYI8EVgj0Pb9OvDC83t+Y4kCg23He6vcNkzyKAAIIf
> JPAWwL9&#10;WeEk0N90DGMjgMD3CWwv0GEkfK/SFoWSN/9+zZ+B9l9+y57HVbIip9GJoN
> vPwiM9n90Qvr8YLEAA&#10;AQRCAh8U6OCsYLRAFyaKoLkqAgj8NoG3BLp7YL2KjKde9kV
> F0AT6t93S7BFAoCDwlkCPphwINM9C&#10;AAEENiFAoDfBqBMEEEBgewLpBLrJKdfnnNsc
> 8/AlYfclopeD2y+8HhFAYP8EEgp0cVAjCy5cyvJs&#10;8hRHBe5+7VzQRKj371AsRACB7
> QisEOjtBtcTAggggMA0AQLNOxBAAIGdEiDQO10YZiGAAAJRAu2i&#10;7rQXdeONNx/gA2
> PblAv7bd4IIIDAlwlERdBfttXwCCCAwE8RINA/tdwmiwACRyJwDIEuvz7uIv8j&#10;ORZ
> bEUDgfQJvCHT1TcDs9rg49MN/PinQ/b4/OdaHMekeAQTORWC9QBff8sse3wZMEdl+UjQ/2
> fe5&#10;fMVsEEAgM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/6yNWy2hfhBA4KwE
DE9hGoJdGi5+viDQQRQcRMJNQD4Q+CCiLj+rfp4TzVebSL2aLzeTiVz6Fs+d&#10;1aPMCwE
DE9hGoJdGi5+ENiOwE4EO0xpFuiAUx
v63dpaKZj9VUjGr8udt6mXqhWbfjmF6pX0pOmf/xHObLaGOEEDg&#10;rATiBbpKO7zOQRcZiuBEx1i0HBtBh6uwJoKOeWaLKHnJ/M/qWeaFAAJvE1gh0I8x505xdEQpiEKn&#10;BLon+GM56HYzKPK9C1Ic9cvAfg66k6eu5zEeQXftmJvHqxy0CPptL9UBAj9KYJ1AN2L74hx0GUQH&#10;pyzqUxyDAyDrT3GM5q7LxQz7bE+M3K+BzVnWO7MdzqebIpmfx/wpjmkbf9TrTBsBBBYRWC/Qi7o/&#10;UKOlLxYPNCWmIoDAsQkQ6Hr9CPSxPZn1CJyQAIEm0Cd0a1NC4BwECPQ51tEsEEDghASiBFolhbSV&#10;FPDGmw/wgbF9Z1BR5YSbkykhgAAChyRAoA+5bIxGAIFfIECgf2GVzREBBA5JgEAfctkYjQACv0CA&#10;QP/CKpsjAggckgCBPuSyMRoBBH6BAIH+hVU2RwQQOCQBAn3IZWM0Agj8AoF/DynL3svlqZgAAAAA&#10;SUVORK5CYII="/>
>
> <fo:block id="terminator"/>
>
> </fo:block>
>
> </fo:flow>
>
> </fo:page-sequence>
>
> </fo:root>
>

Bas van den Broek wrote:
> Sorry, in my previous mail I forgot to mention I was generating .docx files. But it should work in all cases of course. I did notice this note in the changes page on the website:
>
>
>
> Bug fixes (RTF)
>
> *         Right border on table cells spanning multiple columns was not handled properly, possibly resulting in a missing border.
>
>
>
>
>
> It sure looks like this issue, but this is a much older version and not in the format I was generating either.

 
--
XMLmind FO Converter Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xfc-support
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.