Lines Matching refs:nColId
650 sal_Bool OTableEditorCtrl::SaveData(long nRow, sal_uInt16 nColId) in SaveData() argument
658 switch( nColId) in SaveData()
731 if ( FIELD_PROPERTY_AUTOINC == nColId && pActFieldDescr->IsAutoIncrement() ) in SaveData()
750 sal_uInt16 nColId = GetCurColumnId(); in SaveModified() local
752 switch( nColId ) in SaveModified()
828 void OTableEditorCtrl::CellModified( long nRow, sal_uInt16 nColId ) in CellModified() argument
840 switch ( nColId ) in CellModified()
866 …GetUndoManager().AddUndoAction( new OTableEditorTypeSelUndoAct(this, nRow, nColId+1, TOTypeInfoSP(… in CellModified()
869 if( nColId != FIELD_TYPE ) in CellModified()
870 GetUndoManager().AddUndoAction( new OTableDesignCellUndoAct(this, nRow, nColId) ); in CellModified()
873 …GetUndoManager().AddUndoAction(new OTableEditorTypeSelUndoAct(this, GetCurRow(), nColId, GetFieldD… in CellModified()
877 SaveData(nRow,nColId); in CellModified()
1113 String OTableEditorCtrl::GetControlText( long nRow, sal_uInt16 nColId ) in GetControlText() argument
1118 if( nColId < FIELD_FIRST_VIRTUAL_COLUMN ) in GetControlText()
1121 GoToColumnId( nColId ); in GetControlText()
1126 return GetCellText(nRow,nColId); in GetControlText()
1132 return pDescrWin->GetControlText( nColId ); in GetControlText()
1136 void OTableEditorCtrl::SetControlText( long nRow, sal_uInt16 nColId, const String& rText ) in SetControlText() argument
1141 if( nColId < FIELD_FIRST_VIRTUAL_COLUMN ) in SetControlText()
1144 GoToColumnId( nColId ); in SetControlText()
1149 RowModified(nRow,nColId); in SetControlText()
1156 pDescrWin->SetControlText( nColId, rText ); in SetControlText()
1160 void OTableEditorCtrl::SetCellData( long nRow, sal_uInt16 nColId, const TOTypeInfoSP& _pTypeInfo ) in SetCellData() argument
1168 if( !pFieldDescr && nColId != FIELD_TYPE) in SetCellData()
1173 switch( nColId ) in SetCellData()
1181 SetControlText(nRow,nColId,_pTypeInfo.get() ? _pTypeInfo->aUIName : ::rtl::OUString()); in SetCellData()
1184 void OTableEditorCtrl::SetCellData( long nRow, sal_uInt16 nColId, const ::com::sun::star::uno::Any&… in SetCellData() argument
1192 if( !pFieldDescr && nColId != FIELD_TYPE) in SetCellData()
1198 switch( nColId ) in SetCellData()
1265 SetControlText(nRow,nColId,sValue); in SetCellData()
1269 Any OTableEditorCtrl::GetCellData( long nRow, sal_uInt16 nColId ) in GetCellData() argument
1287 switch( nColId ) in GetCellData()
1342 String OTableEditorCtrl::GetCellText( long nRow, sal_uInt16 nColId ) const in GetCellText()
1346 const_cast< OTableEditorCtrl* >( this )->GetCellData( nRow, nColId ) >>= sCellText; in GetCellText()
1351 sal_uInt32 OTableEditorCtrl::GetTotalCellWidth(long nRow, sal_uInt16 nColId) in GetTotalCellWidth() argument
1354 return GetTextWidth(GetCellText(nRow, nColId)) + 2 * GetTextWidth('0'); in GetTotalCellWidth()
1666 sal_uInt16 nColId = GetColumnAtXPosPixel(aMenuPos.X()); in Command() local
1669 if ( HANDLE_ID != nColId ) in Command()
1671 if ( nRow < 0 && nColId != BROWSER_INVALIDID ) in Command()
1673 if ( 3 != nColId ) in Command()
1675 if ( !IsColumnSelected( nColId ) ) in Command()
1676 SelectColumnId( nColId ); in Command()
1684 adjustBrowseBoxColumnWidth( this, nColId ); in Command()