https://bugs.freedesktop.org/show_bug.cgi?id=37625
Noel Power <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |NOTABUG --- Comment #12 from Noel Power <[email protected]> 2012-03-09 04:52:02 PST --- I'm going to close this, but first I have to say I spent quite some time with this out of sheer stupidity, first I didn't see any change in when running the macro Note I was using the dim oBorder as new com.sun.star.table.BorderLine With oBorder .Color = 0 .InnerLineWidth = 10 .OuterLineWidth = 0 .LineDistance = 0 End With variant of the macro. After debugging for a while I could see no problem, then I noticed after moving the cursor the borders where in fact changed :-) the cursor which formed the selection the macro acted upon ) obscured the small increase ( for me at least ) of the changes to the linesize made by the macro. Anyway I came back for a final look to just recheck and this time I used the oBorder = CellRange.bottomBorder With oBorder .Color = 0 .InnerLineWidth = 10 .OuterLineWidth = 0 .LineDistance = 0 End With approach an noticed that indeed I wasn't getting any changes :-/ Turns out that the problem here is that CellRange.bottomBorder now returns http://api.libreoffice.org/docs/common/ref/com/sun/star/table/BorderLine2.html so the LineWidth there is picked up from 'oBorder = CellRange.bottomBorder' and it's value overwrites whatever changes were made to 'InnerLineWidth' etc. hope that makes sense -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. _______________________________________________ Libreoffice-bugs mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
