Lines Matching refs:pPostIt

168             if (GetActiveSidebarWin() == p->pPostIt)  in CheckForRemovedPostIts()
170 if (p->pPostIt) in CheckForRemovedPostIts()
171 delete p->pPostIt; in CheckForRemovedPostIts()
223 if (GetActiveSidebarWin() == p->pPostIt) in RemoveItem()
226 delete p->pPostIt; in RemoveItem()
376 if ((*i)->pPostIt) in Notify()
378 (*i)->pPostIt->SetPostItText(); in Notify()
394 if ((*i)->pPostIt) in Notify()
404 (*i)->pPostIt->SetLanguage( in Notify()
431 if ((*i)->pPostIt) in Focus()
433 (*i)->pPostIt->GrabFocus(); in Focus()
434 MakeVisible((*i)->pPostIt); in Focus()
512 if (pItem->pPostIt) in CalcRects()
513 pItem->pPostIt->HideNote(); in CalcRects()
521 if (pItem->pPostIt) in CalcRects()
522 pItem->pPostIt->HideNote(); in CalcRects()
567 if ((*i)->bShow && (*i)->pPostIt && (*i)->pPostIt->HasScrollbar()) in HasScrollbars()
627 SwSidebarWin* pPostIt = pItem->pPostIt; in LayoutPostIts() local
654 if (!pPostIt) in LayoutPostIts()
656 pPostIt = (*i)->GetSidebarWindow( mpView->GetEditWin(), in LayoutPostIts()
660 pPostIt->InitControls(); in LayoutPostIts()
661 pPostIt->SetReadonly(mbReadOnly); in LayoutPostIts()
662 pItem->pPostIt = pPostIt; in LayoutPostIts()
665 if (pPostIt->CalcFollow()) //do we really have another note in front of this one in LayoutPostIts()
666 … static_cast<sw::annotation::SwAnnotationWin*>(pPostIt)->InitAnswer(mpAnswer); in LayoutPostIts()
672 pPostIt->SetChangeTracking( in LayoutPostIts()
675 pPostIt->SetSidebarPosition(mPages[n]->eSidebarPosition); in LayoutPostIts()
676 pPostIt->SetFollow(pPostIt->CalcFollow()); in LayoutPostIts()
677 … aPostItHeight = ( pPostIt->GetPostItTextHeight() < pPostIt->GetMinimumSizeWithoutMeta() in LayoutPostIts()
678 ? pPostIt->GetMinimumSizeWithoutMeta() in LayoutPostIts()
679 : pPostIt->GetPostItTextHeight() ) in LayoutPostIts()
680 + pPostIt->GetMetaHeight(); in LayoutPostIts()
681 pPostIt->SetPosSizePixelRect( mlPageBorder , in LayoutPostIts()
687 pPostIt->ChangeSidebarItem( *pItem ); in LayoutPostIts()
692 pPostIt->GrabFocus(); in LayoutPostIts()
696 aVisiblePostItList.push_back(pPostIt); in LayoutPostIts()
697 lNeededHeight += pPostIt->IsFollow() ? aPostItHeight : aPostItHeight+GetSpaceBetween(); in LayoutPostIts()
701 if (pPostIt) in LayoutPostIts()
702 pPostIt->HideNote(); in LayoutPostIts()
808 if ((*i)->pPostIt) in LayoutPostIts()
810 (*i)->pPostIt->HideNote(); in LayoutPostIts()
811 if ((*i)->pPostIt->HasChildPathFocus()) in LayoutPostIts()
814 (*i)->pPostIt->GrabFocusToDocument(); in LayoutPostIts()
842 DBG_ASSERT ((*aItem)->pPostIt,"BorderOverPageBorder: NULL postIt, should never happen"); in BorderOverPageBorder()
843 if ((*aItem)->pPostIt) in BorderOverPageBorder()
846 …aEndValue = mpEditWin->PixelToLogic(Point(0,(*aItem)->pPostIt->GetPosPixel().Y()+(*aItem)->pPostIt in BorderOverPageBorder()
865 SwSidebarWin* pPostIt = (*i)->pPostIt; in Scroll() local
867 pPostIt->SetVirtualPosSize(pPostIt->GetPosPixel(),pPostIt->GetSizePixel()); in Scroll()
868 pPostIt->TranslateTopPosition(lScroll); in Scroll()
872 …bool bBottom = mpEditWin->PixelToLogic(Point(0,pPostIt->VirtualPos().Y()+pPostIt->VirtualSize().H… in Scroll()
873 …bool bTop = mpEditWin->PixelToLogic(Point(0,pPostIt->VirtualPos().Y())).Y() >= (mPages[aPage-1]->… in Scroll()
876 pPostIt->ShowNote(); in Scroll()
880 …if ( mpEditWin->PixelToLogic(Point(0,pPostIt->VirtualPos().Y())).Y() < (mPages[aPage-1]->mPageRect… in Scroll()
883pPostIt->ShowAnchorOnly(Point(mPages[aPage-1]->mPageRect.Left(),mPages[aPage-1]->mPageRect.Top())); in Scroll()
885pPostIt->ShowAnchorOnly(Point(mPages[aPage-1]->mPageRect.Right(),mPages[aPage-1]->mPageRect.Top())… in Scroll()
890pPostIt->ShowAnchorOnly(Point(mPages[aPage-1]->mPageRect.Left(),mPages[aPage-1]->mPageRect.Bottom(… in Scroll()
892pPostIt->ShowAnchorOnly(Point(mPages[aPage-1]->mPageRect.Right(),mPages[aPage-1]->mPageRect.Bottom… in Scroll()
905 void SwPostItMgr::AutoScroll(const SwSidebarWin* pPostIt,const unsigned long aPage ) in AutoScroll() argument
911 …const bool bBottom = mpEditWin->PixelToLogic(Point(0,pPostIt->GetPosPixel().Y()+pPostIt->GetSizeP… in AutoScroll()
912 …const bool bTop = mpEditWin->PixelToLogic(Point(0,pPostIt->GetPosPixel().Y())).Y() >= (mPages[aPag… in AutoScroll()
915 …oPixel(Point(0,mPages[aPage-1]->mPageRect.Top() + aSidebarheight)).Y() - pPostIt->GetPosPixel().Y(… in AutoScroll()
916 …ges[aPage-1]->mPageRect.Bottom() - aSidebarheight)).Y() - (pPostIt->GetPosPixel().Y()+pPostIt->Get… in AutoScroll()
925 void SwPostItMgr::MakeVisible(const SwSidebarWin* pPostIt,long aPage ) in MakeVisible() argument
936 if ((*i)->pPostIt==pPostIt) in MakeVisible()
946 AutoScroll(pPostIt,aPage); in MakeVisible()
947 …Rectangle aNoteRect (Point(pPostIt->GetPosPixel().X(),pPostIt->GetPosPixel().Y()-5),pPostIt->GetSi… in MakeVisible()
1201 if ((*i)->pPostIt) in RemoveSidebarWin()
1202 delete (*i)->pPostIt; in RemoveSidebarWin()
1230 …for(std::list<SwSidebarItem*>::iterator pPostIt = mvPostItFlds.begin(); pPostIt!= mvPostItFlds.end… in Delete() local
1232 if ( (*pPostIt)->pPostIt->GetAuthor() == aAuthor ) in Delete()
1233 aTmp.push_back( &(*pPostIt)->GetFmtFld() ); in Delete()
1258 …for(std::list<SwSidebarItem*>::iterator pPostIt = mvPostItFlds.begin(); pPostIt!= mvPostItFlds.end… in Delete() local
1260 aTmp.push_back( &(*pPostIt)->GetFmtFld() ); in Delete()
1303 (*i)->pPostIt->HideNote();
1316 if ( (*i)->pPostIt && ((*i)->pPostIt->GetAuthor() == rAuthor) ) in Hide()
1319 (*i)->pPostIt->HideNote(); in Hide()
1331 (*i)->pPostIt->HideNote(); in Hide()
1371 return (*i)->pPostIt; in GetSidebarWin()
1381 return dynamic_cast<sw::annotation::SwAnnotationWin*>((*i)->pPostIt); in GetAnnotationWin()
1393 if ( (*i)->pPostIt ==aPostIt) in GetNextPostIt()
1413 if ( (*iNextPostIt)->pPostIt==aPostIt) in GetNextPostIt()
1415 return (*iNextPostIt)->pPostIt; in GetNextPostIt()
1430 if ((*b)->pPostIt == mpActivePostIt) in GetNextBorder()
1434 bool bFollow = (aNext == mPages[n]->mList->end()) ? false : (*aNext)->pPostIt->IsFollow(); in GetNextBorder()
1445 return (*aNext)->pPostIt->GetPosPixel().Y() - GetSpaceBetween(); in GetNextBorder()
1624 pFirstPostIt = (*i)->pPostIt; in CorrectPositions()
1650 if ( (*i)->bShow && (*i)->pPostIt && (*i)->pPostIt->Anchor() ) in CorrectPositions()
1653 …? mpEditWin->LogicToPixel( Point((long)((*i)->pPostIt->Anchor()->GetSeventhPosition().getX()),0)).… in CorrectPositions()
1654 …: mpEditWin->LogicToPixel( Point((long)((*i)->pPostIt->Anchor()->GetSixthPosition().getX()),0)).X(… in CorrectPositions()
1655 …aAnchorPosY = mpEditWin->LogicToPixel( Point(0,(long)((*i)->pPostIt->Anchor()->GetSixthPosition().… in CorrectPositions()
1656 (*i)->pPostIt->SetPosPixel(Point(aAnchorPosX,aAnchorPosY)); in CorrectPositions()
1787 if ( (*i)->pPostIt ) in Rescale()
1788 (*i)->pPostIt->Rescale(); in Rescale()
1824 if ( (*i)->pPostIt ) in SetSpellChecking()
1825 (*i)->pPostIt->SetSpellChecking(); in SetSpellChecking()
1831 if ( (*i)->pPostIt ) in SetReadOnlyState()
1832 (*i)->pPostIt->SetReadonly( mbReadOnly ); in SetReadOnlyState()
1838 if ( (*i)->pPostIt ) in CheckMetaText()
1839 (*i)->pPostIt->CheckMetaText(); in CheckMetaText()