Home
last modified time | relevance | path

Searched refs:nColSpan (Results 1 – 24 of 24) sorted by last modified time

/trunk/main/svx/source/table/
H A Dtablemodel.cxx661 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 Dtablelayouter.cxx106 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 Dtablemodel.hxx93 void merge( sal_Int32 nCol, sal_Int32 nRow, sal_Int32 nColSpan, sal_Int32 nRowSpan );
H A Dcellcursor.cxx343 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()
/trunk/main/filter/source/msfilter/
H A Dsvdfppt.cxx7624 … Reference< XTable >& xTable, sal_Int32 nCol, sal_Int32 nRow, sal_Int32 nColSpan, sal_Int32 nRowSp… in MergeCells() argument
7626 DBG_ASSERT( (nColSpan > 1) || (nRowSpan > 1), "nonsense parameter!!" ); in MergeCells()
7628 …DBG_ASSERT( (nColSpan >= 1) && ((nCol + nColSpan - 1) < xTable->getColumnCount()), "nColSpan murk… in MergeCells()
7633 …>createCursorByRange( xTable->getCellRangeByPosition( nCol, nRow,nCol + nColSpan - 1, nRow + nRowS… in MergeCells()
/trunk/main/sw/source/filter/html/
H A Dhtmltab.cxx747 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 Dhtmltabw.cxx278 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()
/trunk/main/sw/source/core/unocore/
H A Dunochart.cxx2228 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()
/trunk/main/sw/source/filter/ww8/
H A Ddocxattributeoutput.cxx1144 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()
/trunk/main/sw/source/core/doc/
H A Dhtmltbl.cxx119 nRowSpan( nRSpan ), nColSpan( nCSpan ), in SwHTMLTableLayoutCell()
126 if( nRowSpan==1 && nColSpan==1 ) in ~SwHTMLTableLayoutCell()
291 if( nCol+nColSpan == nCols ) in GetRightCellSpace()
325 sal_uInt16 nColSpan ) const in SetBoxWidth()
331 while( nColSpan-- ) in SetBoxWidth()
523 if( nColSpan < nColSkip ) in AutoLayoutPass1()
524 nColSkip = nColSpan; in AutoLayoutPass1()
530 if( nColSpan < nMinColSpan ) in AutoLayoutPass1()
531 nMinColSpan = nColSpan; in AutoLayoutPass1()
715 if( 1==nColSpan ) in AutoLayoutPass1()
[all …]
/trunk/main/xmloff/source/table/
H A DXMLTableExport.cxx426 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()
/trunk/main/sw/source/filter/xml/
H A Dxmltble.cxx794 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 Dxmltbli.cxx179 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 Dxmltbli.hxx125 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 Dxmlexp.hxx92 void ExportTableBox( const SwTableBox& rBox, sal_uInt16 nColSpan, sal_uInt16 nRowSpan,
/trunk/main/sw/source/filter/writer/
H A Dwrtswtbl.cxx77 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 …]
/trunk/main/sw/source/filter/inc/
H A Dwrtswtbl.hxx66 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;
/trunk/main/sw/inc/
H A Dhtmltbl.hxx97 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 …]
/trunk/main/sc/source/ui/view/
H A Dtabview2.cxx304 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 …]
/trunk/main/reportdesign/source/filter/xml/
H A DxmlTable.cxx229 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 DxmlTable.hxx40 sal_Int32 nColSpan; member
43 TCell() : nWidth(0),nHeight(0),nColSpan(1),nRowSpan(1){} in TCell()
H A DxmlExport.cxx207 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 DxmlExport.hxx77 sal_Int32 nColSpan; member
88 ,nColSpan(_nColSpan) in TCell()
97 ,nColSpan(1) in TCell()
/trunk/main/oox/source/drawingml/table/
H A Dtableproperties.cxx93 …: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()

Completed in 214 milliseconds