Home
last modified time | relevance | path

Searched refs:nLastCol (Results 1 – 25 of 45) sorted by relevance

12

/aoo42x/main/svx/source/dialog/
H A Dframelinkarray.cxx99 for( size_t nCol = nFirstCol; nCol <= nLastCol; ++nCol ) in lclSetMergedRange()
167 size_t nLastCol = nCol + 1; in GetMergedLastCol() local
168 while( (nLastCol < mnWidth) && GetCell( nLastCol, nRow ).mbOverlapX ) ++nLastCol; in GetMergedLastCol()
169 return nLastCol - 1; in GetMergedLastCol()
600 return ((nCol == nLastCol) && (nRow == nLastRow)) ? in GetCellStyleBR()
624 return ((nCol == nLastCol) && (nRow == nFirstRow)) ? in GetCellStyleTR()
741 size_t nFirstCol, nFirstRow, nLastCol, nLastRow; in GetMergedSize() local
743 rnWidth = nLastCol - nFirstCol + 1; in GetMergedSize()
763 mxImpl->mnLastClipCol = nLastCol; in SetClipRange()
849 DBG_FRAME_CHECK_COL( nLastCol, "GetColWidth" ); in GetColWidth()
[all …]
/aoo42x/main/oox/source/xls/
H A Dworksheethelper.cxx550 sal_Int32 nLastCol = ::std::min( rColRange.mnLast, mrMaxApiPos.Column ); in getColumns() local
551 if( (0 <= rColRange.mnFirst) && (rColRange.mnFirst <= nLastCol) ) in getColumns()
820 sal_Int32 nLastCol = rModel.maRange.mnLast - 1; in setColumnModel() local
824 if( !getAddressConverter().checkCol( nLastCol, true ) ) in setColumnModel()
825 nLastCol = mrMaxApiPos.Column; in setColumnModel()
836 nLastCol = ::std::min( nLastCol, aIt->first - 1 ); in setColumnModel()
848 rnLastMapCol = nLastCol; in setColumnModel()
853 if( nFirstCol <= nLastCol ) in setColumnModel()
857 maColModels[ nFirstCol ] = ColumnModelRange( rModel, nLastCol ); in setColumnModel()
859 convertColumnFormat( nFirstCol, nLastCol, rModel.mnXfId ); in setColumnModel()
[all …]
H A Dworksheetfragment.cxx940 sal_uInt16 nFirstCol, nLastCol, nWidth, nXfId, nFlags; in importColInfo() local
941 rStrm >> nFirstCol >> nLastCol >> nWidth >> nXfId >> nFlags; in importColInfo()
946 aModel.maRange.mnLast = static_cast< sal_Int32 >( nLastCol ) + 1; in importColInfo()
960 sal_uInt16 nFirstCol, nLastCol, nXfId; in importColumnDefault() local
961 rStrm >> nFirstCol >> nLastCol >> nXfId; in importColumnDefault()
962 setDefaultColumnFormat( nFirstCol, nLastCol, nXfId ); in importColumnDefault()
967 sal_uInt8 nFirstCol, nLastCol; in importColWidth() local
969 rStrm >> nFirstCol >> nLastCol >> nWidth; in importColWidth()
974 aModel.maRange.mnLast = static_cast< sal_Int32 >( nLastCol ) + 1; in importColWidth()
H A Dsheetdatacontext.cxx328 … sal_Int32 nLastCol = ::std::min( aColSpanToken.copy( nSepPos + 1 ).toInt32() - 1, nMaxCol ); in importRow() local
329 … aModel.insertColSpan( ValueRange( aColSpanToken.copy( 0, nSepPos ).toInt32() - 1, nLastCol ) ); in importRow()
418 sal_Int32 nFirstCol, nLastCol; in importRow() local
419 rStrm >> nFirstCol >> nLastCol; in importRow()
420 aModel.insertColSpan( ValueRange( nFirstCol, ::std::min( nLastCol, nMaxCol ) ) ); in importRow()
743 …sal_Int32 nLastCol = ::std::min< sal_Int32 >( nFirstFreeCol - 1, mrAddressConv.getMaxApiAddress().… in importRow() local
744 aModel.insertColSpan( ValueRange( nFirstUsedCol, nLastCol ) ); in importRow()
/aoo42x/main/sc/source/filter/excel/
H A Dimpop.cxx518 sal_uInt8 nFirstCol, nLastCol; in Array25() local
520 aIn >> nFirstRow >> nLastRow >> nFirstCol >> nLastCol; in Array25()
533 if( ValidColRow( nLastCol, nLastRow ) ) in Array25()
827 sal_uInt8 nFirstCol, nLastCol; in Shrfmla() local
829 aIn >> nFirstRow >> nLastRow >> nFirstCol >> nLastCol; in Shrfmla()
999 sal_uInt8 nFirstCol, nLastCol; in Array34() local
1001 aIn >> nFirstRow >> nLastRow >> nFirstCol >> nLastCol; in Array34()
1005 if( ValidColRow( nLastCol, nLastRow ) ) in Array34()
1042 sal_uInt8 nFirstCol, nLastCol; in TableOp() local
1049 if( ValidColRow( nLastCol, nLastRow ) ) in TableOp()
[all …]
/aoo42x/main/sc/source/core/data/
H A Dtable5.cxx611 SCCOL nLastCol; in CopyColHidden() local
612 bool bHidden = rTable.ColHidden(nCol, NULL, &nLastCol); in CopyColHidden()
613 if (nLastCol > nEndCol) in CopyColHidden()
614 nLastCol = nEndCol; in CopyColHidden()
616 SetColHidden(nCol, nLastCol, bHidden); in CopyColHidden()
617 nCol = nLastCol + 1; in CopyColHidden()
824 SCCOL nLastCol; in CopyColFiltered() local
826 if (nLastCol > nEndCol) in CopyColFiltered()
827 nLastCol = nEndCol; in CopyColFiltered()
829 SetColFiltered(nCol, nLastCol, bFiltered); in CopyColFiltered()
[all …]
H A Dtable6.cxx253 SCCOL nLastCol; in Search() local
255 GetLastDataPos(nLastCol, nLastRow); in Search()
258 nCol = Min(nCol, (SCCOL)(nLastCol + 1)); in Search()
284 nCol = nLastCol; in Search()
327 while (!bFound && (nCol <= nLastCol)) in Search()
333 while ((nCol <= nLastCol) && aCol[nCol].IsEmptyData()) nCol++; in Search()
346 while (!bFound && (nCol <= nLastCol)) in Search()
361 while ((nCol <= nLastCol) && aCol[nCol].IsEmptyData()) nCol++; in Search()
H A Dfillinfo.cxx95 SCCOL nLastCol; in lcl_GetMergeRange() local
101 if (rStartX >= (SCsCOL) nX1 && !pDoc->ColHidden(rStartX, nTab, nLastCol)) in lcl_GetMergeRange()
123 !pDoc->ColHidden(rStartX, nTab, nLastCol) && in lcl_GetMergeRange()
141 !pDoc->ColHidden(rStartX, nTab, nLastCol) && in lcl_GetMergeRange()
957 size_t nLastCol = static_cast< size_t >( nLastCellInfoX - nX1 ); in FillInfo() local
976 rArray.SetMergedRange( nFirstCol, nFirstRow, nLastCol, nLastRow ); in FillInfo()
989 if( nLastCol + 1 == nColCount ) in FillInfo()
H A Dtable3.cxx546 SCCOL nLastCol; in Sort() local
547 for (nLastCol = aSortParam.nCol2; in Sort()
548 …(nLastCol > aSortParam.nCol1) && aCol[nLastCol].IsEmptyBlock(aSortParam.nRow1, aSortParam.nRow2); in Sort()
553 if (!IsSorted(nCol1, nLastCol)) in Sort()
556 ScGlobal::GetRscString(STR_PROGRESS_SORTING), nLastCol - nCol1 ); in Sort()
557 ScSortInfoArray* pArray = CreateSortInfoArray( nCol1, nLastCol ); in Sort()
558 QuickSort( pArray, nCol1, nLastCol ); in Sort()
562 …teCaptionPositions( *pDocument, ScRange( nCol1, aSortParam.nRow1, nTab, nLastCol, aSortParam.nRow2… in Sort()
H A Dtable1.cxx1420 SCCOL nLastCol = i; in ExtendPrintArea() local
1421 if (ColHidden(i, NULL, &nLastCol)) in ExtendPrintArea()
1424 aSkipCols.setTrue(i, nLastCol); in ExtendPrintArea()
1429 for (SCCOL j = i; j <= nLastCol; ++j) in ExtendPrintArea()
1436 i = nLastCol; in ExtendPrintArea()
/aoo42x/main/sc/source/ui/view/
H A Dviewfun5.cxx155 SCCOL nFirstCol, nLastCol; in PasteDataFormat() local
158 pSrcDoc->GetCellArea( nSrcTab, nLastCol, nLastRow ); in PasteDataFormat()
161 nFirstCol = nLastCol = 0; in PasteDataFormat()
164 …ScClipParam aClipParam(ScRange(nFirstCol, nFirstRow, nSrcTab, nLastCol, nLastRow, nSrcTab), false); in PasteDataFormat()
561 SCCOL nFirstCol, nLastCol; in PasteDataFormat() local
564 pInsDoc->GetCellArea( nSrcTab, nLastCol, nLastRow ); in PasteDataFormat()
567 nFirstCol = nLastCol = 0; in PasteDataFormat()
571 nLastCol, nLastRow, nSrcTab ); in PasteDataFormat()
H A Dcolrowba.cxx97 SCCOL nLastCol = -1; in GetEntrySize() local
98 if (pDoc->ColHidden(static_cast<SCCOL>(nEntryNo), nTab, nLastCol)) in GetEntrySize()
/aoo42x/main/svx/source/table/
H A Dtablelayouter.cxx1059 const sal_Int32 nLastCol = xCell->getColumnSpan() + aPos.mnCol; in UpdateBorderLayout() local
1064 SetBorder( nLastCol, nRow, false, pThisAttr->GetRight() ); in UpdateBorderLayout()
1067 for( sal_Int32 nCol = aPos.mnCol; nCol < nLastCol; nCol++ ) in UpdateBorderLayout()
1112 void TableLayouter::DistributeColumns( ::Rectangle& rArea, sal_Int32 nFirstCol, sal_Int32 nLastCol ) in DistributeColumns() argument
1118 if( (nFirstCol < 0) || (nFirstCol>= nLastCol) || (nLastCol >= nColCount) ) in DistributeColumns()
1122 for( sal_Int32 nCol = nFirstCol; nCol <= nLastCol; ++nCol ) in DistributeColumns()
1125 sal_Int32 nWidth = nAllWidth / (nLastCol-nFirstCol+1); in DistributeColumns()
1129 for( sal_Int32 nCol = nFirstCol; nCol <= nLastCol; ++nCol ) in DistributeColumns()
1131 if( nCol == nLastCol ) in DistributeColumns()
/aoo42x/main/sc/source/ui/docshell/
H A Ddocsh8.cxx423 SCCOL nLastCol = rDataRange.aEnd.Col(); in lcl_GetColumnTypes() local
430 for ( SCCOL nCol = nFirstCol; nCol <= nLastCol; nCol++ ) in lcl_GetColumnTypes()
710 SCCOL nFirstCol, nLastCol; in DBaseExport() local
714 aDocument.GetCellArea( nTab, nLastCol, nLastRow ); in DBaseExport()
715 if ( nFirstCol > nLastCol ) in DBaseExport()
716 nFirstCol = nLastCol; in DBaseExport()
724 for ( SCCOL nDocCol = nFirstCol; nDocCol <= nLastCol && bHasFieldNames; nDocCol++ ) in DBaseExport()
730 long nColCount = nLastCol - nFirstCol + 1; in DBaseExport()
736 ScRange aDataRange( nFirstCol, nFirstRow, nTab, nLastCol, nLastRow, nTab ); in DBaseExport()
996 nDocRow, nLastCol, nDocRow); in DBaseExport()
/aoo42x/main/svx/inc/svx/
H A Dframelinkarray.hxx118 long GetColWidth( size_t nFirstCol, size_t nLastCol ) const;
313 …void SetMergedRange( size_t nFirstCol, size_t nFirstRow, size_t nLastCol, size_t nL…
380 …void SetClipRange( size_t nFirstCol, size_t nFirstRow, size_t nLastCol, size_t nLas…
425 long GetColWidth( size_t nFirstCol, size_t nLastCol ) const;
511 size_t nLastCol, size_t nLastRow,
/aoo42x/main/sc/source/filter/rtf/
H A Dexpbase.cxx74 SCCOL nLastCol; in TrimDataArea() local
75 while ( nStartCol <= nEndCol && pDoc->ColHidden(nStartCol, nTab, nLastCol)) in TrimDataArea()
77 while ( nStartCol <= nEndCol && pDoc->ColHidden(nEndCol, nTab, nLastCol)) in TrimDataArea()
/aoo42x/main/sc/source/ui/app/
H A Dtransobj.cxx89 SCCOL nLastCol = 0; in GetAreaSize() local
92 if( pDoc->GetPrintArea( nTab, nLastCol, nLastRow ) ) in GetAreaSize()
94 if( nLastCol > nMaxCol ) in GetAreaSize()
95 nMaxCol = nLastCol; in GetAreaSize()
615 SCCOL nCol, nLastCol; in InitDocShell() local
619 if ( pDoc->ColHidden(nCol, nSrcTab, nLastCol) ) in InitDocShell()
/aoo42x/main/sc/source/filter/xml/
H A DXMLStylesExportHelper.cxx479 const sal_Int32 nLastRow, const sal_Int32 nLastCol, in FillDefaultStyles() argument
497 nLast = nLastCol; in FillDefaultStyles()
512 static_cast<SCROW>(i), static_cast<SCCOL>(nLastCol), nCol); in FillDefaultStyles()
572 const sal_Int32 nLastRow, const sal_Int32 nLastCol, in FillDefaultStyles() argument
578 FillDefaultStyles(nTable, nLastRow, nLastCol, pCellStyles, pDoc, sal_True); in FillDefaultStyles()
581 pColDefaults = new ScMyDefaultStyleList(nLastCol + 1); in FillDefaultStyles()
582 FillDefaultStyles(nTable, nLastRow, nLastCol, pCellStyles, pDoc, sal_False); in FillDefaultStyles()
H A DXMLStylesExportHelper.hxx126 const sal_Int32 nLastRow, const sal_Int32 nLastCol,
134 const sal_Int32 nLastRow, const sal_Int32 nLastCol,
/aoo42x/main/sw/source/core/unocore/
H A Dunochart.cxx1188 sal_Int32 nFirstCol = -1, nFirstRow = -1, nLastCol = -1, nLastRow = -1; in detectArguments() local
1192 lcl_GetCellPosition( aValuesEndCell, nLastCol, nLastRow); in detectArguments()
1195 if (nFirstCol == nLastCol && nFirstRow == nLastRow) // a single cell... in detectArguments()
1203 if (nFirstCol == nLastCol && nFirstRow != nLastRow) in detectArguments()
1205 else if (nFirstCol != nLastCol && nFirstRow == nLastRow) in detectArguments()
1768 sal_Int32 nFirstCol = -1, nFirstRow = -1, nLastCol = -1, nLastRow = -1; in AddRowCols() local
1772 lcl_GetCellPosition( pLastBox->GetName(), nLastCol, nLastRow ); in AddRowCols()
1775 if (nFirstCol == nLastCol && nFirstRow != nLastRow) in AddRowCols()
1777 if (nFirstCol == nLastCol || nFirstRow == nLastRow) in AddRowCols()
1781 sal_Int32 nLastNewCol = nLastCol; in AddRowCols()
[all …]
/aoo42x/main/svtools/source/contnr/
H A Dimivctl2.cxx315 long nColOffs, nLastCol; in GoLeftRight() local
319 nLastCol = nCols; in GoLeftRight()
324 nLastCol = -1; // 0-1 in GoLeftRight()
339 } while( nCurCol != nLastCol ); in GoLeftRight()
/aoo42x/main/sc/source/core/tool/
H A Dchartarr.cxx167 SCCOL nLastCol = -1; in CreateMemChartSingle() local
168 while (pDocument->ColHidden(nCol1, nTab1, nLastCol)) in CreateMemChartSingle()
194 if (!pDocument->ColHidden(nThisCol, nTab1, nLastCol)) in CreateMemChartSingle()
/aoo42x/main/sc/source/filter/html/
H A Dhtmlpars.cxx390 SCCOL nLastCol = SCCOL_MAX; in Adjust() local
401 nLastCol = pS->nLastCol; in Adjust()
411 if ( pE->nCol <= nLastCol ) in Adjust()
425 nLastCol = pE->nCol; // eingelesene Col in Adjust()
429 nLastCol, nNextRow, nCurRow ) ); in Adjust()
2230 const SCCOL nLastCol = maSize.mnCols - 1; in ApplyCellBorders() local
2241 for( SCCOL nCol = 0; nCol <= nLastCol; ++nCol ) in ApplyCellBorders()
2244 SvxBorderLine* pRightLine = (nCol == nLastCol) ? &aOuterLine : &aInnerLine; in ApplyCellBorders()
/aoo42x/main/sc/source/ui/dbgui/
H A Dcsvgrid.cxx1207 sal_uInt32 nLastCol = GetLastVisColumn(); in ImplDrawBackgrDev() local
1208 for( sal_uInt32 nColIx = GetFirstVisColumn(); nColIx <= nLastCol; ++nColIx ) in ImplDrawBackgrDev()
1250 sal_uInt32 nLastCol = GetLastVisColumn(); in ImplDrawGridDev() local
1251 for( sal_uInt32 nColIx = GetFirstVisColumn(); nColIx <= nLastCol; ++nColIx ) in ImplDrawGridDev()
/aoo42x/main/sw/source/filter/xml/
H A Dxmltbli.cxx1620 sal_uInt32 nLastCol = GetColumnCount() < nColsReq ? GetColumnCount() in InsertCell() local
1622 for( i=nCurCol+1UL; i<nLastCol; i++ ) in InsertCell()
1832 sal_uInt32 nLastCol = nCol + nColSpan; in FixRowSpan() local
1833 for( sal_uInt16 i = (sal_uInt16)nCol; i < nLastCol; i++ ) in FixRowSpan()
1853 sal_uInt32 nLastCol = nCol + pCell->GetColSpan(); in ReplaceWithEmptyCell() local
1858 for( sal_uInt32 j=nCol; j<nLastCol; j++ ) in ReplaceWithEmptyCell()

Completed in 239 milliseconds

12