Lines Matching refs:pTableObj

292 …::sdr::table::SdrTableObj* pTableObj = dynamic_cast< ::sdr::table::SdrTableObj* >( mxTableObj.get(…  in onMouseButtonDown()
294 if( !pWindow || !pTableObj || eHit == SDRTABLEHIT_NONE) in onMouseButtonDown()
332 SdrTableObj* pTableObj = dynamic_cast< SdrTableObj* >( mxTableObj.get() ); in onMouseMove() local
334 …if( mbLeftButtonDown && pTableObj && pTableObj->CheckTableHit( pWindow->PixelToLogic(rMEvt.GetPosP… in onMouseMove()
363 SdrTableObj* pTableObj = dynamic_cast< SdrTableObj* >( mxTableObj.get() ); in onSelectionHasChanged() local
364 if( pTableObj && pTableObj->IsTextEditActive() ) in onSelectionHasChanged()
366 pTableObj->getActiveCellPos( maCursorFirstPos ); in onSelectionHasChanged()
492 …::sdr::table::SdrTableObj* pTableObj = dynamic_cast< ::sdr::table::SdrTableObj* >( mxTableObj.get(… in onInsert()
493 if( !pTableObj ) in onInsert()
528 if( pTableObj->IsTextEditActive() ) in onInsert()
546 mpModel->AddUndo( mpModel->GetSdrUndoFactory().CreateUndoGeoObject(*pTableObj) ); in onInsert()
579 mpModel->AddUndo( mpModel->GetSdrUndoFactory().CreateUndoGeoObject(*pTableObj) ); in onInsert()
620 …::sdr::table::SdrTableObj* pTableObj = dynamic_cast< ::sdr::table::SdrTableObj* >( mxTableObj.get(… in onDelete()
621 if( !pTableObj ) in onDelete()
629 if( pTableObj->IsTextEditActive() ) in onDelete()
713 …::sdr::table::SdrTableObj* pTableObj = dynamic_cast< ::sdr::table::SdrTableObj* >( mxTableObj.get(… in onFormatTable()
714 if( !pTableObj ) in onFormatTable()
719 if( !pArgs && pTableObj->GetModel() ) in onFormatTable()
721 SfxItemSet aNewAttr( pTableObj->GetModel()->GetItemPool() ); in onFormatTable()
733 …pFact ? pFact->CreateSvxFormatCellsDialog( NULL, &aNewAttr, pTableObj->GetModel(), pTableObj) : 0 … in onFormatTable()
840 SdrTableObj* pTableObj = dynamic_cast< ::sdr::table::SdrTableObj* >( mxTableObj.get() ); in SetTableStyle() local
841 SdrModel* pModel = pTableObj ? pTableObj->GetModel() : 0; in SetTableStyle()
843 …if( !pTableObj || !pModel || !pArgs || (SFX_ITEM_SET != pArgs->GetItemState(SID_TABLE_STYLE, sal_F… in SetTableStyle()
864 pModel->AddUndo( new TableStyleUndo( *pTableObj ) ); in SetTableStyle()
867 pTableObj->setTableStyle( xNewTableStyle ); in SetTableStyle()
920 SdrTableObj* pTableObj = dynamic_cast< ::sdr::table::SdrTableObj* >( mxTableObj.get() ); in SetTableStyleSettings() local
921 SdrModel* pModel = pTableObj ? pTableObj->GetModel() : 0; in SetTableStyleSettings()
923 if( !pTableObj || !pModel ) in SetTableStyleSettings()
926 TableStyleSettings aSettings( pTableObj->getTableStyleSettings() ); in SetTableStyleSettings()
948 if( aSettings == pTableObj->getTableStyleSettings() ) in SetTableStyleSettings()
956 pModel->AddUndo( new TableStyleUndo( *pTableObj ) ); in SetTableStyleSettings()
959 pTableObj->setTableStyleSettings( aSettings ); in SetTableStyleSettings()
967 SdrTableObj* pTableObj = dynamic_cast< ::sdr::table::SdrTableObj* >( mxTableObj.get() ); in SetVertical() local
968 if( mxTable.is() && pTableObj ) in SetVertical()
1010 SdrTableObj* pTableObj = dynamic_cast< ::sdr::table::SdrTableObj* >( mxTableObj.get() ); in MergeMarkedCells() local
1011 if( pTableObj ) in MergeMarkedCells()
1013 if( pTableObj->IsTextEditActive() ) in MergeMarkedCells()
1044 SdrTableObj* pTableObj = dynamic_cast< SdrTableObj* >( mxTableObj.get() ); in SplitMarkedCells() local
1045 if( pTableObj ) in SplitMarkedCells()
1047 if( pTableObj->IsTextEditActive() ) in SplitMarkedCells()
1056 mpModel->AddUndo( mpModel->GetSdrUndoFactory().CreateUndoGeoObject(*pTableObj) ); in SplitMarkedCells()
1081 SdrTableObj* pTableObj = dynamic_cast< SdrTableObj* >( mxTableObj.get() ); in DistributeColumns() local
1082 if( pTableObj ) in DistributeColumns()
1088 mpModel->AddUndo( mpModel->GetSdrUndoFactory().CreateUndoGeoObject(*pTableObj) ); in DistributeColumns()
1093 pTableObj->DistributeColumns( aStart.mnCol, aEnd.mnCol ); in DistributeColumns()
1102 SdrTableObj* pTableObj = dynamic_cast< SdrTableObj* >( mxTableObj.get() ); in DistributeRows() local
1103 if( pTableObj ) in DistributeRows()
1109 mpModel->AddUndo( mpModel->GetSdrUndoFactory().CreateUndoGeoObject(*pTableObj) ); in DistributeRows()
1114 pTableObj->DistributeRows( aStart.mnRow, aEnd.mnRow ); in DistributeRows()
1234 …::sdr::table::SdrTableObj* pTableObj = dynamic_cast< ::sdr::table::SdrTableObj* >( mxTableObj.get(… in getKeyboardAction()
1235 if( !pTableObj ) in getKeyboardAction()
1261 setSelectionStart( pTableObj->getFirstCell() ); in getKeyboardAction()
1284 setSelectionStart( pTableObj->getFirstCell() ); in getKeyboardAction()
1414 …::sdr::table::SdrTableObj* pTableObj = dynamic_cast< ::sdr::table::SdrTableObj* >( mxTableObj.get(… in executeAction()
1415 if( !pTableObj ) in executeAction()
1422 gotoCell( pTableObj->getFirstCell(), bSelect, pWindow, nAction ); in executeAction()
1428 gotoCell( pTableObj->getLeftCell( getSelectionEnd(), !bSelect ), bSelect, pWindow, nAction ); in executeAction()
1434 gotoCell( pTableObj->getRightCell( getSelectionEnd(), !bSelect ), bSelect, pWindow, nAction); in executeAction()
1440 gotoCell( pTableObj->getLastCell(), bSelect, pWindow, nAction ); in executeAction()
1446 CellPos aPos( pTableObj->getFirstCell().mnCol, getSelectionEnd().mnRow ); in executeAction()
1453 CellPos aPos( pTableObj->getLastCell().mnCol, getSelectionEnd().mnRow ); in executeAction()
1460 CellPos aPos( getSelectionEnd().mnCol, pTableObj->getFirstCell().mnRow ); in executeAction()
1467 gotoCell( pTableObj->getUpCell(getSelectionEnd(), !bSelect), bSelect, pWindow, nAction ); in executeAction()
1473 gotoCell( pTableObj->getDownCell(getSelectionEnd(), !bSelect), bSelect, pWindow, nAction ); in executeAction()
1479 CellPos aPos( getSelectionEnd().mnCol, pTableObj->getLastCell().mnRow ); in executeAction()
1503 gotoCell( pTableObj->getPreviousCell( getSelectionEnd(), true ), false, pWindow, nAction ); in executeAction()
1507 CellPos aNextCell( pTableObj->getNextCell( aSelectionEnd, true ) ); in executeAction()
1511 aNextCell = pTableObj->getNextCell( aSelectionEnd, true ); in executeAction()
1669 …::sdr::table::SdrTableObj* pTableObj = dynamic_cast< ::sdr::table::SdrTableObj* >( mxTableObj.get(… in EditCell()
1670 if( pTableObj && pTableObj->GetPage() == pPV->GetPage() ) in EditCell()
1674 if(!pTableObj->GetOutlinerParaObject() && mpView->GetTextEditOutliner()) in EditCell()
1693 …if( pTableObj != mpView->GetTextEditObject() || bEmptyOutliner || !pTableObj->IsTextEditActive( aP… in EditCell()
1695 if( pTableObj->IsTextEditActive() ) in EditCell()
1698 pTableObj->setActiveCell( aPos ); in EditCell()
1702 if( pTableObj->IsVerticalWriting() ) in EditCell()
1705 if(mpView->SdrBeginTextEdit(pTableObj, pPV, pWindow, sal_True, pOutl)) in EditCell()
1740 const WritingMode eMode = pTableObj->GetWritingMode(); in EditCell()
1938 …::sdr::table::SdrTableObj* pTableObj = dynamic_cast< ::sdr::table::SdrTableObj* >( mxTableObj.get(… in updateSelectionOverlay()
1939 if( pTableObj ) in updateSelectionOverlay()
1946 pTableObj->getCellBounds( aStart, aRect ); in updateSelectionOverlay()
1952 pTableObj->getCellBounds( aEnd, aRect ); in updateSelectionOverlay()
2302 SdrObject* pTableObj = mxTableObj.get(); in UpdateTableShape() local
2303 if( pTableObj ) in UpdateTableShape()
2305 pTableObj->ActionChanged(); in UpdateTableShape()
2306 pTableObj->BroadcastObjectChange(); in UpdateTableShape()
2521 SdrTextObj* pTableObj = dynamic_cast<SdrTextObj*>( mxTableObj.get() ); in ApplyFormatPaintBrush() local
2522 if( !pTableObj ) in ApplyFormatPaintBrush()
2571 …mpView->ApplyFormatPaintBrushToText( rFormatSet, *pTableObj, pText, bNoCharacterFormats, bNoParagr… in ApplyFormatPaintBrush()
2676 SdrTableObj* pTableObj = dynamic_cast< ::sdr::table::SdrTableObj* >( mxTableObj.get() ); in isRowHeader() local
2677 SdrModel* pModel = pTableObj ? pTableObj->GetModel() : 0; in isRowHeader()
2679 if( !pTableObj || !pModel ) in isRowHeader()
2682 TableStyleSettings aSettings( pTableObj->getTableStyleSettings() ); in isRowHeader()
2689 SdrTableObj* pTableObj = dynamic_cast< ::sdr::table::SdrTableObj* >( mxTableObj.get() ); in isColumnHeader() local
2690 SdrModel* pModel = pTableObj ? pTableObj->GetModel() : 0; in isColumnHeader()
2692 if( !pTableObj || !pModel ) in isColumnHeader()
2695 TableStyleSettings aSettings( pTableObj->getTableStyleSettings() ); in isColumnHeader()