Lines Matching refs:pEntry
191 void* pEntry = aEntries.First(); in Clear() local
192 while ( pEntry ) in Clear()
194 delete (ScPreviewLocationEntry*) pEntry; in Clear()
195 pEntry = aEntries.Next(); in Clear()
286 ScPreviewLocationEntry* pEntry = (ScPreviewLocationEntry*)rEntries.GetObject(nListPos); in lcl_GetEntryByAddress() local
287 if ( pEntry->eType == eType && pEntry->aCellRange.In( rPos ) ) in lcl_GetEntryByAddress()
288 return pEntry; in lcl_GetEntryByAddress()
363 ScPreviewLocationEntry* pEntry = lcl_GetEntryByAddress( aEntries, rCellPos, SC_PLOC_CELLRANGE ); in GetCellPosition() local
364 if ( pEntry ) in GetCellPosition()
366 Rectangle aOffsetRect = GetOffsetPixel( rCellPos, pEntry->aCellRange ); in GetCellPosition()
367 rCellRect = Rectangle( aOffsetRect.Left() + pEntry->aPixelRect.Left(), in GetCellPosition()
368 aOffsetRect.Top() + pEntry->aPixelRect.Top(), in GetCellPosition()
369 aOffsetRect.Right() + pEntry->aPixelRect.Left(), in GetCellPosition()
370 aOffsetRect.Bottom() + pEntry->aPixelRect.Top() ); in GetCellPosition()
381 ScPreviewLocationEntry* pEntry = (ScPreviewLocationEntry*)aEntries.GetObject(nListPos); in HasCellsInRange() local
382 ScPreviewLocationType eType = pEntry->eType; in HasCellsInRange()
384 if ( pEntry->aPixelRect.IsOver( rVisiblePixel ) ) in HasCellsInRange()
395 ScPreviewLocationEntry* pEntry = (ScPreviewLocationEntry*)aEntries.GetObject(nListPos); in GetHeaderPosition() local
396 if ( pEntry->eType == SC_PLOC_LEFTHEADER || pEntry->eType == SC_PLOC_RIGHTHEADER ) in GetHeaderPosition()
398 rRect = pEntry->aPixelRect; in GetHeaderPosition()
410 ScPreviewLocationEntry* pEntry = (ScPreviewLocationEntry*)aEntries.GetObject(nListPos); in GetFooterPosition() local
411 if ( pEntry->eType == SC_PLOC_LEFTFOOTER || pEntry->eType == SC_PLOC_RIGHTFOOTER ) in GetFooterPosition()
413 rRect = pEntry->aPixelRect; in GetFooterPosition()
425 ScPreviewLocationEntry* pEntry = (ScPreviewLocationEntry*)aEntries.GetObject(nListPos); in IsHeaderLeft() local
426 if ( pEntry->eType == SC_PLOC_LEFTHEADER ) in IsHeaderLeft()
428 if ( pEntry->eType == SC_PLOC_RIGHTHEADER ) in IsHeaderLeft()
439 ScPreviewLocationEntry* pEntry = (ScPreviewLocationEntry*)aEntries.GetObject(nListPos); in IsFooterLeft() local
440 if ( pEntry->eType == SC_PLOC_LEFTFOOTER ) in IsFooterLeft()
442 if ( pEntry->eType == SC_PLOC_RIGHTFOOTER ) in IsFooterLeft()
456 ScPreviewLocationEntry* pEntry = (ScPreviewLocationEntry*)aEntries.GetObject(nListPos); in GetNoteCountInRange() local
457 if ( pEntry->eType == eType && pEntry->aPixelRect.IsOver( rVisiblePixel ) ) in GetNoteCountInRange()
472 ScPreviewLocationEntry* pEntry = (ScPreviewLocationEntry*)aEntries.GetObject(nListPos); in GetNoteInRange() local
473 if ( pEntry->eType == eType && pEntry->aPixelRect.IsOver( rVisiblePixel ) ) in GetNoteInRange()
477 rCellPos = pEntry->aCellRange.aStart; in GetNoteInRange()
478 rNoteRect = pEntry->aPixelRect; in GetNoteInRange()
495 ScPreviewLocationEntry* pEntry = (ScPreviewLocationEntry*)aEntries.GetObject(nListPos); in GetNoteInRangeOutputRect() local
496 if ( pEntry->eType == eType && pEntry->aPixelRect.IsOver( rVisiblePixel ) ) in GetNoteInRangeOutputRect()
498 if ( aCellPos == pEntry->aCellRange.aStart ) in GetNoteInRangeOutputRect()
499 return pEntry->aPixelRect; in GetNoteInRangeOutputRect()
535 ScPreviewLocationEntry* pEntry = (ScPreviewLocationEntry*)aEntries.GetObject(nListPos); in GetTableInfo() local
536 if ( pEntry->eType == SC_PLOC_CELLRANGE ) in GetTableInfo()
538 if ( pEntry->bRepeatCol ) in GetTableInfo()
541 nRepeatColStart = pEntry->aCellRange.aStart.Col(); in GetTableInfo()
542 nRepeatColEnd = pEntry->aCellRange.aEnd.Col(); in GetTableInfo()
543 aRepeatRect.Left() = pEntry->aPixelRect.Left(); in GetTableInfo()
544 aRepeatRect.Right() = pEntry->aPixelRect.Right(); in GetTableInfo()
549 nMainColStart = pEntry->aCellRange.aStart.Col(); in GetTableInfo()
550 nMainColEnd = pEntry->aCellRange.aEnd.Col(); in GetTableInfo()
551 aMainRect.Left() = pEntry->aPixelRect.Left(); in GetTableInfo()
552 aMainRect.Right() = pEntry->aPixelRect.Right(); in GetTableInfo()
554 if ( pEntry->bRepeatRow ) in GetTableInfo()
557 nRepeatRowStart = pEntry->aCellRange.aStart.Row(); in GetTableInfo()
558 nRepeatRowEnd = pEntry->aCellRange.aEnd.Row(); in GetTableInfo()
559 aRepeatRect.Top() = pEntry->aPixelRect.Top(); in GetTableInfo()
560 aRepeatRect.Bottom() = pEntry->aPixelRect.Bottom(); in GetTableInfo()
565 nMainRowStart = pEntry->aCellRange.aStart.Row(); in GetTableInfo()
566 nMainRowEnd = pEntry->aCellRange.aEnd.Row(); in GetTableInfo()
567 aMainRect.Top() = pEntry->aPixelRect.Top(); in GetTableInfo()
568 aMainRect.Bottom() = pEntry->aPixelRect.Bottom(); in GetTableInfo()
570 nTab = pEntry->aCellRange.aStart.Tab(); //! store separately? in GetTableInfo()
572 else if ( pEntry->eType == SC_PLOC_ROWHEADER ) in GetTableInfo()
576 aHeaderRect.Left() = pEntry->aPixelRect.Left(); in GetTableInfo()
577 aHeaderRect.Right() = pEntry->aPixelRect.Right(); in GetTableInfo()
579 else if ( pEntry->eType == SC_PLOC_COLHEADER ) in GetTableInfo()
583 aHeaderRect.Top() = pEntry->aPixelRect.Top(); in GetTableInfo()
584 aHeaderRect.Bottom() = pEntry->aPixelRect.Bottom(); in GetTableInfo()
778 ScPreviewLocationEntry* pEntry = (ScPreviewLocationEntry*)aEntries.GetObject(nListPos); in GetMainCellRange() local
779 if ( pEntry->eType == SC_PLOC_CELLRANGE && !pEntry->bRepeatCol && !pEntry->bRepeatRow ) in GetMainCellRange()
781 rRange = pEntry->aCellRange; in GetMainCellRange()
782 rPixRect = pEntry->aPixelRect; in GetMainCellRange()