switch(layout.labeltype) {
case LABEL_ITEMIZE: {
par.params().labelString(
- bp.user_defined_bullet(par.itemdepth).getUnicode());
+ bp.user_defined_bullet(par.itemdepth).getLabel());
break;
}
Bullet::Bullet(docstring const & t)
- : font(MIN), character(MIN), size(MIN), user_text(1), text(t), unicode(t)
+ : font(MIN), character(MIN), size(MIN), user_text(1), text(t), label(t)
{
testInvariant();
}
font = character = size = MIN;
user_text = 1;
text = t;
- unicode = t;
+ label = t;
testInvariant();
}
size = b.size;
user_text = b.user_text;
text = b.text;
- unicode = b.unicode;
+ label = b.label;
this->testInvariant();
return *this;
}
}
-docstring const & Bullet::getUnicode() const
+docstring const & Bullet::getLabel() const
{
if (user_text == 0)
generateText();
- return unicode;
+ return label;
}
if ((font >= 0) && (character >= 0)) {
text = bulletEntry(font, character);
- unicode = bulletUnicode(font, character);
+ label = bulletLabel(font, character);
if (size >= 0)
text = bulletSize(size) + text;
user_text = -1;
}
-docstring const Bullet::bulletUnicode(int f, int c)
+docstring const Bullet::bulletLabel(int f, int c)
{
// see comment at bulletEntry
static int UnicodeBulletPanel0[CHARMAX] = {
int getSize() const;
///
FontSize getFontSize() const;
- ///
+ /// The text to be output
docstring const & getText() const;
- ///
- docstring const & getUnicode() const;
+ /// The label displayed in the workarea
+ docstring const & getLabel() const;
///
Bullet & operator=(Bullet const &);
///
///
static FontSize bulletFontSize(int);
///
- static docstring const bulletUnicode(int, int);
+ static docstring const bulletLabel(int, int);
///
int font;
and size settings.
*/
mutable docstring text;
- mutable docstring unicode;
+ mutable docstring label;
};