Home
last modified time | relevance | path

Searched refs:nCol (Results 1 – 25 of 467) sorted by relevance

12345678910>>...19

/AOO41X/main/svx/source/dialog/
H A Dframelinkarray.cxx99 for( size_t nCol = nFirstCol; nCol <= nLastCol; ++nCol ) in lclSetMergedRange() local
103 Cell& rCell = rCells[ nRow * nWidth + nCol ]; in lclSetMergedRange()
105 rCell.mbOverlapX = nCol > nFirstCol; in lclSetMergedRange()
140 const Cell& ArrayImpl::GetCell( size_t nCol, size_t nRow ) const in GetCell() argument
142 return IsValidPos( nCol, nRow ) ? maCells[ GetIndex( nCol, nRow ) ] : OBJ_CELL_NONE; in GetCell()
145 Cell& ArrayImpl::GetCellAcc( size_t nCol, size_t nRow ) in GetCellAcc() argument
148 return IsValidPos( nCol, nRow ) ? maCells[ GetIndex( nCol, nRow ) ] : aDummy; in GetCellAcc()
151 size_t ArrayImpl::GetMergedFirstCol( size_t nCol, size_t nRow ) const in GetMergedFirstCol() argument
153 size_t nFirstCol = nCol; in GetMergedFirstCol()
158 size_t ArrayImpl::GetMergedFirstRow( size_t nCol, size_t nRow ) const in GetMergedFirstRow() argument
[all …]
/AOO41X/main/svx/inc/svx/
H A Dframelinkarray.hxx87 inline bool IsValidPos( size_t nCol, size_t nRow ) const in IsValidPos()
88 { return (nCol < mnWidth) && (nRow < mnHeight); } in IsValidPos()
89 inline size_t GetIndex( size_t nCol, size_t nRow ) const in GetIndex()
90 { return nRow * mnWidth + nCol; } in GetIndex()
92 const Cell& GetCell( size_t nCol, size_t nRow ) const;
93 Cell& GetCellAcc( size_t nCol, size_t nRow );
95 size_t GetMergedFirstCol( size_t nCol, size_t nRow ) const;
96 size_t GetMergedFirstRow( size_t nCol, size_t nRow ) const;
97 size_t GetMergedLastCol( size_t nCol, size_t nRow ) const;
98 size_t GetMergedLastRow( size_t nCol, size_t nRow ) const;
[all …]
/AOO41X/main/sc/source/core/tool/
H A Drangeseq.cxx84 for (long nCol = 0; nCol < nColCount; nCol++) in FillLongArray() local
85 pColAry[nCol] = lcl_DoubleToLong( pDoc->GetValue( in FillLongArray()
86 ScAddress( (SCCOL)(nStartCol+nCol), (SCROW)(nStartRow+nRow), nTab ) ) ); in FillLongArray()
111 for (SCSIZE nCol = 0; nCol < nColCount; nCol++) in FillLongArray() local
112 if ( pMatrix->IsString( nCol, nRow ) ) in FillLongArray()
113 pColAry[nCol] = 0; in FillLongArray()
115 pColAry[nCol] = lcl_DoubleToLong( pMatrix->GetDouble( nCol, nRow ) ); in FillLongArray()
140 for (long nCol = 0; nCol < nColCount; nCol++) in FillDoubleArray() local
141 pColAry[nCol] = pDoc->GetValue( in FillDoubleArray()
142 ScAddress( (SCCOL)(nStartCol+nCol), (SCROW)(nStartRow+nRow), nTab ) ); in FillDoubleArray()
[all …]
/AOO41X/main/sc/source/core/data/
H A Dtable2.cxx295 for (SCCOL nCol = MAXCOL; nCol > nStartCol; nCol--) in InsertCol() local
296 aCol[nCol].SwapCol(aCol[nCol-1]); in InsertCol()
354 SCCOL nCol = *it; in DeleteCol() local
356 maColManualBreaks.insert( static_cast<SCCOL>( nCol - nSize)); in DeleteCol()
371 for (SCCOL nCol = nStartCol; nCol < MAXCOL; nCol++) in DeleteCol() local
372 aCol[nCol].SwapCol(aCol[nCol+1]); in DeleteCol()
562 for (SCCOL nCol=nCol1; nCol<=nCol2; nCol++) in TransposeClip() local
575 …ScAddress aDestPos( static_cast<SCCOL>(nRow-nRow1), static_cast<SCROW>(nCol-nCol1), pTransClip->nT… in TransposeClip()
577 aRef.nCol = nCol; in TransposeClip()
587 … pTransClip->PutCell( static_cast<SCCOL>(nRow-nRow1), static_cast<SCROW>(nCol-nCol1), pNew ); in TransposeClip()
[all …]
H A Dtable6.cxx60 sal_Bool ScTable::SearchCell(const SvxSearchItem& rSearchItem, SCCOL nCol, SCROW nRow, in SearchCell() argument
70 bDoSearch = rMark.IsCellMarked(nCol, nRow); in SearchCell()
71 if ( bDoSearch && ((pCell = aCol[nCol].GetCell( nRow )) != NULL) ) in SearchCell()
86 aCol[nCol].GetInputString( nRow, aString ); in SearchCell()
94 aCol[nCol].GetString( nRow, aString ); in SearchCell()
151 ScAddress aAdr( nCol, nRow, nTab ); in SearchCell()
215 pNote->SetText( ScAddress( nCol, nRow, nTab ), aString ); in SearchCell()
226 ScAddress aAdr( nCol, nRow, nTab ); in SearchCell()
233 aCol[nCol].Insert( nRow, pFCell ); in SearchCell()
236 PutCell( nCol, nRow, new ScEditCell( aString, pDocument ) ); in SearchCell()
[all …]
H A Dtable4.cxx217 SCCOL nCol = nCol1; in FillAnalyse() local
220 ScBaseCell* pFirstCell = GetCell( nCol, nRow ); in FillAnalyse()
225 … sal_uInt32 nFormat = ((const SfxUInt32Item*)GetAttr(nCol,nRow,ATTR_VALUE_FORMAT))->GetValue(); in FillAnalyse()
238 nVal = GetValue(nCol+nAddX, nRow+nAddY); in FillAnalyse()
257 nCol = sal::static_int_cast<SCCOL>( nCol + nAddX ); in FillAnalyse()
262 ScBaseCell* pCell = GetCell(nCol,nRow); in FillAnalyse()
281 nCol = sal::static_int_cast<SCCOL>( nCol + nAddX ); in FillAnalyse()
312 double nVal2 = GetValue(nCol+nAddX, nRow+nAddY); in FillAnalyse()
314 nCol = sal::static_int_cast<SCCOL>( nCol + nAddX ); in FillAnalyse()
319 ScBaseCell* pCell = GetCell(nCol,nRow); in FillAnalyse()
[all …]
H A Dtable3.cxx140 SCCOL nCol = static_cast<SCCOL>(aSortParam.nField[nSort]); in CreateSortInfoArray() local
141 ScColumn* pCol = &aCol[nCol]; in CreateSortInfoArray()
156 for ( SCCOL nCol = static_cast<SCCOL>(nInd1); in CreateSortInfoArray() local
157 nCol <= static_cast<SCCOL>(nInd2); nCol++ ) in CreateSortInfoArray()
159 ScSortInfo* pInfo = pArray->Get( nSort, nCol ); in CreateSortInfoArray()
160 pInfo->pCell = GetCell( nCol, nRow ); in CreateSortInfoArray()
161 pInfo->nOrg = nCol; in CreateSortInfoArray()
437 for (SCCOL nCol = aSortParam.nCol1; nCol <= aSortParam.nCol2; nCol++) in SwapRow() local
439 aCol[nCol].SwapRow(nRow1, nRow2); in SwapRow()
442 const ScPatternAttr* pPat1 = GetPattern(nCol, nRow1); in SwapRow()
[all …]
H A Dmarkdata.cxx159 SCCOL nCol; in SetMultiMarkArea() local
160 for (nCol=nStartCol; nCol<=nEndCol; nCol++) in SetMultiMarkArea()
161 pMultiSel[nCol].SetMarkArea( nStartRow, nEndRow, bMark ); in SetMultiMarkArea()
257 for (SCCOL nCol=nStartCol+1; nCol<=nEndCol && bOk; nCol++) in MarkToSimple() local
258 if ( !pMultiSel[nCol].HasOneMark( nCmpStart, nCmpEnd ) in MarkToSimple()
278 sal_Bool ScMarkData::IsCellMarked( SCCOL nCol, SCROW nRow, sal_Bool bNoSimple ) const in IsCellMarked() argument
281 if ( aMarkRange.aStart.Col() <= nCol && aMarkRange.aEnd.Col() >= nCol && in IsCellMarked()
290 return pMultiSel[nCol].GetMark( nRow ); in IsCellMarked()
296 sal_Bool ScMarkData::IsColumnMarked( SCCOL nCol ) const in IsColumnMarked()
302 aMarkRange.aStart.Col() <= nCol && aMarkRange.aEnd.Col() >= nCol && in IsColumnMarked()
[all …]
H A Dtable1.cxx253 sal_uInt16 ScTable::GetOptimalColWidth( SCCOL nCol, OutputDevice* pDev, in GetOptimalColWidth() argument
259 return aCol[nCol].GetOptimalColWidth( pDev, nPPTX, nPPTY, rZoomX, rZoomY, in GetOptimalColWidth()
263 long ScTable::GetNeededSize( SCCOL nCol, SCROW nRow, in GetNeededSize() argument
273 return aCol[nCol].GetNeededSize in GetNeededSize()
319 for (SCCOL nCol=0; nCol<MAXCOL; nCol++) // MAXCOL schon oben in SetOptimalHeight() local
321 aCol[nCol].GetOptimalHeight( in SetOptimalHeight()
327 sal_uLong nWeight = aCol[nCol].GetWeightedCount(); in SetOptimalHeight()
849 SCCOL nCol; in GetEmptyLinesInBlock() local
853 for (nCol = nStartCol; nCol <= nEndCol; nCol++) in GetEmptyLinesInBlock()
854 nCount = Min(nCount, aCol[nCol].GetEmptyLinesInBlock(nStartRow, nEndRow, eDir)); in GetEmptyLinesInBlock()
[all …]
H A Ddociter.cxx73 nCol = 0; in ScDocumentIterator()
92 nCol = MAXCOL; in GetThisCol()
98 ScColumn* pCol = &pTab->aCol[nCol]; in GetThisCol()
159 ++nCol; in GetThis()
160 if (nCol > MAXCOL) in GetThis()
162 nCol = 0; in GetThis()
178 nCol = 0; in GetFirst()
209 rCol = nCol; in GetPos()
301 nCol = nStartCol; in ScValueIterator()
314 ScColumn* pCol = &(pDoc->pTab[nTab])->aCol[nCol]; in GetThis()
[all …]
H A Ddpcachetable.cxx202 for (SCCOL nCol = 0; nCol < nColCount; ++nCol) in fillTable() local
204 SCROW nMemCount = GetCache()->GetDimMemberCount( nCol ); in fillTable()
211 SCROW nIndex = GetCache()->GetItemDataId( nCol, nRow, bRepeatIfEmpty ); in fillTable()
212 SCROW nOrder = GetCache()->GetOrder( nCol, nIndex ); in fillTable()
214 if ( nCol == 0 ) in fillTable()
223 if ( nCol == 0 ) in fillTable()
257 for (SCCOL nCol = 0; nCol < nColCount; ++nCol) in fillTable() local
259 SCROW nMemCount = GetCache()->GetDimMemberCount( nCol ); in fillTable()
266 SCROW nIndex = GetCache()->GetItemDataId( nCol, nRow, false ); in fillTable()
267 SCROW nOrder = GetCache()->GetOrder( nCol, nIndex ); in fillTable()
[all …]
H A Dtable5.cxx373 bool ScTable::HasColPageBreak(SCCOL nCol) const in HasColPageBreak()
375 if (!ValidCol(nCol)) in HasColPageBreak()
378 return maColPageBreaks.find(nCol) != maColPageBreaks.end(); in HasColPageBreak()
389 bool ScTable::HasColManualBreak(SCCOL nCol) const in HasColManualBreak()
391 if (!ValidCol(nCol)) in HasColManualBreak()
394 return maColManualBreaks.find(nCol) != maColManualBreaks.end(); in HasColManualBreak()
430 void ScTable::RemoveColBreak(SCCOL nCol, bool bPage, bool bManual) in RemoveColBreak() argument
432 if (!ValidCol(nCol)) in RemoveColBreak()
436 maColPageBreaks.erase(nCol); in RemoveColBreak()
440 maColManualBreaks.erase(nCol); in RemoveColBreak()
[all …]
H A Ddptablecache.cxx89 ScDPItemData* lcl_GetItemValue(const Reference<sdbc::XRow>& xRow, sal_Int32 nType, long nCol, in lcl_GetItemValue() argument
95 String rStr = xRow->getString(nCol); in lcl_GetItemValue()
103 fValue = xRow->getBoolean(nCol) ? 1 : 0; in lcl_GetItemValue()
119 fValue = xRow->getDouble(nCol); in lcl_GetItemValue()
128 util::Date aDate = xRow->getDate(nCol); in lcl_GetItemValue()
138 util::Time aTime = xRow->getTime(nCol); in lcl_GetItemValue()
149 util::DateTime aStamp = xRow->getTimestamp(nCol); in lcl_GetItemValue()
186 ScDPItemData::ScDPItemData( ScDocument* pDoc, SCROW nRow, sal_uInt16 nCol, sal_uInt16 nDocTab ): in ScDPItemData() argument
190 pDoc->GetString( nCol, nRow, nDocTab, aDocStr ); in ScDPItemData()
194 ScAddress aPos( nCol, nRow, nDocTab ); in ScDPItemData()
[all …]
H A Ddpoutput.cxx570 void ScDPOutput::DataCell( SCCOL nCol, SCROW nRow, SCTAB nTab, const sheet::DataResult& rData ) in DataCell() argument
575 pDoc->SetError( nCol, nRow, nTab, errNoValue ); in DataCell()
579 pDoc->SetValue( nCol, nRow, nTab, rData.Value ); in DataCell()
587 if ( nCol >= nDataStartCol ) in DataCell()
589 long nIndex = nCol - nDataStartCol; in DataCell()
606 pDoc->ApplyAttr( nCol, nRow, nTab, SfxUInt32Item( ATTR_VALUE_FORMAT, nFormat ) ); in DataCell()
616 void ScDPOutput::HeaderCell( SCCOL nCol, SCROW nRow, SCTAB nTab, in HeaderCell() argument
629 pDoc->SetString( nCol, nRow, nTab, aCaptionBuf.makeStringAndClear() ); in HeaderCell()
651 outputimp.OutputBlockFrame( nCol,nMemberStartRow+(SCROW)nLevel, nCol,nDataStartRow-1 ); in HeaderCell()
654 lcl_SetStyleById( pDoc,nTab, nCol,nMemberStartRow+(SCROW)nLevel, nCol,nDataStartRow-1, in HeaderCell()
[all …]
/AOO41X/main/sc/source/filter/lotus/
H A Dop.cxx96 sal_uInt16 nCol, nRow; in OP_Integer() local
100 r >> nFormat >> nCol >> nRow >> nValue; in OP_Integer()
102 if (ValidColRow( static_cast<SCCOL>(nCol), nRow)) in OP_Integer()
105 …pDoc->PutCell( static_cast<SCCOL> (nCol), static_cast<SCROW> (nRow), nTab, pZelle, ( sal_Bool ) sa… in OP_Integer()
108 SetFormat( static_cast<SCCOL> (nCol), static_cast<SCROW> (nRow), nTab, nFormat, 0 ); in OP_Integer()
116 sal_uInt16 nCol, nRow; in OP_Number() local
120 r >> nFormat >> nCol >> nRow >> fValue; in OP_Number()
122 if (ValidColRow( static_cast<SCCOL>(nCol), nRow)) in OP_Number()
126 …pDoc->PutCell( static_cast<SCCOL> (nCol), static_cast<SCROW> (nRow), nTab, pZelle, ( sal_Bool ) sa… in OP_Number()
128 SetFormat( static_cast<SCCOL> (nCol), static_cast<SCROW> (nRow), nTab, nFormat, nDezFloat ); in OP_Number()
[all …]
H A Dexpop.cxx98 sal_uInt16 nCol = static_cast<sal_uInt16>(nEndCol); in Dimensions() local
100 DBG_ASSERT( nCol <= WK1MAXCOL, "ExportWK1::Dimensions(): Col > WK1MAXCOL" ); in Dimensions()
102 aOut << nCol << nRow; // Ending Col/Row in Dimensions()
129 for( sal_uInt16 nCol = 0 ; nCol < 256 ; nCol++ ) in Colw() local
131 nWidth = pD->GetColWidth( static_cast<SCCOL>(nCol), 0 ); in Colw()
133 aOut << ( sal_uInt16 ) 0x08 << ( sal_uInt16 ) 3 << nCol << nWidthSpaces; in Colw()
138 void ExportWK1::Blank( const sal_uInt16 nCol, const sal_uInt16 nRow, const ScPatternAttr& aAttr ) in Blank() argument
141 DBG_ASSERT( nCol <= WK1MAXCOL, "ExportWK1::Blank(): Col > WK1MAXCOL" ); in Blank()
144 aOut << ( sal_uInt16 ) 0x0C << ( sal_uInt16 ) 5 << GenFormByte( aAttr ) << nCol << nRow; in Blank()
148 void ExportWK1::Number( const sal_uInt16 nCol, const sal_uInt16 nRow, const double fWert, const ScP… in Number() argument
[all …]
/AOO41X/main/svx/source/table/
H A Dtablelayouter.cxx365 sal_Int32 nRow, nCol; in findMergeOrigin() local
373 nCol = nMergedX; in findMergeOrigin()
374 for( i = 0; (i <= nStep) && (nCol >= nMinCol); i++, nCol-- ) in findMergeOrigin()
376 if( checkMergeOrigin( xTable, nMergedX, nMergedY, nCol, nRow, bCheckVert ) ) in findMergeOrigin()
378 rOriginX = nCol; rOriginY = nRow; in findMergeOrigin()
384 if( nCol == nMergedX ) in findMergeOrigin()
404 nCol = nMergedX - nStep; in findMergeOrigin()
405 if( nCol >= nMinCol ) in findMergeOrigin()
410 if( checkMergeOrigin( xTable, nMergedX, nMergedY, nCol, nRow, bCheckHorz ) ) in findMergeOrigin()
412 rOriginX = nCol; rOriginY = nRow; in findMergeOrigin()
[all …]
H A Dcellcursor.cxx210 sal_Int32 nRow, nCol; in GetMergedSelection() local
213 for( nCol = rStart.mnCol; nCol <= rEnd.mnCol; nCol++ ) in GetMergedSelection()
215 … xCell.set( dynamic_cast< Cell* >( mxTable->getCellByPosition( nCol, nRow ).get() ) ); in GetMergedSelection()
222 if( findMergeOrigin( mxTable, nCol, nRow, nOriginCol, nOriginRow ) ) in GetMergedSelection()
238 …else if( ((nCol + xCell->getColumnSpan() - 1) > rEnd.mnCol) || ((nRow + xCell->getRowSpan() - 1 ) … in GetMergedSelection()
290 void CellCursor::split_column( sal_Int32 nCol, sal_Int32 nColumns, std::vector< sal_Int32 >& rLeftO… in split_column() argument
299 CellRef xCell( dynamic_cast< Cell* >( mxTable->getCellByPosition( nCol, nRow ).get() ) ); in split_column()
308 Reference< XPropertySet > xRefColumn( xCols->getByIndex( nCol ), UNO_QUERY_THROW ); in split_column()
316 xCols->insertByIndex( nCol + 1, nNewCols ); in split_column()
320 for( sal_Int32 nNewCol = nCol + nNewCols; nNewCol > nCol; --nNewCol ) in split_column()
[all …]
H A Dtablemodel.cxx160 for( sal_Int32 nCol = 0; nCol < nColCount; ++nCol ) in TableModel() local
164 CellRef xTargetCell( getCell( nCol, nRow ) ); in TableModel()
166 xTargetCell->cloneFrom( xSourceTable->getCell( nCol, nRow ) ); in TableModel()
646 for( sal_Int32 nCol = 0; nCol < nColCount; ++nCol ) in notifyModification() local
648 fprintf( file, "<column this=\"%lx\"/>\n\r", maColumns[nCol].get() ); in notifyModification()
655 for( sal_Int32 nCol = 0; nCol < nColCount; ++nCol ) in notifyModification() local
657 CellRef xCell( getCell( nCol, nRow ) ); in notifyModification()
684 CellRef TableModel::getCell( sal_Int32 nCol, sal_Int32 nRow ) const in getCell() argument
686 … if( ((nRow >= 0) && (nRow < getRowCountImpl())) && (nCol >= 0) && (nCol < getColumnCountImpl()) ) in getCell()
688 return maRows[nRow]->maCells[nCol]; in getCell()
[all …]
/AOO41X/main/sc/inc/
H A Daddress.hxx144 #define VALIDCOL(nCol) (ValidCol(nCol)) argument
147 #define VALIDCOLROW(nCol,nRow) (ValidColRow(nCol,nRow)) argument
148 #define VALIDCOLROWTAB(nCol,nRow,nTab) (ValidColRowTab(nCol,nRow,nTab)) argument
152 inline bool ValidCol( SCCOL nCol ) in ValidCol() argument
154 return static_cast<SCCOL>(0) <= nCol && nCol <= MAXCOL; in ValidCol()
172 inline bool ValidColRow( SCCOL nCol, SCROW nRow ) in ValidColRow() argument
174 return ValidCol( nCol) && ValidRow( nRow); in ValidColRow()
177 inline bool ValidColRowTab( SCCOL nCol, SCROW nRow, SCTAB nTab ) in ValidColRowTab() argument
179 return ValidCol( nCol) && ValidRow( nRow) && ValidTab( nTab); in ValidColRowTab()
182 inline SCCOL SanitizeCol( SCCOL nCol ) in SanitizeCol() argument
[all …]
H A Dbigrange.hxx39 sal_Int32 nCol; member in ScBigAddress
43 ScBigAddress() : nRow(0), nCol(0), nTab(0) {} in ScBigAddress()
45 : nRow( nRowP ), nCol( nColP ), nTab( nTabP ) {} in ScBigAddress()
47 : nRow( r.nRow ), nCol( r.nCol ), nTab( r.nTab ) {} in ScBigAddress()
49 : nRow( r.Row() ), nCol( r.Col() ), nTab( r.Tab() ) {} in ScBigAddress()
51 sal_Int32 Col() const { return nCol; } in Col()
56 { nCol = nColP; nRow = nRowP; nTab = nTabP; } in Set()
57 void SetCol( sal_Int32 nColP ) { nCol = nColP; } in SetCol()
60 void IncCol( sal_Int32 n = 1 ) { nCol += n; } in IncCol()
65 { nColP = nCol; nRowP = nRow; nTabP = nTab; } in GetVars()
[all …]
/AOO41X/main/basic/source/comp/
H A Dscanner.cxx56 nCol = 0; in SbiScanner()
128 pLine++; nCol++; return sal_True; in DoesColonFollow()
201 nCol = nCol1 = nCol2 = nOldCol1 = nOldCol2 = 0; in NextSym()
207 pLine++, nCol++, bSpaces = sal_True; in NextSym()
209 nCol1 = nCol; in NextSym()
221 nCol++; in NextSym()
233 short n = nCol; in NextSym()
235 nCol++; in NextSym()
236 aSym = aLine.copy( n, nCol - n ); in NextSym()
242 short nTestCol = nCol; in NextSym()
[all …]
/AOO41X/main/sw/source/filter/writer/
H A Dwrtswtbl.cxx76 sal_uInt16 nRow, sal_uInt16 nCol, in AddCell() argument
82 new SwWriteTableCell( pBox, nRow, nCol, nRowSpan, nColSpan, in AddCell()
246 sal_uInt16 nRow, sal_uInt16 nCol, in MergeBoxBorders() argument
266 MergeBorders( rBoxItem.GetLeft(), nCol==0 ); in MergeBoxBorders()
279 MergeBorders( rBoxItem.GetRight(), nCol+nColSpan==aCols.Count() ); in MergeBoxBorders()
305 sal_uInt32 SwWriteTable::GetRawWidth( sal_uInt16 nCol, sal_uInt16 nColSpan ) const in GetRawWidth() argument
307 sal_uInt32 nWidth = aCols[nCol+nColSpan-1]->GetPos(); in GetRawWidth()
308 if( nCol > 0 ) in GetRawWidth()
309 nWidth = nWidth - aCols[nCol-1]->GetPos(); in GetRawWidth()
314 sal_uInt16 SwWriteTable::GetLeftSpace( sal_uInt16 nCol ) const in GetLeftSpace()
[all …]
/AOO41X/main/sc/source/filter/rtf/
H A Deeimpars.cxx162 SCCOL nCol = nStartCol + pE->nCol + nMergeColAdd; in WriteToDocument() local
167 while ( nCol <= MAXCOL && mpDoc->HasAttrib( nCol, nRow, nTab, in WriteToDocument()
168 nCol, nRow, nTab, HASATTR_OVERLAPPED ) ) in WriteToDocument()
170 nCol++; in WriteToDocument()
176 pE->nCol = nCol; in WriteToDocument()
178 if ( ValidCol(nCol) && ValidRow(nRow) ) in WriteToDocument()
303 mpDoc->ApplyFlagsTab( nCol+1, nRow, in WriteToDocument()
304 nCol + pE->nColOverlap - 1, nRow, nTab, in WriteToDocument()
309 mpDoc->ApplyFlagsTab( nCol, nRow+1, in WriteToDocument()
310 nCol, nRO , nTab, in WriteToDocument()
[all …]
/AOO41X/main/sc/source/ui/view/
H A Dviewfunc.cxx131 sal_Bool ScViewFunc::TestFormatArea( SCCOL nCol, SCROW nRow, SCTAB nTab, sal_Bool bAttrChanged ) in TestFormatArea() argument
154 if ( nCol >= aFormatArea.aStart.Col() && nCol <= aFormatArea.aEnd.Col() ) in TestFormatArea()
159 if ( nCol+1 == aFormatArea.aStart.Col() ) in TestFormatArea()
162 aNewRange.aStart.SetCol( nCol ); in TestFormatArea()
165 if ( nCol == aFormatArea.aEnd.Col()+1 ) in TestFormatArea()
168 aNewRange.aEnd.SetCol( nCol ); in TestFormatArea()
171 if ( nCol >= aFormatArea.aStart.Col() && nCol <= aFormatArea.aEnd.Col() ) in TestFormatArea()
200 void ScViewFunc::DoAutoAttributes( SCCOL nCol, SCROW nRow, SCTAB nTab, in DoAutoAttributes() argument
212 const ScPatternAttr* pDocOld = pDoc->GetPattern( nCol, nRow, nTab ); in DoAutoAttributes()
221 pDoc->ApplyStyle( nCol, nRow, nTab, *pSrcStyle ); in DoAutoAttributes()
[all …]

12345678910>>...19