[Libreoffice-bugs] [Bug 37625] Don`t show a grid/Borders in Calc are not affected from Basic
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Thu Feb 9 10:35:57 PST 2012
https://bugs.freedesktop.org/show_bug.cgi?id=37625
--- Comment #8 from Lionel Elie Mamane <lionel at mamane.lu> 2012-02-09 10:35:57 PST ---
The following code works for Writer tables.
Dim border As Object, ligne As new "com.sun.star.table.BorderLine"
border = tbl.TableBorder
ligne.OuterLineWidth = 1
border.HorizontalLine = ligne
border.TopLine = ligne
border.BottomLine = ligne
border.RightLine = ligne
border.LeftLine = ligne
tbl.TableBorder = border
Note the use of a *new* object that is assigned to where you want it instead of
modifying directly the object you want to change.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Libreoffice-bugs
mailing list