Lines Matching refs:i
152 for(std::vector<SwPostItPageItem*>::iterator i = mPages.begin(); i!= mPages.end() ; i++) in ~SwPostItMgr() local
153 delete (*i); in ~SwPostItMgr()
163 for(std::list<SwSidebarItem*>::iterator i = mvPostItFlds.begin(); i!= mvPostItFlds.end(); ) in CheckForRemovedPostIts() local
165 std::list<SwSidebarItem*>::iterator it = i++; in CheckForRemovedPostIts()
199 … for(std::list<SwSidebarItem*>::iterator i = mvPostItFlds.begin(); i!= mvPostItFlds.end() ; i++) in InsertItem() local
201 if ( (*i)->GetBroadCaster() == pItem ) in InsertItem()
220 for(std::list<SwSidebarItem*>::iterator i = mvPostItFlds.begin(); i!= mvPostItFlds.end() ; i++) in RemoveItem() local
222 if ( (*i)->GetBroadCaster() == pBroadcast ) in RemoveItem()
224 SwSidebarItem* p = (*i); in RemoveItem()
227 mvPostItFlds.remove(*i); in RemoveItem()
374 … for(std::list<SwSidebarItem*>::iterator i = mvPostItFlds.begin(); i!= mvPostItFlds.end() ; i++) in Notify() local
376 if ( pFmtFld == (*i)->GetBroadCaster() ) in Notify()
378 if ((*i)->pPostIt) in Notify()
380 (*i)->pPostIt->SetPostItText(); in Notify()
392 … for(std::list<SwSidebarItem*>::iterator i = mvPostItFlds.begin(); i!= mvPostItFlds.end() ; i++) in Notify() local
394 if ( pFmtFld == (*i)->GetBroadCaster() ) in Notify()
396 if ((*i)->pPostIt) in Notify()
398 …nst sal_uInt16 nScriptType = SvtLanguageOptions::GetScriptTypeOfLanguage( (*i)->GetFmtFld().GetFie… in Notify()
406 (*i)->pPostIt->SetLanguage( in Notify()
408 (*i)->GetFmtFld().GetField()->GetLanguage(), in Notify()
428 for(std::list<SwSidebarItem*>::iterator i = mvPostItFlds.begin(); i!= mvPostItFlds.end() ; i++) in Focus() local
431 if ( &rBC == (*i)->GetBroadCaster() ) in Focus()
433 if ((*i)->pPostIt) in Focus()
435 (*i)->pPostIt->GrabFocus(); in Focus()
436 MakeVisible((*i)->pPostIt); in Focus()
441 (*i)->bFocus = true; in Focus()
462 … for(std::list<SwSidebarItem*>::iterator i = mvPostItFlds.begin(); i!= mvPostItFlds.end() ; i++) in CalcRects() local
464 SwSidebarItem* pItem = (*i); in CalcRects()
509 … for(std::list<SwSidebarItem*>::iterator i = mvPostItFlds.begin(); i!= mvPostItFlds.end() ; i++) in CalcRects() local
511 SwSidebarItem* pItem = (*i); in CalcRects()
567 …for(std::list<SwSidebarItem*>::const_iterator i = mvPostItFlds.begin(); i!= mvPostItFlds.end() ; i… in HasScrollbars() local
569 if ((*i)->bShow && (*i)->pPostIt && (*i)->pPostIt->HasScrollbar()) in HasScrollbars()
583 for (int i=0; i<lPageSize - lContainerSize;i++) in PreparePageContainer() local
589 for (int i=mPages.size()-1; i >= lPageSize;--i) in PreparePageContainer() local
591 delete mPages[i]; in PreparePageContainer()
596 for(std::vector<SwPostItPageItem*>::iterator i = mPages.begin(); i!= mPages.end() ; i++) in PreparePageContainer() local
598 (*i)->mList->clear(); in PreparePageContainer()
600 (*i)->bScrollbar = false; in PreparePageContainer()
626 … for(SwSidebarItem_iterator i = mPages[n]->mList->begin(); i!= mPages[n]->mList->end(); i++) in LayoutPostIts() local
628 SwSidebarItem* pItem = (*i); in LayoutPostIts()
658 pPostIt = (*i)->GetSidebarWindow( mpView->GetEditWin(), in LayoutPostIts()
734 … for(SwSidebarWin_iterator i = aVisiblePostItList.begin(); i!= aVisiblePostItList.end() ; i++) in LayoutPostIts() local
737 (*i)->TranslateTopPosition(mPages[n]->lOffset); in LayoutPostIts()
739 …bool bBottom = mpEditWin->PixelToLogic(Point(0,(*i)->VirtualPos().Y()+(*i)->VirtualSize().Height(… in LayoutPostIts()
740 …bool bTop = mpEditWin->PixelToLogic(Point(0,(*i)->VirtualPos().Y())).Y() >= (mPages[n]->mPageRect.… in LayoutPostIts()
743 (*i)->ShowNote(); in LayoutPostIts()
747 …if (mpEditWin->PixelToLogic(Point(0,(*i)->VirtualPos().Y())).Y() < (mPages[n]->mPageRect.Top()+aSi… in LayoutPostIts()
750 (*i)->ShowAnchorOnly(Point( mPages[n]->mPageRect.Left(), in LayoutPostIts()
753 (*i)->ShowAnchorOnly(Point( mPages[n]->mPageRect.Right(), in LayoutPostIts()
759 (*i)->ShowAnchorOnly(Point(mPages[n]->mPageRect.Left(), in LayoutPostIts()
762 (*i)->ShowAnchorOnly(Point(mPages[n]->mPageRect.Right(), in LayoutPostIts()
770 … for(SwSidebarWin_iterator i = aVisiblePostItList.begin(); i!= aVisiblePostItList.end() ; i++) in LayoutPostIts() local
772 if ((*i)->HasChildPathFocus()) in LayoutPostIts()
774 MakeVisible((*i),n+1); in LayoutPostIts()
781 … for(SwSidebarWin_iterator i = aVisiblePostItList.begin(); i!= aVisiblePostItList.end() ; i++) in LayoutPostIts() local
782 (*i)->SetPosAndSize(); in LayoutPostIts()
800 for(SwSidebarItem_iterator i = mvPostItFlds.begin(); i!= mvPostItFlds.end() ; i++) in LayoutPostIts() local
802 SwSidebarItem* pItem = (*i); 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()
865 …for(SwSidebarItem_iterator i = mPages[aPage-1]->mList->begin(); i!= mPages[aPage-1]->mList->end();… in Scroll() local
867 SwSidebarWin* pPostIt = (*i)->pPostIt; in Scroll()
872 if ((*i)->bShow) in Scroll()
936 … for(SwSidebarItem_iterator i = mPages[n]->mList->begin(); i!= mPages[n]->mList->end(); i++) in MakeVisible() local
938 if ((*i)->pPostIt==pPostIt) in MakeVisible()
1015 … for(SwSidebarWin_iterator i = aVisiblePostItList.begin(); i!= aVisiblePostItList.end() ; i++) in LayoutByPage() local
1016 (*i)->SetSize(Size((*i)->VirtualSize().getWidth(),(*i)->GetMinimumSizeWithMeta())); in LayoutByPage()
1020 … for(SwSidebarWin_iterator i = aVisiblePostItList.begin(); i!= aVisiblePostItList.end() ; i++) in LayoutByPage() local
1022 if ( (*i)->VirtualSize().getHeight() > lAverageHeight) in LayoutByPage()
1023 (*i)->SetSize(Size((*i)->VirtualSize().getWidth(),lAverageHeight)); in LayoutByPage()
1037 … for(SwSidebarWin_iterator i = aVisiblePostItList.begin(); i!= aVisiblePostItList.end() ; i++) in LayoutByPage() local
1039 SwSidebarWin_iterator aNextPostIt = i; in LayoutByPage()
1044 …lTranslatePos = ( (*i)->VirtualPos().Y() + (*i)->VirtualSize().Height()) - (*aNextPostIt)->Virtual… in LayoutByPage()
1052 if ( (lSpaceUsed <= (*i)->VirtualPos().Y()) || (i==aVisiblePostItList.begin())) in LayoutByPage()
1055 if ( ((*i)->VirtualPos().Y()- lTranslatePos - GetSpaceBetween()) > lTopBorder) in LayoutByPage()
1058 (*i)->TranslateTopPosition(-1*(lTranslatePos+ANCHORLINE_WIDTH)); in LayoutByPage()
1060 (*i)->TranslateTopPosition(-1*(lTranslatePos+GetSpaceBetween())); in LayoutByPage()
1064 long lMoveUp = (*i)->VirtualPos().Y() - lTopBorder; in LayoutByPage()
1065 (*i)->TranslateTopPosition(-1* lMoveUp); in LayoutByPage()
1084 if (i==aVisiblePostItList.begin()) in LayoutByPage()
1086 long lMoveDown = lTopBorder - (*i)->VirtualPos().Y(); in LayoutByPage()
1090 (*i)->TranslateTopPosition( lMoveDown); in LayoutByPage()
1095 lSpaceUsed += (*i)->VirtualSize().Height() + ANCHORLINE_WIDTH; in LayoutByPage()
1097 lSpaceUsed += (*i)->VirtualSize().Height() + GetSpaceBetween(); in LayoutByPage()
1102 SwSidebarWin_iterator aPrevPostIt = i; in LayoutByPage()
1105 …aPrevPostIt)->VirtualPos().Y() + (*aPrevPostIt)->VirtualSize().Height() ) - (*i)->VirtualPos().Y(); in LayoutByPage()
1109 if ( ((*i)->VirtualPos().Y()+ (*i)->VirtualSize().Height()+lTranslatePos) < lBottomBorder) in LayoutByPage()
1111 if ( (*i)->IsFollow() ) in LayoutByPage()
1112 (*i)->TranslateTopPosition(lTranslatePos+ANCHORLINE_WIDTH); in LayoutByPage()
1114 (*i)->TranslateTopPosition(lTranslatePos+GetSpaceBetween()); in LayoutByPage()
1118 …(*i)->TranslateTopPosition(lBottomBorder - ((*i)->VirtualPos().Y()+ (*i)->VirtualSize().Height()) … in LayoutByPage()
1125 if (!bScrollbars && ((*i)->VirtualPos().Y()+ (*i)->VirtualSize().Height() > lBottomBorder) ) in LayoutByPage()
1128 …(*i)->TranslateTopPosition(lBottomBorder - ((*i)->VirtualPos().Y()+ (*i)->VirtualSize().Height())); in LayoutByPage()
1144 SwSidebarWin_iterator i = aVisiblePostItList.begin(); in LayoutByPage() local
1145 lTranslatePos = lTopBorder - (*i)->VirtualPos().Y(); in LayoutByPage()
1148 (*i)->TranslateTopPosition(lTranslatePos+GetSpaceBetween()); in LayoutByPage()
1150 lTranslatePos = lBottomBorder - ((*i)->VirtualPos().Y()+ (*i)->VirtualSize().Height()); in LayoutByPage()
1153 (*i)->TranslateTopPosition(lTranslatePos); in LayoutByPage()
1200 … for(std::list<SwSidebarItem*>::iterator i = mvPostItFlds.begin(); i!= mvPostItFlds.end() ; i++) in RemoveSidebarWin() local
1202 EndListening( *(const_cast<SfxBroadcaster*>((*i)->GetBroadCaster())) ); in RemoveSidebarWin()
1203 if ((*i)->pPostIt) in RemoveSidebarWin()
1204 delete (*i)->pPostIt; in RemoveSidebarWin()
1205 delete (*i); in RemoveSidebarWin()
1237 for(std::vector<const SwFmtFld*>::iterator i = aTmp.begin(); i!= aTmp.end() ; i++) in Delete() local
1239 mpWrtShell->GotoField( *(*i) ); in Delete()
1264 for(std::vector<const SwFmtFld*>::iterator i = aTmp.begin(); i!= aTmp.end() ; i++) in Delete() local
1266 mpWrtShell->GotoField( *(*i) ); in Delete()
1297 for(std::list<SwSidebarItem*>::iterator i = mvPostItFlds.begin(); i!= mvPostItFlds.end() ; i++)
1299 if ((*i)->GetFmtFld())
1301 SwPostItField* pField = static_cast<SwPostItField*>((*i)->GetFmtFld()->GetFld());
1304 (*i)->bShow = false;
1305 (*i)->pPostIt->HideNote();
1316 for(SwSidebarItem_iterator i = mvPostItFlds.begin(); i!= mvPostItFlds.end() ; i++) in Hide() local
1318 if ( (*i)->pPostIt && ((*i)->pPostIt->GetAuthor() == rAuthor) ) in Hide()
1320 (*i)->bShow = false; in Hide()
1321 (*i)->pPostIt->HideNote(); in Hide()
1330 for(SwSidebarItem_iterator i = mvPostItFlds.begin(); i!= mvPostItFlds.end() ; i++) in Hide() local
1332 (*i)->bShow = false; in Hide()
1333 (*i)->pPostIt->HideNote(); in Hide()
1340 for(SwSidebarItem_iterator i = mvPostItFlds.begin(); i!= mvPostItFlds.end() ; i++) in Show() local
1342 (*i)->bShow = true; in Show()
1370 for(const_iterator i = mvPostItFlds.begin(); i!= mvPostItFlds.end() ; i++) in GetSidebarWin() local
1372 if ( (*i)->GetBroadCaster() == pBroadcaster) in GetSidebarWin()
1373 return (*i)->pPostIt; in GetSidebarWin()
1380 for(const_iterator i = mvPostItFlds.begin(); i!= mvPostItFlds.end() ; i++) in GetAnnotationWin() local
1382 if ( (*i)->GetFmtFld().GetField() == pFld ) in GetAnnotationWin()
1383 return dynamic_cast<sw::annotation::SwAnnotationWin*>((*i)->pPostIt); in GetAnnotationWin()
1393 for(SwSidebarItem_iterator i = mvPostItFlds.begin(); i!= mvPostItFlds.end() ; i++) in GetNextPostIt() local
1395 if ( (*i)->pPostIt ==aPostIt) in GetNextPostIt()
1397 SwSidebarItem_iterator iNextPostIt = i; in GetNextPostIt()
1624 for(SwSidebarItem_iterator i = mvPostItFlds.begin(); i!= mvPostItFlds.end() ; i++) in CorrectPositions() local
1626 pFirstPostIt = (*i)->pPostIt; in CorrectPositions()
1650 … for(SwSidebarItem_iterator i = mPages[n]->mList->begin(); i!= mPages[n]->mList->end(); i++) in CorrectPositions() local
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()
1788 for(std::list<SwSidebarItem*>::iterator i = mvPostItFlds.begin(); i!= mvPostItFlds.end() ; i++) in Rescale() local
1789 if ( (*i)->pPostIt ) in Rescale()
1790 (*i)->pPostIt->Rescale(); in Rescale()
1825 for(std::list<SwSidebarItem*>::iterator i = mvPostItFlds.begin(); i!= mvPostItFlds.end() ; i++) in SetSpellChecking() local
1826 if ( (*i)->pPostIt ) in SetSpellChecking()
1827 (*i)->pPostIt->SetSpellChecking(); in SetSpellChecking()
1832 for(std::list<SwSidebarItem*>::iterator i = mvPostItFlds.begin(); i!= mvPostItFlds.end() ; i++) in SetReadOnlyState() local
1833 if ( (*i)->pPostIt ) in SetReadOnlyState()
1834 (*i)->pPostIt->SetReadonly( mbReadOnly ); in SetReadOnlyState()
1839 … for(std::list<SwSidebarItem*>::iterator i = mvPostItFlds.begin(); i!= mvPostItFlds.end() ; i++) in CheckMetaText() local
1840 if ( (*i)->pPostIt ) in CheckMetaText()
1841 (*i)->pPostIt->CheckMetaText(); in CheckMetaText()