]> git.lyx.org Git - lyx.git/blobdiff - src/paragraph.h
Cosmetic change to the Language label in the character dialog
[lyx.git] / src / paragraph.h
index ea20d04a6ec3addb5e27e0b99301741d6c4ac467..a01af43b0c859009165604ec9088e3a21f52135d 100644 (file)
@@ -20,7 +20,7 @@
 
 #include <vector>
 
-#include "insets/inset.h"
+#include "insets/inset.h" // Just for Inset::Code
 #include "layout.h"
 
 class ParagraphParameters;
@@ -139,7 +139,7 @@ public:
                                      std::ostream &, TexRow & texrow);
        ///
        bool hasSameLayout(Paragraph const * par) const;
-       
+
        ///
        void makeSameLayout(Paragraph const * par);
 
@@ -252,6 +252,8 @@ public:
            LyXFont::TOGGLE.
        */
        LyXFont const getFont(BufferParams const &, size_type pos) const;
+       LyXFont const getLayoutFont(BufferParams const &) const;
+       LyXFont const getLabelFont(BufferParams const &) const;
        ///
        value_type getChar(size_type pos) const;
        ///
@@ -262,12 +264,15 @@ public:
        void setFont(size_type pos, LyXFont const & font);
        /// Returns the height of the highest font in range
        LyXFont::FONT_SIZE highestFontInRange(size_type startpos,
-                                             size_type endpos) const;
+                                             size_type endpos,
+                                                                                 LyXFont::FONT_SIZE const def_size) const;
        ///
        void insertChar(size_type pos, value_type c);
        ///
        void insertChar(size_type pos, value_type c, LyXFont const &);
        ///
+       bool checkInsertChar(LyXFont &);
+       ///
        void insertInset(size_type pos, Inset * inset);
        ///
        void insertInset(size_type pos, Inset * inset, LyXFont const &);