Lines Matching refs:pWindow
86 static void ImplTaskPaneListGrabFocus( Window *pWindow ) in ImplTaskPaneListGrabFocus() argument
90 if( pWindow->ImplIsFloatingWindow() && pWindow->GetWindow( WINDOW_FIRSTCHILD ) ) in ImplTaskPaneListGrabFocus()
91 pWindow = pWindow->GetWindow( WINDOW_FIRSTCHILD ); in ImplTaskPaneListGrabFocus()
92 pWindow->GrabFocus(); in ImplTaskPaneListGrabFocus()
107 void TaskPaneList::AddWindow( Window *pWindow ) in AddWindow() argument
116 if( pWindow ) in AddWindow()
119 if( pWindow->GetType() == RSC_DOCKINGWINDOW ) in AddWindow()
121 else if( pWindow->GetType() == RSC_TOOLBOX ) in AddWindow()
123 else if( pWindow->IsDialog() ) in AddWindow()
135 if ( *p == pWindow ) in AddWindow()
148 if ( pWindow->IsWindowOrChild( *p ) ) in AddWindow()
153 if ( (*p)->IsWindowOrChild( pWindow ) ) in AddWindow()
160 mTaskPanes.insert( insertionPos, pWindow ); in AddWindow()
161 pWindow->ImplIsInTaskPaneList( sal_True ); in AddWindow()
167 void TaskPaneList::RemoveWindow( Window *pWindow ) in RemoveWindow() argument
170 p = ::std::find( mTaskPanes.begin(), mTaskPanes.end(), pWindow ); in RemoveWindow()
174 pWindow->ImplIsInTaskPaneList( sal_False ); in RemoveWindow()
180 sal_Bool TaskPaneList::IsInList( Window *pWindow ) in IsInList() argument
183 p = ::std::find( mTaskPanes.begin(), mTaskPanes.end(), pWindow ); in IsInList()
281 Window* TaskPaneList::FindNextPane( Window *pWindow, sal_Bool bForward ) in FindNextPane() argument
291 if( *p == pWindow ) in FindNextPane()
300 pWindow = *p; in FindNextPane()
310 return pWindow; in FindNextPane()
316 Window* TaskPaneList::FindNextSplitter( Window *pWindow, sal_Bool bForward ) in FindNextSplitter() argument
326 if( !pWindow || *p == pWindow ) in FindNextSplitter()
331 if( pWindow ) // increment before test in FindNextSplitter()
337 pWindow = *p; in FindNextSplitter()
340 if( !pWindow ) // increment after test, otherwise first element is skipped in FindNextSplitter()
349 return pWindow; in FindNextSplitter()
355 Window* TaskPaneList::FindNextFloat( Window *pWindow, sal_Bool bForward ) in FindNextFloat() argument
365 if( !pWindow || *p == pWindow ) in FindNextFloat()
369 if( pWindow ) // increment before test in FindNextFloat()
381 pWindow = *p; in FindNextFloat()
384 if( !pWindow ) // increment after test, otherwise first element is skipped in FindNextFloat()
393 return pWindow; in FindNextFloat()