* 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.
#ifndef BULLET_H
#define BULLET_H
-#include "support/std_string.h"
+#include "support/docstring.h"
+
+
+namespace lyx {
///
class Bullet {
Bullet(int f = -1, int c = -1, int s = -1);
///
- explicit Bullet(string const &);
+ explicit Bullet(docstring const &);
///
void setCharacter(int);
///
void setSize(int);
///
- void setText(string const &);
+ void setText(docstring const &);
///
int getCharacter() const;
///
///
int getSize() const;
///
- string const & getText() const;
+ docstring const & getText() const;
///
Bullet & operator=(Bullet const &);
///
friend bool operator==(Bullet const &, Bullet const &);
+ ///
+ static docstring const bulletEntry(int, int);
protected:
-#ifdef ENABLE_ASSERTIONS
///
void testInvariant() const;
-#endif
private:
/**
This enum makes adding additional panels or changing panel sizes
///
void generateText() const;
///
- static string const bulletSize(int);
- ///
- static string const bulletEntry(int, int);
+ static docstring const bulletSize(int);
///
int font;
or one generated internally from the font, character
and size settings.
*/
- mutable string text;
+ mutable docstring text;
};
extern
Bullet const ITEMIZE_DEFAULTS[];
+
+} // namespace lyx
+
#endif /* BULLET_H_ */