Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing
|Summary:||Basic: Iterating over Text-Cells behaves different when using cursor instead of the cell object|
|Component:||programming||Assignee:||AOO issues mailing list <issues>|
|Status:||CONFIRMED ---||QA Contact:|
|Issue Type:||DEFECT||Latest Confirmation in:||---|
Description leguff 2009-01-28 09:24:26 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"
Comment 1 leguff 2009-01-28 09:25:24 UTC
Created attachment 59715 [details] Simple writer-document with a macro demonstrating the describes issue
Comment 2 michael.ruess 2009-01-28 13:33:35 UTC
MRU->OS: please have a look, cell object and cursor span give different results.
Comment 3 leguff 2009-07-02 21:16:42 UTC
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.