/aoo41x/main/sw/source/core/doc/ |
H A D | htmltbl.cxx | 118 nRowSpan( nRSpan ), nColSpan( nCSpan ), in SwHTMLTableLayoutCell() 125 if( nRowSpan==1 && nColSpan==1 ) in ~SwHTMLTableLayoutCell() 287 if( nCol+nColSpan == nCols ) in GetRightCellSpace() 321 sal_uInt16 nColSpan ) const in SetBoxWidth() 327 while( nColSpan-- ) in SetBoxWidth() 519 if( nColSpan < nColSkip ) in AutoLayoutPass1() 520 nColSkip = nColSpan; in AutoLayoutPass1() 526 if( nColSpan < nMinColSpan ) in AutoLayoutPass1() 527 nMinColSpan = nColSpan; in AutoLayoutPass1() 711 if( 1==nColSpan ) in AutoLayoutPass1() [all …]
|
/aoo41x/main/sw/source/filter/writer/ |
H A D | wrtswtbl.cxx | 77 sal_uInt16 nRowSpan, sal_uInt16 nColSpan, in AddCell() argument 247 sal_uInt16 nRowSpan, sal_uInt16 nColSpan, in MergeBoxBorders() argument 337 if( nCol+nColSpan==aCols.Count() ) in GetRightSpace() 351 sal_uInt32 nWidth = GetRawWidth( nCol, nColSpan ); in GetAbsWidth() 366 long nWidth = GetRawWidth( nCol, nColSpan ); in GetRelWidth() 374 long nWidth = GetRawWidth( nCol, nColSpan ); in GetPrcWidth() 692 sal_uInt16 nColSpan = nCol - nOldCol + 1; in FillTableRowsCols() local 694 nRowSpan, nColSpan, nHeight, in FillTableRowsCols() 702 nRowSpan, nColSpan, nTopBorder, nBottomBorder); in FillTableRowsCols() 868 sal_uInt16 nColSpan = pLayoutCell->GetColSpan(); in SwWriteTable() local [all …]
|
/aoo41x/main/svx/source/table/ |
H A D | tablemodel.cxx | 661 sal_Int32 nColSpan = xCell->getColumnSpan(); in notifyModification() local 664 if( nColSpan != 1 ) in notifyModification() 665 fprintf( file, " column-span=\"%ld\"", nColSpan ); in notifyModification() 782 if( (nColSpan != 1) && ((nColSpan + nCol ) > nIndex) ) in insertColumns() 786 nColSpan += nCount; in insertColumns() 865 if( nColSpan <= 1 ) in removeColumns() 871 if( (nCol + nColSpan) > ( nIndex + nCount ) ) in removeColumns() 886 else if( nColSpan > (nIndex - nCol) ) in removeColumns() 959 const sal_Int32 nColSpan = xCell->getColumnSpan(); in insertRows() local 1195 const sal_Int32 nLastCol = nCol + nColSpan; in merge() [all …]
|
H A D | cellcursor.cxx | 343 sal_Int32 nColSpan = xCell->getColumnSpan() - 1; in split_column() local 347 sal_Int32 nCellsAvailable = 1 + nColSpan + rLeftOvers[nRow]; in split_column() 348 if( nColSpan == 0 ) in split_column() 378 if( nColSpan < (rLeftOvers[nRow] + nNewCols) ) in split_column() 459 sal_Int32 nColSpan = xCell->getColumnSpan() - 1; in split_row() local 479 mxTable->merge( nCol, nSplitRow, nColSpan + 1, nSplitSpan + 1 ); in split_row() 488 while( nColSpan-- ); in split_row() 495 mxTable->merge( nCol, nRow, nColSpan + 1, (rLeftOvers[nCol] + nNewRows) + 1 ); in split_row() 501 while( nColSpan-- ); in split_row()
|
H A D | tablelayouter.cxx | 106 sal_Int32 nColSpan = std::max( xCell->getColumnSpan(), (sal_Int32)1 ); in getCellSize() local 107 while( nColSpan && (aPos.mnCol < nColCount ) ) in getCellSize() 113 nColSpan--; in getCellSize() 573 sal_Int32 nColSpan = xCell->getColumnSpan(); in LayoutTableWidth() local 574 if( nColSpan > 1 ) in LayoutTableWidth() 577 aMergedCells[nCol+nColSpan-1].push_back( xCell ); in LayoutTableWidth()
|
H A D | tablemodel.hxx | 93 void merge( sal_Int32 nCol, sal_Int32 nRow, sal_Int32 nColSpan, sal_Int32 nRowSpan );
|
/aoo41x/main/sw/source/filter/inc/ |
H A D | wrtswtbl.hxx | 66 sal_uInt16 nColSpan; // ueberspannte Spalten member in SwWriteTableCell 76 nRow( nR ), nCol( nC ), nRowSpan( nRSpan ), nColSpan( nCSpan ), in SwWriteTableCell() 86 sal_uInt16 GetColSpan() const { return nColSpan; } in GetColSpan() 137 sal_uInt16 nRowSpan, sal_uInt16 nColSpan, 288 sal_uInt16 nRowSpan, sal_uInt16 nColSpan, 298 sal_uInt32 GetRawWidth( sal_uInt16 nCol, sal_uInt16 nColSpan ) const; 299 sal_uInt16 GetAbsWidth( sal_uInt16 nCol, sal_uInt16 nColSpan ) const; 300 sal_uInt16 GetRelWidth( sal_uInt16 nCol, sal_uInt16 nColSpan ) const; 301 sal_uInt16 GetPrcWidth( sal_uInt16 nCol, sal_uInt16 nColSpan ) const; 312 sal_uInt16 GetRightSpace( sal_uInt16 nCol, sal_uInt16 nColSpan ) const;
|
/aoo41x/main/sw/source/filter/xml/ |
H A D | xmltbli.cxx | 179 sal_uInt32 nColSpan; member in SwXMLTableCell_Impl 191 nColSpan( nCSpan ), in SwXMLTableCell_Impl() 244 nColSpan = nCSpan; in Set() 369 nColSpan--; in Expand() 408 sal_uInt32 nColSpan; member in SwXMLTableCellContext_Impl 451 nColSpan( 1UL ), in SwXMLTableCellContext_Impl() 480 if( nColSpan < 1UL ) in SwXMLTableCellContext_Impl() 481 nColSpan = 1UL; in SwXMLTableCellContext_Impl() 1602 if( 0UL == nColSpan ) in InsertCell() 1603 nColSpan = 1UL; in InsertCell() [all …]
|
H A D | xmltbli.hxx | 125 void FixRowSpan( sal_uInt32 nRow, sal_uInt32 nCol, sal_uInt32 nColSpan ); 164 sal_Int32 GetColumnWidth( sal_uInt32 nCol, sal_uInt32 nColSpan=1UL ) const; 175 sal_uInt32 nRowSpan=1U, sal_uInt32 nColSpan=1U,
|
H A D | xmltble.cxx | 794 sal_uInt16 nColSpan, in ExportTableBox() argument 820 if( nColSpan != 1 ) in ExportTableBox() 823 sTmp.append( (sal_Int32)nColSpan ); in ExportTableBox() 1005 sal_uInt16 nColSpan = nCol - nOldCol + 1U; in ExportTableLine() local 1008 ExportTableBox( *pBox, nColSpan, static_cast< sal_uInt16 >(nRowSpan), rTblInfo ); in ExportTableLine()
|
H A D | xmlexp.hxx | 92 void ExportTableBox( const SwTableBox& rBox, sal_uInt16 nColSpan, sal_uInt16 nRowSpan,
|
/aoo41x/main/sw/inc/ |
H A D | htmltbl.hxx | 97 sal_uInt16 nColSpan; // COLSPAN der Zelle member in SwHTMLTableLayoutCell 121 sal_uInt16 GetColSpan() const { return nColSpan; } in GetColSpan() 252 sal_uInt16 nCol, sal_uInt16 nColSpan, 254 void SetBoxWidth( SwTableBox *pBox, sal_uInt16 nCol, sal_uInt16 nColSpan ) const; 279 sal_uInt16 GetLeftCellSpace( sal_uInt16 nCol, sal_uInt16 nColSpan, 281 sal_uInt16 GetRightCellSpace( sal_uInt16 nCol, sal_uInt16 nColSpan, 283 inline sal_uInt16 GetInhCellSpace( sal_uInt16 nCol, sal_uInt16 nColSpan ) const; 288 void GetAvail( sal_uInt16 nCol, sal_uInt16 nColSpan, sal_uInt16& rAbsAvail, 381 nColSpan = 1; in SetProtected() 430 sal_uInt16 nColSpan ) const in GetInhCellSpace() [all …]
|
/aoo41x/main/sw/source/filter/html/ |
H A D | htmltab.cxx | 747 nColSpan(1), in HTMLTableCell() 776 nColSpan = nCSpan; in Set() 809 nColSpan = 1; in SetProtected() 887 nColSpan--; in Expand() 1918 nColSpan ); in MakeTableBox() 1920 nColSpan ); in MakeTableBox() 2149 if( !nColSpan || (sal_uInt32)nCurCol + nColSpan > USHRT_MAX ) in InsertCell() 2150 nColSpan = 1; in InsertCell() 2323 if( nColSpan > 1 ) in CloseRow() 3220 nColSpan( 1 ), in _CellSaveStruct() [all …]
|
H A D | htmltabw.cxx | 278 sal_uInt16 nColSpan = pCell->GetColSpan(); in OutTableCell() local 331 if( nColSpan > 1 ) in OutTableCell() 333 += ByteString::CreateFromInt32( nColSpan ); in OutTableCell() 356 nPrcWidth = (sal_uInt16)GetPrcWidth(nCol,nColSpan); in OutTableCell() 358 nWidth = GetAbsWidth( nCol, nColSpan ); in OutTableCell() 387 if( !bLayoutExport && nColSpan==1 ) in OutTableCell() 477 nBWidth = GetRawWidth( nCol, nColSpan ); in OutTableCell() 483 nTWidth = GetAbsWidth( nCol, nColSpan ); in OutTableCell() 486 nRSub = GetRightSpace( nCol, nColSpan ); in OutTableCell()
|
/aoo41x/main/sc/source/ui/view/ |
H A D | tabview2.cxx | 304 SCsCOL nColSpan = pMergeAttr->GetColMerge(); in MarkCursor() local 307 … if ( !( nCurX >= nBlockStartXOrig + nColSpan - 1 && nCurY >= nBlockStartYOrig + nRowSpan - 1 ) ) in MarkCursor() 309 … nBlockStartX = nCurX >= nBlockStartXOrig ? nBlockStartXOrig : nBlockStartXOrig + nColSpan - 1; in MarkCursor() 311 … nCurXOffset = nCurX >= nBlockStartXOrig && nCurX < nBlockStartXOrig + nColSpan - 1 ? in MarkCursor() 312 nBlockStartXOrig - nCurX + nColSpan - 1 : 0; in MarkCursor() 330 SCsCOL nColSpan = pMergeAttr->GetColMerge(); in MarkCursor() local 333 … if ( !( nBlockStartX >= nCurX + nColSpan - 1 && nBlockStartY >= nCurY + nRowSpan - 1 ) ) in MarkCursor() 335 if ( nBlockStartX <= nCurX + nColSpan - 1 ) in MarkCursor() 337 SCsCOL nCurXOffsetTemp = nCurX < nCurX + nColSpan - 1 ? nColSpan - 1 : 0; in MarkCursor() 346 … !( nBlockStartX > nCurX + nColSpan - 1 && nBlockStartY > nCurY + nRowSpan - 1 ) ) in MarkCursor() [all …]
|
/aoo41x/main/reportdesign/source/filter/xml/ |
H A D | xmlTable.cxx | 229 sal_Int32 nColSpan = rCell.nColSpan; in EndElement() local 230 if ( nColSpan > 1 ) in EndElement() 233 while ( nColSpan > 1 ) in EndElement() 236 --nColSpan; in EndElement() 302 rCell.nColSpan = m_nColSpan; in addCell()
|
H A D | xmlExport.cxx | 207 sal_Int32 nColSpan = aColIter->nColSpan; in lcl_adjustColumnSpanOverRows() local 211 (aRowIter+i)->second[nColIndex].nColSpan = nColSpan; in lcl_adjustColumnSpanOverRows() 670 sal_Int32 nColSpan = x2 - x1; in exportSectionAutoStyle() local 676 nColSpan, in exportSectionAutoStyle() 814 sal_Int32 nColSpan = 0; in exportContainer() local 825 nColSpan = 1; in exportContainer() 829 if ( aColIter->nColSpan > 1 ) in exportContainer() 830 nColSpan += aColIter->nColSpan - 1; in exportContainer() 841 nColSpan = nEmptyCellColSpan - 1; in exportContainer() 844 sal_Int32 nSpan = aColIter->nColSpan; in exportContainer() [all …]
|
H A D | xmlExport.hxx | 77 sal_Int32 nColSpan; member 88 ,nColSpan(_nColSpan) in TCell() 97 ,nColSpan(1) in TCell()
|
H A D | xmlTable.hxx | 40 sal_Int32 nColSpan; member 43 TCell() : nWidth(0),nHeight(0),nColSpan(1),nRowSpan(1){} in TCell()
|
/aoo41x/main/xmloff/source/table/ |
H A D | XMLTableExport.cxx | 426 sal_Int32 nColSpan = 0; in ExportCell() local 444 nColSpan = xMerge->getColumnSpan(); in ExportCell() 446 …DBG_ASSERT( (nRowSpan >= 1) && (nColSpan >= 1), "xmloff::XMLTableExport::ExportCell(), illegal row… in ExportCell() 457 if( nColSpan > 1 ) in ExportCell() 458 …port.AddAttribute(XML_NAMESPACE_TABLE, XML_NUMBER_COLUMNS_SPANNED, OUString::valueOf( nColSpan ) ); in ExportCell()
|
/aoo41x/main/sw/source/core/unocore/ |
H A D | unochart.cxx | 2228 sal_Int32 nColSpan = aDesc.nRight - aDesc.nLeft + 1; in generateLabel() local 2230 DBG_ASSERT( nColSpan == 1 || nRowSpan == 1, in generateLabel() 2242 bUseCol = nColSpan < nRowSpan; in generateLabel() 2243 bReturnEmptyTxt = nColSpan == nRowSpan; in generateLabel() 2247 bUseCol = nColSpan > nRowSpan; in generateLabel() 2248 bReturnEmptyTxt = nColSpan == nRowSpan; in generateLabel() 2256 sal_Int32 nSeqLen = bUseCol ? nColSpan : nRowSpan; in generateLabel()
|
/aoo41x/main/oox/source/drawingml/table/ |
H A D | tableproperties.cxx | 93 …:Reference< XTable >& xTable, sal_Int32 nCol, sal_Int32 nRow, sal_Int32 nColSpan, sal_Int32 nRowSp… in MergeCells() argument 97 …>createCursorByRange( xTable->getCellRangeByPosition( nCol, nRow,nCol + nColSpan - 1, nRow + nRowS… in MergeCells()
|
/aoo41x/main/sw/source/filter/ww8/ |
H A D | docxattributeoutput.cxx | 1144 sal_uInt16 nColSpan = pCell->GetColSpan(); in TableCellProperties() local 1145 if ( nColSpan > 1 ) in TableCellProperties() 1147 FSNS( XML_w, XML_val ), OString::valueOf( sal_Int32( nColSpan ) ).getStr(), in TableCellProperties()
|
/aoo41x/main/filter/source/msfilter/ |
H A D | svdfppt.cxx | 7625 … Reference< XTable >& xTable, sal_Int32 nCol, sal_Int32 nRow, sal_Int32 nColSpan, sal_Int32 nRowSp… in MergeCells() argument 7627 DBG_ASSERT( (nColSpan > 1) || (nRowSpan > 1), "nonsense parameter!!" ); in MergeCells() 7629 …DBG_ASSERT( (nColSpan >= 1) && ((nCol + nColSpan - 1) < xTable->getColumnCount()), "nColSpan murk… in MergeCells() 7634 …>createCursorByRange( xTable->getCellRangeByPosition( nCol, nRow,nCol + nColSpan - 1, nRow + nRowS… in MergeCells()
|