Hi Misael,

2006/1/11, Misael Santos <[EMAIL PROTECTED]>:
>
>  Hi everybody,
>  I'm trying to access some OO objects from a Forms (Oracle) application
> using Native OLE Automation.
>  It works fine for MS Office objects, using strings like "Excel.Sheet", the
> OLE programmatic Identifiers.
>  The question is, how do I get the strings for reference OO objects like a
> sheet? It's possible?

sure, OLE is just a way how the OOAPI can be accessed (internally a
UNO-COM bridge does all the "dirty" work for you), it does not change
the API in any way.
So you first get the service manager, from whereon you get the
css::frame::Desktop service with the createInstance* method, the
active component and from thereon the sheets container.
Please see "3.4.3.5  Automation Bridge" in the Developer's Guide for
background information and
http://udk.openoffice.org/common/man/tutorial/office_automation.html
for some useful examples.

--
Best Regards
Christian Junker

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to