Lines Matching refs:rBox

110     _UndoTblCpyTbl_Entry( const SwTableBox& rBox );
184 _SaveBox( _SaveBox* pPrev, const SwTableBox& rBox, _SaveTable& rSTbl );
187 void RestoreAttr( SwTableBox& rBox, _SaveTable& rSTbl );
850 void SwUndoTxtToTbl::AddFillBox( const SwTableBox& rBox ) in AddFillBox() argument
854 pDelBoxes->Insert( rBox.GetSttIdx(), pDelBoxes->Count() ); in AddFillBox()
1257 _SaveBox::_SaveBox( _SaveBox* pPrev, const SwTableBox& rBox, _SaveTable& rSTbl ) in _SaveBox() argument
1265 nItemSet = rSTbl.AddFmt( rBox.GetFrmFmt(), false ); in _SaveBox()
1267 if( rBox.GetSttNd() ) in _SaveBox()
1269 nSttNode = rBox.GetSttIdx(); in _SaveBox()
1270 nRowSpan = rBox.getRowSpan(); in _SaveBox()
1274 Ptrs.pLine = new _SaveLine( 0, *rBox.GetTabLines()[ 0 ], rSTbl ); in _SaveBox()
1277 for( sal_uInt16 n = 1; n < rBox.GetTabLines().Count(); ++n ) in _SaveBox()
1278 pLn = new _SaveLine( pLn, *rBox.GetTabLines()[ n ], rSTbl ); in _SaveBox()
1293 void _SaveBox::RestoreAttr( SwTableBox& rBox, _SaveTable& rSTbl ) in RestoreAttr() argument
1295 rSTbl.NewFrmFmt( 0, &rBox, nItemSet, rBox.GetFrmFmt() ); in RestoreAttr()
1299 if( !rBox.GetTabLines().Count() ) in RestoreAttr()
1306 for( sal_uInt16 n = 0; n < rBox.GetTabLines().Count(); ++n, pLn = pLn->pNext ) in RestoreAttr()
1314 pLn->RestoreAttr( *rBox.GetTabLines()[ n ], rSTbl ); in RestoreAttr()
1318 else if( rBox.GetSttNd() && rBox.GetSttIdx() == nSttNode ) in RestoreAttr()
1322 SwNodes& rNds = rBox.GetFrmFmt()->GetDoc()->GetNodes(); in RestoreAttr()
1324 sal_uLong nEnd = rBox.GetSttNd()->EndOfSectionIndex(); in RestoreAttr()
1500 void SwUndoTblAutoFmt::SaveBoxCntnt( const SwTableBox& rBox ) in SaveBoxCntnt() argument
1502 ::boost::shared_ptr<SwUndoTblNumFmt> const p(new SwUndoTblNumFmt(rBox)); in SaveBoxCntnt()
1640 const SwTableBox& rBox ) in lcl_FindTableLine() argument
1644 const SwTableLines &rTableLines = ( rBox.GetUpper()->GetUpper() != NULL ) ? in lcl_FindTableLine()
1645 rBox.GetUpper()->GetUpper()->GetTabLines() in lcl_FindTableLine()
1647 const SwTableLine* pLine = rBox.GetUpper(); in lcl_FindTableLine()
1655 const SwTableBox& rBox ) in lcl_FindParentLines() argument
1658 ( rBox.GetUpper()->GetUpper() != NULL ) ? in lcl_FindParentLines()
1659 rBox.GetUpper()->GetUpper()->GetTabLines() : in lcl_FindParentLines()
2212 void SwUndoTblMerge::SaveCollection( const SwTableBox& rBox ) in SaveCollection() argument
2217 SwNodeIndex aIdx( *rBox.GetSttNd(), 1 ); in SaveCollection()
2230 SwUndoTblNumFmt::SwUndoTblNumFmt( const SwTableBox& rBox, in SwUndoTblNumFmt() argument
2236 nNode = rBox.GetSttIdx(); in SwUndoTblNumFmt()
2238 nNdPos = rBox.IsValidNumTxtNd( 0 == pNewSet ); in SwUndoTblNumFmt()
2239 SwDoc* pDoc = rBox.GetFrmFmt()->GetDoc(); in SwUndoTblNumFmt()
2246 SwRegHistory aRHst( *rBox.GetSttNd(), pHistory ); in SwUndoTblNumFmt()
2261 pBoxSet->Put( rBox.GetFrmFmt()->GetAttrSet() ); in SwUndoTblNumFmt()
2485 void SwUndoTblNumFmt::SetBox( const SwTableBox& rBox ) in SetBox() argument
2487 nNode = rBox.GetSttIdx(); in SetBox()
2493 _UndoTblCpyTbl_Entry::_UndoTblCpyTbl_Entry( const SwTableBox& rBox ) in _UndoTblCpyTbl_Entry() argument
2494 : nBoxIdx( rBox.GetSttIdx() ), nOffset( 0 ), in _UndoTblCpyTbl_Entry()
2532 SwTableBox& rBox = *pTblNd->GetTable().GetTblBox( nSttPos ); in UndoImpl() local
2534 SwNodeIndex aInsIdx( *rBox.GetSttNd(), 1 ); in UndoImpl()
2538 const SwNode *pEndNode = rBox.GetSttNd()->EndOfSectionNode(); in UndoImpl()
2627 aInsIdx = rBox.GetSttIdx() + 1; in UndoImpl()
2632 aTmpSet.Put( rBox.GetFrmFmt()->GetAttrSet() ); in UndoImpl()
2635 SwFrmFmt* pBoxFmt = rBox.ClaimFrmFmt(); in UndoImpl()
2642 rBox.ClaimFrmFmt()->SetFmtAttr( *pEntry->pBoxNumAttr ); in UndoImpl()
2654 pEntry->nOffset = rBox.GetSttIdx() - pEntry->nBoxIdx; in UndoImpl()
2683 SwTableBox& rBox = *pTblNd->GetTable().GetTblBox( nSttPos ); in RedoImpl() local
2685 SwNodeIndex aInsIdx( *rBox.GetSttNd(), 1 ); in RedoImpl()
2689 SwPaM aPam( aInsIdx.GetNode(), *rBox.GetSttNd()->EndOfSectionNode()); in RedoImpl()
2704 pUndo = PrepareRedline( &rDoc, rBox, *rLastPam.GetPoint(), in RedoImpl()
2710 pUndo = PrepareRedline( &rDoc, rBox, aTmpPos, pEntry->bJoin, true ); in RedoImpl()
2719 aInsIdx = rBox.GetSttIdx() + 1; in RedoImpl()
2724 aTmpSet.Put( rBox.GetFrmFmt()->GetAttrSet() ); in RedoImpl()
2727 SwFrmFmt* pBoxFmt = rBox.ClaimFrmFmt(); in RedoImpl()
2733 rBox.ClaimFrmFmt()->SetFmtAttr( *pEntry->pBoxNumAttr ); in RedoImpl()
2745 pEntry->nOffset = rBox.GetSttIdx() - pEntry->nBoxIdx; in RedoImpl()
2750 void SwUndoTblCpyTbl::AddBoxBefore( const SwTableBox& rBox, sal_Bool bDelCntnt ) in AddBoxBefore() argument
2755 _UndoTblCpyTbl_Entry* pEntry = new _UndoTblCpyTbl_Entry( rBox ); in AddBoxBefore()
2758 SwDoc* pDoc = rBox.GetFrmFmt()->GetDoc(); in AddBoxBefore()
2762 SwNodeIndex aInsIdx( *rBox.GetSttNd(), 1 ); in AddBoxBefore()
2764 SwPaM aPam( aInsIdx.GetNode(), *rBox.GetSttNd()->EndOfSectionNode() ); in AddBoxBefore()
2773 pEntry->pBoxNumAttr->Put( rBox.GetFrmFmt()->GetAttrSet() ); in AddBoxBefore()
2779 void SwUndoTblCpyTbl::AddBoxAfter( const SwTableBox& rBox, const SwNodeIndex& rIdx, sal_Bool bDelCn… in AddBoxAfter() argument
2787 SwDoc* pDoc = rBox.GetFrmFmt()->GetDoc(); in AddBoxAfter()
2793 pEntry->pUndo = PrepareRedline( pDoc, rBox, aTmpPos, pEntry->bJoin, false ); in AddBoxAfter()
2795 SwNodeIndex aDelIdx( *rBox.GetSttNd(), 1 ); in AddBoxAfter()
2796 rBox.GetFrmFmt()->GetDoc()->GetNodes().Delete( aDelIdx, 1 ); in AddBoxAfter()
2800 pEntry->nOffset = rBox.GetSttIdx() - pEntry->nBoxIdx; in AddBoxAfter()
2809 SwUndo* SwUndoTblCpyTbl::PrepareRedline( SwDoc* pDoc, const SwTableBox& rBox, in PrepareRedline() argument
2850 SwPosition aCellEnd( SwNodeIndex( *rBox.GetSttNd()->EndOfSectionNode(), -1 ) ); in PrepareRedline()
2863 SwNodeIndex( *rBox.GetSttNd()->EndOfSectionNode() )); in PrepareRedline()
2867 SwPosition aCellStart( SwNodeIndex( *rBox.GetSttNd(), 2 ) ); in PrepareRedline()