OpenOffice.org Forum at OOoForum.orgThe OpenOffice.org Forum
 
 [Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register
 [Profile]   [Log in to check your private messages]   [Log in

strange borders appear at very large text tables

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Macros and API
View previous topic :: View next topic  
Author Message
christopher23
General User
General User


Joined: 25 Feb 2010
Posts: 19

PostPosted: Tue Mar 23, 2010 3:23 am    Post subject: strange borders appear at very large text tables Reply with quote

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..
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Macros and API All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group