| /AOO42X/main/sc/source/core/tool/ |
| H A D | scmatrix.cxx | 52 pMat = new ScMatrixValue[1]; in CreateMatrix() 53 pMat[0].fVal = CreateDoubleError( errStackOverflow); in CreateMatrix() 56 pMat = new ScMatrixValue[nCount]; in CreateMatrix() 64 delete [] pMat; in Clear() 123 DBG_ASSERT( pMat, "pMat == NULL" ); in ScMatrix() 137 rStream >> pMat[i].fVal; in ScMatrix() 156 pMat[i].pS = new String(aMatStr); in ScMatrix() 158 pMat[i].pS = NULL; in ScMatrix() 174 if ( !pMat || nCount > ((sal_uInt16)(~0)) ) in Store() 176 DBG_ASSERT( pMat, "ScMatrix::Store: pMat == NULL" ); in Store() [all …]
|
| H A D | interpr5.cxx | 172 ScMatrixRef pMat = PopMatrix(); in ScGCD() local 173 if (pMat) in ScGCD() 176 pMat->GetDimensions(nC, nR); in ScGCD() 184 if (!pMat->IsValue(j)) in ScGCD() 189 fx = ::rtl::math::approxFloor( pMat->GetDouble(j)); in ScGCD() 264 ScMatrixRef pMat = PopMatrix(); in ScLCM() local 265 if (pMat) in ScLCM() 268 pMat->GetDimensions(nC, nR); in ScLCM() 276 if (!pMat->IsValue(j)) in ScLCM() 281 fx = ::rtl::math::approxFloor( pMat->GetDouble(j)); in ScLCM() [all …]
|
| H A D | interpr1.cxx | 105 ScMatrixRef pMat = PopMatrix(); in ScIfJump() local 106 if ( !pMat ) in ScIfJump() 113 pMat->SetErrorInterpreter( NULL); in ScIfJump() 115 pMat->GetDimensions( nCols, nRows ); in ScIfJump() 131 const ScMatrixValue* pMatVal = pMat->Get( nC, nR, in ScIfJump() 238 ScMatrixRef pMat = PopMatrix(); in ScChoseJump() local 239 if ( !pMat ) in ScChoseJump() 246 pMat->SetErrorInterpreter( NULL); in ScChoseJump() 248 pMat->GetDimensions( nCols, nRows ); in ScChoseJump() 263 const ScMatrixValue* pMatVal = pMat->Get( nC, nR, in ScChoseJump() [all …]
|
| H A D | interpr3.cxx | 2336 ScMatrixRef pMat = PopMatrix(); in ScZTest() local 2337 if (pMat) in ScZTest() 2339 SCSIZE nCount = pMat->GetElementCount(); in ScZTest() 2340 if (pMat->IsNumeric()) in ScZTest() 2344 fVal= pMat->GetDouble(i); in ScZTest() 2353 if (!pMat->IsString(i)) in ScZTest() 2355 fVal= pMat->GetDouble(i); in ScZTest() 2800 ScMatrixRef pMat = PopMatrix(); in ScHarMean() local 2801 if (pMat) in ScHarMean() 2803 SCSIZE nCount = pMat->GetElementCount(); in ScHarMean() [all …]
|
| H A D | interpr4.cxx | 1265 ScMatrixRef pMat = static_cast<ScToken*>(p)->GetMatrix(); in PopDoubleRef() local 1266 return new ScDBExternalRange(pDok, pMat); in PopDoubleRef() 1431 ScMatrixRef pMat = GetMatrix(); in PopDoubleRefPushMatrix() local 1432 if ( pMat ) in PopDoubleRefPushMatrix() 1433 PushMatrix( pMat ); in PopDoubleRefPushMatrix() 1479 ScMatrixRef pMat = static_cast<ScToken*>(p)->GetMatrix(); in ConvertMatrixParameters() local 1480 if ( !pMat ) in ConvertMatrixParameters() 1485 pMat->GetDimensions( nCols, nRows); in ConvertMatrixParameters() 1507 ScMatrixRef pMat = CreateMatrixFromDoubleRef( p, in ConvertMatrixParameters() local 1509 if (pMat) in ConvertMatrixParameters() [all …]
|
| H A D | doubleref.cxx | 417 ScDBExternalRange::ScDBExternalRange(ScDocument* pDoc, const ScMatrixRef& pMat) : in ScDBExternalRange() argument 418 ScDBRangeBase(pDoc, EXTERNAL), mpMatrix(pMat) in ScDBExternalRange()
|
| H A D | token.cxx | 415 return new ScMatrixToken( pMat ); in CreateToken()
|
| /AOO42X/main/sdext/source/pdfimport/xpdfwrapper/ |
| H A D | pdfioutdev_gpl.cxx | 512 void PDFOutDev::setDefaultCTM(double *pMat) in setDefaultCTM() argument 514 assert(pMat); in setDefaultCTM() 516 OutputDev::setDefaultCTM(pMat); in setDefaultCTM() 519 normalize(pMat[0]), in setDefaultCTM() 520 normalize(pMat[2]), in setDefaultCTM() 521 normalize(pMat[1]), in setDefaultCTM() 522 normalize(pMat[3]), in setDefaultCTM() 523 normalize(pMat[4]), in setDefaultCTM() 524 normalize(pMat[5]) ); in setDefaultCTM() 534 const double* const pMat = state->getCTM(); in updateCTM() local [all …]
|
| /AOO42X/main/sc/source/core/inc/ |
| H A D | jumpmatrix.hxx | 63 ScMatrixRef pMat; // the results member in ScJumpMatrix 80 , pMat( new ScMatrix( nColsP, nRowsP) ) in ScJumpMatrix() 93 pMat->FillDouble( CreateDoubleError( in ScJumpMatrix() 160 ScMatrix* GetResultMatrix() const { return pMat; } in GetResultMatrix() 193 pMat = pMat->CloneAndExtend( nNewCols, nNewRows ); in SetNewResMat() 196 pMat->FillDouble( CreateDoubleError( in SetNewResMat() 202 pMat->FillDouble( CreateDoubleError( in SetNewResMat()
|
| H A D | interpre.hxx | 359 void PushMatrix(ScMatrix* pMat); 417 ScMatrixRef QueryMat( ScMatrix* pMat, ScCompareOptions& rOptions ); 726 void CalculateMatrixValue(const ScMatrix* pMat,SCSIZE nC,SCSIZE nR);
|
| H A D | doubleref.hxx | 144 explicit ScDBExternalRange(ScDocument* pDoc, const ScMatrixRef& pMat);
|
| /AOO42X/main/sc/inc/ |
| H A D | scmatrix.hxx | 91 ScMatrixValue* pMat; member in ScMatrix 272 { pMat[nIndex].fVal = fVal; } in PutDouble() 297 { return pMat[nIndex].GetError(); } in GetError() 313 sal_uInt16 nError = GetDoubleErrorValue( pMat[nIndex].fVal); in GetDouble() 317 return pMat[nIndex].fVal; in GetDouble() 324 { return pMat[nIndex].GetString(); } in GetString()
|
| H A D | token.hxx | 326 … ScMatrixCellResultToken( ScMatrix* pMat, formula::FormulaToken* pUL ) : in ScMatrixCellResultToken() argument 328 xMatrix( pMat), xUpperLeft( pUL) {} in ScMatrixCellResultToken()
|
| H A D | compiler.hxx | 162 ScMatrix* pMat; member
|
| /AOO42X/main/sc/source/core/data/ |
| H A D | cell.cxx | 908 const ScMatrix* pMat = NULL; in GetResultDimensions() local 910 ((pMat = static_cast<const ScToken*>(aResult.GetToken().get())->GetMatrix()) != 0)) in GetResultDimensions() 911 pMat->GetDimensions( rCols, rRows ); in GetResultDimensions() 1768 ScMatrixFormulaCellToken* pMat = aResult.GetMatrixFormulaCellTokenNonConst(); in SetMatColsRows() local 1769 if (pMat) in SetMatColsRows() 1770 pMat->SetMatColsRows( nCols, nRows); in SetMatColsRows() 1778 const ScMatrixFormulaCellToken* pMat = aResult.GetMatrixFormulaCellToken(); in GetMatColsRows() local 1779 if (pMat) in GetMatColsRows() 1780 pMat->GetMatColsRows( nCols, nRows); in GetMatColsRows()
|
| /AOO42X/main/sc/source/ui/unoobj/ |
| H A D | funcuno.cxx | 696 const ScMatrix* pMat = mbArray ? pFormula->GetMatrix() : 0; in callFunction() local 700 if ( pMat ) in callFunction() 703 ScRangeToSequence::FillMixedArray( aRet, pMat ); in callFunction()
|
| H A D | chart2uno.cxx | 2669 const ScMatrix* pMat = static_cast<ScToken*>(p)->GetMatrix(); in FillCacheFromExternalRef() local 2671 pMat->GetDimensions(nCSize, nRSize); in FillCacheFromExternalRef() 2676 if (pMat->IsValue(nC, nR) || pMat->IsBoolean(nC, nR)) in FillCacheFromExternalRef() 2683 rItem.mfValue = pMat->GetDouble(nC, nR); in FillCacheFromExternalRef() 2703 else if (pMat->IsString(nC, nR)) in FillCacheFromExternalRef() 2710 rItem.maString = pMat->GetString(nC, nR); in FillCacheFromExternalRef()
|
| /AOO42X/main/sc/source/ui/docshell/ |
| H A D | externalrefmgr.cxx | 774 const ScMatrixRef& pMat = itrData->mpRangeData; in setCellRangeData() local 775 if (pMat->IsEmpty(nC, nR)) in setCellRangeData() 779 if (pMat->IsValue(nC, nR)) in setCellRangeData() 780 pToken.reset(new formula::FormulaDoubleToken(pMat->GetDouble(nC, nR))); in setCellRangeData() 781 else if (pMat->IsString(nC, nR)) in setCellRangeData() 782 pToken.reset(new formula::FormulaStringToken(pMat->GetString(nC, nR))); in setCellRangeData()
|
| /AOO42X/main/svx/source/unodraw/ |
| H A D | unoshap3.cxx | 421 basegfx::B3DHomMatrix* pMat = (basegfx::B3DHomMatrix*)aObjTrans.GetObject(nIndex++); in setPropertyValueImpl() local 422 p3DObj->NbcSetTransform(*pMat); in setPropertyValueImpl() 423 delete pMat; in setPropertyValueImpl()
|