Lines Matching refs:nPos

358 sal_Bool IsAppWorkWinToolbox_Impl( sal_uInt16 nPos )  in IsAppWorkWinToolbox_Impl()  argument
360 switch ( nPos ) in IsAppWorkWinToolbox_Impl()
371 sal_uInt16 TbxMatch( sal_uInt16 nPos ) in TbxMatch() argument
373 switch ( nPos ) in TbxMatch()
388 return nPos+1; in TbxMatch()
390 return nPos; in TbxMatch()
676 for ( sal_uInt16 nPos = 0; nPos < pChilds->Count(); ++nPos ) in ChangeWindow_Impl() local
678 SfxChild_Impl *pCli = (*pChilds)[nPos]; in ChangeWindow_Impl()
1095 sal_uInt16 nPos; in ReleaseChild_Impl() local
1096 for ( nPos = 0; nPos < pChilds->Count(); ++nPos ) in ReleaseChild_Impl()
1098 pChild = (*pChilds)[nPos]; in ReleaseChild_Impl()
1104 if ( nPos < pChilds->Count() ) in ReleaseChild_Impl()
1108 pChilds->Remove(nPos); in ReleaseChild_Impl()
1124 for ( sal_uInt16 nPos = 0; nPos < nCount; ++nPos ) in FindChild_Impl() local
1126 pChild = (*pChilds)[nPos]; in FindChild_Impl()
1144 for ( sal_uInt16 nPos = 0; nPos < pChilds->Count(); ++nPos ) in ShowChilds_Impl() local
1147 pCli = (*pChilds)[nPos]; in ShowChilds_Impl()
1213 for ( sal_uInt16 nPos = pChilds->Count(); nPos > 0; --nPos ) in HideChilds_Impl() local
1215 pChild = (*pChilds)[nPos-1]; in HideChilds_Impl()
1254 void SfxWorkWindow::SetObjectBar_Impl( sal_uInt16 nPos, sal_uInt32 nResId, in SetObjectBar_Impl() argument
1257 DBG_ASSERT( (nPos & SFX_POSITION_MASK) < SFX_OBJECTBAR_MAX, in SetObjectBar_Impl()
1260 sal_uInt16 nRealPos = nPos & SFX_POSITION_MASK; in SetObjectBar_Impl()
1263 pParent->SetObjectBar_Impl( nPos, nResId, pIFace, pName ); in SetObjectBar_Impl()
1270 aObjBar.nPos = nRealPos; in SetObjectBar_Impl()
1271 aObjBar.nMode = (nPos & SFX_VISIBILITY_MASK); in SetObjectBar_Impl()
1291 bool SfxWorkWindow::KnowsObjectBar_Impl( sal_uInt16 nPos ) const in KnowsObjectBar_Impl()
1301 sal_uInt16 nRealPos = nPos & SFX_POSITION_MASK; in KnowsObjectBar_Impl()
1303 return pParent->KnowsObjectBar_Impl( nPos ); in KnowsObjectBar_Impl()
1307 if ( aObjBarList[n].nPos == nRealPos ) in KnowsObjectBar_Impl()
1670 sal_uInt16 nPos = pChildWin->GetPosition(); in CreateChildWin_Impl() local
1671 if (nPos != CHILDWIN_NOPOS) in CreateChildWin_Impl()
1673 DBG_ASSERT(nPos < SFX_OBJECTBAR_MAX, "Illegal objectbar position!"); in CreateChildWin_Impl()
1674 if ((*pChilds)[TbxMatch(nPos)])// && in CreateChildWin_Impl()
1678 (*pChilds)[TbxMatch(nPos)]->nVisible ^= CHILD_NOT_HIDDEN; in CreateChildWin_Impl()
1721 sal_uInt16 nPos = pChildWin->GetPosition(); in RemoveChildWin_Impl() local
1722 if (nPos != CHILDWIN_NOPOS) in RemoveChildWin_Impl()
1902 sal_uInt16 nPos = USHRT_MAX; in ConfigChild_Impl() local
1987 nPos = aSortedList[n]; in ConfigChild_Impl()
1993 if ( nPos == USHRT_MAX ) in ConfigChild_Impl()
2021 if ( bTbx && i <= nPos) in ConfigChild_Impl()
2032 if ( i == nPos ) in ConfigChild_Impl()
2044 if ( bTbx && i <= nPos) in ConfigChild_Impl()
2055 if ( i == nPos ) in ConfigChild_Impl()
2067 if (bTbx && i <= nPos) in ConfigChild_Impl()
2078 if (i == nPos) in ConfigChild_Impl()
2089 if (bTbx && i <= nPos) in ConfigChild_Impl()
2095 if (i == nPos) in ConfigChild_Impl()
2118 if ( nPos == USHRT_MAX && !pCW ) in ConfigChild_Impl()
2122 SfxChild_Impl *pCli = ( nPos != USHRT_MAX ) ? (*pChilds)[nPos] : 0; in ConfigChild_Impl()