#include "lyxlayout_ptr_fwd.h"
#include "RowList_fwd.h"
-#include "insets/inset.h" // Just for InsetOld::Code
-
#include "support/types.h"
-#include "support/std_string.h"
+#include <string>
class Buffer;
class BufferParams;
class BufferView;
class Counters;
class InsetBibitem;
+class InsetOld_code;
class Language;
class LaTeXFeatures;
class LatexRunParams;
+class LyXFont;
class LyXFont_size;
class ParagraphParameters;
class TexRow;
bool isMultiLingual(BufferParams const &);
///
- string const asString(Buffer const &, bool label) const;
+ std::string const asString(Buffer const &, bool label) const;
///
- string const asString(Buffer const &, lyx::pos_type beg, lyx::pos_type end,
+ std::string const asString(Buffer const &, lyx::pos_type beg, lyx::pos_type end,
bool label) const;
///
///
void layout(LyXLayout_ptr const & new_layout);
- ///
- char enumdepth;
-
- ///
- char itemdepth;
+ /// This is the item depth, only used by enumerate and itemize
+ signed char itemdepth;
///
InsetBibitem * bibitem() const; // ale970302
int beginningOfBody() const;
///
- string const & getLabelstring() const;
+ std::string const & getLabelstring() const;
/// the next two functions are for the manual labels
- string const getLabelWidthString() const;
+ std::string const getLabelWidthString() const;
///
- void setLabelWidthString(string const & s);
+ void setLabelWidthString(std::string const & s);
///
char getAlign() const;
/// The nesting depth of a paragraph
///
void insertInset(lyx::pos_type pos, InsetOld * inset, LyXFont const &, Change change = Change(Change::INSERTED));
///
- bool insetAllowed(InsetOld::Code code);
+ bool insetAllowed(InsetOld_code code);
///
InsetOld * getInset(lyx::pos_type pos);
///