Lines Matching refs:nColSpan
661 sal_Int32 nColSpan = xCell->getColumnSpan(); in notifyModification() local
664 if( nColSpan != 1 ) in notifyModification()
665 fprintf( file, " column-span=\"%ld\"", nColSpan ); in notifyModification()
781 sal_Int32 nColSpan = (xCell.is() && !xCell->isMerged()) ? xCell->getColumnSpan() : 1; in insertColumns() local
782 if( (nColSpan != 1) && ((nColSpan + nCol ) > nIndex) ) in insertColumns()
786 nColSpan += nCount; in insertColumns()
787 merge( nCol, nRow, nColSpan, nRowSpan ); in insertColumns()
864 sal_Int32 nColSpan = (xCell.is() && !xCell->isMerged()) ? xCell->getColumnSpan() : 1; in removeColumns() local
865 if( nColSpan <= 1 ) in removeColumns()
871 if( (nCol + nColSpan) > ( nIndex + nCount ) ) in removeColumns()
881 xTargetCell->merge( nColSpan - nRemove, xCell->getRowSpan() ); in removeColumns()
886 else if( nColSpan > (nIndex - nCol) ) in removeColumns()
889 const sal_Int32 nRemove = ::std::min( nCount, nCol + nColSpan - nIndex ); in removeColumns()
892 xCell->merge( nColSpan - nRemove, xCell->getRowSpan() ); in removeColumns()
959 const sal_Int32 nColSpan = xCell->getColumnSpan(); in insertRows() local
961 merge( nCol, nRow, nColSpan, nRowSpan ); in insertRows()
1188 void TableModel::merge( sal_Int32 nCol, sal_Int32 nRow, sal_Int32 nColSpan, sal_Int32 nRowSpan ) in merge() argument
1195 const sal_Int32 nLastCol = nCol + nColSpan; in merge()
1208 xOriginCell->merge( nColSpan, nRowSpan ); in merge()