diff options
author | Thomas Lange [tl] <Thomas.Lange@oracle.com> | 2010-10-20 10:32:29 +0200 |
---|---|---|
committer | Thomas Lange [tl] <Thomas.Lange@oracle.com> | 2010-10-20 10:32:29 +0200 |
commit | cf71abf8511eb5348233fc0022c9a5a2159f7ea4 (patch) | |
tree | efef4c83455070798b637ce6ecbf1886e50d01f9 /starmath/inc/node.hxx | |
parent | e83f0e6e1009c24f6e57c392d6738735884f2b57 (diff) |
cws tlmath01: #i972# baseline to baseline alignment for Math
Diffstat (limited to 'starmath/inc/node.hxx')
-rw-r--r-- | starmath/inc/node.hxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/starmath/inc/node.hxx b/starmath/inc/node.hxx index 92c9d4621292..2f2d0f770af1 100644 --- a/starmath/inc/node.hxx +++ b/starmath/inc/node.hxx @@ -180,6 +180,9 @@ public: const SmNode * FindTokenAt(USHORT nRow, USHORT nCol) const; const SmNode * FindRectClosestTo(const Point &rPoint) const; + // --> 4.7.2010 #i972# + virtual long GetFormulaBaseline() const { return (long)0; } //dummy, used in SmTableNode + // <-- }; @@ -456,6 +459,9 @@ public: class SmTableNode : public SmStructureNode { + // --> 4.7.2010 #i972# + long nFormulaBaseline; + // <-- public: SmTableNode(const SmToken &rNodeToken) : SmStructureNode(NTABLE, rNodeToken) @@ -465,6 +471,7 @@ public: virtual SmNode * GetLeftMost(); virtual void Arrange(const OutputDevice &rDev, const SmFormat &rFormat); + long GetFormulaBaseline() const { return nFormulaBaseline; } }; |