To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=42945 Issue #:|42945 Summary:|ThisComponent not setting correctly with a draw |document. Component:|framework Version:|680m77 Platform:|All URL:| OS/Version:|Windows XP Status:|UNCONFIRMED Status whiteboard:| Keywords:| Resolution:| Issue type:|DEFECT Priority:|P3 Subcomponent:|scripting Assigned to:|npower Reported by:|pitonyak
------- Additional comments from [EMAIL PROTECTED] Wed Feb 16 12:37:00 -0800 2005 ------- I am using m77. I created a Write document and a Draw document. I then wrote the following macro, that I placed in my own library that is NOT contained in a document. Print ThisComponent.getImplementationName() First, I focused the Write document and I ran the macro from the IDE. It demonstrated that I was looking at my text document. Next, I focused the draw document and I ran the macro in the IDE. It indicated that I was still looking at the Write document. (OK, I even did things such as MsgBox ThisComponent.getText().getString() to verify which text document....) If I added a macro INTO the draw document, then ThisComponent would be set to point to the draw document, but as soon as I focused the Write document, then I continued to reference that document. --------------------------------------------------------------------- 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]
