]> git.lyx.org Git - features.git/blobdiff - src/Bullet.h
InsetIndex: hide printTree behind a LYX_INSET_INDEX_DEBUG flag
[features.git] / src / Bullet.h
index 5fd2d2cf8b711d95aa8806a465b5a100b867639f..662fa224d7d74e69f762fcf53f88bffebb252476 100644 (file)
@@ -13,6 +13,8 @@
 #ifndef BULLET_H
 #define BULLET_H
 
+#include "FontEnums.h"
+
 #include "support/docstring.h"
 
 
@@ -42,7 +44,11 @@ public:
        ///
        int getSize() const;
        ///
+       FontSize getFontSize() const;
+       /// The text to be output
        docstring const & getText() const;
+       /// The label displayed in the workarea
+       docstring const & getLabel() const;
        ///
        Bullet & operator=(Bullet const &);
        ///
@@ -76,6 +82,10 @@ private:
        void generateText() const;
        ///
        static docstring const bulletSize(int);
+       ///
+       static FontSize bulletFontSize(int);
+       ///
+       static docstring const bulletLabel(int, int);
 
        ///
        int font;
@@ -101,6 +111,7 @@ private:
            and size settings.
        */
        mutable docstring text;
+       mutable docstring label;
 };