Issue 98552

Summary: Basic: Iterating over Text-Cells behaves different when using cursor instead of the cell object
Product: Writer Reporter: leguff <mathias>
Component: programmingAssignee: AOO issues mailing list <issues>
Status: CONFIRMED --- QA Contact:
Severity: Trivial    
Priority: P3 CC: issues, michael.ruess
Version: OOo 3.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Attachments:
Description Flags
Simple writer-document with a macro demonstrating the describes issue none

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.
Comment 4 Marcus 2017-05-20 11:18:15 UTC
Reset assigne to the default "issues@openoffice.apache.org".