Lines Matching refs:pImp

485     if ( pImp->bConstructed && pMgr )  in Resize()
490 pImp->aMoveTimer.Start(); in Resize()
495 switch ( pImp->GetDockAlignment() ) in Resize()
503 pImp->nHorizontalSize = aSize.Width(); in Resize()
504 pImp->aSplitSize = aSize; in Resize()
512 pImp->nVerticalSize = aSize.Height(); in Resize()
513 pImp->aSplitSize = aSize; in Resize()
536 if (!pImp->bConstructed) in PrepareToggleFloatingMode()
542 if ( pImp->bDockingPrevented ) in PrepareToggleFloatingMode()
551 if ( pImp->pSplitWin ) in PrepareToggleFloatingMode()
554 pImp->pSplitWin->RemoveWindow(this/*, sal_False*/); in PrepareToggleFloatingMode()
555 pImp->pSplitWin = 0; in PrepareToggleFloatingMode()
560 pImp->aWinState = GetFloatingWindow()->GetWindowState(); in PrepareToggleFloatingMode()
563 if (CheckAlignment(GetAlignment(),pImp->GetLastAlignment()) == SFX_ALIGN_NOALIGNMENT) in PrepareToggleFloatingMode()
590 if ( !pImp->bConstructed || !pMgr ) in ToggleFloatingMode()
601 if ( pImp->bSplitable ) in ToggleFloatingMode()
607 if ( pImp->aWinState.Len() ) in ToggleFloatingMode()
608 GetFloatingWindow()->SetWindowState( pImp->aWinState ); in ToggleFloatingMode()
620 if (pImp->GetDockAlignment() == eLastAlign) in ToggleFloatingMode()
625 SetAlignment (pImp->GetLastAlignment()); in ToggleFloatingMode()
626 if ( !pImp->bSplitable ) in ToggleFloatingMode()
632 pImp->nLine = pImp->nDockLine; in ToggleFloatingMode()
633 pImp->nPos = pImp->nDockPos; in ToggleFloatingMode()
634 SetAlignment (pImp->GetDockAlignment()); in ToggleFloatingMode()
637 if ( pImp->bSplitable ) in ToggleFloatingMode()
640 pImp->pSplitWin = pWorkWin->GetSplitWindow_Impl(GetAlignment()); in ToggleFloatingMode()
643 SfxSplitWindow *pSplit = pWorkWin->GetSplitWindow_Impl(pImp->GetLastAlignment()); in ToggleFloatingMode()
646 if ( pSplit && pSplit != pImp->pSplitWin ) in ToggleFloatingMode()
648 if ( pImp->GetDockAlignment() == eLastAlign ) in ToggleFloatingMode()
649 pImp->pSplitWin->InsertWindow( this, pImp->aSplitSize ); in ToggleFloatingMode()
651pImp->pSplitWin->InsertWindow( this, pImp->aSplitSize, pImp->nLine, pImp->nPos, pImp->bNewLine ); in ToggleFloatingMode()
652 if ( !pImp->pSplitWin->IsFadeIn() ) in ToggleFloatingMode()
653 pImp->pSplitWin->FadeIn(); in ToggleFloatingMode()
659 pImp->SetLastAlignment(eLastAlign); in ToggleFloatingMode()
662 pImp->SetDockAlignment(GetAlignment()); in ToggleFloatingMode()
681 if ( !pImp->bConstructed || !pMgr ) in StartDocking()
684 if ( pImp->bSplitable ) in StartDocking()
688 pImp->SetDockAlignment(GetAlignment()); in StartDocking()
690 if ( pImp->pSplitWin ) in StartDocking()
693 pImp->pSplitWin->GetWindowPos(this, pImp->nLine, pImp->nPos); in StartDocking()
694 pImp->nDockLine = pImp->nLine; in StartDocking()
695 pImp->nDockPos = pImp->nPos; in StartDocking()
696 pImp->bNewLine = sal_False; in StartDocking()
715 if ( !pImp->bConstructed || !pMgr ) in Docking()
722 if ( pImp->bDockingPrevented || !pWorkWin->IsInternalDockingAllowed() ) in Docking()
733 pImp->SetDockAlignment(eAlign); in Docking()
739 if (CheckAlignment(pImp->GetDockAlignment(),SFX_ALIGN_NOALIGNMENT) != SFX_ALIGN_NOALIGNMENT) in Docking()
742 if ( SFX_ALIGN_NOALIGNMENT != pImp->GetDockAlignment() ) in Docking()
746 pImp->SetDockAlignment(SFX_ALIGN_NOALIGNMENT); in Docking()
751 if ( !pImp->bSplitable ) in Docking()
758 switch ( pImp->GetDockAlignment() ) in Docking()
764 if ( pImp->GetDockAlignment() == GetAlignment() ) in Docking()
772 if ( pImp->GetDockAlignment() == GetAlignment() ) in Docking()
781 if ( pImp->GetDockAlignment() == GetAlignment() ) in Docking()
790 if ( pImp->GetDockAlignment() == GetAlignment() ) in Docking()
815 if ( !pImp->bConstructed || IsDockingCanceled() || !pMgr ) in EndDocking()
821 if ( pImp->bSplitable ) in EndDocking()
835 if ( GetAlignment() != pImp->GetDockAlignment() ) in EndDocking()
839 if ( IsFloatingMode() || !pImp->bSplitable ) in EndDocking()
843 pImp->aSplitSize = rRect.GetSize(); in EndDocking()
847 if ( IsFloatingMode() || !pImp->bSplitable ) in EndDocking()
852 pImp->pSplitWin->RemoveWindow(this,sal_False); in EndDocking()
853 pImp->nLine = pImp->nDockLine; in EndDocking()
854 pImp->nPos = pImp->nDockPos; in EndDocking()
855 pImp->pSplitWin->ReleaseWindow_Impl(this); in EndDocking()
856 pImp->pSplitWin = pWorkWin->GetSplitWindow_Impl(pImp->GetDockAlignment()); in EndDocking()
857pImp->pSplitWin->InsertWindow( this, pImp->aSplitSize, pImp->nDockLine, pImp->nDockPos, pImp->bNew… in EndDocking()
858 if ( !pImp->pSplitWin->IsFadeIn() ) in EndDocking()
859 pImp->pSplitWin->FadeIn(); in EndDocking()
862 else if ( pImp->nLine != pImp->nDockLine || pImp->nPos != pImp->nDockPos || pImp->bNewLine ) in EndDocking()
865 if ( pImp->nLine != pImp->nDockLine ) in EndDocking()
866 pImp->aSplitSize = rRect.GetSize(); in EndDocking()
867pImp->pSplitWin->MoveWindow( this, pImp->aSplitSize, pImp->nDockLine, pImp->nDockPos, pImp->bNewLi… in EndDocking()
872 pImp->bEndDocked = sal_True; in EndDocking()
874 pImp->bEndDocked = sal_False; in EndDocking()
877 SetAlignment( IsFloatingMode() ? SFX_ALIGN_NOALIGNMENT : pImp->GetDockAlignment() ); in EndDocking()
909 pImp(NULL) in SfxDockingWindow()
936 pImp = new SfxDockingWindow_Impl; in SfxDockingWindow()
937 pImp->bConstructed = sal_False; in SfxDockingWindow()
938 pImp->pSplitWin = 0; in SfxDockingWindow()
939 pImp->bEndDocked = sal_False; in SfxDockingWindow()
940 pImp->bDockingPrevented = sal_False; in SfxDockingWindow()
942 pImp->bSplitable = sal_True; in SfxDockingWindow()
946 pImp->nLine = pImp->nDockLine = 0; in SfxDockingWindow()
947 pImp->nPos = pImp->nDockPos = 0; in SfxDockingWindow()
948 pImp->bNewLine = sal_False; in SfxDockingWindow()
949 pImp->SetLastAlignment(SFX_ALIGN_NOALIGNMENT); in SfxDockingWindow()
950 pImp->aMoveTimer.SetTimeout(50); in SfxDockingWindow()
951 pImp->aMoveTimer.SetTimeoutHdl(LINK(this,SfxDockingWindow,TimerHdl)); in SfxDockingWindow()
963 pImp(NULL) in SfxDockingWindow()
990 pImp = new SfxDockingWindow_Impl; in SfxDockingWindow()
991 pImp->bConstructed = sal_False; in SfxDockingWindow()
992 pImp->pSplitWin = 0; in SfxDockingWindow()
993 pImp->bEndDocked = sal_False; in SfxDockingWindow()
994 pImp->bDockingPrevented = sal_False; in SfxDockingWindow()
996 pImp->bSplitable = sal_True; in SfxDockingWindow()
1000 pImp->nLine = pImp->nDockLine = 0; in SfxDockingWindow()
1001 pImp->nPos = pImp->nDockPos = 0; in SfxDockingWindow()
1002 pImp->bNewLine = sal_False; in SfxDockingWindow()
1003 pImp->SetLastAlignment(SFX_ALIGN_NOALIGNMENT); in SfxDockingWindow()
1004 pImp->aMoveTimer.SetTimeout(50); in SfxDockingWindow()
1005 pImp->aMoveTimer.SetTimeoutHdl(LINK(this,SfxDockingWindow,TimerHdl)); in SfxDockingWindow()
1024 pImp->SetDockAlignment( SFX_ALIGN_NOALIGNMENT ); in Initialize()
1025 pImp->bConstructed = sal_True; in Initialize()
1030 pImp->bDockingPrevented = sal_True; in Initialize()
1032 pImp->aSplitSize = GetOutputSizePixel(); in Initialize()
1036 SetFloatingSize( pImp->aSplitSize ); in Initialize()
1037 if ( pImp->aSplitSize.Width() < aMinSize.Width() ) in Initialize()
1038 pImp->aSplitSize.Width() = aMinSize.Width(); in Initialize()
1039 if ( pImp->aSplitSize.Height() < aMinSize.Height() ) in Initialize()
1040 pImp->aSplitSize.Height() = aMinSize.Height(); in Initialize()
1069 pImp->aWinState = pInfo->aWinState; in Initialize()
1073 if ( pImp->bDockingPrevented ) in Initialize()
1092 pImp->SetLastAlignment( (SfxChildAlignment) (sal_uInt16) aStr.ToInt32() ); in Initialize()
1101 if ( GetPosSizeFromString( aStr, aPos, pImp->aSplitSize ) ) in Initialize()
1103 pImp->nLine = pImp->nDockLine = (sal_uInt16) aPos.X(); in Initialize()
1104 pImp->nPos = pImp->nDockPos = (sal_uInt16) aPos.Y(); in Initialize()
1105 pImp->nVerticalSize = pImp->aSplitSize.Height(); in Initialize()
1106 pImp->nHorizontalSize = pImp->aSplitSize.Width(); in Initialize()
1107 if ( GetSplitSizeFromString( aStr, pImp->aSplitSize )) in Initialize()
1119 pImp->nVerticalSize = pImp->aSplitSize.Height(); in Initialize()
1120 pImp->nHorizontalSize = pImp->aSplitSize.Width(); in Initialize()
1145 if ( pImp->aWinState.Len() ) in Initialize()
1146 GetFloatingWindow()->SetWindowState( pImp->aWinState ); in Initialize()
1155 SfxChildAlignment eLastAlign = pImp->GetLastAlignment(); in Initialize()
1164 pImp->SetLastAlignment(eLastAlign); in Initialize()
1169 pImp->SetLastAlignment(SFX_ALIGN_NOALIGNMENT); in Initialize()
1171 if ( pImp->bSplitable ) in Initialize()
1174 pImp->pSplitWin = pWorkWin->GetSplitWindow_Impl(GetAlignment()); in Initialize()
1175 pImp->pSplitWin->InsertWindow(this, pImp->aSplitSize); in Initialize()
1190 pImp->SetDockAlignment( GetAlignment() ); in Initialize()
1198 pImp->bConstructed = sal_True; in Initialize_Impl()
1227 if ( !pImp->aWinState.Len() ) in Initialize_Impl()
1229 pImp->aWinState = pFloatWin->GetWindowState(); in Initialize_Impl()
1232 pFloatWin->SetWindowState( pImp->aWinState ); in Initialize_Impl()
1242 pImp->bConstructed = sal_True; in Initialize_Impl()
1265 if ( GetFloatingWindow() && pImp->bConstructed ) in FillInfo()
1266 pImp->aWinState = GetFloatingWindow()->GetWindowState(); in FillInfo()
1268 rInfo.aWinState = pImp->aWinState; in FillInfo()
1272 rInfo.aExtraString += String::CreateFromInt32 ((sal_uInt16) pImp->GetLastAlignment()); in FillInfo()
1273 if ( pImp->bSplitable ) in FillInfo()
1275 Point aPos(pImp->nLine, pImp->nPos); in FillInfo()
1281 rInfo.aExtraString += String::CreateFromInt32( pImp->nHorizontalSize ); in FillInfo()
1283 rInfo.aExtraString += String::CreateFromInt32( pImp->nVerticalSize ); in FillInfo()
1285 rInfo.aExtraString += String::CreateFromInt32( pImp->aSplitSize.Width() ); in FillInfo()
1287 rInfo.aExtraString += String::CreateFromInt32( pImp->aSplitSize.Height() ); in FillInfo()
1298 delete pImp; in ~SfxDockingWindow()
1306 if ( pMgr && pImp->pSplitWin && pImp->pSplitWin->IsItemValid( GetType() ) ) in ReleaseChildWindow_Impl()
1307 pImp->pSplitWin->RemoveWindow(this); in ReleaseChildWindow_Impl()
1343 return pImp->GetDockAlignment(); in CalcAlignment()
1348 if ( pImp->bSplitable ) in CalcAlignment()
1351 Size aSize = pImp->aSplitSize; in CalcAlignment()
1385 SfxChildAlignment eDockAlign = pImp->GetDockAlignment(); in CalcAlignment()
1422 eDockAlign = CheckAlignment(pImp->GetDockAlignment(),SFX_ALIGN_NOALIGNMENT); in CalcAlignment()
1481 eDockAlign = CheckAlignment(pImp->GetDockAlignment(),SFX_ALIGN_LEFT); in CalcAlignment()
1489 eDockAlign = CheckAlignment(pImp->GetDockAlignment(),SFX_ALIGN_TOP); in CalcAlignment()
1497 eDockAlign = CheckAlignment(pImp->GetDockAlignment(),SFX_ALIGN_RIGHT); in CalcAlignment()
1505 eDockAlign = CheckAlignment(pImp->GetDockAlignment(),SFX_ALIGN_BOTTOM); in CalcAlignment()
1513 eDockAlign = CheckAlignment(pImp->GetDockAlignment(),SFX_ALIGN_NOALIGNMENT); in CalcAlignment()
1522 if ( eDockAlign != pImp->GetDockAlignment() ) in CalcAlignment()
1525 else if ( pImp->bSplitable ) in CalcAlignment()
1533 pImp->nDockLine = nLine; in CalcAlignment()
1534 pImp->nDockPos = nPos; in CalcAlignment()
1535 pImp->bNewLine = sal_False; in CalcAlignment()
1549 if ( eDockAlign == GetAlignment() && pImp->pSplitWin && in CalcAlignment()
1550pImp->nLine == pImp->pSplitWin->GetLineCount()-1 && pImp->pSplitWin->GetWindowCount(pImp->nLine) =… in CalcAlignment()
1553 pImp->nDockLine = pImp->nLine; in CalcAlignment()
1554 pImp->nDockPos = pImp->nPos; in CalcAlignment()
1555 pImp->bNewLine = sal_False; in CalcAlignment()
1560 pImp->nDockLine = pSplitWin->GetLineCount(); in CalcAlignment()
1561 pImp->nDockPos = 0; in CalcAlignment()
1562 pImp->bNewLine = sal_True; in CalcAlignment()
1566 …sal_Bool bChanged = pImp->nLine != pImp->nDockLine || pImp->nPos != pImp->nDockPos || eDockAlign !… in CalcAlignment()
1570 rRect.SetSize( pImp->aSplitSize ); in CalcAlignment()
1581 if ( pImp->bNewLine ) in CalcAlignment()
1585 aSize.Width() = pImp->nHorizontalSize; in CalcAlignment()
1600 aSize.Height() = pImp->aSplitSize.Height(); in CalcAlignment()
1605 if ( pImp->bNewLine ) in CalcAlignment()
1609 aSize.Height() = pImp->nVerticalSize; in CalcAlignment()
1624 aSize.Width() = pImp->aSplitSize.Width(); in CalcAlignment()
1635 if ( eDockAlign != pImp->GetDockAlignment() ) in CalcAlignment()
1786 if ( pImp->bSplitable || IsFloatingMode() ) in Paint()
1839 pImp->aMinSize = rSize; in SetMinOutputSizePixel()
1853 return pImp->aMinSize; in GetMinOutputSizePixel()
1865 if ( pImp->pSplitWin ) in Notify()
1866 pImp->pSplitWin->SetActiveWindow_Impl( this ); in Notify()
1918 pImp->aSplitSize = rSize; in SetItemSize_Impl()
1922 if ( pImp->bSplitable ) in SetItemSize_Impl()
1929 if ( pImp->pSplitWin && pImp->pSplitWin->IsItemValid( GetType() ) ) in Disappear_Impl()
1930 pImp->pSplitWin->RemoveWindow(this); in Disappear_Impl()
1935 if ( pImp->pSplitWin && !pImp->pSplitWin->IsItemValid( GetType() ) ) in Reappear_Impl()
1937 pImp->pSplitWin->InsertWindow( this, pImp->aSplitSize ); in Reappear_Impl()
1943 if ( pImp->pSplitWin ) in IsAutoHide_Impl()
1944 return !pImp->pSplitWin->IsFadeIn(); in IsAutoHide_Impl()
1951 if ( pImp->pSplitWin ) in IsPinned_Impl()
1952 return pImp->pSplitWin->IsPinned(); in IsPinned_Impl()
1963 if ( pImp->pSplitWin ) in AutoShow_Impl()
1966 pImp->pSplitWin->FadeIn(); in AutoShow_Impl()
1968 pImp->pSplitWin->FadeOut(); in AutoShow_Impl()
1982 return pImp->pSplitWin; in GetSplitWindow_Impl()
1999 if ( pImp ) in Move()
2000 pImp->aMoveTimer.Start(); in Move()
2005 pImp->aMoveTimer.Stop(); in IMPL_LINK()
2010 pImp->aWinState = GetFloatingWindow()->GetWindowState(); in IMPL_LINK()
2012 if ( pImp->bSplitable ) in IMPL_LINK()