#define LYXFONT_H
#include "LColor.h"
+#include "support/docstream.h"
+
+
+namespace lyx {
-#include <iosfwd>
-#include <string>
class LyXLex;
class BufferParams;
to this font. Returns number of chars written. Base is the
font state active now.
*/
- int latexWriteStartChanges(std::ostream &, LyXFont const & base,
+ int latexWriteStartChanges(odocstream &, LyXFont const & base,
LyXFont const & prev) const;
/** Writes the tail of the LaTeX needed to change to this font.
Returns number of chars written. Base is the font state we want
to achieve.
*/
- int latexWriteEndChanges(std::ostream &, LyXFont const & base,
+ int latexWriteEndChanges(odocstream &, LyXFont const & base,
LyXFont const & next) const;
/// Build GUI description of font state
return !(font1 == font2);
}
+
+} // namespace lyx
+
#endif