Lines Matching refs:pBase

243 	Window* pBase = Application::GetFirstTopLevelWindow();  in GetDocWin()  local
245 while ( pBase ) in GetDocWin()
247 if ( IsDocWin( pBase ) ) in GetDocWin()
250 return pBase; in GetDocWin()
253 pBase = Application::GetNextTopLevelWindow( pBase ); in GetDocWin()
260 Window* pBase = Application::GetFirstTopLevelWindow(); in GetDocFrameCount() local
263 while ( pBase ) in GetDocFrameCount()
265 if ( IsDocFrame( pBase ) ) in GetDocFrameCount()
267 pBase = Application::GetNextTopLevelWindow( pBase ); in GetDocFrameCount()
274 Window* pBase = Application::GetFirstTopLevelWindow(); in GetDocWinCount() local
277 while ( pBase ) in GetDocWinCount()
279 if ( IsDocWin( pBase ) ) in GetDocWinCount()
281 pBase = Application::GetNextTopLevelWindow( pBase ); in GetDocWinCount()
286 Window* StatementList::SearchAllWin( Window *pBase, Search &aSearch, sal_Bool MaybeBase ) in SearchAllWin() argument
289 if ( !pBase && !aSearch.HasSearchFlag( SEARCH_NO_TOPLEVEL_WIN ) ) in SearchAllWin()
297 pBase = Application::GetFocusWindow(); in SearchAllWin()
298 if ( pBase ) in SearchAllWin()
300 DBG_ASSERT( WinPtrValid( pBase ), "GetFocusWindow is no valid WindowPointer" ); in SearchAllWin()
301 Window *pPParent = pBase; in SearchAllWin()
308 pBase = pBase->GetWindow( WINDOW_OVERLAP ); in SearchAllWin()
315 pControl = SearchAllWin( pBase, aSearch ); in SearchAllWin()
318 if ( !pControl && pBase != pPParent ) in SearchAllWin()
329 pBase = Application::GetFirstTopLevelWindow(); in SearchAllWin()
335 while ( pBase ) in SearchAllWin()
337 pControl = SearchAllWin( pBase, aSearch ); in SearchAllWin()
341 pBase = Application::GetNextTopLevelWindow( pBase ); in SearchAllWin()
351 pResult = SearchClientWin( pBase, aSearch, MaybeBase ); in SearchAllWin()
360 if ( pBase->GetWindow( WINDOW_FIRSTOVERLAP ) ) in SearchAllWin()
361 pResult = SearchAllWin( pBase->GetWindow( WINDOW_FIRSTOVERLAP ), aSearch ); in SearchAllWin()
363 if ( !pResult && pBase->GetWindow( WINDOW_NEXT ) ) in SearchAllWin()
364 pResult = SearchAllWin( pBase->GetWindow( WINDOW_NEXT ), aSearch ); in SearchAllWin()
371 Window* StatementList::SearchClientWin( Window *pBase, Search &aSearch, sal_Bool MaybeBase ) in SearchClientWin() argument
373 if ( !pBase ) in SearchClientWin()
376 if ( MaybeBase && aSearch.IsWinOK( pBase ) ) in SearchClientWin()
377 return pBase; in SearchClientWin()
382 for( i = 0 ; i < pBase->GetChildCount() && !pResult; i++ ) in SearchClientWin()
383 pResult = SearchClientWin( pBase->GetChild(i), aSearch ); in SearchClientWin()
498 Window* StatementList::GetWinByRT( Window *pBase, WindowType nRT, sal_Bool MaybeBase, sal_uInt16 nS… in GetWinByRT() argument
506 return SearchAllWin( pBase, aSearch, MaybeBase ); in GetWinByRT()
509 sal_uInt16 StatementList::CountWinByRT( Window *pBase, WindowType nRT, sal_Bool MaybeBase ) in CountWinByRT() argument
513 SearchAllWin( pBase, aSearch, MaybeBase ); in CountWinByRT()
528 ScrollBar* StatementList::GetScrollBar( Window *pBase, sal_uInt16 nDirection, sal_Bool MaybeBase ) in GetScrollBar() argument
532 return (ScrollBar*)SearchAllWin( pBase, aSearch, MaybeBase ); in GetScrollBar()
653 Window* StatementList::GetFadeSplitWin( Window *pBase, WindowAlign nAlign, sal_Bool MaybeBase ) in GetFadeSplitWin() argument
657 if ( GetpApp()->GetAppWindow() == pBase && pBase->GetType() != WINDOW_BORDERWINDOW ) in GetFadeSplitWin()
658 pBase = pBase->GetWindow( WINDOW_OVERLAP ); in GetFadeSplitWin()
660 return SearchAllWin( pBase, aSearch, MaybeBase ); in GetFadeSplitWin()
665 Window *pBase = Application::GetFirstTopLevelWindow(); in GetMouseWin() local
667 while ( pBase ) in GetMouseWin()
669 Window *pBaseFrame = pBase->GetWindow( WINDOW_OVERLAP ); in GetMouseWin()
676 pBase = Application::GetNextTopLevelWindow( pBase ); in GetMouseWin()
765 Window* pBase = Application::GetFirstTopLevelWindow(); in GetFirstDocFrame() local
766 while ( pBase && !IsDocFrame( pBase ) ) in GetFirstDocFrame()
767 pBase = Application::GetNextTopLevelWindow( pBase ); in GetFirstDocFrame()
769 if ( pBase ) in GetFirstDocFrame()
770 SetFirstDocFrame( pBase ); in GetFirstDocFrame()
772 if ( !pBase ) // find just something in GetFirstDocFrame()
774 pBase = Application::GetFirstTopLevelWindow(); in GetFirstDocFrame()
775 while ( pBase && !pBase->IsVisible() ) in GetFirstDocFrame()
776 pBase = Application::GetNextTopLevelWindow( pBase ); in GetFirstDocFrame()
778 return pBase; // just for now, later we will hopefully have a Window in GetFirstDocFrame()
864 UniString StatementList::Tree(Window *pBase, int Indent) in Tree() argument
868 if ( !pBase ) in Tree()
872 pBase = Application::GetFirstTopLevelWindow(); in Tree()
873 while ( pBase ) in Tree()
875 Window *pBaseFrame = pBase->GetWindow( WINDOW_OVERLAP ); in Tree()
880 pBase = Application::GetNextTopLevelWindow( pBase ); in Tree()
889 aReturn += ClientTree( pBase, Indent ); in Tree()
891 if ( pBase->GetWindow( WINDOW_FIRSTOVERLAP ) ) in Tree()
894 aReturn += Tree( pBase->GetWindow( WINDOW_FIRSTOVERLAP ), Indent+1 ); in Tree()
897 if ( pBase->GetWindow( WINDOW_NEXT ) ) in Tree()
900 aReturn += Tree( pBase->GetWindow( WINDOW_NEXT ), Indent ); in Tree()
906 String StatementList::ClientTree(Window *pBase, int Indent) in ClientTree() argument
919 aText = pBase->GetText(); in ClientTree()
927 if (pBase->IsDialog()) in ClientTree()
931 if (IsDialog( pBase )) in ClientTree()
935 if (pBase->HasFocus()) in ClientTree()
939 if (!pBase->IsEnabled()) in ClientTree()
943 if (pBase->IsVisible()) in ClientTree()
947 if ( IsDialog(pBase) && ((SystemWindow*)pBase)->IsActive() ) in ClientTree()
951 if ( pBase->GetStyle() & WB_CLOSEABLE ) in ClientTree()
955 if ( pBase->GetType() == WINDOW_DOCKINGWINDOW && in ClientTree()
956 ((((DockingWindow*)pBase)->GetFloatStyle()) & WB_CLOSEABLE) ) in ClientTree()
960 if ( pBase->GetStyle() & WB_DOCKABLE ) in ClientTree()
964 if ( pBase->GetType() == WINDOW_SPLITWINDOW && in ClientTree()
965 …(((SplitWindow*)pBase)->IsFadeInButtonVisible() || ((SplitWindow*)pBase)->IsFadeOutButtonVisible()… in ClientTree()
975 WRITE(Id2Str(pBase->GetUniqueOrHelpId())); in ClientTree()
980 reinterpret_cast< sal_IntPtr >(pBase)), in ClientTree()
983 WRITE(pBase->GetQuickHelpText()); in ClientTree()
985 WRITE(pBase->GetHelpText()); in ClientTree()
990 WRITE(MakeStringNumber(TypeKenn,pBase->GetType())); in ClientTree()
991 if ( pBase->GetType() == WINDOW_CONTROL ) in ClientTree()
993 if ( dynamic_cast< svt::EditBrowseBox* >(pBase) ) in ClientTree()
995 else if ( dynamic_cast< ValueSet* >(pBase) ) in ClientTree()
997 else if ( dynamic_cast< svt::ORoadmap* >(pBase) ) in ClientTree()
999 else if ( dynamic_cast< svt::IExtensionListBox* >(pBase) ) in ClientTree()
1001 else if ( dynamic_cast< svt::table::TableControl* >(pBase) ) in ClientTree()
1010 for (i = 0 ; i < pBase->GetChildCount() ; i++) in ClientTree()
1012 aReturn += ClientTree(pBase->GetChild(i),Indent+1); in ClientTree()