/trunk/main/sw/source/core/table/ |
H A D | swnewtable.cxx | 99 pUndo->SetSelBoxes( rBoxes ); in NewMerge() 616 SwTableBox *pBox = rBoxes[j]; in lcl_InsertPosition() 820 return rBoxes.Count() > 1; in PrepareMerge() 978 if( !rBoxes.Count() ) in _FindSuperfluousRows() 981 pLastLn = rBoxes[ rBoxes.Count() - 1 ]->GetUpper(); in _FindSuperfluousRows() 1074 rBoxes.Insert( pBox ); in lcl_getAllMergedBoxes() 1085 rBoxes.Insert( pBox ); in lcl_getAllMergedBoxes() 1371 SwTableBox *pBox = rBoxes[i]; in lcl_LineIndex() 1415 *this, rBoxes, nCnt ); in NewSplitRow() 1677 if( rBoxes.Count() ) in CreateSelection() [all …]
|
H A D | swtable.cxx | 429 for ( sal_uInt16 i = 0; i < rBoxes.Count(); ++i ) in lcl_ModifyBoxes() 431 SwTableBox &rBox = *rBoxes[i]; in lcl_ModifyBoxes() 539 { const SwTableBoxes &rBoxes = pLine->GetTabBoxes(); in lcl_SortedTabColInsert() local 540 for ( sal_uInt16 i = 0; i < rBoxes.Count(); ++i ) in lcl_SortedTabColInsert() 547 if (rBoxes[i] != pCur) in lcl_SortedTabColInsert() 635 for ( sal_uInt16 j = 0; j < rBoxes.Count(); ++j ) in lcl_ProcessBoxGet() 713 for ( i = 0; i < rBoxes.Count(); ++i ) in GetTabCols() 787 SwTableBoxes &rBoxes = pLine->GetTabBoxes(); in lcl_ProcessLine() local 788 for ( int i = rBoxes.Count()-1; i >= 0; --i ) in lcl_ProcessLine() 818 for ( sal_uInt16 i = 0; (i < rBoxes.Count()) && (rBoxes[i] != pCur); ++i) in lcl_ProcessBoxSet() [all …]
|
/trunk/main/sw/inc/ |
H A D | swtable.hxx | 185 void CreateSelection( const SwPaM& rPam, SwSelBoxes& rBoxes, 189 void ExpandSelection( SwSelBoxes& rBoxes ) const; 212 OldMerge( pDoc, rBoxes, pMergeBox, pUndo ); in Merge() 223 bool PrepareMerge( const SwPaM& rPam, SwSelBoxes& rBoxes, 228 sal_Bool InsertCol( SwDoc*, const SwSelBoxes& rBoxes, 230 sal_Bool InsertRow( SwDoc*, const SwSelBoxes& rBoxes, 233 void PrepareDelBoxes( const SwSelBoxes& rBoxes ); 237 sal_Bool Merge( const SwSelBoxes& rBoxes, 240 void FindSuperfluousRows( SwSelBoxes& rBoxes ) in FindSuperfluousRows() argument 241 { _FindSuperfluousRows( rBoxes, 0, 0 ); } in FindSuperfluousRows() [all …]
|
H A D | tblsel.hxx | 69 void GetTblSel( const SwCursor& rCrsr, SwSelBoxes& rBoxes, 75 SwSelBoxes& rBoxes, SwCellFrms* pCells, 79 void GetTblSelCrs( const SwCrsrShell& rShell, SwSelBoxes& rBoxes ); 80 void GetTblSelCrs( const SwTableCursor& rTblCrsr, SwSelBoxes& rBoxes ); 86 sal_Bool HasProtectedCells( const SwSelBoxes& rBoxes ); 105 void GetMergeSel( const SwPaM& rPam, SwSelBoxes& rBoxes, 110 sal_uInt16 CheckMergeSel( const SwSelBoxes& rBoxes ); 212 const SwSelBoxes& rBoxes; member 217 : rBoxes(rBxs), pFndLine(0), pFndBox(pFB) {} in _FndPara() 219 : rBoxes(rPara.rBoxes), pFndLine(rPara.pFndLine), pFndBox(pFB) {} in _FndPara() [all …]
|
H A D | doc.hxx | 1499 sal_Bool SortTbl(const SwSelBoxes& rBoxes, const SwSortOptions&); 1704 sal_Bool InsertCol( const SwSelBoxes& rBoxes, 1708 sal_Bool InsertRow( const SwSelBoxes& rBoxes, 1711 sal_Bool DeleteRowCol( const SwSelBoxes& rBoxes, bool bColumn = false ); 1715 sal_Bool SplitTbl( const SwSelBoxes& rBoxes, sal_Bool bVert = sal_True, 1742 sal_Bool SetTableAutoFmt( const SwSelBoxes& rBoxes, const SwTableAutoFmt& rNew ); 1744 sal_Bool GetTableAutoFmt( const SwSelBoxes& rBoxes, SwTableAutoFmt& rGet ); 1758 sal_Bool InsCopyOfTbl( SwPosition& rInsPos, const SwSelBoxes& rBoxes, 1763 sal_Bool UnProtectCells( const SwSelBoxes& rBoxes );
|
H A D | cellfml.hxx | 86 SwSelBoxes& rBoxes ) const; 153 sal_uInt16 GetBoxesOfFormula( const SwTable& rTbl, SwSelBoxes& rBoxes );
|
/trunk/main/sw/source/core/doc/ |
H A D | tblrwcl.cxx | 796 SwTableBox& rBox = *rBoxes[ bFirst ? 0 : rBoxes.Count() - 1 ]; in lcl_LastBoxSetWidth() 1086 const SwSelBoxes& rBoxes, in DeleteSel() argument 1092 if( rBoxes.Count() ) in DeleteSel() 1118 aBoxes.Insert( &rBoxes ); in DeleteSel() 1319 aSelBoxes.Insert(rBoxes.GetData(), rBoxes.Count()); in SplitCol() 1446 SwTableBoxes& rBoxes, in lcl_CpyBoxes() argument 3206 n = rBoxes.Count(); in lcl_DelSelBox() 3214 nCntEnd = rBoxes.Count(); in lcl_DelSelBox() 3224 pBox = rBoxes[ --n ]; in lcl_DelSelBox() 3226 pBox = rBoxes[ n++ ]; in lcl_DelSelBox() [all …]
|
H A D | docsort.cxx | 531 _FndPara aPara( rBoxes, &aFndBox ); in SortTbl() 592 rBoxes[rBoxes.Count()-1]->GetSttIdx(), in SortTbl() 852 const _FndBoxes& rBoxes = pLn->GetBoxes(); in CheckLineSymmetry() local 855 if( i && nBoxes != rBoxes.Count()) in CheckLineSymmetry() 858 nBoxes = rBoxes.Count(); in CheckLineSymmetry() 873 const _FndBoxes &rBoxes = rLn.GetBoxes(); in CheckBoxSymmetry() local 879 _FndBox* pBox = rBoxes[i]; in CheckBoxSymmetry() 913 nCount += rBoxes[j]->GetLines().Count() in GetColCount() 914 ? GetColCount(*rBoxes[j]) : 1; in GetColCount() 939 if( rBoxes[j]->GetLines().Count() ) in GetRowCount() [all …]
|
H A D | tblcpy.cxx | 258 void TableStructure::addLine( sal_uInt16 &rLine, const SwTableBoxes& rBoxes, in addLine() argument 264 bComplex = rBoxes[nBox]->GetTabLines().Count() > 0; in addLine() 272 for( sal_uInt16 nBox = 0; nBox < rBoxes.Count(); ++nBox ) in addLine() 273 insertSubBox( aSubTable, *rBoxes[nBox], pStartLn, pEndLn ); in addLine() 304 maLines[rLine].reserve( rBoxes.Count() ); in addLine() 307 for( sal_uInt16 nBox = 0; nBox < rBoxes.Count(); ++nBox ) in addLine() 308 addBox( rLine, pSelBoxes, rBoxes[nBox], nBorder, nCol, in addLine() 1084 SwSelBoxes& rBoxes, sal_Bool bToTop ) const in SelLineFromBox() argument 1092 rBoxes.Remove( sal_uInt16(0), rBoxes.Count() ); in SelLineFromBox() 1093 pLine->GetTabBoxes().ForEach( &_FndCntntBox, &rBoxes ); in SelLineFromBox() [all …]
|
H A D | gctable.cxx | 84 const SwTableBoxes& rBoxes = rpLine->GetTabBoxes(); in lcl_GCBorder_GetLastBox_L() local 85 const SwTableBox* pBox = rBoxes[ rBoxes.Count()-1 ]; in lcl_GCBorder_GetLastBox_L() 178 const SwTableBoxes& rBoxes = rpLine->GetTabBoxes(); in lcl_GC_Line_Border() local 179 for( sal_uInt16 n = 0, nBoxes = rBoxes.Count() - 1; n < nBoxes; ++n ) in lcl_GC_Line_Border() 183 const SwTableBox* pBox = rBoxes[ n ]; in lcl_GC_Line_Border() 197 const SwTableBox* pNextBox = rBoxes[n+1]; in lcl_GC_Line_Border()
|
/trunk/main/sw/source/core/frmedt/ |
H A D | tblsel.cxx | 181 if( rBoxes.Count() ) in GetTblSelCrs() 182 rBoxes.Remove( sal_uInt16(0), rBoxes.Count() ); in GetTblSelCrs() 189 if( rBoxes.Count() ) in GetTblSelCrs() 190 rBoxes.Remove( sal_uInt16(0), rBoxes.Count() ); in GetTblSelCrs() 474 rBoxes.Remove( i, rBoxes.Count() ); in GetTblSel() 843 rBoxes.Insert( pUpperCell, rBoxes.Count() ); in GetAutoSumSel() 860 rBoxes.Remove( 0, rBoxes.Count() ); in GetAutoSumSel() 901 rBoxes.Insert( pC, rBoxes.Count() ); in GetAutoSumSel() 1003 if( rBoxes.Count() ) in GetMergeSel() 1004 rBoxes.Remove( sal_uInt16(0), rBoxes.Count() ); in GetMergeSel() [all …]
|
/trunk/main/sw/source/core/docnode/ |
H A D | ndtbl.cxx | 811 sal_uInt16 nCols = rBoxes.Count(); in TextToTable() 814 SwTableBox* pBox = rBoxes[ i ]; in TextToTable() 2011 if( ::HasProtectedCells( rBoxes )) in DeleteRowCol() 2025 aSelBoxes.Insert(rBoxes.GetData(), rBoxes.Count()); in DeleteRowCol() 2643 if ( rFrm.GetTabBox() == rBoxes[ i ] ) in lcl_IsFrmInColumn() 3836 _FndPara aPara( rBoxes, &aFndBox ); in SetTableAutoFmt() 3914 _FndPara aPara( rBoxes, &aFndBox ); in GetTableAutoFmt() 4412 pBoxes = &rBoxes; in InsCopyOfTbl() 4510 if( rBoxes.Count() ) in UnProtectCells() 4517 for( sal_uInt16 i = rBoxes.Count(); i; ) in UnProtectCells() [all …]
|
H A D | ndtbl1.cxx | 129 sal_Bool lcl_GetBoxSel( const SwCursor& rCursor, SwSelBoxes& rBoxes, in lcl_GetBoxSel() argument 135 ::GetTblSelCrs( *pTblCrsr, rBoxes ); in lcl_GetBoxSel() 145 rBoxes.Insert( pBox ); in lcl_GetBoxSel() 150 return 0 != rBoxes.Count(); in lcl_GetBoxSel() 300 SwTableBoxes &rBoxes = pLine->GetTabBoxes(); in lcl_ProcessRowSize() local 301 for ( sal_uInt16 i = 0; i < rBoxes.Count(); ++i ) in lcl_ProcessRowSize() 302 ::lcl_ProcessBoxSize( rFmtCmp, rBoxes[i], rNew ); in lcl_ProcessRowSize()
|
/trunk/main/sw/source/core/undo/ |
H A D | untbl.cxx | 1083 SwTableBox *pBox = rBoxes[k]; in CreateNew() 1547 const SwSelBoxes& rBoxes, in SwUndoTblNdsChg() argument 1552 aBoxes( rBoxes.Count() < 255 ? (sal_uInt8)rBoxes.Count() : 255, 10 ), in SwUndoTblNdsChg() 1567 aBoxes.Insert( rBoxes[n]->GetSttIdx(), n ); in SwUndoTblNdsChg() 1572 const SwSelBoxes& rBoxes, in SwUndoTblNdsChg() argument 1575 aBoxes( rBoxes.Count() < 255 ? (sal_uInt8)rBoxes.Count() : 255, 10 ), in SwUndoTblNdsChg() 1590 aBoxes.Insert( rBoxes[n]->GetSttIdx(), n ); in SwUndoTblNdsChg() 1595 if( rBoxes.Count() != aBoxes.Count() ) in ReNewBoxes() 1668 const SwSelBoxes& rBoxes, in SaveNewBoxes() argument 1706 pCheckBox = rBoxes[j]; in SaveNewBoxes() [all …]
|
/trunk/main/sw/source/filter/rtf/ |
H A D | rtftbl.cxx | 813 SwTableBoxes &rBoxes = pNewLine->GetTabBoxes(); in ReadTable() local 814 if (SwTableBox* pBox = ((m_nCurrentBox < rBoxes.Count()) in ReadTable() 815 ? rBoxes[m_nCurrentBox] : 0)) in ReadTable() 882 SwTableBoxes& rBoxes = pLine->GetTabBoxes(); in GotoNextBox() local 883 SwTableBox* pBox = rBoxes[ rBoxes.Count()-1 ]; in GotoNextBox() 901 if( nRealBox < rBoxes.Count() ) in GotoNextBox() 903 pPam->GetPoint()->nNode = *rBoxes[ nRealBox ]->GetSttNd()->EndOfSectionNode(); in GotoNextBox() 940 SwTableBoxes& rBoxes = pLine->GetTabBoxes(); in NewTblLine() local 941 SwTableBox* pBox = rBoxes[ rBoxes.Count()-1 ]; in NewTblLine()
|
/trunk/main/sw/source/core/inc/ |
H A D | UndoTable.hxx | 195 const SwSelBoxes& rBoxes, 201 SwUndoTblNdsChg( SwUndoId UndoId, const SwSelBoxes& rBoxes, 211 const SwSelBoxes& rBoxes, const SvULongs& rNodeCnts ); 213 void ReNewBoxes( const SwSelBoxes& rBoxes ); 246 void SetSelBoxes( const SwSelBoxes& rBoxes ); 308 sal_Bool InsertRow( SwTable& rTbl, const SwSelBoxes& rBoxes, sal_uInt16 nCnt );
|
/trunk/main/sw/source/core/fields/ |
H A D | cellfml.cxx | 884 SwSelBoxes& rBoxes ) in GetBoxesOfFormula() argument 886 if( rBoxes.Count() ) in GetBoxesOfFormula() 887 rBoxes.Remove( sal_uInt16(0), rBoxes.Count() ); in GetBoxesOfFormula() 890 ScanString( &SwTableFormula::_GetFmlBoxes, rTbl, &rBoxes ); in GetBoxesOfFormula() 891 return rBoxes.Count(); in GetBoxesOfFormula() 931 SwSelBoxes& rBoxes ) const in GetBoxes() 941 GetTblSel( pStt, pEnd, rBoxes, 0 ); in GetBoxes() 971 for( sal_uInt16 n = 0; n < rBoxes.Count(); ++n ) in GetBoxes() 973 pLine = rBoxes[n]->GetUpper(); in GetBoxes() 978 rBoxes.Remove( n--, 1 ); in GetBoxes()
|
/trunk/main/sw/source/filter/writer/ |
H A D | wrtswtbl.cxx | 136 const SwTableBoxes& rBoxes = pLine->GetTabBoxes(); in GetLineHeight() local 137 sal_uInt16 nBoxes = rBoxes.Count(); in GetLineHeight() 141 const SwTableBox* pBox = rBoxes[nBox]; in GetLineHeight() 480 const SwTableBoxes& rBoxes = pLine->GetTabBoxes(); in CollectTableRowsCols() local 481 sal_uInt16 nBoxes = rBoxes.Count(); in CollectTableRowsCols() 486 const SwTableBox *pBox = rBoxes[nBox]; in CollectTableRowsCols() 611 const SwTableBoxes& rBoxes = pLine->GetTabBoxes(); in FillTableRowsCols() local 653 sal_uInt16 nBoxes = rBoxes.Count(); in FillTableRowsCols() 659 const SwTableBox *pBox = rBoxes[nBox]; in FillTableRowsCols()
|
/trunk/main/sw/source/filter/xml/ |
H A D | xmltble.cxx | 143 const SwTableBoxes& rBoxes = pLine->GetTabBoxes(); in SwXMLTableLines_Impl() local 144 sal_uInt16 nBoxes = rBoxes.Count(); in SwXMLTableLines_Impl() 149 const SwTableBox *pBox = rBoxes[nBox]; in SwXMLTableLines_Impl() 674 const SwTableBoxes& rBoxes = pLine->GetTabBoxes(); in ExportTableLinesAutoStyles() local 675 sal_uInt16 nBoxes = rBoxes.Count(); in ExportTableLinesAutoStyles() 681 SwTableBox *pBox = rBoxes[nBox]; in ExportTableLinesAutoStyles() 955 const SwTableBoxes& rBoxes = rLine.GetTabBoxes(); in ExportTableLine() local 956 sal_uInt16 nBoxes = rBoxes.Count(); in ExportTableLine() 962 const SwTableBox *pBox = rBoxes[nBox]; in ExportTableLine()
|
/trunk/main/sw/source/core/unocore/ |
H A D | unotbl.cxx | 499 OSL_ASSERT(rBoxes.Count() != 0); in lcl_FindCornerTableBox() 500 pBox = rBoxes[i_bTopLeft ? 0 : rBoxes.Count() - 1]; in lcl_FindCornerTableBox() 566 SwTableBoxes& rBoxes = pLine->GetTabBoxes(); in lcl_InspectLines() local 567 for(sal_uInt16 j = 0; j < rBoxes.Count(); j++) in lcl_InspectLines() 569 SwTableBox* pBox = rBoxes[j]; in lcl_InspectLines() 1501 for(sal_uInt16 i = 0; i < rBoxes.Count(); i++) in SwXTextTableCursor() 1502 pTableCrsr->InsertBox( *rBoxes.GetObject(i) ); in SwXTextTableCursor() 2351 aSelBoxes.Insert(rBoxes.GetData(), rBoxes.Count()); in dispose() 4672 SwTableBoxes& rBoxes = pLine->GetTabBoxes(); in insertByIndex() local 4673 pTLBox = rBoxes.GetObject(0); in insertByIndex() [all …]
|
/trunk/main/sw/source/filter/ww8/ |
H A D | WW8TableInfo.cxx | 695 const SwTableBoxes & rBoxes = pTableLine->GetTabBoxes(); in processTableLine() local 699 for (sal_uInt16 n = 0; n < rBoxes.Count(); n++) in processTableLine() 701 const SwTableBox * pBox = rBoxes[n]; in processTableLine() 703 pPrev = processTableBox(pTable, pBox, nRow, n, nDepth, n == rBoxes.Count() - 1, pPrev); in processTableLine() 734 const SwTableBoxes & rBoxes = pLine->GetTabBoxes(); in processTableBoxLines() local 736 for (sal_uInt16 nBox = 0; nBox < rBoxes.Count(); nBox++) in processTableBoxLines() 737 …pNodeInfo = processTableBoxLines(rBoxes[nBox], pTable, pBoxToSet, nRow, nCell, nDepth); … in processTableBoxLines()
|
/trunk/main/sdext/source/presenter/ |
H A D | PresenterGeometryHelper.cxx | 301 const ::std::vector<css::awt::Rectangle>& rBoxes, in CreatePolygon() 307 const sal_Int32 nCount (rBoxes.size()); in CreatePolygon() 311 const awt::Rectangle& rBox (rBoxes[nIndex]); in CreatePolygon()
|
/trunk/main/sw/source/ui/ribbar/ |
H A D | inputwin.cxx | 555 void __EXPORT InputEdit::UpdateRange(const String& rBoxes, in UpdateRange() argument 558 if( !rBoxes.Len() ) in UpdateRange() 569 aBoxes += rBoxes; in UpdateRange()
|
/trunk/main/sw/source/filter/html/ |
H A D | htmltab.cxx | 1759 SwTableBoxes& rBoxes = pLine->GetTabBoxes(); in MakeTableLine() local 1831 rBoxes.C40_INSERT( SwTableBox, pBox, rBoxes.Count() ); in MakeTableLine() 2652 SwTableBoxes& rBoxes = pLine->GetTabBoxes(); in MakeTable() local 2663 rBoxes.C40_INSERT( SwTableBox, pNewBox, rBoxes.Count() ); in MakeTable() 2670 rBoxes.C40_INSERT( SwTableBox, pNewBox, rBoxes.Count() ); in MakeTable() 2689 rBoxes.C40_INSERT( SwTableBox, pNewBox, rBoxes.Count() ); in MakeTable()
|
/trunk/main/sw/source/core/crsr/ |
H A D | pam.cxx | 800 const SwTableSortBoxes& rBoxes = pTbl->GetTabSortBoxes(); in HasReadonlySel() local 802 for( sal_uInt16 i = rBoxes.Count(); i; ) in HasReadonlySel() 803 if( rBoxes[ --i ]->GetFrmFmt()->GetProtect(). in HasReadonlySel()
|