mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-07 02:28:35 +00:00
Pure HTML output for math macros.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33941 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
9e34cf8186
commit
b8550d11e8
@ -75,6 +75,8 @@ public:
|
||||
///
|
||||
void mathmlize(MathStream & ms) const { ms << mathMacro_.cell(idx_); }
|
||||
///
|
||||
void htmlize(HtmlStream & ms) const { ms << mathMacro_.cell(idx_); }
|
||||
///
|
||||
void draw(PainterInfo & pi, int x, int y) const {
|
||||
if (mathMacro_.editMetrics(pi.base.bv)) {
|
||||
// The only way a ArgumentProxy can appear is in a cell of the
|
||||
@ -743,6 +745,12 @@ void MathMacro::mathmlize(MathStream & os) const
|
||||
}
|
||||
|
||||
|
||||
void MathMacro::htmlize(HtmlStream & os) const
|
||||
{
|
||||
os << expanded_.cell(0);
|
||||
}
|
||||
|
||||
|
||||
void MathMacro::octave(OctaveStream & os) const
|
||||
{
|
||||
lyx::octave(expanded_.cell(0), os);
|
||||
|
@ -73,6 +73,8 @@ public:
|
||||
///
|
||||
void mathmlize(MathStream &) const;
|
||||
///
|
||||
void htmlize(HtmlStream &) const;
|
||||
///
|
||||
void octave(OctaveStream &) const;
|
||||
///
|
||||
void infoize(odocstream &) const;
|
||||
|
Loading…
Reference in New Issue
Block a user