To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=43411





------- Additional comments from [email protected] Thu Sep 16 11:38:31 
+0000 2010 -------
This macro repairs the document/table for me, but it's only a small idea,
because it's just far too slow. Maybe someone has a better solution?


Sub FixTables 
         oDoc = ThisComponent

for i = 0 to oDoc.getTextTables().Count() - 1
   oTab = oDoc.getTextTables().getByIndex(i)

   if (oTab.Name <> "Master") then
      sNames() = oTab.getCellNames()
      For k = LBound(sNames()) To UBound(sNames())
         oCell = oTab.getCellByName(sNames(k))
         cursor = oCell.createTextCursor()
         vCurs = ThisComponent.getCurrentController().getViewCursor()
         vCurs.gotoRange(cursor, FALSE)
         oCell.insertString(cursor, chr(13), False)
         cursor.goLeft(1, TRUE)
         cursor.setString("")
      next k
   end if
next i
End Sub

---------------------------------------------------------------------
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