To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=73886
Issue #|73886
Summary|CWS gh13: .check uses first line, not selection
Component|utilities
Version|1.0.0
Platform|All
URL|
OS/Version|All
Status|NEW
Status whiteboard|
Keywords|
Resolution|
Issue type|DEFECT
Priority|P3
Subcomponent|automation
Assigned to|gh
Reported by|tbo
------- Additional comments from [EMAIL PROTECTED] Thu Jan 25 11:47:24 -0800
2007 -------
Tools->Options->Writer->AutoCaption
in this example .check always works on the first line.
in an plain m193 it worked in an other way
Now I remember that you wrote, that you use the first line for some methods, if
line number is not given; But the old behaviour was to use the selected line.
Could we agree for some methods it should work the old way, regarding lines
like:
1. if a line number is given, use it, else
2. if one line is selected, work on the selected line, else
3. work on the first line.
use qa/qatesttool/writer/level1/w_opt.bas and run just testcase:
tToolsAutocaption
...
for i=1 to ObjectList.GetItemCount
ObjectList.Select i
(2) ObjectList.Check
ObjectTmp() = Split(ObjectList.GetSelText, SplitString)
Auswahl(i) = ObjectTmp(Ubound(ObjectTmp()))
(1) ' Category.SetText Auswahl(i)
next i
...
(1) comment this line, because of issue 73883
(2) set breakpoint and take a look for i=2
the second item doesn't get checked - if you uncheck the 1.item, you see the
effect,
the 1. line would be checked again.
---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]