Lines Matching refs:i
150 for(std::vector<SwPostItPageItem*>::iterator i = mPages.begin(); i!= mPages.end() ; i++) in ~SwPostItMgr() local
151 delete (*i); in ~SwPostItMgr()
161 for(std::list<SwSidebarItem*>::iterator i = mvPostItFlds.begin(); i!= mvPostItFlds.end(); ) in CheckForRemovedPostIts() local
163 std::list<SwSidebarItem*>::iterator it = i++; in CheckForRemovedPostIts()
197 … for(std::list<SwSidebarItem*>::iterator i = mvPostItFlds.begin(); i!= mvPostItFlds.end() ; i++) in InsertItem() local
199 if ( (*i)->GetBroadCaster() == pItem ) in InsertItem()
218 for(std::list<SwSidebarItem*>::iterator i = mvPostItFlds.begin(); i!= mvPostItFlds.end() ; i++) in RemoveItem() local
220 if ( (*i)->GetBroadCaster() == pBroadcast ) in RemoveItem()
222 SwSidebarItem* p = (*i); in RemoveItem()
225 mvPostItFlds.remove(*i); in RemoveItem()
372 … for(std::list<SwSidebarItem*>::iterator i = mvPostItFlds.begin(); i!= mvPostItFlds.end() ; i++) in Notify() local
374 if ( pFmtFld == (*i)->GetBroadCaster() ) in Notify()
376 if ((*i)->pPostIt) in Notify()
378 (*i)->pPostIt->SetPostItText(); in Notify()
390 … for(std::list<SwSidebarItem*>::iterator i = mvPostItFlds.begin(); i!= mvPostItFlds.end() ; i++) in Notify() local
392 if ( pFmtFld == (*i)->GetBroadCaster() ) in Notify()
394 if ((*i)->pPostIt) in Notify()
396 …nst sal_uInt16 nScriptType = SvtLanguageOptions::GetScriptTypeOfLanguage( (*i)->GetFmtFld().GetFie… in Notify()
404 (*i)->pPostIt->SetLanguage( in Notify()
406 (*i)->GetFmtFld().GetField()->GetLanguage(), in Notify()
426 for(std::list<SwSidebarItem*>::iterator i = mvPostItFlds.begin(); i!= mvPostItFlds.end() ; i++) in Focus() local
429 if ( &rBC == (*i)->GetBroadCaster() ) in Focus()
431 if ((*i)->pPostIt) in Focus()
433 (*i)->pPostIt->GrabFocus(); in Focus()
434 MakeVisible((*i)->pPostIt); in Focus()
439 (*i)->bFocus = true; in Focus()
460 … for(std::list<SwSidebarItem*>::iterator i = mvPostItFlds.begin(); i!= mvPostItFlds.end() ; i++) in CalcRects() local
462 SwSidebarItem* pItem = (*i); in CalcRects()
507 … for(std::list<SwSidebarItem*>::iterator i = mvPostItFlds.begin(); i!= mvPostItFlds.end() ; i++) in CalcRects() local
509 SwSidebarItem* pItem = (*i); in CalcRects()
565 …for(std::list<SwSidebarItem*>::const_iterator i = mvPostItFlds.begin(); i!= mvPostItFlds.end() ; i… in HasScrollbars() local
567 if ((*i)->bShow && (*i)->pPostIt && (*i)->pPostIt->HasScrollbar()) in HasScrollbars()
581 for (int i=0; i<lPageSize - lContainerSize;i++) in PreparePageContainer() local
587 for (int i=mPages.size()-1; i >= lPageSize;--i) in PreparePageContainer() local
589 delete mPages[i]; in PreparePageContainer()
594 for(std::vector<SwPostItPageItem*>::iterator i = mPages.begin(); i!= mPages.end() ; i++) in PreparePageContainer() local
596 (*i)->mList->clear(); in PreparePageContainer()
598 (*i)->bScrollbar = false; in PreparePageContainer()
624 … for(SwSidebarItem_iterator i = mPages[n]->mList->begin(); i!= mPages[n]->mList->end(); i++) in LayoutPostIts() local
626 SwSidebarItem* pItem = (*i); in LayoutPostIts()
656 pPostIt = (*i)->GetSidebarWindow( mpView->GetEditWin(), in LayoutPostIts()
732 … for(SwSidebarWin_iterator i = aVisiblePostItList.begin(); i!= aVisiblePostItList.end() ; i++) in LayoutPostIts() local
735 (*i)->TranslateTopPosition(mPages[n]->lOffset); in LayoutPostIts()
737 …bool bBottom = mpEditWin->PixelToLogic(Point(0,(*i)->VirtualPos().Y()+(*i)->VirtualSize().Height(… in LayoutPostIts()
738 …bool bTop = mpEditWin->PixelToLogic(Point(0,(*i)->VirtualPos().Y())).Y() >= (mPages[n]->mPageRect.… in LayoutPostIts()
741 (*i)->ShowNote(); in LayoutPostIts()
745 …if (mpEditWin->PixelToLogic(Point(0,(*i)->VirtualPos().Y())).Y() < (mPages[n]->mPageRect.Top()+aSi… in LayoutPostIts()
748 (*i)->ShowAnchorOnly(Point( mPages[n]->mPageRect.Left(), in LayoutPostIts()
751 (*i)->ShowAnchorOnly(Point( mPages[n]->mPageRect.Right(), in LayoutPostIts()
757 (*i)->ShowAnchorOnly(Point(mPages[n]->mPageRect.Left(), in LayoutPostIts()
760 (*i)->ShowAnchorOnly(Point(mPages[n]->mPageRect.Right(), in LayoutPostIts()
768 … for(SwSidebarWin_iterator i = aVisiblePostItList.begin(); i!= aVisiblePostItList.end() ; i++) in LayoutPostIts() local
770 if ((*i)->HasChildPathFocus()) in LayoutPostIts()
772 MakeVisible((*i),n+1); in LayoutPostIts()
779 … for(SwSidebarWin_iterator i = aVisiblePostItList.begin(); i!= aVisiblePostItList.end() ; i++) in LayoutPostIts() local
780 (*i)->SetPosAndSize(); in LayoutPostIts()
798 for(SwSidebarItem_iterator i = mvPostItFlds.begin(); i!= mvPostItFlds.end() ; i++) in LayoutPostIts() local
800 SwSidebarItem* pItem = (*i); 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()
863 …for(SwSidebarItem_iterator i = mPages[aPage-1]->mList->begin(); i!= mPages[aPage-1]->mList->end();… in Scroll() local
865 SwSidebarWin* pPostIt = (*i)->pPostIt; in Scroll()
870 if ((*i)->bShow) in Scroll()
934 … for(SwSidebarItem_iterator i = mPages[n]->mList->begin(); i!= mPages[n]->mList->end(); i++) in MakeVisible() local
936 if ((*i)->pPostIt==pPostIt) in MakeVisible()
1013 … for(SwSidebarWin_iterator i = aVisiblePostItList.begin(); i!= aVisiblePostItList.end() ; i++) in LayoutByPage() local
1014 (*i)->SetSize(Size((*i)->VirtualSize().getWidth(),(*i)->GetMinimumSizeWithMeta())); in LayoutByPage()
1018 … for(SwSidebarWin_iterator i = aVisiblePostItList.begin(); i!= aVisiblePostItList.end() ; i++) in LayoutByPage() local
1020 if ( (*i)->VirtualSize().getHeight() > lAverageHeight) in LayoutByPage()
1021 (*i)->SetSize(Size((*i)->VirtualSize().getWidth(),lAverageHeight)); in LayoutByPage()
1035 … for(SwSidebarWin_iterator i = aVisiblePostItList.begin(); i!= aVisiblePostItList.end() ; i++) in LayoutByPage() local
1037 SwSidebarWin_iterator aNextPostIt = i; in LayoutByPage()
1042 …lTranslatePos = ( (*i)->VirtualPos().Y() + (*i)->VirtualSize().Height()) - (*aNextPostIt)->Virtual… in LayoutByPage()
1050 if ( (lSpaceUsed <= (*i)->VirtualPos().Y()) || (i==aVisiblePostItList.begin())) in LayoutByPage()
1053 if ( ((*i)->VirtualPos().Y()- lTranslatePos - GetSpaceBetween()) > lTopBorder) in LayoutByPage()
1056 (*i)->TranslateTopPosition(-1*(lTranslatePos+ANCHORLINE_WIDTH)); in LayoutByPage()
1058 (*i)->TranslateTopPosition(-1*(lTranslatePos+GetSpaceBetween())); in LayoutByPage()
1062 long lMoveUp = (*i)->VirtualPos().Y() - lTopBorder; in LayoutByPage()
1063 (*i)->TranslateTopPosition(-1* lMoveUp); in LayoutByPage()
1082 if (i==aVisiblePostItList.begin()) in LayoutByPage()
1084 long lMoveDown = lTopBorder - (*i)->VirtualPos().Y(); in LayoutByPage()
1088 (*i)->TranslateTopPosition( lMoveDown); in LayoutByPage()
1093 lSpaceUsed += (*i)->VirtualSize().Height() + ANCHORLINE_WIDTH; in LayoutByPage()
1095 lSpaceUsed += (*i)->VirtualSize().Height() + GetSpaceBetween(); in LayoutByPage()
1100 SwSidebarWin_iterator aPrevPostIt = i; in LayoutByPage()
1103 …aPrevPostIt)->VirtualPos().Y() + (*aPrevPostIt)->VirtualSize().Height() ) - (*i)->VirtualPos().Y(); in LayoutByPage()
1107 if ( ((*i)->VirtualPos().Y()+ (*i)->VirtualSize().Height()+lTranslatePos) < lBottomBorder) in LayoutByPage()
1109 if ( (*i)->IsFollow() ) in LayoutByPage()
1110 (*i)->TranslateTopPosition(lTranslatePos+ANCHORLINE_WIDTH); in LayoutByPage()
1112 (*i)->TranslateTopPosition(lTranslatePos+GetSpaceBetween()); in LayoutByPage()
1116 …(*i)->TranslateTopPosition(lBottomBorder - ((*i)->VirtualPos().Y()+ (*i)->VirtualSize().Height()) … in LayoutByPage()
1123 if (!bScrollbars && ((*i)->VirtualPos().Y()+ (*i)->VirtualSize().Height() > lBottomBorder) ) in LayoutByPage()
1126 …(*i)->TranslateTopPosition(lBottomBorder - ((*i)->VirtualPos().Y()+ (*i)->VirtualSize().Height())); in LayoutByPage()
1142 SwSidebarWin_iterator i = aVisiblePostItList.begin(); in LayoutByPage() local
1143 lTranslatePos = lTopBorder - (*i)->VirtualPos().Y(); in LayoutByPage()
1146 (*i)->TranslateTopPosition(lTranslatePos+GetSpaceBetween()); in LayoutByPage()
1148 lTranslatePos = lBottomBorder - ((*i)->VirtualPos().Y()+ (*i)->VirtualSize().Height()); in LayoutByPage()
1151 (*i)->TranslateTopPosition(lTranslatePos); in LayoutByPage()
1198 … for(std::list<SwSidebarItem*>::iterator i = mvPostItFlds.begin(); i!= mvPostItFlds.end() ; i++) in RemoveSidebarWin() local
1200 EndListening( *(const_cast<SfxBroadcaster*>((*i)->GetBroadCaster())) ); in RemoveSidebarWin()
1201 if ((*i)->pPostIt) in RemoveSidebarWin()
1202 delete (*i)->pPostIt; in RemoveSidebarWin()
1203 delete (*i); in RemoveSidebarWin()
1235 for(std::vector<const SwFmtFld*>::iterator i = aTmp.begin(); i!= aTmp.end() ; i++) in Delete() local
1237 mpWrtShell->GotoField( *(*i) ); in Delete()
1262 for(std::vector<const SwFmtFld*>::iterator i = aTmp.begin(); i!= aTmp.end() ; i++) in Delete() local
1264 mpWrtShell->GotoField( *(*i) ); in Delete()
1295 for(std::list<SwSidebarItem*>::iterator i = mvPostItFlds.begin(); i!= mvPostItFlds.end() ; i++)
1297 if ((*i)->GetFmtFld())
1299 SwPostItField* pField = static_cast<SwPostItField*>((*i)->GetFmtFld()->GetFld());
1302 (*i)->bShow = false;
1303 (*i)->pPostIt->HideNote();
1314 for(SwSidebarItem_iterator i = mvPostItFlds.begin(); i!= mvPostItFlds.end() ; i++) in Hide() local
1316 if ( (*i)->pPostIt && ((*i)->pPostIt->GetAuthor() == rAuthor) ) in Hide()
1318 (*i)->bShow = false; in Hide()
1319 (*i)->pPostIt->HideNote(); in Hide()
1328 for(SwSidebarItem_iterator i = mvPostItFlds.begin(); i!= mvPostItFlds.end() ; i++) in Hide() local
1330 (*i)->bShow = false; in Hide()
1331 (*i)->pPostIt->HideNote(); in Hide()
1338 for(SwSidebarItem_iterator i = mvPostItFlds.begin(); i!= mvPostItFlds.end() ; i++) in Show() local
1340 (*i)->bShow = true; in Show()
1368 for(const_iterator i = mvPostItFlds.begin(); i!= mvPostItFlds.end() ; i++) in GetSidebarWin() local
1370 if ( (*i)->GetBroadCaster() == pBroadcaster) in GetSidebarWin()
1371 return (*i)->pPostIt; in GetSidebarWin()
1378 for(const_iterator i = mvPostItFlds.begin(); i!= mvPostItFlds.end() ; i++) in GetAnnotationWin() local
1380 if ( (*i)->GetFmtFld().GetField() == pFld ) in GetAnnotationWin()
1381 return dynamic_cast<sw::annotation::SwAnnotationWin*>((*i)->pPostIt); in GetAnnotationWin()
1391 for(SwSidebarItem_iterator i = mvPostItFlds.begin(); i!= mvPostItFlds.end() ; i++) in GetNextPostIt() local
1393 if ( (*i)->pPostIt ==aPostIt) in GetNextPostIt()
1395 SwSidebarItem_iterator iNextPostIt = i; in GetNextPostIt()
1622 for(SwSidebarItem_iterator i = mvPostItFlds.begin(); i!= mvPostItFlds.end() ; i++) in CorrectPositions() local
1624 pFirstPostIt = (*i)->pPostIt; in CorrectPositions()
1648 … for(SwSidebarItem_iterator i = mPages[n]->mList->begin(); i!= mPages[n]->mList->end(); i++) in CorrectPositions() local
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()
1786 for(std::list<SwSidebarItem*>::iterator i = mvPostItFlds.begin(); i!= mvPostItFlds.end() ; i++) in Rescale() local
1787 if ( (*i)->pPostIt ) in Rescale()
1788 (*i)->pPostIt->Rescale(); in Rescale()
1823 for(std::list<SwSidebarItem*>::iterator i = mvPostItFlds.begin(); i!= mvPostItFlds.end() ; i++) in SetSpellChecking() local
1824 if ( (*i)->pPostIt ) in SetSpellChecking()
1825 (*i)->pPostIt->SetSpellChecking(); in SetSpellChecking()
1830 for(std::list<SwSidebarItem*>::iterator i = mvPostItFlds.begin(); i!= mvPostItFlds.end() ; i++) in SetReadOnlyState() local
1831 if ( (*i)->pPostIt ) in SetReadOnlyState()
1832 (*i)->pPostIt->SetReadonly( mbReadOnly ); in SetReadOnlyState()
1837 … for(std::list<SwSidebarItem*>::iterator i = mvPostItFlds.begin(); i!= mvPostItFlds.end() ; i++) in CheckMetaText() local
1838 if ( (*i)->pPostIt ) in CheckMetaText()
1839 (*i)->pPostIt->CheckMetaText(); in CheckMetaText()