summaryrefslogtreecommitdiff
path: root/starmath/inc/node.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'starmath/inc/node.hxx')
-rw-r--r--starmath/inc/node.hxx9
1 files changed, 9 insertions, 0 deletions
diff --git a/starmath/inc/node.hxx b/starmath/inc/node.hxx
index 6ef89ea5ec1b..b1c5e0cc73f9 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 i#972
+ virtual long GetFormulaBaseline() const { return (long)0; } //dummy, used in SmTableNode
+ // <--
};
@@ -467,6 +470,9 @@ public:
class SmTableNode : public SmStructureNode
{
+ // --> 4.7.2010 i#972
+ long nFormulaBaseline;
+ // <--
public:
SmTableNode(const SmToken &rNodeToken)
: SmStructureNode(NTABLE, rNodeToken)
@@ -476,6 +482,9 @@ public:
virtual SmNode * GetLeftMost();
virtual void Arrange(const OutputDevice &rDev, const SmFormat &rFormat);
+ // -->
+ long GetFormulaBaseline() const { return nFormulaBaseline; }
+ // <--
};