23 #include <rtl/ref.hxx>
34 struct RefUpdateContext;
35 struct RefUpdateInsertTabContext;
36 struct RefUpdateDeleteTabContext;
37 struct RefUpdateMoveTabContext;
38 struct RefUpdateResult;
39 struct TokenStringContext;
40 class ColRowReorderMapType;
52 bool ImplGetReference(
ScRange& rRange,
const ScAddress& rPos,
bool bValidOnly )
const;
58 bool mbOpenCLEnabled : 1;
59 bool mbThreadingEnabled : 1;
74 virtual void Clear()
override;
75 std::unique_ptr<ScTokenArray>
Clone()
const;
79 size_t GetHash()
const {
return mnHashValue;}
82 void ResetVectorState();
83 bool IsFormulaVectorDisabled()
const;
89 bool IsInvariant()
const;
99 bool GetAdjacentExtendOfOuterFuncRefs(
105 const css::sheet::FormulaToken& rToken,
115 void AddRangeName( sal_uInt16 n, sal_Int16 nSheet );
130 void AssignXMLString(
const OUString &rText,
const OUString &rFormulaNmsp );
156 void AdjustSheetLocalNameReferences(
SCTAB nOldTab,
SCTAB nNewTab );
161 bool ReferencesSheet(
SCTAB nTab,
SCTAB nPosTab )
const;
185 void MoveReferenceColReorder(
189 void MoveReferenceRowReorder(
223 void AdjustReferenceOnMovedOrigin(
const ScAddress& rOldPos,
const ScAddress& rNewPos );
229 void AdjustReferenceOnMovedOriginIfOtherSheet(
const ScAddress& rOldPos,
const ScAddress& rNewPos );
235 void AdjustReferenceOnCopy(
const ScAddress& rNewPos );
249 void CheckRelativeReferenceBounds(
252 void CheckRelativeReferenceBounds(
255 void CheckExpandReferenceBounds(
266 sal_Int32 GetWeight()
const;
271 #if DEBUG_FORMULA_COMPILER
Single reference (one address) into the sheet.
Context for reference update during shifting, moving or copying of cell ranges.
sal_Int32 SCCOLROW
a type capable of holding either SCCOL or SCROW
ScFormulaVectorState GetVectorState() const
::boost::intrusive_ptr< ScMatrix > ScMatrixRef
bool IsEnabledForOpenCL() const
bool IsEnabledForThreading() const
Reference< XAnimationNode > Clone(const Reference< XAnimationNode > &xSourceNode, const SdPage *pSource, const SdPage *pTarget)
CAUTION! The following defines must be in the same namespace as the respective type.
Context for creating string from an array of formula tokens, used in ScTokenArray::CreateString().
rtl::Reference< ScSheetLimits > mxSheetLimits
Complex reference (a range) into the sheet.
ScFormulaVectorState
When vectorization is enabled, we could potentially mass-calculate a series of formula token arrays i...