Lines Matching refs:rGrid
926 ScAccessibleCsvGrid::ScAccessibleCsvGrid( ScCsvGrid& rGrid ) : in DBG_NAME()
927 ScAccessibleCsvControl( rGrid.GetAccessibleParentWindow()->GetAccessible(), rGrid, nGridRole ) in DBG_NAME()
950 const ScCsvGrid& rGrid = implGetGrid(); in getAccessibleAtPoint() local
952 sal_Int32 nColumn = ((rGrid.GetFirstX() <= rPoint.X) && (rPoint.X <= rGrid.GetLastX())) ? in getAccessibleAtPoint()
953 lcl_GetApiColumn( rGrid.GetColumnFromX( rPoint.X ) ) : 0; in getAccessibleAtPoint()
954 sal_Int32 nRow = (rPoint.Y >= rGrid.GetHdrHeight()) ? in getAccessibleAtPoint()
955 (rGrid.GetLineFromY( rPoint.Y ) - rGrid.GetFirstVisLine() + 1) : 0; in getAccessibleAtPoint()
1107 ScCsvGrid& rGrid = implGetGrid(); in getSelectedAccessibleColumns() local
1111 sal_uInt32 nColIx = rGrid.GetFirstSelected(); in getSelectedAccessibleColumns()
1112 for( ; nColIx != CSV_COLUMN_INVALID; ++nSeqIx, nColIx = rGrid.GetNextSelected( nColIx ) ) in getSelectedAccessibleColumns()
1426 ScCsvGrid& rGrid = implGetGrid(); in implGetSelColumnCount() local
1428 …for( sal_uInt32 nColIx = rGrid.GetFirstSelected(); nColIx != CSV_COLUMN_INVALID; nColIx = rGrid.Ge… in implGetSelColumnCount()
1435 ScCsvGrid& rGrid = implGetGrid(); in implGetSelColumn() local
1437 …for( sal_uInt32 nColIx = rGrid.GetFirstSelected(); nColIx != CSV_COLUMN_INVALID; nColIx = rGrid.Ge… in implGetSelColumn()
1448 ScCsvGrid& rGrid = implGetGrid(); in implGetCellText() local
1449 sal_Int32 nLine = nRow + rGrid.GetFirstVisLine() - 1; in implGetCellText()
1452 aCellStr = rGrid.GetCellText( lcl_GetGridColumn( nColumn ), nLine ); in implGetCellText()
1456 aCellStr = rGrid.GetColumnTypeName( lcl_GetGridColumn( nColumn ) ); in implGetCellText()
1472 ScCsvGrid& rGrid, in DBG_NAME()
1475 ScAccessibleCsvControl( rGrid.GetAccessible(), rGrid, nCellRole ), in DBG_NAME()
1478 mnLine( nRow ? (nRow + rGrid.GetFirstVisLine() - 1) : CSV_LINE_HEADER ), in DBG_NAME()
1480 mnIndex( nRow * (rGrid.GetColumnCount() + 1) + nColumn ) in DBG_NAME()
1505 ScCsvGrid& rGrid = implGetGrid(); in grabFocus() local
1506 rGrid.Execute( CSVCMD_MOVEGRIDCURSOR, rGrid.GetColumnPos( mnColumn ) ); in grabFocus()
1560 const ScCsvGrid& rGrid = implGetGrid(); in getAccessibleStateSet() local
1564 … if( rGrid.HasFocus() && (rGrid.GetFocusColumn() == mnColumn) && (mnLine == CSV_LINE_HEADER) ) in getAccessibleStateSet()
1566 if( rGrid.IsSelected( mnColumn ) ) in getAccessibleStateSet()
1622 ScCsvGrid& rGrid = implGetGrid(); in implGetRealPos() local
1624 (mnColumn == CSV_COLUMN_HEADER) ? rGrid.GetHdrX() : rGrid.GetColumnX( mnColumn ), in implGetRealPos()
1625 (mnLine == CSV_LINE_HEADER) ? 0 : rGrid.GetY( mnLine ) ); in implGetRealPos()
1630 ScCsvGrid& rGrid = implGetGrid(); in implCalcPixelWidth() local
1631 return rGrid.GetCharWidth() * nChars; in implCalcPixelWidth()
1636 ScCsvGrid& rGrid = implGetGrid(); in implGetRealSize() local
1638 …(mnColumn == CSV_COLUMN_HEADER) ? rGrid.GetHdrWidth() : implCalcPixelWidth( rGrid.GetColumnWidth( … in implGetRealSize()
1639 (mnLine == CSV_LINE_HEADER) ? rGrid.GetHdrHeight() : rGrid.GetLineHeight() ); in implGetRealSize()
1644 ScCsvGrid& rGrid = implGetGrid(); in implGetBoundingBox() local
1645 Rectangle aClipRect( Point( 0, 0 ), rGrid.GetSizePixel() ); in implGetBoundingBox()
1648 aClipRect.Left() = rGrid.GetFirstX(); in implGetBoundingBox()
1649 aClipRect.Right() = rGrid.GetLastX(); in implGetBoundingBox()
1652 aClipRect.Top() = rGrid.GetHdrHeight(); in implGetBoundingBox()
1663 ScCsvGrid& rGrid = implGetGrid(); in implCreateEditSource() local
1668 &rGrid, rGrid.GetEditEngine(), maCellText, aBoundRect, implGetRealSize() ) ); in implCreateEditSource()