]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetcharstyle.h
* In the process of fixing the math background color bug, this commit transfer backgr...
[lyx.git] / src / insets / insetcharstyle.h
index 404e44ad40a6dbb58b56c5fbf9c65a284f924656..5966a5de155eb343c35c74223d4a49845632b2e5 100644 (file)
@@ -68,7 +68,7 @@ public:
        ///
        void read(Buffer const & buf, LyXLex & lex);
        ///
-       void metrics(MetricsInfo &, Dimension &) const;
+       bool metrics(MetricsInfo &, Dimension &) const;
        ///
        void draw(PainterInfo &, int, int) const;
        ///
@@ -77,16 +77,15 @@ public:
        bool forceDefaultParagraphs(idx_type) const { return true; }
        ///
        int latex(Buffer const &, odocstream &,
-                 OutputParams const &) const;
-       ///
-       int docbook(Buffer const &, odocstream &,
-                   OutputParams const &) const;
+                 OutputParams const &) const;
        ///
        int plaintext(Buffer const &, odocstream &,
-                 OutputParams const &) const;
+                     OutputParams const &) const;
+       ///
+       int docbook(Buffer const &, odocstream &,
+                   OutputParams const &) const;
        /// the string that is passed to the TOC
-       virtual int textString(Buffer const &, odocstream &,
-               OutputParams const &) const;
+       virtual void textString(Buffer const &, odocstream &) const;
        ///
        void validate(LaTeXFeatures &) const;