]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetline.h
* In the process of fixing the math background color bug, this commit transfer backgr...
[lyx.git] / src / insets / insetline.h
index 504854f8afac4b1271eb98ca567c0a0d72f91e1a..a383b3f0d231ed4144210b82ab8b539f777bcf0e 100644 (file)
 
 #include "inset.h"
 
+
+namespace lyx {
+
 class InsetLine : public InsetOld {
 public:
 
        InsetLine() {}
 
-       InsetOld::Code lyxCode() const { return InsetOld::LINE_CODE; }
+       InsetBase::Code lyxCode() const { return InsetBase::LINE_CODE; }
 
-       void metrics(MetricsInfo &, Dimension &) const;
+       bool metrics(MetricsInfo &, Dimension &) const;
 
        void draw(PainterInfo & pi, int x, int y) const;
 
-       int latex(Buffer const &, std::ostream &,
-                         OutputParams const &) const;
-
-       int plaintext(Buffer const &, std::ostream &,
-                 OutputParams const &) const;
+       int latex(Buffer const &, odocstream &,
+                 OutputParams const &) const;
 
-       int linuxdoc(Buffer const &, std::ostream &,
-                    OutputParams const &) const;
+       int plaintext(Buffer const &, odocstream &,
+                     OutputParams const &) const;
 
-       int docbook(Buffer const &, std::ostream &,
+       int docbook(Buffer const &, odocstream &,
                    OutputParams const &) const;
 
        void read(Buffer const &, LyXLex & lex);
@@ -54,4 +54,7 @@ private:
        }
 };
 
+
+} // namespace lyx
+
 #endif // INSET_NEWLINE_H