#include "support/Changer.h"
#include "support/strfwd.h"
+#include "support/unique_ptr.h"
namespace lyx {
class InsetMath;
class MathAtom;
class MathData;
+struct RowEntry;
//
// LaTeX/LyX
wsPreview
};
///
- WriteStream(otexrowstream & os, bool fragile, bool latex, OutputType output,
- Encoding const * encoding = 0);
- ///
- explicit WriteStream(otexrowstream & os);
+ explicit WriteStream(otexrowstream & os, bool fragile = false,
+ bool latex = false, OutputType output = wsDefault,
+ Encoding const * encoding = 0);
///
~WriteStream();
///
Encoding const * encoding() const { return encoding_; }
/// Temporarily change the TexRow information about the outer row entry.
- Changer changeRowEntry(TexRow::RowEntry entry);
+ Changer changeRowEntry(RowEntry entry);
/// TexRow::starts the innermost outer math inset
/// returns true if the outer row entry will appear at this line
bool startOuterRow();
///
Encoding const * encoding_;
/// Row entry we are in
- TexRow::RowEntry row_entry_;
+ /// (it is a pointer to allow forward-declaration)
+ unique_ptr<RowEntry> row_entry_;
};
///
///
OctaveStream & operator<<(OctaveStream &, int);
+
+docstring convertDelimToXMLEscape(docstring const & name);
+
} // namespace lyx
#endif