https://bugs.freedesktop.org/show_bug.cgi?id=37625

--- Comment #8 from Lionel Elie Mamane <[email protected]> 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.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to