Lines Matching refs:m_xCurrentRow
1146 m_xPaintRow = m_xDataRow = m_xEmptyRow = m_xCurrentRow = m_xSeekRow = NULL; in RemoveRows()
1174 m_xPaintRow = m_xDataRow = m_xEmptyRow = m_xCurrentRow = m_xSeekRow = NULL; in RemoveRows()
1282 DBG_ASSERT(!m_xCurrentRow || !m_xCurrentRow->IsModified(), in SetOptions()
1839 m_xPaintRow = m_xCurrentRow; in SeekRow()
1985 if (!IsUpdating() && m_bRecordCountFinal && IsModified() && m_xCurrentRow != m_xEmptyRow && in AdjustRows()
1986 m_xCurrentRow->IsNew()) in AdjustRows()
2035 if (!IsValid(m_xCurrentRow)) in GetRowStatus()
2039 else if (m_xCurrentRow->IsNew()) in GetRowStatus()
2113 m_xCurrentRow = m_xDataRow = m_xPaintRow = m_xEmptyRow; in SetCurrent()
2139 …if (!m_xCurrentRow || m_xCurrentRow->IsNew() || !CompareBookmark(aBookmark, m_pDataCursor->getBook… in SetCurrent()
2151 m_xCurrentRow = m_xDataRow; in SetCurrent()
2294 m_xCurrentRow = NULL; in AdjustDataSource()
2299 if ( m_xCurrentRow.Is() in AdjustDataSource()
2300 && !m_xCurrentRow->IsNew() in AdjustDataSource()
2306 …sal_Bool bEqualBookmarks = CompareBookmark( m_xCurrentRow->GetBookmark(), m_pDataCursor->getBookma… in AdjustDataSource()
2315 DBG_ASSERT(m_xDataRow == m_xCurrentRow, "Fehler in den Datenzeilen"); in AdjustDataSource()
2316 TRACE_RANGE_MESSAGE1("same position, new state : %s", ROWSTATUS(m_xCurrentRow)); in AdjustDataSource()
2323 if (m_xPaintRow == m_xCurrentRow) in AdjustDataSource()
2327 if (!m_xCurrentRow) in AdjustDataSource()
2340 if (!m_xCurrentRow.Is()) in AdjustDataSource()
2356 m_aBar.InvalidateAll(m_nCurrentPos, m_xCurrentRow.Is()); in AdjustDataSource()
2428 if (IsValid(m_xCurrentRow) && m_xCurrentRow->IsNew() && in SeekCursor()
2832 if (bIsNew && m_xCurrentRow.Is()) in DataSourcePropertyChanged()
2840 if ((nRecordCount == GetRowCount() - 1) && m_xCurrentRow->IsNew()) in DataSourcePropertyChanged()
2852 if (m_xCurrentRow->IsNew() && nRecordCount == (GetRowCount() - 2)) in DataSourcePropertyChanged()
2860 if (m_xCurrentRow.Is()) in DataSourcePropertyChanged()
2862 … m_xCurrentRow->SetStatus(::comphelper::getBOOL(evt.NewValue) ? GRS_MODIFIED : GRS_CLEAN); in DataSourcePropertyChanged()
2863 m_xCurrentRow->SetNew( bIsNew ); in DataSourcePropertyChanged()
2865 TRACE_RANGE_MESSAGE1("modified flag changed, new state : %s", ROWSTATUS(m_xCurrentRow)); in DataSourcePropertyChanged()
3052 if (!IsValid(m_xCurrentRow) || !IsEnabled()) in GetController()
3070 sal_Bool bInsert = (m_xCurrentRow->IsNew() && (m_nOptions & OPT_INSERT)); in GetController()
3071 sal_Bool bUpdate = (!m_xCurrentRow->IsNew() && (m_nOptions & OPT_UPDATE)); in GetController()
3096 pColumn->UpdateFromField(m_xCurrentRow, m_xFormatter); in InitController()
3121 if (!IsFilterMode() && IsValid(m_xCurrentRow) && !m_xCurrentRow->IsModified()) in CellModified()
3125 if (m_xCurrentRow->IsNew()) in CellModified()
3127 m_xCurrentRow->SetStatus(GRS_MODIFIED); in CellModified()
3138 else if (m_xCurrentRow->GetStatus() != GRS_MODIFIED) in CellModified()
3140 m_xCurrentRow->SetState(m_pDataCursor, sal_False); in CellModified()
3141 …RANGE_MESSAGE1("current row is not new, after SetState, new state : %s", ROWSTATUS(m_xCurrentRow)); in CellModified()
3142 m_xCurrentRow->SetStatus(GRS_MODIFIED); in CellModified()
3166 if (!IsFilterMode() && IsValid(m_xCurrentRow) && IsModified()) in Undo()
3186 sal_Bool bAppending = m_xCurrentRow->IsNew(); in Undo()
3187 sal_Bool bDirty = m_xCurrentRow->IsModified(); in Undo()
3209 if (&m_xPaintRow == &m_xCurrentRow) in Undo()
3210 m_xPaintRow = m_xCurrentRow = m_xDataRow; in Undo()
3212 m_xCurrentRow = m_xDataRow; in Undo()
3243 if (m_xCurrentRow->IsNew()) in resetCurrentRow()
3255 if (&m_xPaintRow == &m_xCurrentRow) in resetCurrentRow()
3256 m_xPaintRow = m_xCurrentRow = m_xDataRow; in resetCurrentRow()
3258 m_xCurrentRow = m_xDataRow; in resetCurrentRow()
3279 …return !IsFilterMode() && IsValid(m_xCurrentRow) && (m_xCurrentRow->IsModified() || DbGridControl_… in IsModified()
3285 return m_xCurrentRow.Is() && m_xCurrentRow->IsNew(); in IsCurrentAppending()
3298 DBG_ASSERT(IsValid(m_xCurrentRow), "GridControl:: Invalid row"); in SaveModified()
3299 if (!IsValid(m_xCurrentRow)) in SaveModified()
3323 if ( IsValid(m_xCurrentRow) ) in SaveModified()
3325 m_xCurrentRow->SetState(m_pDataCursor, sal_False); in SaveModified()
3326 TRACE_RANGE_MESSAGE1("explicit SetState, new state : %s", ROWSTATUS(m_xCurrentRow)); in SaveModified()
3332 TRACE_RANGE_MESSAGE1("no SetState, new state : %s", ROWSTATUS(m_xCurrentRow)); in SaveModified()
3350 if (!IsValid(m_xCurrentRow) || !IsModified()) in SaveRow()
3361 sal_Bool bAppending = m_xCurrentRow->IsNew(); in SaveRow()
3386 m_xCurrentRow->SetState(m_pDataCursor, sal_False); in SaveRow()
3387 …_MESSAGE1("explicit SetState after a successful update, new state : %s", ROWSTATUS(m_xCurrentRow)); in SaveRow()
3388 m_xCurrentRow->SetNew(sal_False); in SaveRow()
3812 pColumn->UpdateFromField(m_xCurrentRow, m_xFormatter); in FieldValueChanged()