File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Axel Janssen
Ranch Hand
Posts: 2166
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3150
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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"
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic