Lines Matching refs:nTab
68 SCTAB nTab; in ScPrintFuncCache() local
69 for ( nTab=0; nTab<nTabCount; nTab++ ) in ScPrintFuncCache()
71 long nAttrPage = nTab > 0 ? nFirstAttr[nTab-1] : 1; in ScPrintFuncCache()
74 if ( rMark.GetTableSelect( nTab ) ) in ScPrintFuncCache()
76 ScPrintFunc aFunc( pDocSh, pPrinter, nTab, nAttrPage, 0, pSelRange, &aSelection.GetOptions() ); in ScPrintFuncCache()
78 nFirstAttr[nTab] = aFunc.GetFirstPageNo(); // from page style or previous sheet in ScPrintFuncCache()
81 nFirstAttr[nTab] = nAttrPage; in ScPrintFuncCache()
83 nPages[nTab] = nThisTab; in ScPrintFuncCache()
110 for ( SCTAB nTab=0; nTab<nTabCount; nTab++ ) in InitLocations() local
112 if ( rMark.GetTableSelect( nTab ) ) in InitLocations()
114 …ScPrintFunc aFunc( pDev, pDocSh, nTab, nFirstAttr[nTab], nTotalPages, pSelRange, &aSelection.GetOp… in InitLocations()
117 long nDisplayStart = GetDisplayStart( nTab ); in InitLocations()
119 for ( long nPage=0; nPage<nPages[nTab]; nPage++ ) in InitLocations()
137 nTabStart += nPages[nTab]; in InitLocations()
167 SCTAB nTab = 0; in GetTabForPage() local
168 while ( nTab < nTabCount && nPage >= nPages[nTab] ) in GetTabForPage()
169 nPage -= nPages[nTab++]; in GetTabForPage()
170 return nTab; in GetTabForPage()
173 long ScPrintFuncCache::GetTabStart( SCTAB nTab ) const in GetTabStart()
176 for ( SCTAB i=0; i<nTab; i++ ) in GetTabStart()
181 long ScPrintFuncCache::GetDisplayStart( SCTAB nTab ) const in GetDisplayStart()
187 for (SCTAB i=0; i<nTab; i++) in GetDisplayStart()