Lines Matching refs:i
67 for (SCTAB i=0; i<nCount; i++) in ScTabControl() local
69 if (pDoc->IsVisible(i)) in ScTabControl()
71 if (pDoc->GetName(i,aString)) in ScTabControl()
73 if ( pDoc->IsScenario(i) ) in ScTabControl()
74 InsertPage( static_cast<sal_uInt16>(i)+1, aString, TPB_SPECIAL ); in ScTabControl()
76 InsertPage( static_cast<sal_uInt16>(i)+1, aString ); in ScTabControl()
77 if ( !pDoc->IsDefaultTabBgColor(i) ) in ScTabControl()
79 aTabBgColor = pDoc->GetTabBgColor(i); in ScTabControl()
80 SetTabBgColor( static_cast<sal_uInt16>(i)+1, aTabBgColor ); in ScTabControl()
122 for (SCTAB i=0; i<nCount; i++) in GetPrivatDropPos() local
124 if (pDoc->IsVisible(i)) in GetPrivatDropPos()
130 for (j=i+1; j<nCount; j++) in GetPrivatDropPos()
208 SCTAB i; in Select() local
214 for (i=0; i<nCount; i++) in Select()
215 SelectPage( static_cast<sal_uInt16>(i)+1, rMark.GetTableSelect(i) ); in Select()
236 for (i=0; i<nCount; i++) in Select()
237 rMark.SelectTable( i, IsPageSelected(static_cast<sal_uInt16>(i)+1) ); in Select()
291 SCTAB i; in UpdateStatus() local
297 for (i=0; i<nMaxCnt && !bModified; i++) in UpdateStatus()
299 if (pDoc->IsVisible(i)) in UpdateStatus()
301 pDoc->GetName(i,aString); in UpdateStatus()
302 aTabBgColor = pDoc->GetTabBgColor(i); in UpdateStatus()
309 …if ( (GetPageText(static_cast<sal_uInt16>(i)+1) != aString) || (GetTabBgColor(static_cast<sal_uInt… in UpdateStatus()
316 for (i=0; i<nCount; i++) in UpdateStatus()
318 if (pDoc->IsVisible(i)) in UpdateStatus()
320 if (pDoc->GetName(i,aString)) in UpdateStatus()
322 if ( pDoc->IsScenario(i) ) in UpdateStatus()
323 InsertPage( static_cast<sal_uInt16>(i)+1, aString, TPB_SPECIAL ); in UpdateStatus()
325 InsertPage( static_cast<sal_uInt16>(i)+1, aString ); in UpdateStatus()
326 if ( !pDoc->IsDefaultTabBgColor(i) ) in UpdateStatus()
328 aTabBgColor = pDoc->GetTabBgColor(i); in UpdateStatus()
329 SetTabBgColor( static_cast<sal_uInt16>(i)+1, aTabBgColor ); in UpdateStatus()
340 for (i=0; i<nMaxCnt && !bModified; i++) in UpdateStatus()
341 if ( rMark.GetTableSelect(i) != IsPageSelected(static_cast<sal_uInt16>(i)+1) ) in UpdateStatus()
347 for (i=0; i<nCount; i++) in UpdateStatus()
348 SelectPage( static_cast<sal_uInt16>(i)+1, rMark.GetTableSelect(i) ); in UpdateStatus()
421 for (sal_uInt16 i=1; i<=nCount; i++) in Command() local
422 SelectPage( i, i==nId ); in Command()