christopher23 General User

Joined: 25 Feb 2010 Posts: 19
|
Posted: Tue Mar 23, 2010 3:23 am Post subject: strange borders appear at very large text tables |
|
|
I was wondering if somebody else has problems with very large TextTables and sometimes borders are visible that should not be visible.
Sometimes when I have a TextTable consisting of a few hundred rows I get one or two rows which have vertical en horizontal borders..
| Code: |
# Defines the BorderLine used
noline = uno.createUnoStruct("com.sun.star.table.BorderLine")
noline.InnerLineWidth = 0
noline.OuterLineWidth = 0
noline.LineDistance = 0
# Determines the line style
borderLine = uno.createUnoStruct("com.sun.star.table.TableBorder")
borderLine.VerticalLine = noline
borderLine.HorizontalLine = line
borderLine.RightLine = noline
borderLine.LeftLine = noline
borderLine.TopLine = noline
borderLine.BottomLine = line
borderLine.Distance = 100
# Specifies whether the value of TableBorder is used
borderLine.IsVerticalLineValid = True
borderLine.IsHorizontalLineValid = True
borderLine.IsLeftLineValid = True
borderLine.IsRightLineValid = True
borderLine.IsTopLineValid = True
borderLine.IsBottomLineValid = True
borderLine.IsDistanceValid = True
# Set TextTable properties
keywordTable.setPropertyValue("TableBorder", borderLine)
keywordTable.setPropertyValue("RepeatHeadline", True)
|
As you can see i'm disabling vertical border but sometimes they still pop-up. Is this some bug of OpenOffice? Hope that someone help me out on this one..
Been working on this problem for some while now.. |
|