aspose file tools*
The moose likes XML and Related Technologies and the fly likes apache.xml.fop: border-width property does not work 100% predictable Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "apache.xml.fop: border-width property does not work 100% predictable" Watch "apache.xml.fop: border-width property does not work 100% predictable" New topic
Author

apache.xml.fop: border-width property does not work 100% predictable

Axel Janssen
Ranch Hand

Joined: Jan 08, 2001
Posts: 2164
Hi,
I have tried to build a table in a pdf document with lots of
<fo:table-cell border-top-style="solid" border-top-width="0.5pt" border-top-color="#000000">
I am using fop-0.20.5rc.
The lines does not have the same width in the pdf-document, though they have in the fo-markup.
Does not look nice
My workaround was to assign a #EEEEEE background for even lines and #ffffff for uneven lines ;) . With white border-color nobody sees that its not rendered 100% correctly.
Anyone has another workaround?
Balaji Loganathan
author and deputy
Bartender

Joined: Jul 13, 2001
Posts: 3150
Couldn't able to understand your problem correctly escp this line
"" The lines does not have the same width in the pdf-document, though they have in the fo-markup. ""
Can you be more specific on whats the actual problem you are facing !.
Your code should actually produce a black border of width 0.5pt of lenght defined by your "fo:table-column column-width"


Spritle Software Blogs
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: apache.xml.fop: border-width property does not work 100% predictable