Lines Matching refs:GetRowCount

569 …sal_Int32 nAdjustedRowCount = pParent->GetRowCount() - ((pParent->GetOptions() & DbGridControl::OP…  in InvalidateAll()
622 bAvailable = m_nCurrentPos < pParent->GetRowCount() - 1; in GetState()
624 bAvailable = (m_nCurrentPos == pParent->GetRowCount() - 2) && pParent->IsModified(); in GetState()
631 bAvailable = pParent->IsCurrentAppending() ? pParent->GetRowCount() > 1 : in GetState()
632 m_nCurrentPos != pParent->GetRowCount() - 2; in GetState()
634 bAvailable = m_nCurrentPos != pParent->GetRowCount() - 1; in GetState()
638 …ptions() & DbGridControl::OPT_INSERT) && pParent->GetRowCount() && m_nCurrentPos < pParent->GetRow… in GetState()
641 bAvailable = pParent->GetRowCount() > 0; in GetState()
705 aText = String::CreateFromInt32(pParent->GetRowCount()); in SetState()
707 aText = String::CreateFromInt32(pParent->GetRowCount() - 1); in SetState()
710 aText = String::CreateFromInt32(pParent->GetRowCount()); in SetState()
1150 RowRemoved(0, GetRowCount(), sal_False); in RemoveRows()
1341 RowInserted(GetRowCount(), 1, sal_True); in SetOptions()
1346 if ((GetCurRow() == GetRowCount() - 1) && (GetCurRow() > 0)) in SetOptions()
1348 RowRemoved(GetRowCount(), 1, sal_True); in SetOptions()
1655 if (!IsResizing() && GetRowCount()) in setDataSource()
1869 DBG_ASSERT(GetRowCount() == 0,"DbGridControl: ohne Cursor darf es keine Rows geben"); in RecalcRows()
1929 m_nTotalCount = GetRowCount() + nNumRows; in RowInserted()
1948 m_nTotalCount = GetRowCount() - nNumRows; in RowRemoved()
1992 if (nRecordCount != GetRowCount()) in AdjustRows()
1994 long nDelta = GetRowCount() - (long)nRecordCount; in AdjustRows()
1997 RowRemoved(GetRowCount() - nDelta, nDelta, sal_False); in AdjustRows()
2009 if (!IsResizing() && GetRowCount()) in AdjustRows()
2014 RowInserted(GetRowCount(), -nDelta, sal_True); in AdjustRows()
2020 m_nTotalCount = GetRowCount() - 1; in AdjustRows()
2022 m_nTotalCount = GetRowCount(); in AdjustRows()
2155 if (m_nCurrentPos >= 0 && m_nCurrentPos >= (GetRowCount() - 2)) in SetCurrent()
2372 m_nSeekPos = GetRowCount() - 1; in AlignSeekCursor()
2444 …else if ((-1 == nRow) && (GetRowCount() == ((m_nOptions & OPT_INSERT) ? 1 : 0)) && m_pSeekCursor->… in SeekCursor()
2563 if ((GetRowCount() - 1) > 0) in MoveToLast()
2564 MoveToPosition(GetRowCount() - 2); in MoveToLast()
2566 else if (GetRowCount()) in MoveToLast()
2567 MoveToPosition(GetRowCount() - 1); in MoveToLast()
2587 long nNewRow = std::min(GetRowCount() - 1, GetCurRow() + 1); in MoveToNext()
2627 if (m_nTotalCount < 0 && (long)nPos >= GetRowCount()) in MoveToPosition()
2780 …te && !((m_nOptions & OPT_INSERT) && GetSelectRowCount() == 1 && IsRowSelected(GetRowCount() - 1)); in PreExecuteRowContextMenu()
2840 if ((nRecordCount == GetRowCount() - 1) && m_xCurrentRow->IsNew()) in DataSourcePropertyChanged()
2842 RowInserted(GetRowCount(), 1, sal_True); in DataSourcePropertyChanged()
2852 if (m_xCurrentRow->IsNew() && nRecordCount == (GetRowCount() - 2)) in DataSourcePropertyChanged()
2854 RowRemoved(GetRowCount() - 1, 1, sal_True); in DataSourcePropertyChanged()
2894 && (_nRow < GetRowCount()) in canCopyCellText()
3130 if (m_nCurrentPos == GetRowCount() - 1) in CellModified()
3133 RowInserted(GetRowCount(), 1, sal_True); in CellModified()
3216 if (m_nCurrentPos == GetRowCount() - 2) in Undo()
3219 RowRemoved(GetRowCount() - 1, 1, sal_True); in Undo()
3245 if (m_nCurrentPos == GetRowCount() - 2) in resetCurrentRow()
3247 RowRemoved(GetRowCount() - 1, 1, sal_True); in resetCurrentRow()
3291 return (m_nOptions & OPT_INSERT) && m_nTotalCount >= 0 && (nRow == GetRowCount() - 1); in IsInsertionRow()
3481 return GetCurRow() < (GetRowCount() - 1) || !m_bRecordCountFinal || in IsTabAllowed()
3497 if (nRow >= 0 && nRow < GetRowCount() && nColId < ColCount()) in KeyInput()