Jump to content

BUG: XSL and textbox borders


Pedja

Recommended Posts

Steps to reproduce:

 

1. In a new document create Static Text field (you can keep the 'Static text' content)

2. Change all the borders to thin (or anything else but None)

3. Copy the field and paste it (or create a new one with thin borders)

4. Put it on the right side of the first static text, and make sure it is NOT aligned perfectly with it (move it down 10px)

5. Compile and run the report as XSL file.

 

The borders are all screwed up. This makes building non-elementary table headers impossible if XSL is required. Is there a workaround? I have tried with drawing the table header with rectangles but they do not show at all in the resulting file. This is probably a bug in POI library, my version is poi-3.0-rc4-20070503.

 

Thanks for any help.

Pedja

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Update:

 

With poi-3.0-rc4-20070503.jar Excel showed partial borders on each element, but when I upgraded it to poi-3.0.1-FINAL-20070705.jar it no longer shows any borders, only text! This happens even with single element on report.

 

Edit:

 

With POI 3.0.1 thin borders are not visible at all (PDF or XSL), 1 point borders are visible but still behaving strange.

 

Post edited by: Pedja, at: 2007/10/26 12:57

 

Edit:

 

The bug is due to magnet, because it brings together two fields but sometimes with 1px error, so overlaping elements have screwed up borders. Took me a while to figure this out.

Post edited by: Pedja, at: 2007/10/26 17:21

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...