Issue 98552 - Basic: Iterating over Text-Cells behaves different when using cursor instead of the cell object
Summary: Basic: Iterating over Text-Cells behaves different when using cursor instead ...
Status: CONFIRMED
Alias: None
Product: Writer
Classification: Application
Component: programming (show other issues)
Version: OOo 3.0
Hardware: PC Windows XP
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-28 09:24 UTC by leguff
Modified: 2017-05-20 11:18 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
Simple writer-document with a macro demonstrating the describes issue (8.80 KB, application/vnd.oasis.opendocument.text)
2009-01-28 09:25 UTC, leguff
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
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".