To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=59222
                  Issue #:|59222
                  Summary:|Non-zero LineDistance not saved in a Write Table
                Component:|api
                  Version:|OOo 2.0
                 Platform:|All
                      URL:|
               OS/Version:|Linux
                   Status:|NEW
        Status whiteboard:|
                 Keywords:|
               Resolution:|
               Issue type:|DEFECT
                 Priority:|P3
             Subcomponent:|code
              Assigned to:|sw
              Reported by:|pitonyak





------- Additional comments from [EMAIL PROTECTED] Sun Dec 11 20:25:13 -0800 
2005 -------
Create a Write document.
Create a Text Table.
Place the cursor in the text table.
Run the following macro



Sub tbl_border_onerow 'blue
   Dim oSels,oTables,oCells
   Dim oVC
   oSels = ThisComponent.getCurrentController().getSelection()
   oVC = ThisComponent.getCurrentController().getViewCursor()   
   'oVC.cell.BottomBorder = MakeCellBorderLine( RGB(0,0,255), 150, 150, 100)   
     
   Dim oBorderLine
   oBorderLine = oVC.cell.BottomBorder
   With oBorderLine
      .Color = RGB(0,0,255)
      .InnerLineWidth = 150
      .OuterLineWidth = 150
      .LineDistance = 100
   End With
   oVC.cell.BottomBorder = oBorderLine
End sub


You now have a double blue line as the bottom line in the cell with the cursor.
Now, save the document, close the document, and open the document. The double
line is gone (there is no line). 

If you change the LineDistance from 100 to 0, then I observe no problems.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to