Lines Matching refs:pCli
521 SfxChild_Impl *pCli = (*pChilds)[i]; in Sort_Impl() local
522 if (pCli) in Sort_Impl()
528 ChildAlignValue(pCli->eAlign)) in Sort_Impl()
678 SfxChild_Impl *pCli = (*pChilds)[nPos]; in ChangeWindow_Impl() local
679 if ( pCli && pCli->pWin && pCli->pWin->GetParent() == pOld ) in ChangeWindow_Impl()
681 pCli->pWin->SetParent( pNew ); in ChangeWindow_Impl()
743 if (pCW->pCli) in DeleteControllers_Impl()
882 SfxChild_Impl* pCli = (*pChilds)[aSortedList[n]]; in Arrange_Impl() local
883 if ( !pCli->pWin ) in Arrange_Impl()
887 pCli->nVisible |= CHILD_FITS_IN; in Arrange_Impl()
890 if (pCli->nVisible != CHILD_VISIBLE) in Arrange_Impl()
893 if ( pCli->bResize ) in Arrange_Impl()
894 aSize = pCli->aSize; in Arrange_Impl()
896 aSize = pCli->pWin->GetSizePixel(); in Arrange_Impl()
900 switch ( pCli->eAlign ) in Arrange_Impl()
907 if ( pCli->pWin->GetType() == WINDOW_SPLITWINDOW ) in Arrange_Impl()
908 aSize = ((SplitWindow *)(pCli->pWin))->CalcLayoutSizePixel( aSize ); in Arrange_Impl()
913 if ( pCli->eAlign == SFX_ALIGN_HIGHESTTOP ) in Arrange_Impl()
922 if ( pCli->pWin->GetType() == WINDOW_SPLITWINDOW ) in Arrange_Impl()
923 aSize = ((SplitWindow *)(pCli->pWin))->CalcLayoutSizePixel( aSize ); in Arrange_Impl()
928 if ( pCli->eAlign == SFX_ALIGN_LOWESTBOTTOM ) in Arrange_Impl()
937 if ( pCli->pWin->GetType() == WINDOW_SPLITWINDOW ) in Arrange_Impl()
938 aSize = ((SplitWindow *)(pCli->pWin))->CalcLayoutSizePixel( aSize ); in Arrange_Impl()
943 if ( pCli->eAlign != SFX_ALIGN_TOOLBOXLEFT ) in Arrange_Impl()
952 if ( pCli->pWin->GetType() == WINDOW_SPLITWINDOW ) in Arrange_Impl()
953 aSize = ((SplitWindow *)(pCli->pWin))->CalcLayoutSizePixel( aSize ); in Arrange_Impl()
958 if ( pCli->eAlign != SFX_ALIGN_TOOLBOXRIGHT ) in Arrange_Impl()
963 pCli->aSize = pCli->pWin->GetSizePixel(); in Arrange_Impl()
964 pCli->bResize = sal_False; in Arrange_Impl()
968 pCli->pWin->SetPosSizePixel( aPos, aSize ); in Arrange_Impl()
969 pCli->bResize = sal_False; in Arrange_Impl()
970 pCli->aSize = aSize; in Arrange_Impl()
973 pCli->nVisible ^= CHILD_FITS_IN; in Arrange_Impl()
1143 SfxChild_Impl *pCli = 0; in ShowChilds_Impl() local
1147 pCli = (*pChilds)[nPos]; in ShowChilds_Impl()
1149 if ( pCli && pCli->pWin ) in ShowChilds_Impl()
1156 SfxChild_Impl* pChild = pCWin->pCli; in ShowChilds_Impl()
1157 if ( pChild == pCli ) in ShowChilds_Impl()
1174 if ( CHILD_VISIBLE == (pCli->nVisible & CHILD_VISIBLE) && bVisible ) in ShowChilds_Impl()
1176 sal_uInt16 nFlags = pCli->bSetFocus ? 0 : SHOW_NOFOCUSCHANGE | SHOW_NOACTIVATE; in ShowChilds_Impl()
1177 switch ( pCli->pWin->GetType() ) in ShowChilds_Impl()
1180 ((DockingWindow*)pCli->pWin)->Show( sal_True, nFlags ); in ShowChilds_Impl()
1183 ((SplitWindow*)pCli->pWin)->Show( sal_True, nFlags ); in ShowChilds_Impl()
1186 pCli->pWin->Show( sal_True, nFlags ); in ShowChilds_Impl()
1190 pCli->bSetFocus = sal_False; in ShowChilds_Impl()
1194 switch ( pCli->pWin->GetType() ) in ShowChilds_Impl()
1197 ((DockingWindow*)pCli->pWin)->Hide(); in ShowChilds_Impl()
1200 pCli->pWin->Hide(); in ShowChilds_Impl()
1591 if ( pCW->pCli ) in UpdateChildWindows_Impl()
1592 pCW->pCli->nVisible &= ~CHILD_ACTIVE; in UpdateChildWindows_Impl()
1604 if ( pCW->pCli ) in UpdateChildWindows_Impl()
1607 …hildsVisible && ( (IsDockingAllowed() && bInternalDockingAllowed) || pCW->pCli->eAlign == SFX_ALIG… in UpdateChildWindows_Impl()
1608 pCW->pCli->nVisible |= CHILD_NOT_HIDDEN; in UpdateChildWindows_Impl()
1628 if ( pCW->pCli ) in UpdateChildWindows_Impl()
1630 if ( pCW->pCli->nVisible & CHILD_NOT_HIDDEN ) in UpdateChildWindows_Impl()
1631 pCW->pCli->nVisible ^= CHILD_NOT_HIDDEN; in UpdateChildWindows_Impl()
1692 …pCW->pCli = RegisterChild_Impl(*(pChildWin->GetWindow()), pChildWin->GetAlignment(), pChildWin->Ca… in CreateChildWin_Impl()
1693 pCW->pCli->nVisible = CHILD_VISIBLE; in CreateChildWin_Impl()
1695 pCW->pCli->nVisible ^= CHILD_ACTIVE; in CreateChildWin_Impl()
1696 pCW->pCli->bSetFocus = bSetFocus; in CreateChildWin_Impl()
1745 if ( pCW->pCli ) in RemoveChildWin_Impl()
1749 pCW->pCli = 0; in RemoveChildWin_Impl()
1939 … pCW->pCli = RegisterChild_Impl(*pDockWin, pDockWin->GetAlignment(), pCW->pWin->CanGetFocus()); in ConfigChild_Impl()
1940 pCW->pCli->nVisible = CHILD_VISIBLE; in ConfigChild_Impl()
1953 pCW->pCli = 0; in ConfigChild_Impl()
2007 SfxChild_Impl* pCli = (*pChilds)[i]; in ConfigChild_Impl() local
2009 if ( pCli && pCli->nVisible == CHILD_VISIBLE && pCli->pWin ) in ConfigChild_Impl()
2011 switch ( pCli->eAlign ) in ConfigChild_Impl()
2016 aInnerRect.Top() += pCli->aSize.Height(); in ConfigChild_Impl()
2022 aInnerRect.Top() += pCli->aSize.Height(); in ConfigChild_Impl()
2027 aInnerRect.Top() += pCli->aSize.Height(); in ConfigChild_Impl()
2033 aInnerRect.Top() += pCli->aSize.Height(); in ConfigChild_Impl()
2039 aInnerRect.Bottom() -= pCli->aSize.Height(); in ConfigChild_Impl()
2045 aInnerRect.Bottom() -= pCli->aSize.Height(); in ConfigChild_Impl()
2050 aInnerRect.Bottom() -= pCli->aSize.Height(); in ConfigChild_Impl()
2056 aInnerRect.Bottom() -= pCli->aSize.Height(); in ConfigChild_Impl()
2062 aInnerRect.Left() += pCli->aSize.Width(); in ConfigChild_Impl()
2068 aInnerRect.Left() += pCli->aSize.Width(); in ConfigChild_Impl()
2073 aInnerRect.Left() += pCli->aSize.Width(); in ConfigChild_Impl()
2079 aInnerRect.Left() += pCli->aSize.Width(); in ConfigChild_Impl()
2084 aInnerRect.Right() -= pCli->aSize.Width(); in ConfigChild_Impl()
2090 aInnerRect.Right() -= pCli->aSize.Width(); in ConfigChild_Impl()
2096 aInnerRect.Right() -= pCli->aSize.Width(); in ConfigChild_Impl()
2101 aInnerRect.Right() -= pCli->aSize.Width(); in ConfigChild_Impl()
2122 SfxChild_Impl *pCli = ( nPos != USHRT_MAX ) ? (*pChilds)[nPos] : 0; in ConfigChild_Impl() local
2123 if ( pCli && pDockWin ) in ConfigChild_Impl()
2129 pCli->bResize = sal_True; in ConfigChild_Impl()
2130 pCli->aSize = pDockWin->GetSizePixel(); in ConfigChild_Impl()
2134 if ( pCli ) in ConfigChild_Impl()
2136 if( pCli->eAlign != eAlign ) in ConfigChild_Impl()
2139 pCli->eAlign = eAlign; in ConfigChild_Impl()
2305 if ( !pCW->pCli ) in ToggleChildWindow_Impl()
2517 if ( pCW->pCli ) in ShowChildWindow_Impl()
2519 pCW->pCli->bSetFocus = bSetFocus; in ShowChildWindow_Impl()
2520 pCW->pCli->nVisible = CHILD_VISIBLE; in ShowChildWindow_Impl()
2529 if ( pCW->pCli ) in ShowChildWindow_Impl()
2531 pCW->pCli->nVisible = CHILD_VISIBLE ^ CHILD_NOT_HIDDEN; in ShowChildWindow_Impl()
2756 SfxChild_Impl* pCli = (*pChilds)[aSortedList[n]]; in MakeChildsVisible_Impl() local
2757 … if ( (pCli->eAlign == SFX_ALIGN_NOALIGNMENT) || (IsDockingAllowed() && bInternalDockingAllowed) ) in MakeChildsVisible_Impl()
2758 pCli->nVisible |= CHILD_ACTIVE; in MakeChildsVisible_Impl()
2767 SfxChild_Impl* pCli = (*pChilds)[aSortedList[n]]; in MakeChildsVisible_Impl() local
2768 pCli->nVisible &= ~CHILD_ACTIVE; in MakeChildsVisible_Impl()
3013 SfxChild_Impl *pCli = (*pChilds)[i]; in ActivateNextChild_Impl() local
3014 if ( pCli && pCli->bCanGetFocus && pCli->pWin ) in ActivateNextChild_Impl()
3018 if ( ChildTravelValue((*pChilds)[aList[k]]->eAlign) > ChildTravelValue(pCli->eAlign) ) in ActivateNextChild_Impl()
3030 SfxChild_Impl* pCli = (*pChilds)[aList[i]]; in ActivateNextChild_Impl() local
3031 if ( pCli->pWin && ChildTravelValue( pCli->eAlign ) > nTopValue ) in ActivateNextChild_Impl()
3042 SfxChild_Impl* pCli = (*pChilds)[aList[n]]; in ActivateNextChild_Impl() local
3043 if ( pCli && pCli->pWin && ( pCli->pWin == pActiveChild || !pActiveChild ) ) in ActivateNextChild_Impl()
3045 pAct = pCli; in ActivateNextChild_Impl()
3082 SfxChild_Impl* pCli = (*pChilds)[aList[n]]; in ActivateNextChild_Impl() local
3083 if ( pCli->pWin ) in ActivateNextChild_Impl()
3085 SfxChild_Impl* pNext = pCli; in ActivateNextChild_Impl()