Lines Matching refs:pTabData
329 pTabData[0] = new ScViewDataTable; in ScViewData()
331 pTabData[i] = NULL; in ScViewData()
332 pThisTab = pTabData[nTabNo]; in ScViewData()
355 pTabData[nTabNo] = new ScViewDataTable; in ScViewData()
356 pThisTab = pTabData[nTabNo]; in ScViewData()
397 if (rViewData.pTabData[i]) in ScViewData()
398 pTabData[i] = new ScViewDataTable( *rViewData.pTabData[i] ); in ScViewData()
400 pTabData[i] = NULL; in ScViewData()
401 pThisTab = pTabData[nTabNo]; in ScViewData()
480 if (pTabData[i]) in ~ScViewData()
481 delete pTabData[i]; in ~ScViewData()
491 pThisTab = pTabData[nTabNo]; in UpdateThis()
497 pThisTab = pTabData[0] = new ScViewDataTable; in UpdateThis()
507 delete pTabData[MAXTAB]; in InsertTab()
510 pTabData[i] = pTabData[i-1]; in InsertTab()
512 pTabData[nTab] = NULL; // force creating new in InsertTab()
521 delete pTabData[nTab]; in DeleteTab()
524 pTabData[i] = pTabData[i+1]; in DeleteTab()
526 pTabData[MAXTAB] = NULL; in DeleteTab()
543 delete pTabData[MAXTAB]; in CopyTab()
546 pTabData[i] = pTabData[i-1]; in CopyTab()
548 if ( pTabData[nSrcTab] ) in CopyTab()
549 pTabData[nDestTab] = new ScViewDataTable( *pTabData[nSrcTab] ); in CopyTab()
551 pTabData[nDestTab] = NULL; in CopyTab()
563 ScViewDataTable* pTab = pTabData[nSrcTab]; in MoveTab()
570 pTabData[i] = pTabData[i+1]; in MoveTab()
574 pTabData[i] = pTabData[i-1]; in MoveTab()
576 pTabData[nDestTab] = pTab; in MoveTab()
605 if ( !pTabData[*it] ) in CreateTabData()
620 if ( pTabData[i] ) in SetZoomType()
621 pTabData[i]->eZoomType = eNew; in SetZoomType()
632 if ( pTabData[i] ) in SetZoomType()
633 pTabData[i]->eZoomType = eNew; in SetZoomType()
677 if ( pTabData[i] ) in SetZoom()
681 pTabData[i]->aPageZoomX = aValidX; in SetZoom()
682 pTabData[i]->aPageZoomY = aValidY; in SetZoom()
686 pTabData[i]->aZoomX = aValidX; in SetZoom()
687 pTabData[i]->aZoomY = aValidY; in SetZoom()
709 if ( pTabData[i] ) in SetZoom()
713 pTabData[i]->aPageZoomX = aValidX; in SetZoom()
714 pTabData[i]->aPageZoomY = aValidY; in SetZoom()
718 pTabData[i]->aZoomX = aValidX; in SetZoom()
719 pTabData[i]->aZoomY = aValidY; in SetZoom()
1472 if (!pTabData[nNewTab]) in CreateTabData()
1474 pTabData[nNewTab] = new ScViewDataTable; in CreateTabData()
1476 pTabData[nNewTab]->eZoomType = eDefZoomType; in CreateTabData()
1477 pTabData[nNewTab]->aZoomX = aDefZoomX; in CreateTabData()
1478 pTabData[nNewTab]->aZoomY = aDefZoomY; in CreateTabData()
1479 pTabData[nNewTab]->aPageZoomX = aDefPageZoomX; in CreateTabData()
1480 pTabData[nNewTab]->aPageZoomY = aDefPageZoomY; in CreateTabData()
1488 if ( aMarkData.GetTableSelect(i) && !pTabData[i] ) in CreateSelectedTabData()
1502 pThisTab = pTabData[nTabNo]; in SetTabNo()
2256 if (pTabData[i]) in WriteUserData()
2259 if ( pTabData[i]->nCurY > MAXROW_30 || in WriteUserData()
2260 pTabData[i]->nPosY[0] > MAXROW_30 || pTabData[i]->nPosY[1] > MAXROW_30 || in WriteUserData()
2261 ( pTabData[i]->eVSplitMode == SC_SPLIT_FIX && in WriteUserData()
2262 pTabData[i]->nFixPosY > MAXROW_30 ) ) in WriteUserData()
2268 rData += String::CreateFromInt32( pTabData[i]->nCurX ); in WriteUserData()
2270 rData += String::CreateFromInt32( pTabData[i]->nCurY ); in WriteUserData()
2272 rData += String::CreateFromInt32( pTabData[i]->eHSplitMode ); in WriteUserData()
2274 rData += String::CreateFromInt32( pTabData[i]->eVSplitMode ); in WriteUserData()
2276 if ( pTabData[i]->eHSplitMode == SC_SPLIT_FIX ) in WriteUserData()
2277 rData += String::CreateFromInt32( pTabData[i]->nFixPosX ); in WriteUserData()
2279 rData += String::CreateFromInt32( pTabData[i]->nHSplitPos ); in WriteUserData()
2281 if ( pTabData[i]->eVSplitMode == SC_SPLIT_FIX ) in WriteUserData()
2282 rData += String::CreateFromInt32( pTabData[i]->nFixPosY ); in WriteUserData()
2284 rData += String::CreateFromInt32( pTabData[i]->nVSplitPos ); in WriteUserData()
2286 rData += String::CreateFromInt32( pTabData[i]->eWhichActive ); in WriteUserData()
2288 rData += String::CreateFromInt32( pTabData[i]->nPosX[0] ); in WriteUserData()
2290 rData += String::CreateFromInt32( pTabData[i]->nPosX[1] ); in WriteUserData()
2292 rData += String::CreateFromInt32( pTabData[i]->nPosY[0] ); in WriteUserData()
2294 rData += String::CreateFromInt32( pTabData[i]->nPosY[1] ); in WriteUserData()
2359 if (!pTabData[nPos]) in ReadUserData()
2360 pTabData[nPos] = new ScViewDataTable; in ReadUserData()
2373 pTabData[nPos]->nCurX = SanitizeCol( static_cast<SCCOL>(aTabOpt.GetToken(0,cTabSep).ToInt32())); in ReadUserData()
2374 pTabData[nPos]->nCurY = SanitizeRow( aTabOpt.GetToken(1,cTabSep).ToInt32()); in ReadUserData()
2375 pTabData[nPos]->eHSplitMode = (ScSplitMode) aTabOpt.GetToken(2,cTabSep).ToInt32(); in ReadUserData()
2376 pTabData[nPos]->eVSplitMode = (ScSplitMode) aTabOpt.GetToken(3,cTabSep).ToInt32(); in ReadUserData()
2378 if ( pTabData[nPos]->eHSplitMode == SC_SPLIT_FIX ) in ReadUserData()
2380 …pTabData[nPos]->nFixPosX = SanitizeCol( static_cast<SCCOL>(aTabOpt.GetToken(4,cTabSep).ToInt32())); in ReadUserData()
2384 pTabData[nPos]->nHSplitPos = aTabOpt.GetToken(4,cTabSep).ToInt32(); in ReadUserData()
2386 if ( pTabData[nPos]->eVSplitMode == SC_SPLIT_FIX ) in ReadUserData()
2388 pTabData[nPos]->nFixPosY = SanitizeRow( aTabOpt.GetToken(5,cTabSep).ToInt32()); in ReadUserData()
2392 pTabData[nPos]->nVSplitPos = aTabOpt.GetToken(5,cTabSep).ToInt32(); in ReadUserData()
2394 pTabData[nPos]->eWhichActive = (ScSplitPos) aTabOpt.GetToken(6,cTabSep).ToInt32(); in ReadUserData()
2395 …pTabData[nPos]->nPosX[0] = SanitizeCol( static_cast<SCCOL>(aTabOpt.GetToken(7,cTabSep).ToInt32())); in ReadUserData()
2396 …pTabData[nPos]->nPosX[1] = SanitizeCol( static_cast<SCCOL>(aTabOpt.GetToken(8,cTabSep).ToInt32())); in ReadUserData()
2397 pTabData[nPos]->nPosY[0] = SanitizeRow( aTabOpt.GetToken(9,cTabSep).ToInt32()); in ReadUserData()
2398 pTabData[nPos]->nPosY[1] = SanitizeRow( aTabOpt.GetToken(10,cTabSep).ToInt32()); in ReadUserData()
2402 ScSplitPos eTest = pTabData[nPos]->eWhichActive; in ReadUserData()
2404 pTabData[nPos]->eHSplitMode == SC_SPLIT_NONE ) || in ReadUserData()
2406 pTabData[nPos]->eVSplitMode == SC_SPLIT_NONE ) ) in ReadUserData()
2409 pTabData[nPos]->eWhichActive = SC_SPLIT_BOTTOMLEFT; in ReadUserData()
2437 if( const ScViewDataTable* pViewTab = pTabData[ nTab ] ) in WriteExtOptions()
2540 if( !pTabData[ nTab ] ) in ReadExtOptions()
2541 pTabData[ nTab ] = new ScViewDataTable; in ReadExtOptions()
2544 ScViewDataTable& rViewTab = *pTabData[ nTab ]; in ReadExtOptions()
2702 if (pTabData[nTab]) in WriteUserDataSequence()
2705 pTabData[nTab]->WriteUserDataSequence(aTableViewSettings, *this, nTab); in WriteUserDataSequence()
2821 delete pTabData[nTab]; in ReadUserDataSequence()
2822 pTabData[nTab] = new ScViewDataTable; in ReadUserDataSequence()
2824 … pTabData[nTab]->ReadUserDataSequence(aTabSettings, *this, nTab, bHasZoom); in ReadUserDataSequence()
2946 …if (pTabData[nZoomTab] && ( nZoomTab >= static_cast<SCTAB>(aHasZoomVect.size()) || !aHasZoomVect[n… in ReadUserDataSequence()
2948 pTabData[nZoomTab]->eZoomType = eDefZoomType; in ReadUserDataSequence()
2949 pTabData[nZoomTab]->aZoomX = aDefZoomX; in ReadUserDataSequence()
2950 pTabData[nZoomTab]->aZoomY = aDefZoomY; in ReadUserDataSequence()
2951 pTabData[nZoomTab]->aPageZoomX = aDefPageZoomX; in ReadUserDataSequence()
2952 pTabData[nZoomTab]->aPageZoomY = aDefPageZoomY; in ReadUserDataSequence()
3003 if (!pView || pTabData[nTab]->eHSplitMode != SC_SPLIT_FIX) in UpdateFixX()
3010 SCCOL nFix = pTabData[nTab]->nFixPosX; in UpdateFixX()
3012 for (SCCOL nX=pTabData[nTab]->nPosX[SC_SPLIT_LEFT]; nX<nFix; nX++) in UpdateFixX()
3022 if (nNewPos != pTabData[nTab]->nHSplitPos) in UpdateFixX()
3024 pTabData[nTab]->nHSplitPos = nNewPos; in UpdateFixX()
3038 if (!pView || pTabData[nTab]->eVSplitMode != SC_SPLIT_FIX) in UpdateFixY()
3045 SCROW nFix = pTabData[nTab]->nFixPosY; in UpdateFixY()
3047 for (SCROW nY=pTabData[nTab]->nPosY[SC_SPLIT_TOP]; nY<nFix; nY++) in UpdateFixY()
3057 if (nNewPos != pTabData[nTab]->nVSplitPos) in UpdateFixY()
3059 pTabData[nTab]->nVSplitPos = nNewPos; in UpdateFixY()