Lines Matching refs:pTblNd

262 sal_Bool SwNodes::InsBoxen( SwTableNode* pTblNd,  in InsBoxen()  argument
281 if( 0 == (pPrvBox = pLine->FindPreviousBox( pTblNd->GetTable(), in InsBoxen()
283 pPrvBox = pLine->FindPreviousBox( pTblNd->GetTable() ); in InsBoxen()
285 else if( 0 == ( pNxtBox = pLine->FindNextBox( pTblNd->GetTable(), in InsBoxen()
287 pNxtBox = pLine->FindNextBox( pTblNd->GetTable() ); in InsBoxen()
289 else if( 0 == ( pNxtBox = pLine->FindNextBox( pTblNd->GetTable() ))) in InsBoxen()
290 pPrvBox = pLine->FindPreviousBox( pTblNd->GetTable() ); in InsBoxen()
295 if( pTblNd->GetTable().GetTabLines().Count() && !nInsPos ) in InsBoxen()
301 if( pTblNd->GetTable().GetTabLines()[ 0 ] == pTblLn ) in InsBoxen()
312 nIdxPos = pTblNd->EndOfSectionIndex(); in InsBoxen()
324 pSttNd->pStartOfSection = pTblNd; in InsBoxen()
414 SwTableNode *pTblNd = GetNodes().InsertTable( in InsertTable() local
470 SwCntntNode* pNextNd = GetNodes()[ pTblNd->EndOfSectionIndex()+1 ] in InsertTable()
491 SwTable * pNdTbl = &pTblNd->GetTable(); in InsertTable()
515 SwNodeIndex aNdIdx( *pTblNd, 1 ); // auf den ersten Box-StartNode in InsertTable()
578 pTblNd->MakeFrms( &aNdIdx ); in InsertTable()
582 SwPaM aPam( *pTblNd->EndOfSectionNode(), *pTblNd, 1 ); in InsertTable()
609 SwTableNode * pTblNd = new SwTableNode( rNdIdx ); in InsertTable() local
610 SwEndNode* pEndNd = new SwEndNode( rNdIdx, *pTblNd ); in InsertTable()
623 pSttNd->pStartOfSection = pTblNd; in InsertTable()
654 return pTblNd; in InsertTable()
762 SwTableNode* pTblNd = GetNodes().TextToTable( in TextToTable() local
766 SwTable * pNdTbl = &pTblNd->GetTable(); in TextToTable()
898 sal_uLong nIdx = pTblNd->GetIndex(); in TextToTable()
904 rTmp.GetPoint()->nNode = *pTblNd; in TextToTable()
929 SwTableNode * pTblNd = new SwTableNode( rRange.aStart ); in TextToTable() local
930 new SwEndNode( rRange.aEnd, *pTblNd ); in TextToTable()
934 SwTable * pTable = &pTblNd->GetTable(); in TextToTable()
939 SwNodeIndex aSttIdx( *pTblNd, 1 ); in TextToTable()
1007 pTxtNd->pStartOfSection = pTblNd; in TextToTable()
1074 InsBoxen( pTblNd, pCurrLine, pBoxFmt, pTxtColl, 0, in TextToTable()
1114 return pTblNd; in TextToTable()
1213 SwTableNode* pTblNd = GetNodes().TextToTable( in TextToTable() local
1217 SwTable * pNdTbl = &pTblNd->GetTable(); in TextToTable()
1231 sal_uLong nIdx = pTblNd->GetIndex(); in TextToTable()
1313 SwTableNode * pTblNd = new SwTableNode( rTableNodes.begin()->begin()->aStart ); in TextToTable() local
1320 new SwEndNode( aInsertIndex, *pTblNd ); in TextToTable()
1333 SwTable * pTable = &pTblNd->GetTable(); in TextToTable()
1471 return pTblNd; in TextToTable()
1478 sal_Bool SwDoc::TableToText( const SwTableNode* pTblNd, sal_Unicode cCh ) in TableToText() argument
1480 if( !pTblNd ) in TableToText()
1492 lcl_DelRedlines aDelRedl( *pTblNd, sal_False ); in TableToText()
1495 SwNodeRange aRg( *pTblNd, 0, *pTblNd->EndOfSectionNode() ); in TableToText()
1502 pUndo = new SwUndoTblToTxt( pTblNd->GetTable(), cCh ); in TableToText()
1505 SwTableFmlUpdate aMsgHnt( &pTblNd->GetTable() ); in TableToText()
1625 SwTableNode* pTblNd; in TableToText() local
1627 0 == ( pTblNd = rRange.aStart.GetNode().GetTableNode()) || in TableToText()
1628 &rRange.aEnd.GetNode() != pTblNd->EndOfSectionNode() ) in TableToText()
1638 pNode2Layout = new SwNode2Layout( *pTblNd ); in TableToText()
1641 pTblNd->DelFrms(); in TableToText()
1645 pTblNd->pTable->GetTabLines().ForEach( &lcl_DelLine, &aDelPara ); in TableToText()
1656 const SfxItemSet& rTblSet = pTblNd->pTable->GetFrmFmt()->GetAttrSet(); in TableToText()
1665 SwNodeIndex aIdx( *pTblNd ); in TableToText()
1756 SwTableNode* pTblNd = (SwTableNode*)rBoxes[0]->GetSttNd()->FindTableNode(); in InsertCol() local
1757 if( !pTblNd ) in InsertCol()
1760 SwTable& rTbl = pTblNd->GetTable(); in InsertCol()
1765 lcl_DelRedlines aDelRedl( *pTblNd, sal_True ); in InsertCol()
1772 pUndo = new SwUndoTblNdsChg( UNDO_TABLE_INSCOL, rBoxes, *pTblNd, in InsertCol()
1798 pUndo->SaveNewBoxes( *pTblNd, aTmpLst ); in InsertCol()
1823 SwTableNode* pTblNd = (SwTableNode*)rBoxes[0]->GetSttNd()->FindTableNode(); in InsertRow() local
1824 if( !pTblNd ) in InsertRow()
1827 SwTable& rTbl = pTblNd->GetTable(); in InsertRow()
1832 lcl_DelRedlines aDelRedl( *pTblNd, sal_True ); in InsertRow()
1839 pUndo = new SwUndoTblNdsChg( UNDO_TABLE_INSROW,rBoxes, *pTblNd, in InsertRow()
1865 pUndo->SaveNewBoxes( *pTblNd, aTmpLst ); in InsertRow()
1891 SwTableNode* pTblNd = rCursor.GetNode()->FindTableNode(); in DeleteRow() local
1893 if( pTblNd->GetTable().ISA( SwDDETable )) in DeleteRow()
1900 pTblNd->GetTable().GetTabLines().ForEach( &_FndLineCopyCol, &aPara ); in DeleteRow()
1933 SwTableBox* pNextBox = pDelLine->FindNextBox( pTblNd->GetTable(), in DeleteRow()
1937 pNextBox = pNextBox->FindNextBox( pTblNd->GetTable(), pNextBox ); in DeleteRow()
1945 pNextBox = pDelLine->FindPreviousBox( pTblNd->GetTable(), in DeleteRow()
1949 pNextBox = pNextBox->FindPreviousBox( pTblNd->GetTable(), pNextBox ); in DeleteRow()
1956 nIdx = pTblNd->EndOfSectionIndex() + 1; in DeleteRow()
2016 SwTableNode* pTblNd = (SwTableNode*)rBoxes[0]->GetSttNd()->FindTableNode(); in DeleteRowCol() local
2017 if( !pTblNd ) in DeleteRowCol()
2020 if( pTblNd->GetTable().ISA( SwDDETable )) in DeleteRowCol()
2026 SwTable &rTable = pTblNd->GetTable(); in DeleteRowCol()
2038 lcl_DelRedlines aDelRedl( *pTblNd, sal_True ); in DeleteRowCol()
2042 const sal_uLong nTmpIdx1 = pTblNd->GetIndex(); in DeleteRowCol()
2045 if( pTblNd->GetTable().GetTabSortBoxes().Count() == aSelBoxes.Count() && in DeleteRowCol()
2047 nTmpIdx2 == pTblNd->EndOfSectionIndex() ) in DeleteRowCol()
2051 SwNodeIndex aIdx( *pTblNd, -1 ); in DeleteRowCol()
2055 const sal_uLong nTblEnd = pTblNd->EndOfSectionIndex() + 1; in DeleteRowCol()
2082 SwPaM aPaM( *pTblNd->EndOfSectionNode(), aIdx.GetNode() ); in DeleteRowCol()
2086 const SwNodeIndex aTmpIdx( *pTblNd->EndOfSectionNode(), 1 ); in DeleteRowCol()
2092 SwPaM aSavePaM( SwNodeIndex( *pTblNd->EndOfSectionNode() ) ); in DeleteRowCol()
2095 *aSavePaM.GetMark() = SwPosition( *pTblNd ); in DeleteRowCol()
2099 SwPaM const tmpPaM(*pTblNd, *pTblNd->EndOfSectionNode()); in DeleteRowCol()
2105 sal_uLong nNextNd = pTblNd->EndOfSectionIndex()+1; in DeleteRowCol()
2115 SwFrmFmt* pTableFmt = pTblNd->GetTable().GetFrmFmt(); in DeleteRowCol()
2136 pUndo->SetTableName(pTblNd->GetTable().GetFrmFmt()->GetName()); in DeleteRowCol()
2143 const SwNodeIndex aTmpIdx( *pTblNd->EndOfSectionNode(), 1 ); in DeleteRowCol()
2149 SwPaM aSavePaM( SwNodeIndex( *pTblNd->EndOfSectionNode() ) ); in DeleteRowCol()
2152 *aSavePaM.GetMark() = SwPosition( *pTblNd ); in DeleteRowCol()
2156 SwPaM const tmpPaM(*pTblNd, *pTblNd->EndOfSectionNode()); in DeleteRowCol()
2161 SwCntntNode* pNextNd = GetNodes()[ pTblNd->EndOfSectionIndex()+1 ]->GetCntntNode(); in DeleteRowCol()
2164 SwFrmFmt* pTableFmt = pTblNd->GetTable().GetFrmFmt(); in DeleteRowCol()
2175 pTblNd->DelFrms(); in DeleteRowCol()
2176 DeleteSection( pTblNd ); in DeleteRowCol()
2186 pUndo = new SwUndoTblNdsChg( UNDO_TABLE_DELBOX, aSelBoxes, *pTblNd, in DeleteRowCol()
2194 SwTableFmlUpdate aMsgHnt( &pTblNd->GetTable() ); in DeleteRowCol()
2235 SwTableNode* pTblNd = (SwTableNode*)rBoxes[0]->GetSttNd()->FindTableNode(); in SplitTbl() local
2236 if( !pTblNd ) in SplitTbl()
2239 SwTable& rTbl = pTblNd->GetTable(); in SplitTbl()
2244 lcl_DelRedlines aDelRedl( *pTblNd, sal_True ); in SplitTbl()
2252 pUndo = new SwUndoTblNdsChg( UNDO_TABLE_SPLIT, rBoxes, *pTblNd, 0, 0, in SplitTbl()
2292 pUndo->SaveNewBoxes( *pTblNd, aTmpLst ); in SplitTbl()
2294 pUndo->SaveNewBoxes( *pTblNd, aTmpLst, rBoxes, aNdsCnts ); in SplitTbl()
2308 SwTableNode* pTblNd = rPam.GetNode()->FindTableNode(); in MergeTbl() local
2309 if( !pTblNd ) in MergeTbl()
2311 SwTable& rTable = pTblNd->GetTable(); in MergeTbl()
2329 DeleteRedline( *pTblNd, true, USHRT_MAX ); in MergeTbl()
2388 SwTableFmlUpdate aMsgHnt( &pTblNd->GetTable() ); in MergeTbl()
2392 if( pTblNd->GetTable().Merge( this, aBoxes, aMerged, pMergeBox, pUndo )) in MergeTbl()
3572 SwTableNode* pTblNd = rPos.nNode.GetNode().FindTableNode(), *pDelTblNd; in MergeTable() local
3573 if( !pTblNd ) in MergeTable()
3578 pDelTblNd = rNds[ pTblNd->GetIndex() - 1 ]->FindTableNode(); in MergeTable()
3580 pDelTblNd = rNds[ pTblNd->EndOfSectionIndex() + 1 ]->GetTableNode(); in MergeTable()
3584 if( pTblNd->GetTable().ISA( SwDDETable ) || in MergeTable()
3589 pTblNd->GetTable().SetHTMLTableLayout( 0 ); in MergeTable()
3597 pUndo = new SwUndoMergeTbl( *pTblNd, *pDelTblNd, bWithPrev, nMode ); in MergeTable()
3603 SwTableFmlUpdate aMsgHnt( &pTblNd->GetTable() ); in MergeTable()
3610 SwNodeIndex aIdx( bWithPrev ? *pTblNd : *pDelTblNd ); in MergeTable()
3633 SwTableNode* pTblNd = (*this)[ rPos.GetIndex() - 1]->FindTableNode(); in MergeTable() local
3634 ASSERT( pTblNd, "wo ist der TableNode geblieben?" ); in MergeTable()
3636 if( !pDelTblNd || !pTblNd ) in MergeTable()
3642 SwTable& rTbl = pTblNd->GetTable(); in MergeTable()
3699 pTblNd->pEndOfSection = pTblEndNd; in MergeTable()
3706 pBoxNd->pStartOfSection = pTblNd; in MergeTable()
3709 pBoxNd->pStartOfSection = pTblNd; in MergeTable()
3829 SwTableNode* pTblNd = (SwTableNode*)rBoxes[0]->GetSttNd()->FindTableNode(); in SetTableAutoFmt() local
3830 if( !pTblNd ) in SetTableAutoFmt()
3837 pTblNd->GetTable().GetTabLines().ForEach( &_FndLineCopyCol, &aPara ); in SetTableAutoFmt()
3842 pTblNd->GetTable().SetHTMLTableLayout( 0 ); in SetTableAutoFmt()
3858 pUndo = new SwUndoTblAutoFmt( *pTblNd, rNew ); in SetTableAutoFmt()
3907 SwTableNode* pTblNd = (SwTableNode*)rBoxes[0]->GetSttNd()->FindTableNode(); in GetTableAutoFmt() local
3908 if( !pTblNd ) in GetTableAutoFmt()
3915 pTblNd->GetTable().GetTabLines().ForEach( &_FndLineCopyCol, &aPara ); in GetTableAutoFmt()
4037 SwTableNode* pTblNd = (SwTableNode*)rAktBox.GetSttNd()->FindTableNode(); in SetColRowWidthHeight() local
4040 if( nsTblChgWidthHeightType::WH_FLAG_INSDEL & eType && pTblNd->GetTable().ISA( SwDDETable )) in SetColRowWidthHeight()
4043 SwTableFmlUpdate aMsgHnt( &pTblNd->GetTable() ); in SetColRowWidthHeight()
4056 bRet = pTblNd->GetTable().SetColWidth( rAktBox, in SetColRowWidthHeight()
4065 bRet = pTblNd->GetTable().SetRowHeight( rAktBox, in SetColRowWidthHeight()
4220 const SwTableNode* pTblNd = rBox.GetSttNd()->FindTableNode(); in ChkBoxNumFmt() local
4223 SwTableFmlUpdate aTblUpdate( &pTblNd->GetTable() ); in ChkBoxNumFmt()
4229 pTblNd->GetTable().UpdateCharts(); in ChkBoxNumFmt()
4558 const SwTableNode* pTblNd; in UnProtectTbls() local
4561 0 != (pTblNd = pTbl->GetTableNode() ) && in UnProtectTbls()
4562 pTblNd->GetNodes().IsDocNodes() ) in UnProtectTbls()
4564 sal_uLong nTblIdx = pTblNd->GetIndex(); in UnProtectTbls()
4603 SwTableNode* pTblNd = pPos->nNode.GetNode().FindTableNode(); in HasTblAnyProtection() local
4604 if( pTblNd ) in HasTblAnyProtection()
4605 pTbl = &pTblNd->GetTable(); in HasTblAnyProtection()