int MathInset::workwidth;
-MathInset::MathInset(string const & name)
- : name_(name), size_(LM_ST_DISPLAY), code_(LM_TC_MIN), xo_(0), yo_(0)
+MathInset::MathInset()
+ : size_(LM_ST_DISPLAY), xo_(0), yo_(0)
{}
}
-string const & MathInset::name() const
-{
- return name_;
-}
-
-
-void MathInset::setName(string const & n)
-{
- name_ = n;
-}
-
-
MathStyles MathInset::size() const
{
return size_;
void MathInset::writeNormal(std::ostream & os) const
{
- os << "[" << name_ << "] ";
+ os << "[unknown] ";
}
}
-MathTextCodes MathInset::code() const
-{
- return code_;
-}
-
-
-void MathInset::code(MathTextCodes t)
-{
- code_ = t;
-}
-
-
void MathInset::metrics(MathStyles st) const
{
lyxerr << "MathInset::metrics() called directly!\n";