Clarence, I assume that Jürgen was referring to objects that are part of AOO.

In the example provided by Peter, creating an Excel.Sheet references an object that is not part of AOO, but it is known to Windows (if it works) and so AOO is able to find it.

While you are running AOO, the objects that are known are sometimes context dependent. You can always access an object that knows how to perform Simple File Access

http://www.openoffice.org/api/docs/common/ref/com/sun/star/ucb/SimpleFileAccess.html

A Text Table, however, must be created by a document and is then inserted into the document that created it.

http://www.openoffice.org/api/docs/common/ref/com/sun/star/text/TextTable.html

Just heard a crash followed by a crying child, need to run

On 09/03/2013 01:21 AM, Clarence GUO wrote:
Juergen,
Yes SAPGUI is not an AOO default object, it should be a SAP COMM object. Do
you mean OpenOffice Basic doesn't support non-default objects? If so, what
are the OpenOffice Basic default objects?

Clarence


2013/9/2 Jürgen Schmidt <jogischm...@gmail.com>

On 9/2/13 11:09 AM, Clarence GUO wrote:
Thanks Peter,
Yes Set SapGuiAuto = CreateObject("Excel.Sheet") works.
Why "SAPGUI" must be an ActiveXObject? Is it by design?

whatever it is in detail it is not part of AOO by default and probably
comes from somewhere else.

Juergen

--
Andrew Pitonyak
My Macro Document: http://www.pitonyak.org/AndrewMacro.odt
Info:  http://www.pitonyak.org/oo.php


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

Reply via email to