Home
last modified time | relevance | path

Searched refs:SbxVariable (Results 1 – 25 of 74) sorted by relevance

123

/AOO42X/main/basic/source/sbx/
H A Dsbxvar.cxx43 TYPEINIT1(SbxVariable,SbxValue)
55 friend class SbxVariable;
74 SbxVariable::SbxVariable() : SbxValue() in SbxVariable() function in SbxVariable
87 void registerComListenerVariableForBasic( SbxVariable* pVar, StarBASIC* pBasic );
89 SbxVariable::SbxVariable( const SbxVariable& r ) in SbxVariable() function in SbxVariable
122 SbxVariable::SbxVariable( SbxDataType t, void* p ) : SbxValue( t, p ) in SbxVariable() function in SbxVariable
135 void removeDimAsNewRecoverItem( SbxVariable* pVar );
137 SbxVariable::~SbxVariable() in ~SbxVariable()
155 SfxBroadcaster& SbxVariable::GetBroadcaster() in GetBroadcaster()
165 void SbxVariable::Broadcast( sal_uIntPtr nHintId ) in Broadcast()
[all …]
H A Dsbxobj.cxx33 TYPEINIT1(SbxMethod,SbxVariable)
34 TYPEINIT1(SbxProperty,SbxVariable)
35 TYPEINIT2(SbxObject,SbxVariable,SfxListener)
47 : SbxVariable( SbxOBJECT ), aClassName( rClass ) in SbxObject()
62 : SvRefBase( rObj ), SbxVariable( rObj.GetType() ), in SbxObject()
72 SbxVariable::operator=( r ); in operator =()
131 SbxVariable* p; in Clear()
150 SbxVariable* pVar = p->GetVar(); in SFX_NOTIFY()
180 SbxVariable* SbxObject::FindUserData( sal_uInt32 nData ) in FindUserData()
185 SbxVariable* pRes = pMethods->FindUserData( nData ); in FindUserData()
[all …]
H A Dsbxarray.cxx90 const SbxVariable* pSrc_ = *pSrcRef; in operator =()
100 ((SbxVariable*) pSrc_)->Convert( eType ); in operator =()
182 SbxVariable* SbxArray::Get32( sal_uInt32 nIdx ) in Get32()
192 rRef = new SbxVariable( eType ); in Get32()
201 SbxVariable* SbxArray::Get( sal_uInt16 nIdx ) in Get()
211 rRef = new SbxVariable( eType ); in Get()
220 void SbxArray::Put32( SbxVariable* pVar, sal_uInt32 nIdx ) in Put32()
232 if( (SbxVariable*) rRef != pVar ) in Put32()
240 void SbxArray::Put( SbxVariable* pVar, sal_uInt16 nIdx ) in Put()
252 if( (SbxVariable*) rRef != pVar ) in Put()
[all …]
H A Dsbxexec.cxx56 static SbxVariable* Element
103 static SbxVariable* QualifiedName in QualifiedName()
118 pObj = PTR_CAST(SbxObject,(SbxVariable*) refVar); in QualifiedName()
141 static SbxVariable* Operand in Operand()
146 SbxVariableRef refVar( new SbxVariable ); in Operand()
189 static SbxVariable* MulDiv( SbxObject* pObj, SbxObject* pGbl, const xub_Unicode** ppBuf ) in MulDiv()
201 SbxVariable* pVar = refVar; in MulDiv()
202 pVar = new SbxVariable( *pVar ); in MulDiv()
221 static SbxVariable* PlusMinus( SbxObject* pObj, SbxObject* pGbl, const xub_Unicode** ppBuf ) in PlusMinus()
233 SbxVariable* pVar = refVar; in PlusMinus()
[all …]
H A Dsbxcoll.cxx88 SbxVariable* p; in Initialize()
100 SbxVariable* SbxCollection::FindUserData( sal_uInt32 nData ) in FindUserData()
111 SbxVariable* SbxCollection::Find( const XubString& rName, SbxClassType t ) in Find()
131 SbxVariable* pVar = p->GetVar(); in SFX_NOTIFY()
182 SbxVariable* pRes = NULL; in CollItem()
183 SbxVariable* p = pPar_->Get( 1 ); in CollItem()
251 void SbxStdCollection::Insert( SbxVariable* p ) in Insert()
/AOO42X/main/basic/inc/basic/
H A Dsbx.hxx46 class SbxVariable;
92 friend class SbxVariable;
127 SbxVariable* pVar;
130 SbxHint( sal_uIntPtr n, SbxVariable* v ) : SfxSimpleHint( n ), pVar( v ) {} in SbxHint()
131 SbxVariable* GetVar() const { return pVar; } in GetVar()
140 class BASIC_DLLPUBLIC SbxAlias : public SbxVariable, public SfxListener
148 SbxAlias( const String& rName, SbxVariable* pOriginal );
173 void PutDirect( SbxVariable* pVar, sal_uInt32 nIdx );
195 SbxVariable* Get( sal_uInt16 );
196 void Put( SbxVariable*, sal_uInt16 );
[all …]
H A Dsbstdobj.hxx59 void PropType( SbxVariable* pVar, SbxArray* pPar, sal_Bool bWrite );
60 void PropWidth( SbxVariable* pVar, SbxArray* pPar, sal_Bool bWrite );
61 void PropHeight( SbxVariable* pVar, SbxArray* pPar, sal_Bool bWrite );
67 virtual SbxVariable* Find( const String&, SbxClassType );
90 void PropBold( SbxVariable* pVar, SbxArray* pPar, sal_Bool bWrite );
91 void PropItalic( SbxVariable* pVar, SbxArray* pPar, sal_Bool bWrite );
92 void PropStrikeThrough( SbxVariable* pVar, SbxArray* pPar, sal_Bool bWrite );
93 void PropUnderline( SbxVariable* pVar, SbxArray* pPar, sal_Bool bWrite );
94 void PropSize( SbxVariable* pVar, SbxArray* pPar, sal_Bool bWrite );
95 void PropName( SbxVariable* pVar, SbxArray* pPar, sal_Bool bWrite );
[all …]
H A Dsbxobj.hxx38 class BASIC_DLLPUBLIC SbxObject : public SbxVariable, public SfxListener
42 SbxArray* FindVar( SbxVariable*, sal_uInt16& );
44 SbxArray* VCPtrFindVar( SbxVariable*, sal_uInt16& );
75 virtual SbxVariable* FindUserData( sal_uInt32 nUserData );
76 virtual SbxVariable* Find( const String&, SbxClassType );
77 SbxVariable* FindQualified( const String&, SbxClassType );
81 SbxVariable* Execute( const String& );
84 SbxVariable* Make( const String&, SbxClassType, SbxDataType, bool bIsRuntimeFunction = false );
86 virtual void Insert( SbxVariable* );
89 void QuickInsert( SbxVariable* );
[all …]
H A Dsbxvar.hxx441 class BASIC_DLLPUBLIC SbxVariable : public SbxValue class
457 virtual ~SbxVariable();
463 SbxVariable();
464 SbxVariable( SbxDataType, void* = NULL );
465 SbxVariable( const SbxVariable& );
466 SbxVariable& operator=( const SbxVariable& );
509 SV_DECL_REF(SbxVariable)
H A Dsbxprop.hxx32 class BASIC_DLLPUBLIC SbxProperty : public SbxVariable
40 : SbxVariable( t ) { SetName( r ); } in SbxProperty()
41 SbxProperty( const SbxProperty& r ) : SvRefBase( r ), SbxVariable( r ) {} in SbxProperty()
43 { SbxVariable::operator=( r ); return *this; } in operator =()
/AOO42X/main/basic/source/runtime/
H A Dstep2.cxx50 SbxVariable* getVBAConstant( const String& rName );
56 SbxVariable* SbiRuntime::FindElement in FindElement()
67 SbxVariable* pElem = NULL; in FindElement()
71 pElem = new SbxVariable; in FindElement()
86 SbxVariable* p = new SbxVariable; in FindElement()
150 pElem = new SbxVariable( t ); in FindElement()
153 pElem->SbxVariable::Put( aRes ); in FindElement()
197 xDummyVar = new SbxVariable( SbxVARIANT ); in FindElement()
213 pElem = new SbxVariable( t ); in FindElement()
254 SbxVariable* pNew = new SbxMethod( *((SbxMethod*)pElem) ); // das ist der Call! in FindElement()
[all …]
H A Dstep0.cxx48 SbxVariable* getDefaultProp( SbxVariable* pRef );
57 SbxVariable* p2 = GetTOS(); in StepArith()
72 SbxVariable* pDflt = getDefaultProp( p2 ); in StepArith()
81 p2 = new SbxVariable( *pDflt ); in StepArith()
96 SbxVariable* p = GetTOS(); in StepUnary()
123 SbxVariable* pDflt = getDefaultProp( p1 ); in StepCompare()
138 static SbxVariable* pTRUE = NULL; in StepCompare()
139 static SbxVariable* pFALSE = NULL; in StepCompare()
145 pTRUE = new SbxVariable; in StepCompare()
155 pFALSE = new SbxVariable; in StepCompare()
[all …]
H A Dstdobj1.cxx70 void SbStdPicture::PropType( SbxVariable* pVar, SbxArray*, sal_Bool bWrite ) in PropType()
91 void SbStdPicture::PropWidth( SbxVariable* pVar, SbxArray*, sal_Bool bWrite ) in PropWidth()
106 void SbStdPicture::PropHeight( SbxVariable* pVar, SbxArray*, sal_Bool bWrite ) in PropHeight()
128SbxVariable* p = Make( String( RTL_CONSTASCII_USTRINGPARAM("Type") ), SbxCLASS_PROPERTY, SbxVARIAN… in SbStdPicture()
144 SbxVariable* SbStdPicture::Find( const String& rName, SbxClassType t ) in Find()
166 SbxVariable* pVar = pHint->GetVar(); in SFX_NOTIFY()
185 void SbStdFont::PropBold( SbxVariable* pVar, SbxArray*, sal_Bool bWrite ) in PropBold()
193 void SbStdFont::PropItalic( SbxVariable* pVar, SbxArray*, sal_Bool bWrite ) in PropItalic()
201 void SbStdFont::PropStrikeThrough( SbxVariable* pVar, SbxArray*, sal_Bool bWrite ) in PropStrikeThrough()
209 void SbStdFont::PropUnderline( SbxVariable* pVar, SbxArray*, sal_Bool bWrite ) in PropUnderline()
[all …]
H A Dstep1.cxx43 SbxVariable* p = new SbxVariable( SbxDOUBLE ); in StepLOADNC()
67 SbxVariable* p = new SbxVariable; in StepLOADSC()
76 SbxVariable* p = new SbxVariable; in StepLOADI()
106 SbxVariable* pVar = refArgv->Get( refArgv->Count() - 1 ); // letztes Arg in StepARGTYP()
115 pVar = new SbxVariable( *pVar ); in StepARGTYP()
145 SbxVariable* p = GetTOS(); in StepPAD()
257 SbxDimArray* pArray = (SbxDimArray*)(SbxVariable*)p->refEnd; in StepTESTFOR()
266 SbxVariable* pVal = pArray->Get32( p->pArrayCurIndices ); in StepTESTFOR()
291 BasicCollection* pCollection = (BasicCollection*)(SbxVariable*)pForStk->refEnd; in StepTESTFOR()
296 SbxVariable* pRes = xItemArray->Get32( pForStk->nCurCollectionIndex ); in StepTESTFOR()
[all …]
H A Druntime.cxx629 SbxVariable* v = pParams->Get( j ); in SetParameters()
633 SbxVariable* pArrayVar = new SbxVariable( SbxVARIANT ); in SetParameters()
643 SbxVariable* v = pParams->Get( i ); in SetParameters()
663 SbxVariable* v2 = new SbxVariable( t ); in SetParameters()
694 SbxVariable* pArrayVar = new SbxVariable( SbxVARIANT ); in SetParameters()
880 SbxVariable* pSbxErrObjVar = SbxErrObject::getErrObject(); in Error()
977 void SbiRuntime::PushVar( SbxVariable* pVar ) in PushVar()
989 return new SbxVariable; in PopVar()
1017 SbxVariable* SbiRuntime::GetTOS( short n ) in GetTOS()
1024 return new SbxVariable; in GetTOS()
[all …]
H A Dmethods1.cxx134 if( !pObj && pObjVar && pObjVar->ISA(SbxVariable) ) in RTLFUNC()
136 SbxBase* pObjVarObj = ((SbxVariable*)pObjVar)->GetObject(); in RTLFUNC()
152 SbxVariable* pFindVar = pObj->Find( aNameStr, SbxCLASS_DONTCARE ); in RTLFUNC()
214 SbxVariable* pPar = rPar.Get( i + 4 ); in RTLFUNC()
240 SbxVariable *pSbxVariable = rPar.Get(1); in RTLFUNC()
257 SbxVariable *pSbxVariable = rPar.Get(1); in RTLFUNC()
274 SbxVariable *pSbxVariable = rPar.Get(1); in RTLFUNC()
292 SbxVariable *pSbxVariable = rPar.Get(1); in RTLFUNC()
313 SbxVariable *pSbxVariable = rPar.Get(1); in RTLFUNC()
330 SbxVariable *pSbxVariable = rPar.Get(1); in RTLFUNC()
[all …]
H A Ddllmgr.cxx100 UnmarshalData(SbxVariable * theVariable, void * theBuffer): in UnmarshalData()
103 SbxVariable * variable;
108 StringData(SbxVariable * theVariable, void * theBuffer, bool theSpecial): in StringData()
151 std::size_t alignment(SbxVariable * variable) { in alignment()
193 bool outer, SbxVariable * variable, bool special,
197 SbxVariable * variable, bool special, MarshalData & data, void ** buffer) in marshalString()
214 SbxVariable * variable, std::vector< char > & blob, std::size_t offset, in marshalStruct()
230 SbxVariable * variable, std::vector< char > & blob, std::size_t offset, in marshalArray()
262 bool outer, SbxVariable * variable, bool special, in marshal()
385 void const * unmarshal(SbxVariable * variable, void const * data) { in unmarshal()
[all …]
/AOO42X/main/basic/source/classes/
H A Dsb.cxx248 SbxVariable* StarBASIC::VBAFind( const String& rName, SbxClassType t ) in VBAFind()
498 if( SbxVariable* pVar = pMod->Find( rClassName, SbxCLASS_OBJECT ) ) in CreateObject()
535 SbxVariable* pVar = pProps->Get32( i ); in cloneTypeObjectImpl()
640 SbxVariable* pVar = pClassMethods->Get32( i ); in TYPEINIT1()
666 SbxVariable* pVar = pClassMethods->Get32( i ); in TYPEINIT1()
680 SbxVariable* p = pMethods->Find( aImplMethodName, SbxCLASS_METHOD ); in TYPEINIT1()
698 SbxVariable* pVar = pClassProps->Get32( i ); in TYPEINIT1()
785 SbxVariable* SbClassModuleObject::Find( const XubString& rName, SbxClassType t ) in Find()
787 SbxVariable* pRes = SbxObject::Find( rName, t ); in Find()
812 SbxVariable* pMeth = SbxObject::Find( aInitMethodName, SbxCLASS_METHOD ); in triggerInitializeEvent()
[all …]
H A Dsbunoobj.cxx141 SbxVariable* getDefaultProp( SbxVariable* pRef ) in getDefaultProp()
143 SbxVariable* pDefaultProp = NULL; in getDefaultProp()
146 SbxObject* pObj = PTR_CAST(SbxObject,(SbxVariable*) pRef); in getDefaultProp()
690 SbxVariableRef xVar = new SbxVariable( eSbxElementType ); in implSequenceToMultiDimArray()
691 unoToSbxValue( (SbxVariable*)xVar, aValue ); in implSequenceToMultiDimArray()
694 pArray->Put32( (SbxVariable*)xVar, pIndices ); in implSequenceToMultiDimArray()
700 void unoToSbxValue( SbxVariable* pVar, const Any& aValue ) in unoToSbxValue()
879 SbxVariableRef xVar = new SbxVariable( eSbxElementType ); in unoToSbxValue()
880 unoToSbxValue( (SbxVariable*)xVar, aElementAny ); in unoToSbxValue()
883 xArray->Put32( (SbxVariable*)xVar, &i ); in unoToSbxValue()
[all …]
H A Dsbxmod.cxx109 ::com::sun::star::uno::Any sbxToUnoValue( SbxVariable* pVar );
110 void unoToSbxValue( SbxVariable* pVar, const ::com::sun::star::uno::Any& aValue );
291 SbxVariableRef xSbxVar = new SbxVariable( SbxVARIANT ); in invoke()
292 unoToSbxValue( static_cast< SbxVariable* >( xSbxVar ), pParams[i] ); in invoke()
304 SbxVariableRef xReturn = new SbxVariable; in invoke()
321 SbxVariable* pVar = xSbxParams->Get( n ); in invoke()
359 unoToSbxValue( (SbxVariable*) pProperty, aValue ); in setValue()
372 SbxVariable* pProp = ( SbxVariable* ) pProperty; in getValue()
526SbxVariable* pNameProp = pProps->Find( String( RTL_CONSTASCII_USTRINGPARAM("Name") ), SbxCLASS_PRO… in SbModule()
595 SbxVariable* p = pMethods->Find( rName, SbxCLASS_METHOD ); in GetMethod()
[all …]
H A Deventatt.cxx273 SbxVariable* pMethVar = NULL; in firing_impl()
288 SbxVariable* pVar = xLibSearchBasic->GetObjects()->Get( nObj ); in firing_impl()
325 SbxVariableRef xVar = new SbxVariable( SbxVARIANT ); in firing_impl()
326 unoToSbxValue( (SbxVariable*)xVar, pArgs[i] ); in firing_impl()
332 SbxVariableRef xValue = pRet ? new SbxVariable : 0; in firing_impl()
352 SbxVariable* pDlgLibContVar = pBasic->Find in implFindDialogLibForDialog()
590 unoToSbxValue( (SbxVariable*)refVar, aRetVal ); in RTL_Impl_CreateUnoDialog()
/AOO42X/main/basic/source/inc/
H A Dobject.hxx51 using SbxVariable::GetInfo;
59 ( SbxVariable* pThis, SbxArray* pArgs, sal_Bool bWrite );
73 void Display( SbxVariable*, SbxArray*, sal_Bool );
74 void Event( SbxVariable*, SbxArray*, sal_Bool );
75 void Square( SbxVariable*, SbxArray*, sal_Bool );
76 void Create( SbxVariable*, SbxArray*, sal_Bool );
85 virtual SbxVariable* Find( const String&, SbxClassType );
H A Druntime.hxx325 void SaveRef( SbxVariable* pVar ) in SaveRef()
348 SbxVariable* FindElement
350 void SetupArgs( SbxVariable*, sal_uInt32 );
351 SbxVariable* CheckArray( SbxVariable* );
353 void PushVar( SbxVariable* ); // Variable push
355 SbxVariable* GetTOS( short=0 ); // Variable vom TOS holen
428 SbxVariable* StepSTATIC_Impl( String& aName, SbxDataType& t );
435 void implHandleSbxFlags( SbxVariable* pVar, SbxDataType t, sal_uInt32 nOp2 );
477 inline void checkArithmeticOverflow( SbxVariable* pVar ) in checkArithmeticOverflow()
/AOO42X/main/basic/source/sample/
H A Dobject.cxx123 SbxVariable* SampleObject::Find( const String& rName, SbxClassType t ) in Find()
126 SbxVariable* pRes = SbxObject::Find( rName, t ); in Find()
172 SbxVariable* pVar = pHint->GetVar(); in SFX_NOTIFY()
235 void SampleObject::Display( SbxVariable*, SbxArray* pPar_, sal_Bool ) in Display() argument
243 void SampleObject::Square( SbxVariable* pVar, SbxArray* pPar_, sal_Bool ) in Square()
251 void SampleObject::Event( SbxVariable*, SbxArray* pPar_, sal_Bool ) in Event() argument
258 void SampleObject::Create( SbxVariable* pVar, SbxArray* pPar_, sal_Bool ) in Create()
/AOO42X/main/scripting/source/basprov/
H A Dbasscript.cxx45 extern ::com::sun::star::uno::Any sbxToUnoValue( SbxVariable* pVar );
46 extern void unoToSbxValue( SbxVariable* pVar, const ::com::sun::star::uno::Any& aValue );
166 SbxVariableRef xSbxVar = new SbxVariable( SbxVARIANT ); in invoke()
167 unoToSbxValue( static_cast< SbxVariable* >( xSbxVar ), pParams[i] ); in invoke()
179 SbxVariableRef xReturn = new SbxVariable; in invoke()
209 SbxVariable* pVar = xSbxParams->Get( n ); in invoke()

123