Lines Matching refs:aNote
174 ScAccNote aNote; in AddNotes() local
175 aNote.mbMarkNote = bMark; in AddNotes()
177 aNote.mnParaCount = 1; in AddNotes()
180 if (rData.GetNoteInRange(rVisRect, nIndex, bMark, aNote.maNoteCell, aNote.maRect)) in AddNotes()
185 aNote.maNoteCell.Format( aNote.maNoteText, SCA_VALID, NULL ); in AddNotes()
189 if( ScPostIt* pNote = pDoc->GetNote( aNote.maNoteCell ) ) in AddNotes()
190 aNote.maNoteText = pNote->GetText(); in AddNotes()
191 …aNote.mpTextHelper = CreateTextHelper(aNote.maNoteText, aNote.maRect, aNote.maNoteCell, aNote.mbMa… in AddNotes()
192 if (aNote.mpTextHelper) in AddNotes()
193 aNote.mnParaCount = aNote.mpTextHelper->GetChildCount(); in AddNotes()
195 nParagraphs += aNote.mnParaCount; in AddNotes()
196 rNotes.push_back(aNote); in AddNotes()
348 ScAccNote aNote; in CheckChanges() local
349 aNote.mbMarkNote = bMark; in CheckChanges()
351 aNote.mnParaCount = 1; in CheckChanges()
357 if (rData.GetNoteInRange(rVisRect, nIndex, bMark, aNote.maNoteCell, aNote.maRect)) in CheckChanges()
362 aNote.maNoteCell.Format( aNote.maNoteText, SCA_VALID, NULL ); in CheckChanges()
366 if( ScPostIt* pNote = pDoc->GetNote( aNote.maNoteCell ) ) in CheckChanges()
367 aNote.maNoteText = pNote->GetText(); in CheckChanges()
372 nCompare = CompareCell(aNote.maNoteCell, aItr->maNoteCell); in CheckChanges()
375 if (aNote.maNoteText == aItr->maNoteText) in CheckChanges()
377 aNote.mpTextHelper = aItr->mpTextHelper; in CheckChanges()
378 if (aNote.maRect != aItr->maRect) //neue VisArea setzen in CheckChanges()
380 aNote.mpTextHelper->SetOffset(aNote.maRect.TopLeft()); in CheckChanges()
381 aNote.mpTextHelper->UpdateChildren(); in CheckChanges()
388 …aNote.mpTextHelper = CreateTextHelper(aNote.maNoteText, aNote.maRect, aNote.maNoteCell, aNote.mbMa… in CheckChanges()
389 if (aNote.mpTextHelper) in CheckChanges()
390 aNote.mnParaCount = aNote.mpTextHelper->GetChildCount(); in CheckChanges()
395 CollectChilds(aNote, rNewParas); in CheckChanges()
404 …aNote.mpTextHelper = CreateTextHelper(aNote.maNoteText, aNote.maRect, aNote.maNoteCell, aNote.mbMa… in CheckChanges()
405 if (aNote.mpTextHelper) in CheckChanges()
406 aNote.mnParaCount = aNote.mpTextHelper->GetChildCount(); in CheckChanges()
408 CollectChilds(aNote, rNewParas); in CheckChanges()
424 nParagraphs += aNote.mnParaCount; in CheckChanges()
425 rNewNotes.push_back(aNote); in CheckChanges()