| /AOO41X/main/sw/source/core/table/ |
| H A D | swnewtable.cxx | 95 sal_Bool SwTable::NewMerge( SwDoc* pDoc, const SwSelBoxes& rBoxes, in NewMerge() argument 99 pUndo->SetSelBoxes( rBoxes ); in NewMerge() 100 DeleteSel( pDoc, rBoxes, &rMerged, 0, sal_True, sal_True ); in NewMerge() 610 const SwSelBoxes& rBoxes, sal_Bool bBehind ) in lcl_InsertPosition() argument 614 for( sal_uInt16 j = 0; j < rBoxes.Count(); ++j ) in lcl_InsertPosition() 616 SwTableBox *pBox = rBoxes[j]; in lcl_InsertPosition() 618 long nWidth = rBoxes[j]->GetFrmFmt()->GetFrmSize().GetWidth(); in lcl_InsertPosition() 655 sal_Bool SwTable::NewInsertCol( SwDoc* pDoc, const SwSelBoxes& rBoxes, in NewInsertCol() argument 670 sal_uInt64 nAddWidth = lcl_InsertPosition( *this, aInsPos, rBoxes, bBehind ); in NewInsertCol() 691 aFndBox.SetTableLines( rBoxes, *this ); in NewInsertCol() [all …]
|
| H A D | swtable.cxx | 334 void lcl_ModifyBoxes( SwTableBoxes &rBoxes, const long nOld, 358 void lcl_ModifyBoxes( SwTableBoxes &rBoxes, const long nOld, in lcl_ModifyBoxes() argument 363 for ( sal_uInt16 i = 0; i < rBoxes.Count(); ++i ) in lcl_ModifyBoxes() 365 SwTableBox &rBox = *rBoxes[i]; in lcl_ModifyBoxes() 473 { const SwTableBoxes &rBoxes = pLine->GetTabBoxes(); in lcl_SortedTabColInsert() local 474 for ( sal_uInt16 i = 0; i < rBoxes.Count(); ++i ) in lcl_SortedTabColInsert() 476 SwTwips nWidth = rBoxes[i]->GetFrmFmt()->GetFrmSize().GetWidth(); in lcl_SortedTabColInsert() 481 if (rBoxes[i] != pCur) in lcl_SortedTabColInsert() 568 { const SwTableBoxes &rBoxes = rLines[i]->GetTabBoxes(); in lcl_ProcessBoxGet() local 569 for ( sal_uInt16 j = 0; j < rBoxes.Count(); ++j ) in lcl_ProcessBoxGet() [all …]
|
| /AOO41X/main/sw/inc/ |
| H A D | swtable.hxx | 145 sal_Bool NewInsertCol( SwDoc*, const SwSelBoxes& rBoxes, sal_uInt16 nCnt, sal_Bool ); 146 void _FindSuperfluousRows( SwSelBoxes& rBoxes, SwTableLine*, SwTableLine* ); 185 void CreateSelection( const SwPaM& rPam, SwSelBoxes& rBoxes, 188 SwSelBoxes& rBoxes, const SearchType eSearchType, bool bProtect ) const; 189 void ExpandSelection( SwSelBoxes& rBoxes ) const; 205 sal_Bool Merge( SwDoc* pDoc, const SwSelBoxes& rBoxes, const SwSelBoxes& rMerged, in Merge() argument 211 return bNewModel ? NewMerge( pDoc, rBoxes, rMerged, pMergeBox, pUndo ) : in Merge() 212 OldMerge( pDoc, rBoxes, pMergeBox, pUndo ); in Merge() 214 sal_Bool SplitRow( SwDoc* pDoc, const SwSelBoxes& rBoxes, sal_uInt16 nCnt=1, in SplitRow() argument 220 return bNewModel ? NewSplitRow( pDoc, rBoxes, nCnt, bSameHeight ) : in SplitRow() [all …]
|
| H A D | tblsel.hxx | 66 SW_DLLPUBLIC void GetTblSel( const SwCrsrShell& rShell, SwSelBoxes& rBoxes, 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 ); 178 void SetTableLines( const SwSelBoxes &rBoxes, const SwTable &rTable ); 212 const SwSelBoxes& rBoxes; member [all …]
|
| H A D | doc.hxx | 1492 sal_Bool SortTbl(const SwSelBoxes& rBoxes, const SwSortOptions&); 1712 sal_Bool InsertCol( const SwSelBoxes& rBoxes, 1716 sal_Bool InsertRow( const SwSelBoxes& rBoxes, 1719 sal_Bool DeleteRowCol( const SwSelBoxes& rBoxes, bool bColumn = false ); 1723 sal_Bool SplitTbl( const SwSelBoxes& rBoxes, sal_Bool bVert = sal_True, 1750 sal_Bool SetTableAutoFmt( const SwSelBoxes& rBoxes, const SwTableAutoFmt& rNew ); 1752 sal_Bool GetTableAutoFmt( const SwSelBoxes& rBoxes, SwTableAutoFmt& rGet ); 1766 sal_Bool InsCopyOfTbl( SwPosition& rInsPos, const SwSelBoxes& rBoxes, 1771 sal_Bool UnProtectCells( const SwSelBoxes& rBoxes );
|
| H A D | cellfml.hxx | 86 SwSelBoxes& rBoxes ) const; 153 sal_uInt16 GetBoxesOfFormula( const SwTable& rTbl, SwSelBoxes& rBoxes );
|
| /AOO41X/main/sw/source/core/doc/ |
| H A D | tblrwcl.cxx | 532 sal_Bool SwTable::InsertCol( SwDoc* pDoc, const SwSelBoxes& rBoxes, sal_uInt16 nCnt, sal_Bool bBehi… in InsertCol() argument 534 ASSERT( rBoxes.Count() && nCnt, "keine gueltige Box-Liste" ); in InsertCol() 535 SwTableNode* pTblNd = (SwTableNode*)rBoxes[0]->GetSttNd()->FindTableNode(); in InsertCol() 541 bRes = NewInsertCol( pDoc, rBoxes, nCnt, bBehind ); in InsertCol() 547 _FndPara aPara( rBoxes, &aFndBox ); in InsertCol() 581 pPCD->AddRowCols( *this, rBoxes, nCnt, bBehind ); in InsertCol() 587 sal_Bool SwTable::_InsertRow( SwDoc* pDoc, const SwSelBoxes& rBoxes, in _InsertRow() argument 590 ASSERT( pDoc && rBoxes.Count() && nCnt, "keine gueltige Box-Liste" ); in _InsertRow() 591 SwTableNode* pTblNd = (SwTableNode*)rBoxes[0]->GetSttNd()->FindTableNode(); in _InsertRow() 598 _FndPara aPara( rBoxes, &aFndBox ); in _InsertRow() [all …]
|
| H A D | docsort.cxx | 519 sal_Bool SwDoc::SortTbl(const SwSelBoxes& rBoxes, const SwSortOptions& rOpt) in SortTbl() argument 522 ASSERT( rBoxes.Count(), "keine gueltige Box-Liste" ); in SortTbl() 523 SwTableNode* pTblNd = (SwTableNode*)rBoxes[0]->GetSttNd()->FindTableNode(); in SortTbl() 531 _FndPara aPara( rBoxes, &aFndBox ); in SortTbl() 591 pUndoSort = new SwUndoSort( rBoxes[0]->GetSttIdx(), 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 [all …]
|
| H A D | tblcpy.cxx | 258 void TableStructure::addLine( sal_uInt16 &rLine, const SwTableBoxes& rBoxes, in addLine() argument 263 for( sal_uInt16 nBox = 0; !bComplex && nBox < rBoxes.Count(); ++nBox ) in addLine() 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() [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()
|
| /AOO41X/main/sw/source/core/frmedt/ |
| H A D | tblsel.cxx | 179 void GetTblSelCrs( const SwCrsrShell &rShell, SwSelBoxes& rBoxes ) in GetTblSelCrs() argument 181 if( rBoxes.Count() ) in GetTblSelCrs() 182 rBoxes.Remove( sal_uInt16(0), rBoxes.Count() ); in GetTblSelCrs() 184 rBoxes.Insert( &rShell.GetTableCrsr()->GetBoxes() ); in GetTblSelCrs() 187 void GetTblSelCrs( const SwTableCursor& rTblCrsr, SwSelBoxes& rBoxes ) in GetTblSelCrs() argument 189 if( rBoxes.Count() ) in GetTblSelCrs() 190 rBoxes.Remove( sal_uInt16(0), rBoxes.Count() ); in GetTblSelCrs() 199 rBoxes.Insert( &rTblCrsr.GetBoxes() ); in GetTblSelCrs() 202 void GetTblSel( const SwCrsrShell& rShell, SwSelBoxes& rBoxes, in GetTblSel() argument 209 GetTblSel( *rShell.getShellCrsr(false), rBoxes, eSearchType ); in GetTblSel() [all …]
|
| /AOO41X/main/sw/source/core/docnode/ |
| H A D | ndtbl.cxx | 521 SwTableBoxes& rBoxes = pLine->GetTabBoxes(); in InsertTable() local 572 rBoxes.C40_INSERT( SwTableBox, pBox, i ); in InsertTable() 810 SwTableBoxes& rBoxes = rLines[ n ]->GetTabBoxes(); in TextToTable() local 811 sal_uInt16 nCols = rBoxes.Count(); in TextToTable() 814 SwTableBox* pBox = rBoxes[ i ]; in TextToTable() 1752 sal_Bool SwDoc::InsertCol( const SwSelBoxes& rBoxes, sal_uInt16 nCnt, sal_Bool bBehind ) in InsertCol() argument 1755 ASSERT( rBoxes.Count(), "keine gueltige Box-Liste" ); in InsertCol() 1756 SwTableNode* pTblNd = (SwTableNode*)rBoxes[0]->GetSttNd()->FindTableNode(); in InsertCol() 1772 pUndo = new SwUndoTblNdsChg( UNDO_TABLE_INSCOL, rBoxes, *pTblNd, in InsertCol() 1785 bRet = rTbl.InsertCol( this, rBoxes, nCnt, bBehind ); in InsertCol() [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()
|
| /AOO41X/main/sw/source/core/undo/ |
| H A D | untbl.cxx | 1079 const SwTableBoxes &rBoxes = pOld->GetTabBoxes(); in CreateNew() local 1080 sal_uInt16 nBoxes = rBoxes.Count(); in CreateNew() 1083 SwTableBox *pBox = rBoxes[k]; in CreateNew() 1101 const SwTableBoxes &rBoxes = rTbl.GetTabLines()[n + k1]->GetTabBoxes(); in CreateNew() local 1102 sal_uInt16 nBoxes = rBoxes.Count(); in CreateNew() 1105 SwTableBox *pBox = rBoxes[k2]; in CreateNew() 1547 const SwSelBoxes& rBoxes, in SwUndoTblNdsChg() argument 1552 aBoxes( rBoxes.Count() < 255 ? (sal_uInt8)rBoxes.Count() : 255, 10 ), in SwUndoTblNdsChg() 1566 for( sal_uInt16 n = 0; n < rBoxes.Count(); ++n ) in SwUndoTblNdsChg() 1567 aBoxes.Insert( rBoxes[n]->GetSttIdx(), n ); in SwUndoTblNdsChg() [all …]
|
| /AOO41X/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()
|
| /AOO41X/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 );
|
| /AOO41X/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()
|
| /AOO41X/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()
|
| /AOO41X/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()
|
| /AOO41X/main/sw/source/core/unocore/ |
| H A D | unotbl.cxx | 498 const SwTableBoxes& rBoxes(pLine->GetTabBoxes()); in lcl_FindCornerTableBox() local 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() 1499 const SwSelBoxes& rBoxes = pTableSelection->GetBoxes(); in SwXTextTableCursor() local 1501 for(sal_uInt16 i = 0; i < rBoxes.Count(); i++) in SwXTextTableCursor() 1502 pTableCrsr->InsertBox( *rBoxes.GetObject(i) ); in SwXTextTableCursor() 2349 SwTableSortBoxes& rBoxes = pTable->GetTabSortBoxes(); in dispose() local [all …]
|
| /AOO41X/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()
|
| /AOO41X/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()
|
| /AOO41X/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()
|
| /AOO41X/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()
|
| /AOO41X/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()
|