summaryrefslogtreecommitdiff
path: root/starmath/inc
diff options
context:
space:
mode:
authorCaolán McNamara <cmc@openoffice.org>2001-01-18 13:57:19 +0000
committerCaolán McNamara <cmc@openoffice.org>2001-01-18 13:57:19 +0000
commita0c8015b88b16a4192000bd841eeff594dae9c65 (patch)
tree4ec7cba73614d92966862b640760001e255f77d4 /starmath/inc
parentada4b04c6497c1166563cfa0dbc424d419821ce7 (diff)
#81141# MathML->StarMath editable text display
Diffstat (limited to 'starmath/inc')
-rw-r--r--starmath/inc/node.hxx17
-rw-r--r--starmath/inc/symbol.hxx6
2 files changed, 18 insertions, 5 deletions
diff --git a/starmath/inc/node.hxx b/starmath/inc/node.hxx
index 93b6152fea36..6eebf5fb1860 100644
--- a/starmath/inc/node.hxx
+++ b/starmath/inc/node.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: node.hxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: cmc $ $Date: 2000-11-21 12:31:18 $
+ * last change: $Author: cmc $ $Date: 2001-01-18 14:55:58 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -180,6 +180,7 @@ public:
virtual void Move(const Point &rPosition);
void MoveTo(const Point &rPosition) { Move(rPosition - GetTopLeft()); }
virtual void Arrange(const OutputDevice &rDev, const SmFormat &rFormat);
+ virtual void CreateTextFromNode(String &rText);
virtual void Draw(OutputDevice &rDev, const Point &rPosition) const;
@@ -391,6 +392,8 @@ public:
virtual void Prepare(const SmFormat &rFormat);
virtual void Arrange(const OutputDevice &rDev, const SmFormat &rFormat);
+ virtual void CreateTextFromNode(String &rText);
+
virtual void Draw(OutputDevice &rDev, const Point &rPosition) const;
};
@@ -448,6 +451,7 @@ public:
virtual void Prepare(const SmFormat &rFormat);
virtual void Arrange(const OutputDevice &rDev, const SmFormat &rFormat);
+ void CreateTextFromNode(String &rText);
};
@@ -532,6 +536,7 @@ public:
{}
virtual void Arrange(const OutputDevice &rDev, const SmFormat &rFormat);
+ void CreateTextFromNode(String &rText);
};
@@ -569,6 +574,7 @@ public:
}
virtual void Arrange(const OutputDevice &rDev, const SmFormat &rFormat);
+ void CreateTextFromNode(String &rText);
};
@@ -605,6 +611,7 @@ public:
virtual SmNode * GetLeftMost() { return this; }
virtual void Arrange(const OutputDevice &rDev, const SmFormat &rFormat);
+ void CreateTextFromNode(String &rText);
};
@@ -678,6 +685,8 @@ public:
SmNode * GetSubSup(SmSubSup eSubSup) { return GetSubNode(1 + eSubSup); };
virtual void Arrange(const OutputDevice &rDev, const SmFormat &rFormat);
+ void CreateTextFromNode(String &rText);
+
};
@@ -694,6 +703,7 @@ public:
}
virtual void Arrange(const OutputDevice &rDev, const SmFormat &rFormat);
+ void CreateTextFromNode(String &rText);
};
@@ -808,9 +818,11 @@ public:
void SetSizeParameter(const Fraction &rValue, USHORT nType);
const Fraction & GetSizeParameter() const {return aFontSize;}
+ const USHORT& GetSizeType() const {return nSizeType;}
virtual void Prepare(const SmFormat &rFormat);
virtual void Arrange(const OutputDevice &rDev, const SmFormat &rFormat);
+ void CreateTextFromNode(String &rText);
};
@@ -836,6 +848,7 @@ public:
virtual SmNode * GetLeftMost() { return this; }
virtual void Arrange(const OutputDevice &rDev, const SmFormat &rFormat);
+ void CreateTextFromNode(String &rText);
};
diff --git a/starmath/inc/symbol.hxx b/starmath/inc/symbol.hxx
index b10fd7b67047..d05589acb016 100644
--- a/starmath/inc/symbol.hxx
+++ b/starmath/inc/symbol.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: symbol.hxx,v $
*
- * $Revision: 1.1.1.1 $
+ * $Revision: 1.2 $
*
- * last change: $Author: hr $ $Date: 2000-09-18 16:57:25 $
+ * last change: $Author: cmc $ $Date: 2001-01-18 14:55:58 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -193,7 +193,7 @@ public:
SmSymSetManager& operator = (const SmSymSetManager& rSymbolSetManager);
- USHORT GetCount() const { return NoSymbolSets; }
+ UINT32 GetCount() const { return NoSymbolSets; }
SmSymSet *GetSymbolSet(USHORT SymbolSetNo) const { return SymbolSets.Get(SymbolSetNo);}
USHORT AddSymbolSet(SmSymSet* pSymbolSet);