]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetlatexaccent.h
* src/LyXAction.C: mark goto-clear-bookmark as working without buffer
[lyx.git] / src / insets / insetlatexaccent.h
index 9d270e1bcf5426c01ae039c5213b570ac2dc541c..33446bd11a227e1b1b330ac48ceeb5a3e46ecf1e 100644 (file)
@@ -15,6 +15,9 @@
 #include "inset.h"
 #include "support/types.h"
 
+
+namespace lyx {
+
 class Dimension;
 
 
@@ -33,7 +36,7 @@ public:
        ///
        explicit InsetLatexAccent(std::string const & str);
        ///
-       void metrics(MetricsInfo &, Dimension &) const;
+       bool metrics(MetricsInfo &, Dimension &) const;
        ///
        void draw(PainterInfo & pi, int x, int y) const;
        ///
@@ -43,16 +46,16 @@ public:
        ///
        void read(Buffer const &, LyXLex & lex);
        ///
-       int latex(Buffer const &, std::ostream &,
+       int latex(Buffer const &, odocstream &,
                  OutputParams const &) const;
        ///
-       int plaintext(Buffer const &, std::ostream &,
+       int plaintext(Buffer const &, odocstream &,
                  OutputParams const &) const;
        ///
-       int docbook(Buffer const &, std::ostream &,
+       int docbook(Buffer const &, odocstream &,
                    OutputParams const &) const;
        /// the string that is passed to the TOC
-       virtual int textString(Buffer const &, std::ostream & os,
+       virtual int textString(Buffer const &, odocstream &,
                OutputParams const &) const;
        ///
        bool directWrite() const;
@@ -119,7 +122,7 @@ private:
        /// Check if we know the modifier and can display it ok on screen.
        void checkContents();
        ///
-       void drawAccent(PainterInfo const & pi, int x, int y, lyx::char_type accent) const;
+       void drawAccent(PainterInfo const & pi, int x, int y, char_type accent) const;
        ///
        std::string contents;
        /// can display as proper char
@@ -143,4 +146,7 @@ bool InsetLatexAccent::canDisplay()
        return candisp;
 }
 
+
+} // namespace lyx
+
 #endif