Lines Matching refs:mpImpl

759 	mpImpl = new SdrTableObjImpl;  in init()
760 mpImpl->acquire(); in init()
761 mpImpl->init( this, nColumns, nRows ); in init()
768 mpImpl->dispose(); in ~SdrTableObj()
769 mpImpl->release(); in ~SdrTableObj()
778 return Reference< XTable >( mpImpl->mxTable.get() ); in getTable()
785 …eturn (rPos.mnCol >= 0) && (rPos.mnCol < mpImpl->getColumnCount()) && (rPos.mnRow >= 0) && (rPos.m… in isValid()
800 if( mpImpl->mxTable.is() ) in getLastCell()
802 aPos.mnCol = mpImpl->getColumnCount()-1; in getLastCell()
803 aPos.mnRow = mpImpl->getRowCount()-1; in getLastCell()
875 if( mpImpl ) in getPreviousCell()
877 CellRef xCell( mpImpl->getCell( aPos ) ); in getPreviousCell()
881 findMergeOrigin( mpImpl->mxTable.get(), aPos.mnCol, aPos.mnRow, aPos.mnCol, nTemp ); in getPreviousCell()
891 aPos.mnCol = mpImpl->mxTable->getColumnCount()-1; in getPreviousCell()
903 if( mpImpl ) in getNextCell()
905 CellRef xCell( mpImpl->getCell( aPos ) ); in getNextCell()
910 findMergeOrigin( mpImpl->mxTable, aPos.mnCol, aPos.mnRow, aPos.mnCol, aPos.mnRow ); in getNextCell()
912 xCell = mpImpl->getCell(aPos); in getNextCell()
925 if( aPos.mnCol < mpImpl->mxTable->getColumnCount() ) in getNextCell()
928 if( bEdgeTravel && ((aPos.mnRow + 1) < mpImpl->getRowCount()) ) in getNextCell()
946 if( mpImpl ) in getPreviousRow()
948 CellRef xCell( mpImpl->getCell( aPos ) ); in getPreviousRow()
954 findMergeOrigin( mpImpl->mxTable, aPos.mnCol, aPos.mnRow, nTemp, aPos.mnRow ); in getPreviousRow()
964 aPos.mnRow = mpImpl->mxTable->getRowCount()-1; in getPreviousRow()
977 if( mpImpl ) in getNextRow()
979 CellRef xCell( mpImpl->getCell( rPos ) ); in getNextRow()
984 findMergeOrigin( mpImpl->mxTable, aPos.mnCol, aPos.mnRow, aPos.mnCol, aPos.mnRow ); in getNextRow()
985 xCell = mpImpl->getCell(aPos); in getNextRow()
992 if( aPos.mnRow < mpImpl->mxTable->getRowCount() ) in getNextRow()
995 if( bEdgeTravel && (aPos.mnCol + 1) < mpImpl->mxTable->getColumnCount() ) in getNextRow()
1000 while( aPos.mnCol < mpImpl->mxTable->getColumnCount() ) in getNextRow()
1002 xCell = mpImpl->getCell( aPos ); in getNextRow()
1019 if( mpImpl ) in getTableStyleSettings()
1021 return mpImpl->maTableStyle; in getTableStyleSettings()
1034 if( mpImpl ) in setTableStyleSettings()
1036 mpImpl->maTableStyle = rStyle; in setTableStyleSettings()
1037 mpImpl->update(); in setTableStyleSettings()
1045 if( !mpImpl || !mpImpl->mxTable.is() ) in CheckTableHit()
1051 const sal_Int32 nColCount = mpImpl->getColumnCount(); in CheckTableHit()
1052 const sal_Int32 nRowCount = mpImpl->getRowCount(); in CheckTableHit()
1078 nX -= mpImpl->mpLayouter->getColumnWidth( rnX ); in CheckTableHit()
1099 nX -= mpImpl->mpLayouter->getColumnWidth( rnX ); in CheckTableHit()
1123 nY -= mpImpl->mpLayouter->getRowHeight(rnY); in CheckTableHit()
1132 if( bVrtHit && mpImpl->mpLayouter->isEdgeVisible( rnX, rnY, false ) ) in CheckTableHit()
1135 if( bHrzHit && mpImpl->mpLayouter->isEdgeVisible( rnX, rnY, true ) ) in CheckTableHit()
1138 CellRef xCell( mpImpl->getCell( CellPos( rnX, rnY ) ) ); in CheckTableHit()
1140 findMergeOrigin( mpImpl->mxTable.get(), rnX, rnY, rnX, rnY ); in CheckTableHit()
1144 nX += mpImpl->mpLayouter->getColumnWidth( rnX ); in CheckTableHit()
1161 if( mpImpl->mxTable.is() ) try in InsertRows()
1163 Reference< XTableRows > xRows( mpImpl->mxTable->getRows(), UNO_QUERY_THROW ); in InsertRows()
1176 if( mpImpl->mxTable.is() ) try in InsertColumns()
1178 Reference< XTableColumns > xColumns( mpImpl->mxTable->getColumns(), UNO_QUERY_THROW ); in InsertColumns()
1191 if( mpImpl->mxTable.is() ) try in DeleteRows()
1193 Reference< XTableRows > xRows( mpImpl->mxTable->getRows(), UNO_QUERY_THROW ); in DeleteRows()
1206 if( mpImpl->mxTable.is() ) try in DeleteColumns()
1208 Reference< XTableColumns > xColumns( mpImpl->mxTable->getColumns(), UNO_QUERY_THROW ); in DeleteColumns()
1221 if( mpImpl && (mpImpl->mxTableStyle != xTableStyle) ) in setTableStyle()
1223 mpImpl->disconnectTableStyle(); in setTableStyle()
1224 mpImpl->mxTableStyle = xTableStyle; in setTableStyle()
1225 mpImpl->connectTableStyle(); in setTableStyle()
1226 mpImpl->update(); in setTableStyle()
1234 if( mpImpl ) in getTableStyle()
1236 return mpImpl->mxTableStyle; in getTableStyle()
1260 if( mpImpl->mxTable.is() ) in getText()
1262 const sal_Int32 nColCount = mpImpl->getColumnCount(); in getText()
1267 CellRef xCell( mpImpl->getCell( aPos ) ); in getText()
1279 if( mpImpl->mxTable.is() ) in getTextCount()
1281 const sal_Int32 nColCount = mpImpl->getColumnCount(); in getTextCount()
1282 const sal_Int32 nRowCount = mpImpl->getRowCount(); in getTextCount()
1297 if( mpImpl && mpImpl->mxTable.is() ) in setActiveText()
1299 const sal_Int32 nColCount = mpImpl->mxTable->getColumnCount(); in setActiveText()
1314 if( mpImpl && mpImpl->mxTable.is() ) in CheckTextHit()
1318 return aPos.mnRow * mpImpl->mxTable->getColumnCount() + aPos.mnCol; in CheckTextHit()
1328 if( mpImpl && (mpImpl->getCell( mpImpl->maEditPos ).get() == &rCell) ) in GetCellTextEditOutliner()
1339 OSL_ENSURE(mpImpl && mpImpl->mpLayouter, "getTableLayouter() error: no mpImpl or mpLayouter (!)"); in getTableLayouter()
1340 return *(mpImpl->mpLayouter); in getTableLayouter()
1375 return pEdtOutl && mpImpl && (rPos == mpImpl->maEditPos); in IsTextEditActive()
1382 if( (pEditStatus->GetStatusWord() & EE_STAT_TEXTHEIGHTCHANGED) && mpImpl && mpImpl->mpLayouter ) in onEditOutlinerStatusEvent()
1387 mpImpl->LayoutTable( aRect, false, false ); in onEditOutlinerStatusEvent()
1446 if( mpImpl ) in SetModel()
1448 mpImpl->SetModel( pOldModel, pNewModel ); in SetModel()
1453 mpImpl->LayoutTable( aRect, false, false ); in SetModel()
1463 if( mpImpl ) in TakeTextRect()
1464 TakeTextRect( mpImpl->maEditPos, rOutliner, rTextRect, bNoEditText, pAnchorRect, bLineWidth ); in TakeTextRect()
1471 if( !mpImpl ) in TakeTextRect()
1474 CellRef xCell( mpImpl->getCell( rPos ) ); in TakeTextRect()
1507 if (pEdtOutl && !bNoEditText && mpImpl->mxActiveCell == xCell ) in TakeTextRect()
1529 if (pEdtOutl && !bNoEditText && pPara && mpImpl->mxActiveCell == xCell ) in TakeTextRect()
1566 if( mpImpl ) in getActiveCell()
1568 if( !mpImpl->mxActiveCell.is() ) in getActiveCell()
1573 return mpImpl->mxActiveCell; in getActiveCell()
1586 return mpImpl ? mpImpl->getRowCount() : 0; in getRowCount()
1593 return mpImpl ? mpImpl->getColumnCount() : 0; in getColumnCount()
1600 if( mpImpl && mpImpl->mxTable.is() ) try in setActiveCell()
1602mpImpl->mxActiveCell.set( dynamic_cast< Cell* >( mpImpl->mxTable->getCellByPosition( rPos.mnCol, r… in setActiveCell()
1603 if( mpImpl->mxActiveCell.is() && mpImpl->mxActiveCell->isMerged() ) in setActiveCell()
1606 findMergeOrigin( mpImpl->mxTable.get(), rPos.mnCol, rPos.mnRow, aOrigin.mnCol, aOrigin.mnRow ); in setActiveCell()
1607mpImpl->mxActiveCell.set( dynamic_cast< Cell* >( mpImpl->mxTable->getCellByPosition( aOrigin.mnCol… in setActiveCell()
1608 mpImpl->maEditPos = aOrigin; in setActiveCell()
1612 mpImpl->maEditPos = rPos; in setActiveCell()
1625 rPos = mpImpl->maEditPos; in getActiveCellPos()
1632 if( mpImpl ) in getCellBounds()
1634 CellRef xCell( mpImpl->getCell( rPos ) ); in getCellBounds()
1644 if( mpImpl ) in TakeTextAnchorRect()
1645 TakeTextAnchorRect( mpImpl->maEditPos, rAnchorRect ); in TakeTextAnchorRect()
1654 if( mpImpl ) in TakeTextAnchorRect()
1656 CellRef xCell( mpImpl->getCell( rPos ) ); in TakeTextAnchorRect()
1669 if( mpImpl ) in TakeTextEditArea()
1670 TakeTextEditArea( mpImpl->maEditPos, pPaperMin, pPaperMax, pViewInit, pViewMin ); in TakeTextEditArea()
1692 CellRef xCell( mpImpl->getCell( rPos ) ); in TakeTextEditArea()
1822 if( pEdtOutl && mpImpl && (mpImpl->maEditPos == rPos) ) in GetCellTextEditOutliner()
1959 TableModelNotifyGuard aGuard( mpImpl ? mpImpl->mxTable.get() : 0 ); in operator =()
1973 if( pTableObj->mpImpl ) in operator =()
1974 *mpImpl = *pTableObj->mpImpl; in operator =()
2195 if( mpImpl ) in NbcMove()
2196 mpImpl->UpdateCells( aRect ); in NbcMove()
2235 if((pModel == NULL) || rR.IsEmpty() || !mpImpl || !mpImpl->mxTable.is() ) in AdjustTextFrameWidthAndHeight()
2239 mpImpl->LayoutTable( aRectangle, !bWidth, !bHeight ); in AdjustTextFrameWidthAndHeight()
2296 if( mpImpl && mpImpl->mpLayouter ) in GetWritingMode()
2297 eMode = mpImpl->mpLayouter->GetWritingMode(); in GetWritingMode()
2339 const sal_Int32 nRowCount = mpImpl->getRowCount(); in GetHdlCount()
2340 const sal_Int32 nColCount = mpImpl->getColumnCount(); in GetHdlCount()
2352 const sal_Int32 nRowCount = mpImpl->getRowCount(); in AddToHdlList()
2353 const sal_Int32 nColCount = mpImpl->getColumnCount(); in AddToHdlList()
2361 const sal_Int32 nEdge = mpImpl->mpLayouter->getHorizontalEdge( nRow, &nEdgeMin, &nEdgeMax ); in AddToHdlList()
2380 const sal_Int32 nEdge = mpImpl->mpLayouter->getVerticalEdge( nCol, &nEdgeMin, &nEdgeMax ); in AddToHdlList()
2394 if( mpImpl && mpImpl->mpLayouter ) in AddToHdlList()
2396 TableLayouter& rLayouter = *mpImpl->mpLayouter; in AddToHdlList()
2559mpImpl->DragEdge( pEdgeHdl->IsHorizontalEdge(), pEdgeHdl->GetPointNum(), pEdgeHdl->GetValidDragOff… in applySpecialDrag()
2699 if( mpImpl ) in RestGeoData()
2700 mpImpl->LayoutTable( aRect, false, false ); in RestGeoData()
2745 …xNewSet->setPropertyValue( sHeight, Any( mpImpl->mpLayouter->getRowHeight( rStart.mnRow + nRow ) )… in CloneRange()
2754 …xNewSet->setPropertyValue( sWidth, Any( mpImpl->mpLayouter->getColumnWidth( rStart.mnCol + nCol ) … in CloneRange()
2767 if( mpImpl && mpImpl->mpLayouter ) in DistributeColumns()
2769 TableModelNotifyGuard aGuard( mpImpl->mxTable.get() ); in DistributeColumns()
2770 mpImpl->mpLayouter->DistributeColumns( aRect, nFirstColumn, nLastColumn ); in DistributeColumns()
2778 if( mpImpl && mpImpl->mpLayouter ) in DistributeRows()
2780 TableModelNotifyGuard aGuard( mpImpl->mxTable.get() ); in DistributeRows()
2781 mpImpl->mpLayouter->DistributeRows( aRect, nFirstRow, nLastRow ); in DistributeRows()
2789 if( mpImpl ) in SetChanged()
2791 if( mpImpl->UpdateWritingMode() ) in SetChanged()
2792 mpImpl->LayoutTable( aRect, false, false ); in SetChanged()
2802 if( mpImpl && mpImpl->mxTable.is() ) in uno_lock()
2803 mpImpl->mxTable->lockBroadcasts(); in uno_lock()
2810 if( mpImpl && mpImpl->mxTable.is() ) in uno_unlock()
2811 mpImpl->mxTable->unlockBroadcasts(); in uno_unlock()