Lines Matching refs:p
43 ::rtl::OUString ImpGetString( const SbxValues* p ) in ImpGetString() argument
49 switch( +p->eType ) in ImpGetString()
56 ImpPutChar( &aTmp, p->nChar ); break; in ImpGetString()
58 ImpPutByte( &aTmp, p->nByte ); break; in ImpGetString()
60 ImpPutInteger( &aTmp, p->nInteger ); break; in ImpGetString()
62 ImpPutBool( &aTmp, p->nUShort ); break; in ImpGetString()
64 ImpPutUShort( &aTmp, p->nUShort ); break; in ImpGetString()
66 ImpPutLong( &aTmp, p->nLong ); break; in ImpGetString()
68 ImpPutULong( &aTmp, p->nULong ); break; in ImpGetString()
70 ImpPutSingle( &aTmp, p->nSingle ); break; in ImpGetString()
72 ImpPutDouble( &aTmp, p->nDouble ); break; in ImpGetString()
74 ImpPutCurrency( &aTmp, p->nLong64 ); break; in ImpGetString()
77 ImpPutDecimal( &aTmp, p->pDecimal ); break; in ImpGetString()
79 ImpPutInt64( &aTmp, p->nInt64 ); break; in ImpGetString()
81 ImpPutUInt64( &aTmp, p->uInt64 ); break; in ImpGetString()
85 if ( p->pOUString ) in ImpGetString()
86 *aTmp.pOUString = *p->pOUString; in ImpGetString()
90 SbxValue* pVal = PTR_CAST(SbxValue,p->pObj); in ImpGetString()
93 else if( p->pObj && p->pObj->IsFixed() in ImpGetString()
94 && (p->pObj->GetType() == (SbxARRAY | SbxBYTE )) ) in ImpGetString()
97 SbxArray* pArr = PTR_CAST(SbxArray, p->pObj); in ImpGetString()
108 aRes += ::rtl::OUString( p->nUShort ); break; in ImpGetString()
110 ImpPutDate( &aTmp, p->nDouble ); break; in ImpGetString()
113 ImpPutChar( &aTmp, *p->pChar ); break; in ImpGetString()
115 ImpPutByte( &aTmp, *p->pByte ); break; in ImpGetString()
118 ImpPutInteger( &aTmp, *p->pInteger ); break; in ImpGetString()
120 ImpPutLong( &aTmp, *p->pLong ); break; in ImpGetString()
122 ImpPutULong( &aTmp, *p->pULong ); break; in ImpGetString()
125 ImpPutUShort( &aTmp, *p->pUShort ); break; in ImpGetString()
127 ImpPutSingle( &aTmp, *p->pSingle ); break; in ImpGetString()
130 ImpPutDouble( &aTmp, *p->pDouble ); break; in ImpGetString()
132 ImpPutCurrency( &aTmp, *p->pLong64 ); break; in ImpGetString()
134 ImpPutInt64( &aTmp, *p->pnInt64 ); break; in ImpGetString()
136 ImpPutUInt64( &aTmp, *p->puInt64 ); break; in ImpGetString()
144 ::rtl::OUString ImpGetCoreString( const SbxValues* p ) in ImpGetCoreString() argument
147 if( ( p->eType & (~SbxBYREF) ) == SbxDOUBLE ) in ImpGetCoreString()
152 if( p->eType == SbxDOUBLE ) in ImpGetCoreString()
153 ImpPutDouble( &aTmp, p->nDouble, /*bCoreString=*/sal_True ); in ImpGetCoreString()
155 ImpPutDouble( &aTmp, *p->pDouble, /*bCoreString=*/sal_True ); in ImpGetCoreString()
159 return ImpGetString( p ); in ImpGetCoreString()
162 void ImpPutString( SbxValues* p, const ::rtl::OUString* n ) in ImpPutString() argument
171 switch( +p->eType ) in ImpPutString()
174 p->nChar = ImpGetChar( &aTmp ); break; in ImpPutString()
176 p->nByte = ImpGetByte( &aTmp ); break; in ImpPutString()
179 p->nInteger = ImpGetInteger( &aTmp ); break; in ImpPutString()
181 p->nLong = ImpGetLong( &aTmp ); break; in ImpPutString()
183 p->nULong = ImpGetULong( &aTmp ); break; in ImpPutString()
186 p->nUShort = ImpGetUShort( &aTmp ); break; in ImpPutString()
188 p->nSingle = ImpGetSingle( &aTmp ); break; in ImpPutString()
190 p->nDouble = ImpGetDate( &aTmp ); break; in ImpPutString()
192 p->nDouble = ImpGetDouble( &aTmp ); break; in ImpPutString()
194 p->nLong64 = ImpGetCurrency( &aTmp ); break; in ImpPutString()
197 releaseDecimalPtr( p->pDecimal ); in ImpPutString()
198 p->pDecimal = ImpGetDecimal( &aTmp ); break; in ImpPutString()
200 p->nInt64 = ImpGetInt64( &aTmp ); break; in ImpPutString()
202 p->uInt64 = ImpGetUInt64( &aTmp ); break; in ImpPutString()
209 if( !p->pOUString ) in ImpPutString()
210 p->pOUString = new ::rtl::OUString( *n ); in ImpPutString()
212 *p->pOUString = *n; in ImpPutString()
215 delete p->pOUString, p->pOUString = NULL; in ImpPutString()
219 SbxValue* pVal = PTR_CAST(SbxValue,p->pObj); in ImpPutString()
227 *p->pChar = ImpGetChar( p ); break; in ImpPutString()
229 *p->pByte = ImpGetByte( p ); break; in ImpPutString()
231 *p->pInteger = ImpGetInteger( p ); break; in ImpPutString()
233 *p->pUShort = sal::static_int_cast< sal_uInt16 >( ImpGetBool( p ) ); in ImpPutString()
237 *p->pUShort = ImpGetUShort( p ); break; in ImpPutString()
239 *p->pLong = ImpGetLong( p ); break; in ImpPutString()
241 *p->pULong = ImpGetULong( p ); break; in ImpPutString()
243 *p->pSingle = ImpGetSingle( p ); break; in ImpPutString()
245 *p->pDouble = ImpGetDate( p ); break; in ImpPutString()
247 *p->pDouble = ImpGetDouble( p ); break; in ImpPutString()
249 *p->pLong64 = ImpGetCurrency( p ); break; in ImpPutString()