}
-MathInsetTypes MathInset::GetType() const
+MathInsetTypes MathInset::getType() const
{
return objtype;
}
-void MathInset::SetType(MathInsetTypes t)
+void MathInset::setType(MathInsetTypes t)
{
objtype = t;
}
-void MathInset::SetName(string const & n)
+void MathInset::setName(string const & n)
{
name_ = n;
}
std::ostream & operator<<(std::ostream & os, MathInset const & inset)
{
- inset.Write(os, false);
+ inset.write(os, false);
return os;
}
array.push_back(p);
}
-void MathInset::Metrics(MathStyles st)
+void MathInset::metrics(MathStyles st)
{
size_ = st;
for (int i = 0; i < nargs(); ++i)
- xcell(i).Metrics(st);
+ xcell(i).metrics(st);
}
void MathInset::draw(Painter & pain, int x, int y)
}
-void MathInset::GetXY(int & x, int & y) const
+void MathInset::getXY(int & x, int & y) const
{
x = xo();
y = yo();
/*
-void MathInset::UserSetSize(MathStyles sz)
+void MathInset::userSetSize(MathStyles sz)
{
if (sz >= 0) {
size_ = sz;
}
*/
-void MathInset::WriteNormal(std::ostream & os) const
+void MathInset::writeNormal(std::ostream & os) const
{
os << "[" << name_ << "] ";
}
void MathInset::dump() const
{
lyxerr << "---------------------------------------------\n";
- Write(lyxerr, false);
+ write(lyxerr, false);
lyxerr << "\n";
for (int i = 0; i < nargs(); ++i)
lyxerr << cell(i) << "\n";
y <= yo_ + descent_;
}
-void MathInset::Validate(LaTeXFeatures & features) const
+void MathInset::validate(LaTeXFeatures & features) const
{
for (int i = 0; i < nargs(); ++i)
- cell(i).Validate(features);
+ cell(i).validate(features);
}
std::vector<int> MathInset::idxBetween(int from, int to) const