[framework-issues] [Issue 110821] extensions: automation br idge/ooo-basic doesn't understand com default method

2010-08-02 Thread mib
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=110821


User mib changed the following:

What|Old value |New value

  Status|RESOLVED  |VERIFIED





--- Additional comments from m...@openoffice.org Mon Aug  2 12:46:46 + 
2010 ---
Verified in CWS mib17

-
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: issues-unsubscr...@framework.openoffice.org
For additional commands, e-mail: issues-h...@framework.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org



[framework-issues] [Issue 110821] extensions: automation br idge/ooo-basic doesn't understand com default method

2010-07-05 Thread ab
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=110821


User ab changed the following:

What|Old value |New value

  Status|STARTED   |RESOLVED

  Resolution|  |FIXED

Target milestone|OOo 3.x   |OOo 3.3





--- Additional comments from a...@openoffice.org Mon Jul  5 12:05:10 + 
2010 ---
OOo 3.3, FIXED


-
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: issues-unsubscr...@framework.openoffice.org
For additional commands, e-mail: issues-h...@framework.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org



[framework-issues] [Issue 110821] extensions: automation br idge/ooo-basic doesn't understand com default method

2010-06-24 Thread npower
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=110821





--- Additional comments from npo...@openoffice.org Thu Jun 24 06:59:07 
+ 2010 ---
Created an attachment (id=70184)
updated patch


-
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: issues-unsubscr...@framework.openoffice.org
For additional commands, e-mail: issues-h...@framework.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org



[framework-issues] [Issue 110821] extensions: automation br idge/ooo-basic doesn't understand com default method

2010-06-24 Thread npower
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=110821





--- Additional comments from npo...@openoffice.org Thu Jun 24 07:02:00 
+ 2010 ---
I made the latest patch slightly stricter ( I no longer eat the final Exception
in the initialise method ) I hope this isn't too punitive ( COM objects I think
can be a bit flacky ) 
Also I wasn't able to test the patch :-/ ( but then again only a couple of lines
were changed )

-
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: issues-unsubscr...@framework.openoffice.org
For additional commands, e-mail: issues-h...@framework.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org



[framework-issues] [Issue 110821] extensions: automation br idge/ooo-basic doesn't understand com default method

2010-06-24 Thread npower
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=110821


User npower changed the following:

What|Old value |New value

 Attachment is patch|  |Created an attachment (id=
|  |70185)
patch ( with correc
|  |t mime type )






--- Additional comments from npo...@openoffice.org Thu Jun 24 07:12:36 
+ 2010 ---
Created an attachment (id=70185)
patch ( with correct mime type )


-
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: issues-unsubscr...@framework.openoffice.org
For additional commands, e-mail: issues-h...@framework.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org



[framework-issues] [Issue 110821] extensions: automation br idge/ooo-basic doesn't understand com default method

2010-06-23 Thread npower
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=110821





--- Additional comments from npo...@openoffice.org Wed Jun 23 11:07:03 
+ 2010 ---
@jl
The function 
SAL_CALL IUnknownWrapper_Impl::initialize
[...]
BridgeRuntimeError does not inherit Exception
indeed it does not ( and I didn't notice that ) so I think that is a nice catch,
thanks !!

In this case the functions getDefaultMethodName and getDefaultPropertyName
should throw an exception.

I think I have to disagree a little here ( but only in the implementation ) 
I think in the case where you do get a String back ITypeInfo::GetDocumentation (
and no VARDESC or FUNCDESC available ) we should just propagate the error from
the initialize method ( I don't think it is necessary to involve the XDefaultxxx
facet in this at all ) is that ok for you?

if so (please let me know) I will regenerate the patch based on the f/b ( but
give me a day or so as I am a little busy )

-
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: issues-unsubscr...@framework.openoffice.org
For additional commands, e-mail: issues-h...@framework.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org



[framework-issues] [Issue 110821] extensions: automation br idge/ooo-basic doesn't understand com default method

2010-06-23 Thread jl
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=110821





--- Additional comments from j...@openoffice.org Wed Jun 23 11:31:16 + 
2010 ---
OK.

-
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: issues-unsubscr...@framework.openoffice.org
For additional commands, e-mail: issues-h...@framework.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org



[framework-issues] [Issue 110821] extensions: automation br idge/ooo-basic doesn't understand com default method

2010-06-22 Thread jl
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=110821





--- Additional comments from j...@openoffice.org Tue Jun 22 10:18:14 + 
2010 ---
The function 
SAL_CALL IUnknownWrapper_Impl::initialize( 

must catch the BridgeRuntimeError which may be thrown, for example when calling
getTypeInfo.
BridgeRuntimeError does not inherit Exception.

If ITypeInfo::GetDocumentation returns a string for the default
property/function and still there is no VARDESC or FUNCDESC available, then this
sound for me that ITypeInfo does not work properly. In this case the functions
getDefaultMethodName and getDefaultPropertyName should throw an exception, so
that OOo can show a message box indicating that the automation object is broken.



-
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: issues-unsubscr...@framework.openoffice.org
For additional commands, e-mail: issues-h...@framework.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org



[framework-issues] [Issue 110821] extensions: automation br idge/ooo-basic doesn't understand com default method

2010-06-22 Thread jl
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=110821


User jl changed the following:

What|Old value |New value

  CC|''|'jl'





--- Additional comments from j...@openoffice.org Tue Jun 22 10:31:06 + 
2010 ---
put myself on CC

-
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: issues-unsubscr...@framework.openoffice.org
For additional commands, e-mail: issues-h...@framework.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org



[framework-issues] [Issue 110821] extensions: automation br idge/ooo-basic doesn't understand com default method

2010-06-03 Thread ab
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=110821


User ab changed the following:

What|Old value |New value

  Status|NEW   |STARTED

Target milestone|---   |OOo 3.x





--- Additional comments from a...@openoffice.org Thu Jun  3 11:00:09 + 
2010 ---
STARTED, 3.x

-
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: issues-unsubscr...@framework.openoffice.org
For additional commands, e-mail: issues-h...@framework.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org



[framework-issues] [Issue 110821] extensions: automation br idge/ooo-basic doesn't understand com default method

2010-04-13 Thread npower
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=110821


User npower changed the following:

What|Old value |New value

  OS/Version|All   |Windows, all





--- Additional comments from npo...@openoffice.org Tue Apr 13 14:57:38 
+ 2010 ---
.

-
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: issues-unsubscr...@framework.openoffice.org
For additional commands, e-mail: issues-h...@framework.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org



[framework-issues] [Issue 110821] extensions: automation br idge/ooo-basic doesn't understand com default method

2010-04-12 Thread npower
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=110821
 Issue #|110821
 Summary|extensions: automation bridge/ooo-basic doesn't unders
|tand com default method
   Component|framework
 Version|DEV300m76
Platform|PC
 URL|
  OS/Version|All
  Status|NEW
   Status whiteboard|
Keywords|
  Resolution|
  Issue type|PATCH
Priority|P3
Subcomponent|code
 Assigned to|ab
 Reported by|npower





--- Additional comments from npo...@openoffice.org Mon Apr 12 17:23:22 
+ 2010 ---
COM objects can have default members, those members can be properties or
methods, already for vba support in basic we have a concept of default members 
default properties ( exposed via XDefaultMethod  XDefaultProperty ) this
loosely maps to the COM concept of default members ( note: we have a default
method to fake use of properties that take parameters which of course is an
alien concept for uno )
The automation bridge though cannot tell basic about these default members, the
(tobe attached) patch exposes the missing information about the default member
to basic. This allow constructs like 

Sheets(1).Cells(L, 1) = rs.Fields(PartNo#)

to work. In the example line above rs is a ADODB.Recordset object ( returned
from the automation bridge )

Fields(PartNo#) calls a default member called 'Item' ( the collection iterator
method ) with the index PartNo# this returns a 'Field' object which has a
default 'property' value which is assigned to the Range returned from 
Sheets(1).Cells(L, 1) - I will attach a sample document containing the above
example. Naturally when running on windows ( without the patch ) the test
document fails miserably, with the patch you should get a message box telling
you looped 9 times and the cells A1:B9 should contain values like those below

A   | B
=
20090324 073237 | M0103A
20090324 033719 | M0104A
20090324 033733 | M0104A
20090324 033740 | M0104A
20090324 033757 | M0104A
20090324 033757 | M0104A
20090324 033757 | M0104A
20090324 033803 | M0104A
20090324 033810 | M0104A

-
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: issues-unsubscr...@framework.openoffice.org
For additional commands, e-mail: issues-h...@framework.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org



[framework-issues] [Issue 110821] extensions: automation br idge/ooo-basic doesn't understand com default method

2010-04-12 Thread npower
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=110821


User npower changed the following:

What|Old value |New value

 Attachment is patch|  |Created an attachment (id=
|  |68891)
patch






--- Additional comments from npo...@openoffice.org Mon Apr 12 17:24:45 
+ 2010 ---
Created an attachment (id=68891)
patch


-
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: issues-unsubscr...@framework.openoffice.org
For additional commands, e-mail: issues-h...@framework.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org



[framework-issues] [Issue 110821] extensions: automation br idge/ooo-basic doesn't understand com default method

2010-04-12 Thread npower
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=110821





--- Additional comments from npo...@openoffice.org Mon Apr 12 17:25:39 
+ 2010 ---
Created an attachment (id=68892)
test doc and test data


-
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: issues-unsubscr...@framework.openoffice.org
For additional commands, e-mail: issues-h...@framework.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org