]> git.lyx.org Git - features.git/blobdiff - src/Bullet.h
Update tex2lyx tests
[features.git] / src / Bullet.h
index 8a6da2ac3406852ed5ecce2d5e758e8ce9a5e5ce..b31602c3c03487c640a3e8f7b8a31b56532248a0 100644 (file)
@@ -13,7 +13,9 @@
 #ifndef BULLET_H
 #define BULLET_H
 
-#include "support/strfwd.h"
+#include "FontEnums.h"
+
+#include "support/docstring.h"
 
 
 namespace lyx {
@@ -42,11 +44,17 @@ public:
        ///
        int getSize() const;
        ///
+       FontSize getFontSize() const;
+       ///
        docstring const & getText() const;
        ///
+       docstring const & getUnicode() const;
+       ///
        Bullet & operator=(Bullet const &);
        ///
        friend bool operator==(Bullet const &, Bullet const &);
+       ///
+       static docstring const bulletEntry(int, int);
 protected:
        ///
        void testInvariant() const;
@@ -73,9 +81,13 @@ private:
        ///
        void generateText() const;
        ///
+       void generateUnicode() const;
+       ///
        static docstring const bulletSize(int);
        ///
-       static docstring const bulletEntry(int, int);
+       static FontSize bulletFontSize(int);
+       ///
+       static docstring const bulletUnicode(int, int);
 
        ///
        int font;
@@ -101,6 +113,7 @@ private:
            and size settings.
        */
        mutable docstring text;
+       mutable docstring unicode;
 };