]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetCharStyle.h
Use home made code for the bool facet.
[lyx.git] / src / insets / InsetCharStyle.h
index 970cdabcd9640a47351fbe8360a347da2de4dbe3..84e4349a5cf6a2fd2937789bf5815d9fef1241b6 100644 (file)
@@ -14,7 +14,7 @@
 #define INSETCHARSTYLE_H
 
 #include "InsetCollapsable.h"
-#include "LyXTextClass.h"
+#include "TextClass.h"
 
 
 namespace lyx {
@@ -35,9 +35,9 @@ public:
        ///
        std::string latexparam;
        ///
-       LyXFont font;
+       Font font;
        ///
-       LyXFont labelfont;
+       Font labelfont;
        ///
        bool show_label;
 };
@@ -53,7 +53,7 @@ public:
        ///
        InsetCharStyle(BufferParams const &, CharStyles::iterator);
        ///
-       docstring insetName() const { return from_ascii("CharStyle"); }
+       docstring name() const { return from_ascii("CharStyle"); }
        /// Is this character style defined in the document's textclass?
        /// May be wrong after textclass change or paste from another document
        bool undefined() const;
@@ -74,18 +74,18 @@ public:
        ///
        void draw(PainterInfo &, int, int) const;
        ///
-       void getDrawFont(LyXFont &) const;
+       void getDrawFont(Font &) const;
        ///
        bool forceDefaultParagraphs(idx_type) const { return true; }
        ///
        int latex(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;
+                   OutputParams const &) const;
        /// the string that is passed to the TOC
        virtual void textString(Buffer const &, odocstream &) const;
        ///