Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | StarBasic can't tell one end of a range from the other | ||
---|---|---|---|
Product: | Writer | Reporter: | ingenstans |
Component: | code | Assignee: | AOO issues mailing list <issues> |
Status: | ACCEPTED --- | QA Contact: | |
Severity: | Trivial | ||
Priority: | P4 | CC: | con.hennessy, issues |
Version: | OOo 1.1 RC5 | ||
Target Milestone: | --- | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Latest Confirmation in: | --- |
Developer Difficulty: | --- |
Description
ingenstans
2003-10-18 09:51:17 UTC
Andrease, please have a look at this and target it appropriately. That seems to be a (Writer?) API problem and has nothing to do with Basic. The start or end position does not and should not depend on the writing direction. os->tl: Either the bookmark that is created for SwXTextRange objects should be in the right direction or the getStart/End methods should check the direction. Set target to OOo 2.0 SW: changed Prio SW: changed target I know this is an old issue, but I'd like an update about it. Has it been effectively solved by the similar Issue 21335 (which is reported as fixed)? If not, at least *one* example where getStart and getEnd doesn't give respectively the leftmost and rightmost end of the selected range would be appreciated. On my end, these methods seem to do their jobs as expected, but I'd like to know if it's stabilized. Long forgotten issue apparently, if it's still an issue. Anyways, will reluctantly continue to use andrewb's hack posted in his initial message, and other hacks when necessary.... assuming of course that compareRegionStarts itself has no unforseen bugs. It is unfortunate one cannot trust such simple methods. |