Home
last modified time | relevance | path

Searched refs:rScPos (Results 1 – 25 of 44) sorted by relevance

12

/dports/editors/libreoffice/libreoffice-7.2.6.2/sc/source/filter/excel/
H A Dxetable.cxx77 …maBaseXclPos.Set( static_cast< sal_uInt16 >( rScPos.Col() ), static_cast< sal_uInt16 >( rScPos.Row… in XclExpRangeFmlaBase()
148 const ScAddress& rScPos = rScRange.aStart; in CreateArray() local
152 XclExpArrayRef& rxRec = maRecMap[ rScPos ]; in CreateArray()
190 Extend( rScPos ); in ExtendRange()
280 xRec = new XclExpShrfmla( xTokArr, rScPos ); in CreateOrExtendShrfmla()
288 xRec->ExtendRange( rScPos ); in CreateOrExtendShrfmla()
296 XclExpTableop::XclExpTableop( const ScAddress& rScPos, in XclExpTableop() argument
298 XclExpRangeFmlaBase( EXC_ID3_TABLEOP, 16, rScPos ), in XclExpTableop()
365 Extend( rScPos ); in TryExtend()
469 if( xTempRec->TryExtend( rScPos, aRefs ) ) in CreateOrExtendTableop()
[all …]
H A Dxehelper.cxx165 bool XclExpAddressConverter::CheckAddress( const ScAddress& rScPos, bool bWarn ) in CheckAddress() argument
168 bool bValidCol = (0 <= rScPos.Col()) && (rScPos.Col() <= maMaxPos.Col()); in CheckAddress()
169 bool bValidRow = (0 <= rScPos.Row()) && (rScPos.Row() <= maMaxPos.Row()); in CheckAddress()
170 bool bValidTab = (0 <= rScPos.Tab()) && (rScPos.Tab() <= maMaxPos.Tab()); in CheckAddress()
181 mrTracer.TraceInvalidAddress( rScPos, maMaxPos ); in CheckAddress()
187 const ScAddress& rScPos, bool bWarn ) in ConvertAddress() argument
189 bool bValid = CheckAddress( rScPos, bWarn ); in ConvertAddress()
191 lclFillAddress( rXclPos, rScPos.Col(), rScPos.Row() ); in ConvertAddress()
198 if( !ConvertAddress( aXclPos, rScPos, bWarn ) ) in CreateValidAddress()
199 …lclFillAddress( aXclPos, ::std::min( rScPos.Col(), maMaxPos.Col() ), ::std::min( rScPos.Row(), maM… in CreateValidAddress()
[all …]
H A Dxipivot.cxx87 rDoc.setNumericCell(rScPos, fValue); in lclSetValue()
90 rScPos.Col(), rScPos.Row(), rScPos.Tab(), SfxUInt32Item(ATTR_VALUE_FORMAT, nScNumFmt)); in lclSetValue()
95 void XclImpPCItem::WriteToSource( XclImpRoot& rRoot, const ScAddress& rScPos ) const in WriteToSource()
99 rDoc.setStringCell(rScPos, *pText); in WriteToSource()
101 rDoc.setNumericCell(rScPos, *pfValue); in WriteToSource()
103 rDoc.setNumericCell(rScPos, *pnValue); in WriteToSource()
105 lclSetValue( rRoot, rScPos, *pbValue ? 1.0 : 0.0, SvNumFormatType::LOGICAL ); in WriteToSource()
114 lclSetValue( rRoot, rScPos, fValue, nFormatType ); in WriteToSource()
123 ? new ScFormulaCell(rDoc.getDoc(), rScPos, std::move(pScTokArr)) in WriteToSource()
124 : new ScFormulaCell(rDoc.getDoc(), rScPos); in WriteToSource()
[all …]
H A Dxihelper.cxx46 void lclFillAddress( ScAddress& rScPos, sal_uInt16 nXclCol, sal_uInt32 nXclRow, SCTAB nScTab ) in lclFillAddress() argument
48 rScPos.SetCol( static_cast< SCCOL >( nXclCol ) ); in lclFillAddress()
49 rScPos.SetRow( static_cast< SCROW >( nXclRow ) ); in lclFillAddress()
50 rScPos.SetTab( nScTab ); in lclFillAddress()
77 bool XclImpAddressConverter::ConvertAddress( ScAddress& rScPos, in ConvertAddress() argument
82 lclFillAddress( rScPos, rXclPos.mnCol, rXclPos.mnRow, nScTab ); in ConvertAddress()
H A Dxistyle.cxx1426 const ScAddress& rScPos, sal_uInt8 nFlags1, sal_uInt8 nFlags2, sal_uInt8 nFlags3 ) in ApplyPatternForBiff2CellFormat() argument
1444 aXF.ApplyPattern( rScPos.Col(), rScPos.Row(), rScPos.Col(), rScPos.Row(), rScPos.Tab() ); in ApplyPatternForBiff2CellFormat()
1893 void XclImpXFRangeBuffer::SetXF( const ScAddress& rScPos, sal_uInt16 nXFIndex, XclImpXFInsertMode e… in SetXF() argument
1895 SCCOL nScCol = rScPos.Col(); in SetXF()
1896 SCROW nScRow = rScPos.Row(); in SetXF()
1924 void XclImpXFRangeBuffer::SetXF( const ScAddress& rScPos, sal_uInt16 nXFIndex ) in SetXF() argument
1926 SetXF( rScPos, nXFIndex, xlXFModeCell ); in SetXF()
1929 void XclImpXFRangeBuffer::SetBlankXF( const ScAddress& rScPos, sal_uInt16 nXFIndex ) in SetBlankXF() argument
1931 SetXF( rScPos, nXFIndex, xlXFModeBlank ); in SetBlankXF()
1934 void XclImpXFRangeBuffer::SetBoolXF( const ScAddress& rScPos, sal_uInt16 nXFIndex ) in SetBoolXF() argument
[all …]
H A Dxlformula.cxx943 XclMultipleOpRefs& rRefs, const ScTokenArray& rScTokArr, const ScAddress& rScPos ) in GetMultipleOpRefs() argument
965 eState = lclGetAddress(rDoc, rRefs.maFmlaScPos, *aIt, rScPos) ? stFormula : stError; in GetMultipleOpRefs()
971 … eState = lclGetAddress(rDoc, rRefs.maColFirstScPos, *aIt, rScPos) ? stColFirst : stError; in GetMultipleOpRefs()
977 … eState = lclGetAddress(rDoc, rRefs.maColRelScPos, *aIt, rScPos) ? stColRel : stError; in GetMultipleOpRefs()
983 … eState = lclGetAddress(rDoc, rRefs.maRowFirstScPos, *aIt, rScPos) ? stRowFirst : stError; in GetMultipleOpRefs()
990 … eState = lclGetAddress(rDoc, rRefs.maRowRelScPos, *aIt, rScPos) ? stRowRel : stError; in GetMultipleOpRefs()
/dports/editors/libreoffice6/libreoffice-6.4.7.2/sc/source/filter/excel/
H A Dxetable.cxx76 …maBaseXclPos.Set( static_cast< sal_uInt16 >( rScPos.Col() ), static_cast< sal_uInt16 >( rScPos.Row… in XclExpRangeFmlaBase()
99 void XclExpRangeFmlaBase::Extend( const ScAddress& rScPos ) in Extend() argument
147 const ScAddress& rScPos = rScRange.aStart; in CreateArray() local
151 XclExpArrayRef& rxRec = maRecMap[ rScPos ]; in CreateArray()
187 Extend( rScPos ); in ExtendRange()
285 xRec->ExtendRange( rScPos ); in CreateOrExtendShrfmla()
293 XclExpTableop::XclExpTableop( const ScAddress& rScPos, in XclExpTableop() argument
295 XclExpRangeFmlaBase( EXC_ID3_TABLEOP, 16, rScPos ), in XclExpTableop()
362 Extend( rScPos ); in TryExtend()
463 if( xTempRec->TryExtend( rScPos, aRefs ) ) in CreateOrExtendTableop()
[all …]
H A Dxehelper.cxx165 bool XclExpAddressConverter::CheckAddress( const ScAddress& rScPos, bool bWarn ) in CheckAddress() argument
168 bool bValidCol = (0 <= rScPos.Col()) && (rScPos.Col() <= maMaxPos.Col()); in CheckAddress()
169 bool bValidRow = (0 <= rScPos.Row()) && (rScPos.Row() <= maMaxPos.Row()); in CheckAddress()
170 bool bValidTab = (0 <= rScPos.Tab()) && (rScPos.Tab() <= maMaxPos.Tab()); in CheckAddress()
181 mrTracer.TraceInvalidAddress( rScPos, maMaxPos ); in CheckAddress()
187 const ScAddress& rScPos, bool bWarn ) in ConvertAddress() argument
189 bool bValid = CheckAddress( rScPos, bWarn ); in ConvertAddress()
191 lclFillAddress( rXclPos, rScPos.Col(), rScPos.Row() ); in ConvertAddress()
198 if( !ConvertAddress( aXclPos, rScPos, bWarn ) ) in CreateValidAddress()
199 …lclFillAddress( aXclPos, ::std::min( rScPos.Col(), maMaxPos.Col() ), ::std::min( rScPos.Row(), maM… in CreateValidAddress()
[all …]
H A Dxipivot.cxx87 rDoc.setNumericCell(rScPos, fValue); in lclSetValue()
90 rScPos.Col(), rScPos.Row(), rScPos.Tab(), SfxUInt32Item(ATTR_VALUE_FORMAT, nScNumFmt)); in lclSetValue()
95 void XclImpPCItem::WriteToSource( XclImpRoot& rRoot, const ScAddress& rScPos ) const in WriteToSource()
99 rDoc.setStringCell(rScPos, *pText); in WriteToSource()
101 rDoc.setNumericCell(rScPos, *pfValue); in WriteToSource()
103 rDoc.setNumericCell(rScPos, *pnValue); in WriteToSource()
105 lclSetValue( rRoot, rScPos, *pbValue ? 1.0 : 0.0, SvNumFormatType::LOGICAL ); in WriteToSource()
114 lclSetValue( rRoot, rScPos, fValue, nFormatType ); in WriteToSource()
123 ? new ScFormulaCell(&rDoc.getDoc(), rScPos, std::move(pScTokArr)) in WriteToSource()
124 : new ScFormulaCell(&rDoc.getDoc(), rScPos); in WriteToSource()
[all …]
H A Dxihelper.cxx46 void lclFillAddress( ScAddress& rScPos, sal_uInt16 nXclCol, sal_uInt32 nXclRow, SCTAB nScTab ) in lclFillAddress() argument
48 rScPos.SetCol( static_cast< SCCOL >( nXclCol ) ); in lclFillAddress()
49 rScPos.SetRow( static_cast< SCROW >( nXclRow ) ); in lclFillAddress()
50 rScPos.SetTab( nScTab ); in lclFillAddress()
77 bool XclImpAddressConverter::ConvertAddress( ScAddress& rScPos, in ConvertAddress() argument
82 lclFillAddress( rScPos, rXclPos.mnCol, rXclPos.mnRow, nScTab ); in ConvertAddress()
H A Dxistyle.cxx1419 const ScAddress& rScPos, sal_uInt8 nFlags1, sal_uInt8 nFlags2, sal_uInt8 nFlags3 ) in ApplyPatternForBiff2CellFormat() argument
1437 aXF.ApplyPattern( rScPos.Col(), rScPos.Row(), rScPos.Col(), rScPos.Row(), rScPos.Tab() ); in ApplyPatternForBiff2CellFormat()
1887 void XclImpXFRangeBuffer::SetXF( const ScAddress& rScPos, sal_uInt16 nXFIndex, XclImpXFInsertMode e… in SetXF() argument
1889 SCCOL nScCol = rScPos.Col(); in SetXF()
1890 SCROW nScRow = rScPos.Row(); in SetXF()
1918 void XclImpXFRangeBuffer::SetXF( const ScAddress& rScPos, sal_uInt16 nXFIndex ) in SetXF() argument
1920 SetXF( rScPos, nXFIndex, xlXFModeCell ); in SetXF()
1923 void XclImpXFRangeBuffer::SetBlankXF( const ScAddress& rScPos, sal_uInt16 nXFIndex ) in SetBlankXF() argument
1925 SetXF( rScPos, nXFIndex, xlXFModeBlank ); in SetBlankXF()
1928 void XclImpXFRangeBuffer::SetBoolXF( const ScAddress& rScPos, sal_uInt16 nXFIndex ) in SetBoolXF() argument
[all …]
H A Dxlformula.cxx941 XclMultipleOpRefs& rRefs, const ScTokenArray& rScTokArr, const ScAddress& rScPos ) in GetMultipleOpRefs() argument
963 eState = lclGetAddress(rRefs.maFmlaScPos, *aIt, rScPos) ? stFormula : stError; in GetMultipleOpRefs()
969 eState = lclGetAddress(rRefs.maColFirstScPos, *aIt, rScPos) ? stColFirst : stError; in GetMultipleOpRefs()
975 eState = lclGetAddress(rRefs.maColRelScPos, *aIt, rScPos) ? stColRel : stError; in GetMultipleOpRefs()
981 eState = lclGetAddress(rRefs.maRowFirstScPos, *aIt, rScPos) ? stRowFirst : stError; in GetMultipleOpRefs()
988 eState = lclGetAddress(rRefs.maRowRelScPos, *aIt, rScPos) ? stRowRel : stError; in GetMultipleOpRefs()
/dports/editors/libreoffice/libreoffice-7.2.6.2/sc/source/filter/inc/
H A Dxehelper.hxx93 bool CheckAddress( const ScAddress& rScPos, bool bWarn );
102 const ScAddress& rScPos, bool bWarn );
109 XclAddress CreateValidAddress( const ScAddress& rScPos, bool bWarn );
182 explicit XclExpHyperlinkHelper( const XclExpRoot& rRoot, const ScAddress& rScPos );
H A Dxetable.hxx78 sal_uInt16 nRecId, sal_uInt32 nRecSize, const ScAddress& rScPos );
84 void Extend( const ScAddress& rScPos );
155 explicit XclExpShrfmla( const XclTokenArrayRef& xTokArr, const ScAddress& rScPos );
158 void ExtendRange( const ScAddress& rScPos );
187 XclExpShrfmlaRef CreateOrExtendShrfmla( const ScFormulaCell& rScCell, const ScAddress& rScPos );
210 explicit XclExpTableop( const ScAddress& rScPos,
215 bool TryExtend( const ScAddress& rScPos, const XclMultipleOpRefs& rRefs );
257 const ScTokenArray& rScTokArr, const ScAddress& rScPos );
264 XclExpTableopRef TryCreate( const ScAddress& rScPos, const XclMultipleOpRefs& rRefs );
H A Dxistyle.hxx412 const XclImpRoot& rRoot, const ScAddress& rScPos,
620 void SetXF( const ScAddress& rScPos, sal_uInt16 nXFIndex );
622 void SetBlankXF( const ScAddress& rScPos, sal_uInt16 nXFIndex );
624 void SetBoolXF( const ScAddress& rScPos, sal_uInt16 nXFIndex );
651 …void SetXF( const ScAddress& rScPos, sal_uInt16 nXFIndex, XclImpXFInsertMode eMode …
H A Dxeformula.hxx63 XclTokenArrayRef CreateFormula( XclFormulaType eType, const ScAddress& rScPos );
H A Dxeescher.hxx110 explicit XclExpDffDropDownAnchor( const XclExpRoot& rRoot, const ScAddress& rScPos );
348 const ScAddress& rScPos,
H A Dimp_op.hxx124 sal_uInt16 ReadXFIndex( const ScAddress& rScPos, bool bBiff2 );
H A Dxihelper.hxx61 bool ConvertAddress( ScAddress& rScPos,
/dports/editors/libreoffice6/libreoffice-6.4.7.2/sc/source/filter/inc/
H A Dxehelper.hxx91 bool CheckAddress( const ScAddress& rScPos, bool bWarn );
100 const ScAddress& rScPos, bool bWarn );
107 XclAddress CreateValidAddress( const ScAddress& rScPos, bool bWarn );
180 explicit XclExpHyperlinkHelper( const XclExpRoot& rRoot, const ScAddress& rScPos );
H A Dxetable.hxx78 sal_uInt16 nRecId, sal_uInt32 nRecSize, const ScAddress& rScPos );
84 void Extend( const ScAddress& rScPos );
155 explicit XclExpShrfmla( const XclTokenArrayRef& xTokArr, const ScAddress& rScPos );
158 void ExtendRange( const ScAddress& rScPos );
187 XclExpShrfmlaRef CreateOrExtendShrfmla( const ScFormulaCell& rScCell, const ScAddress& rScPos );
210 explicit XclExpTableop( const ScAddress& rScPos,
215 bool TryExtend( const ScAddress& rScPos, const XclMultipleOpRefs& rRefs );
257 const ScTokenArray& rScTokArr, const ScAddress& rScPos );
264 XclExpTableopRef TryCreate( const ScAddress& rScPos, const XclMultipleOpRefs& rRefs );
H A Dxistyle.hxx413 const XclImpRoot& rRoot, const ScAddress& rScPos,
621 void SetXF( const ScAddress& rScPos, sal_uInt16 nXFIndex );
623 void SetBlankXF( const ScAddress& rScPos, sal_uInt16 nXFIndex );
625 void SetBoolXF( const ScAddress& rScPos, sal_uInt16 nXFIndex );
652 …void SetXF( const ScAddress& rScPos, sal_uInt16 nXFIndex, XclImpXFInsertMode eMode …
H A Dxeformula.hxx64 XclTokenArrayRef CreateFormula( XclFormulaType eType, const ScAddress& rScPos );
H A Dxeescher.hxx113 explicit XclExpDffDropDownAnchor( const XclExpRoot& rRoot, const ScAddress& rScPos );
352 const ScAddress& rScPos,
H A Dimp_op.hxx127 sal_uInt16 ReadXFIndex( const ScAddress& rScPos, bool bBiff2 );

12