How can I call the Me command in Basic? The command is defined as follows:
// #115824
RTLFUNC(Me)
{
(void)pBasic;
(void)bWrite;
SbModule* pActiveModule = pINST->GetActiveModule();
SbClassModuleObject* pClassModuleObject =
PTR_CAST(SbClassModuleObject,pActiveModule);
if( pClassModuleObject == NULL )
{
StarBASIC::Error( SbERR_INVALID_USAGE_OBJECT );
}
else
{
SbxVariableRef refVar = rPar.Get(0);
refVar->PutObject( pClassModuleObject );
}
}
Am I better off not documenting this method? Note that I am looking at
OOo 3.0 development builds
--
Andrew Pitonyak
My Macro Document: http://www.pitonyak.org/AndrewMacro.odt
My Book: http://www.hentzenwerke.com/catalog/oome.htm
Info: http://www.pitonyak.org/oo.php
See Also: http://documentation.openoffice.org/HOW_TO/index.html
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]