wood burning stoves 2.0*
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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
 
Don't get me started about those stupid light bulbs.
 
subject: apache.xml.fop: border-width property does not work 100% predictable
 
Similar Threads
need help with s:radio tag, display in a very strange way
Problem with iframe in mozilla browser
HTML does not print properly - table width exceeding 100%?
Another table border question
How to get Width and height of the PDF document dynamically in java?