X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FBullet.h;h=662fa224d7d74e69f762fcf53f88bffebb252476;hb=90ea50811191dc891d2b3407c01527f1f2d745dd;hp=bc9f837343f0e455994efd902b12b3d9afc70563;hpb=6c300f72a217722652dc27db9108e1050028979c;p=features.git diff --git a/src/Bullet.h b/src/Bullet.h index bc9f837343..662fa224d7 100644 --- a/src/Bullet.h +++ b/src/Bullet.h @@ -4,7 +4,7 @@ * This file is part of LyX, the document processor. * Licence details can be found in the file COPYING. * - * \author Lars Gullik Bjønnes + * \author Lars Gullik Bjønnes * \author Allan Rae * * Full author contact details are available in file CREDITS. @@ -13,6 +13,8 @@ #ifndef BULLET_H #define BULLET_H +#include "FontEnums.h" + #include "support/docstring.h" @@ -42,11 +44,17 @@ 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 &); /// friend bool operator==(Bullet const &, Bullet const &); + /// + static docstring const bulletEntry(int, int); protected: /// void testInvariant() const; @@ -75,7 +83,9 @@ private: /// static docstring const bulletSize(int); /// - static docstring const bulletEntry(int, 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; };