Apache OpenOffice (AOO) Bugzilla – Issue 98552
Basic: Iterating over Text-Cells behaves different when using cursor instead of the cell object
Last modified: 2017-05-20 11:18:15 UTC
- create an empty writer-document - insert a table with two cells - write A in cell A1 and B in cell A2 - code an iteration over cell A1 by using the cell-object of A1 - you will get the text "A" - create a text-cursor spawning the start and end of cell A1 - iterate over it and you'll get "A" and "B"
Created attachment 59715 [details] Simple writer-document with a macro demonstrating the describes issue
MRU->OS: please have a look, cell object and cursor span give different results.
There is another thing: I found that OOo crashes if you iterate via cursor too often (thousands of times). I've to workaround that by detecting a cursor spawns around a cell.
Reset assigne to the default "issues@openoffice.apache.org".