diff options
author | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-04-07 14:13:20 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-04-07 14:43:16 -0400 |
commit | 355baf573425165cbc1c789a6271eb29940e1f76 (patch) | |
tree | 42050f8ac0a293b75e3745d511fe2e086e88cd42 /sc/inc/formulagroup.hxx | |
parent | fdo#75741: Write test for this. (diff) | |
download | core-355baf573425165cbc1c789a6271eb29940e1f76.tar.gz core-355baf573425165cbc1c789a6271eb29940e1f76.zip |
fdo#75741: Re-implement CompileNameFormula for formula groups.
Change-Id: I57e1e464ac5f7abc10ce5ea5752e036ddb6cf6d7
Diffstat (limited to 'sc/inc/formulagroup.hxx')
-rw-r--r-- | sc/inc/formulagroup.hxx | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/sc/inc/formulagroup.hxx b/sc/inc/formulagroup.hxx index 4cca9c88a739..311653a31fbd 100644 --- a/sc/inc/formulagroup.hxx +++ b/sc/inc/formulagroup.hxx @@ -24,9 +24,27 @@ class ScDocument; class ScTokenArray; +class ScFormulaCell; namespace sc { +struct FormulaGroupEntry +{ + union + { + ScFormulaCell* mpCell; // non-shared formula cell + ScFormulaCell** mpCells; // pointer to the top formula cell in a shared group. + }; + + size_t mnRow; + size_t mnLength; + bool mbShared; + + FormulaGroupEntry( ScFormulaCell** pCells, size_t nRow, size_t nLength ); + + FormulaGroupEntry( ScFormulaCell* pCell, size_t nRow ); +}; + struct FormulaGroupContext : boost::noncopyable { typedef AlignedAllocator<double,256> DoubleAllocType; |