Lines Matching refs:nColId

652 sal_Bool OTableEditorCtrl::SaveData(long nRow, sal_uInt16 nColId)  in SaveData()  argument
660 switch( nColId) in SaveData()
733 if ( FIELD_PROPERTY_AUTOINC == nColId && pActFieldDescr->IsAutoIncrement() ) in SaveData()
752 sal_uInt16 nColId = GetCurColumnId(); in SaveModified() local
754 switch( nColId ) in SaveModified()
830 void OTableEditorCtrl::CellModified( long nRow, sal_uInt16 nColId ) in CellModified() argument
842 switch ( nColId ) in CellModified()
868 …GetUndoManager().AddUndoAction( new OTableEditorTypeSelUndoAct(this, nRow, nColId+1, TOTypeInfoSP(… in CellModified()
871 if( nColId != FIELD_TYPE ) in CellModified()
872 GetUndoManager().AddUndoAction( new OTableDesignCellUndoAct(this, nRow, nColId) ); in CellModified()
875 …GetUndoManager().AddUndoAction(new OTableEditorTypeSelUndoAct(this, GetCurRow(), nColId, GetFieldD… in CellModified()
879 SaveData(nRow,nColId); in CellModified()
1116 String OTableEditorCtrl::GetControlText( long nRow, sal_uInt16 nColId ) in GetControlText() argument
1121 if( nColId < FIELD_FIRST_VIRTUAL_COLUMN ) in GetControlText()
1124 GoToColumnId( nColId ); in GetControlText()
1129 return GetCellText(nRow,nColId); in GetControlText()
1135 return pDescrWin->GetControlText( nColId ); in GetControlText()
1139 void OTableEditorCtrl::SetControlText( long nRow, sal_uInt16 nColId, const String& rText ) in SetControlText() argument
1144 if( nColId < FIELD_FIRST_VIRTUAL_COLUMN ) in SetControlText()
1147 GoToColumnId( nColId ); in SetControlText()
1152 RowModified(nRow,nColId); in SetControlText()
1159 pDescrWin->SetControlText( nColId, rText ); in SetControlText()
1163 void OTableEditorCtrl::SetCellData( long nRow, sal_uInt16 nColId, const TOTypeInfoSP& _pTypeInfo ) in SetCellData() argument
1171 if( !pFieldDescr && nColId != FIELD_TYPE) in SetCellData()
1176 switch( nColId ) in SetCellData()
1184 SetControlText(nRow,nColId,_pTypeInfo.get() ? _pTypeInfo->aUIName : ::rtl::OUString()); in SetCellData()
1187 void OTableEditorCtrl::SetCellData( long nRow, sal_uInt16 nColId, const ::com::sun::star::uno::Any&… in SetCellData() argument
1195 if( !pFieldDescr && nColId != FIELD_TYPE) in SetCellData()
1201 switch( nColId ) in SetCellData()
1268 SetControlText(nRow,nColId,sValue); in SetCellData()
1272 Any OTableEditorCtrl::GetCellData( long nRow, sal_uInt16 nColId ) in GetCellData() argument
1290 switch( nColId ) in GetCellData()
1345 String OTableEditorCtrl::GetCellText( long nRow, sal_uInt16 nColId ) const in GetCellText()
1349 const_cast< OTableEditorCtrl* >( this )->GetCellData( nRow, nColId ) >>= sCellText; in GetCellText()
1354 sal_uInt32 OTableEditorCtrl::GetTotalCellWidth(long nRow, sal_uInt16 nColId) in GetTotalCellWidth() argument
1357 return GetTextWidth(GetCellText(nRow, nColId)) + 2 * GetTextWidth('0'); in GetTotalCellWidth()
1669 sal_uInt16 nColId = GetColumnAtXPosPixel(aMenuPos.X()); in Command() local
1672 if ( HANDLE_ID != nColId ) in Command()
1674 if ( nRow < 0 && nColId != BROWSER_INVALIDID ) in Command()
1676 if ( 3 != nColId ) in Command()
1678 if ( !IsColumnSelected( nColId ) ) in Command()
1679 SelectColumnId( nColId ); in Command()
1687 adjustBrowseBoxColumnWidth( this, nColId ); in Command()