Lines Matching refs:pPostIt

170             if (GetActiveSidebarWin() == p->pPostIt)  in CheckForRemovedPostIts()
172 if (p->pPostIt) in CheckForRemovedPostIts()
173 delete p->pPostIt; in CheckForRemovedPostIts()
225 if (GetActiveSidebarWin() == p->pPostIt) in RemoveItem()
228 delete p->pPostIt; in RemoveItem()
378 if ((*i)->pPostIt) in Notify()
380 (*i)->pPostIt->SetPostItText(); in Notify()
396 if ((*i)->pPostIt) in Notify()
406 (*i)->pPostIt->SetLanguage( in Notify()
433 if ((*i)->pPostIt) in Focus()
435 (*i)->pPostIt->GrabFocus(); in Focus()
436 MakeVisible((*i)->pPostIt); in Focus()
514 if (pItem->pPostIt) in CalcRects()
515 pItem->pPostIt->HideNote(); in CalcRects()
523 if (pItem->pPostIt) in CalcRects()
524 pItem->pPostIt->HideNote(); in CalcRects()
569 if ((*i)->bShow && (*i)->pPostIt && (*i)->pPostIt->HasScrollbar()) in HasScrollbars()
629 SwSidebarWin* pPostIt = pItem->pPostIt; in LayoutPostIts() local
656 if (!pPostIt) in LayoutPostIts()
658 pPostIt = (*i)->GetSidebarWindow( mpView->GetEditWin(), in LayoutPostIts()
662 pPostIt->InitControls(); in LayoutPostIts()
663 pPostIt->SetReadonly(mbReadOnly); in LayoutPostIts()
664 pItem->pPostIt = pPostIt; in LayoutPostIts()
667 if (pPostIt->CalcFollow()) //do we really have another note in front of this one in LayoutPostIts()
668 … static_cast<sw::annotation::SwAnnotationWin*>(pPostIt)->InitAnswer(mpAnswer); in LayoutPostIts()
674 pPostIt->SetChangeTracking( in LayoutPostIts()
677 pPostIt->SetSidebarPosition(mPages[n]->eSidebarPosition); in LayoutPostIts()
678 pPostIt->SetFollow(pPostIt->CalcFollow()); in LayoutPostIts()
679 … aPostItHeight = ( pPostIt->GetPostItTextHeight() < pPostIt->GetMinimumSizeWithoutMeta() in LayoutPostIts()
680 ? pPostIt->GetMinimumSizeWithoutMeta() in LayoutPostIts()
681 : pPostIt->GetPostItTextHeight() ) in LayoutPostIts()
682 + pPostIt->GetMetaHeight(); in LayoutPostIts()
683 pPostIt->SetPosSizePixelRect( mlPageBorder , in LayoutPostIts()
689 pPostIt->ChangeSidebarItem( *pItem ); in LayoutPostIts()
694 pPostIt->GrabFocus(); in LayoutPostIts()
698 aVisiblePostItList.push_back(pPostIt); in LayoutPostIts()
699 lNeededHeight += pPostIt->IsFollow() ? aPostItHeight : aPostItHeight+GetSpaceBetween(); in LayoutPostIts()
703 if (pPostIt) in LayoutPostIts()
704 pPostIt->HideNote(); in LayoutPostIts()
810 if ((*i)->pPostIt) in LayoutPostIts()
812 (*i)->pPostIt->HideNote(); in LayoutPostIts()
813 if ((*i)->pPostIt->HasChildPathFocus()) in LayoutPostIts()
816 (*i)->pPostIt->GrabFocusToDocument(); in LayoutPostIts()
844 DBG_ASSERT ((*aItem)->pPostIt,"BorderOverPageBorder: NULL postIt, should never happen"); in BorderOverPageBorder()
845 if ((*aItem)->pPostIt) in BorderOverPageBorder()
848 …aEndValue = mpEditWin->PixelToLogic(Point(0,(*aItem)->pPostIt->GetPosPixel().Y()+(*aItem)->pPostIt in BorderOverPageBorder()
867 SwSidebarWin* pPostIt = (*i)->pPostIt; in Scroll() local
869 pPostIt->SetVirtualPosSize(pPostIt->GetPosPixel(),pPostIt->GetSizePixel()); in Scroll()
870 pPostIt->TranslateTopPosition(lScroll); in Scroll()
874 …bool bBottom = mpEditWin->PixelToLogic(Point(0,pPostIt->VirtualPos().Y()+pPostIt->VirtualSize().H… in Scroll()
875 …bool bTop = mpEditWin->PixelToLogic(Point(0,pPostIt->VirtualPos().Y())).Y() >= (mPages[aPage-1]->… in Scroll()
878 pPostIt->ShowNote(); in Scroll()
882 …if ( mpEditWin->PixelToLogic(Point(0,pPostIt->VirtualPos().Y())).Y() < (mPages[aPage-1]->mPageRect… in Scroll()
885pPostIt->ShowAnchorOnly(Point(mPages[aPage-1]->mPageRect.Left(),mPages[aPage-1]->mPageRect.Top())); in Scroll()
887pPostIt->ShowAnchorOnly(Point(mPages[aPage-1]->mPageRect.Right(),mPages[aPage-1]->mPageRect.Top())… in Scroll()
892pPostIt->ShowAnchorOnly(Point(mPages[aPage-1]->mPageRect.Left(),mPages[aPage-1]->mPageRect.Bottom(… in Scroll()
894pPostIt->ShowAnchorOnly(Point(mPages[aPage-1]->mPageRect.Right(),mPages[aPage-1]->mPageRect.Bottom… in Scroll()
907 void SwPostItMgr::AutoScroll(const SwSidebarWin* pPostIt,const unsigned long aPage ) in AutoScroll() argument
913 …const bool bBottom = mpEditWin->PixelToLogic(Point(0,pPostIt->GetPosPixel().Y()+pPostIt->GetSizeP… in AutoScroll()
914 …const bool bTop = mpEditWin->PixelToLogic(Point(0,pPostIt->GetPosPixel().Y())).Y() >= (mPages[aPag… in AutoScroll()
917 …oPixel(Point(0,mPages[aPage-1]->mPageRect.Top() + aSidebarheight)).Y() - pPostIt->GetPosPixel().Y(… in AutoScroll()
918 …ges[aPage-1]->mPageRect.Bottom() - aSidebarheight)).Y() - (pPostIt->GetPosPixel().Y()+pPostIt->Get… in AutoScroll()
927 void SwPostItMgr::MakeVisible(const SwSidebarWin* pPostIt,long aPage ) in MakeVisible() argument
938 if ((*i)->pPostIt==pPostIt) in MakeVisible()
948 AutoScroll(pPostIt,aPage); in MakeVisible()
949 …Rectangle aNoteRect (Point(pPostIt->GetPosPixel().X(),pPostIt->GetPosPixel().Y()-5),pPostIt->GetSi… in MakeVisible()
1203 if ((*i)->pPostIt) in RemoveSidebarWin()
1204 delete (*i)->pPostIt; in RemoveSidebarWin()
1232 …for(std::list<SwSidebarItem*>::iterator pPostIt = mvPostItFlds.begin(); pPostIt!= mvPostItFlds.end… in Delete() local
1234 if ( (*pPostIt)->pPostIt->GetAuthor() == aAuthor ) in Delete()
1235 aTmp.push_back( &(*pPostIt)->GetFmtFld() ); in Delete()
1260 …for(std::list<SwSidebarItem*>::iterator pPostIt = mvPostItFlds.begin(); pPostIt!= mvPostItFlds.end… in Delete() local
1262 aTmp.push_back( &(*pPostIt)->GetFmtFld() ); in Delete()
1305 (*i)->pPostIt->HideNote();
1318 if ( (*i)->pPostIt && ((*i)->pPostIt->GetAuthor() == rAuthor) ) in Hide()
1321 (*i)->pPostIt->HideNote(); in Hide()
1333 (*i)->pPostIt->HideNote(); in Hide()
1373 return (*i)->pPostIt; in GetSidebarWin()
1383 return dynamic_cast<sw::annotation::SwAnnotationWin*>((*i)->pPostIt); in GetAnnotationWin()
1395 if ( (*i)->pPostIt ==aPostIt) in GetNextPostIt()
1415 if ( (*iNextPostIt)->pPostIt==aPostIt) in GetNextPostIt()
1417 return (*iNextPostIt)->pPostIt; in GetNextPostIt()
1432 if ((*b)->pPostIt == mpActivePostIt) in GetNextBorder()
1436 bool bFollow = (aNext == mPages[n]->mList->end()) ? false : (*aNext)->pPostIt->IsFollow(); in GetNextBorder()
1447 return (*aNext)->pPostIt->GetPosPixel().Y() - GetSpaceBetween(); in GetNextBorder()
1626 pFirstPostIt = (*i)->pPostIt; in CorrectPositions()
1652 if ( (*i)->bShow && (*i)->pPostIt && (*i)->pPostIt->Anchor() ) in CorrectPositions()
1655 …? mpEditWin->LogicToPixel( Point((long)((*i)->pPostIt->Anchor()->GetSeventhPosition().getX()),0)).… in CorrectPositions()
1656 …: mpEditWin->LogicToPixel( Point((long)((*i)->pPostIt->Anchor()->GetSixthPosition().getX()),0)).X(… in CorrectPositions()
1657 …aAnchorPosY = mpEditWin->LogicToPixel( Point(0,(long)((*i)->pPostIt->Anchor()->GetSixthPosition().… in CorrectPositions()
1658 (*i)->pPostIt->SetPosPixel(Point(aAnchorPosX,aAnchorPosY)); in CorrectPositions()
1789 if ( (*i)->pPostIt ) in Rescale()
1790 (*i)->pPostIt->Rescale(); in Rescale()
1826 if ( (*i)->pPostIt ) in SetSpellChecking()
1827 (*i)->pPostIt->SetSpellChecking(); in SetSpellChecking()
1833 if ( (*i)->pPostIt ) in SetReadOnlyState()
1834 (*i)->pPostIt->SetReadonly( mbReadOnly ); in SetReadOnlyState()
1840 if ( (*i)->pPostIt ) in CheckMetaText()
1841 (*i)->pPostIt->CheckMetaText(); in CheckMetaText()