#include "Dimension.h"
#include "InsetList.h"
#include "lyxlayout_ptr_fwd.h"
-#include "RowList_fwd.h"
+#include "Row.h"
#include "insets/Inset.h" // only for Inset::Code
bool empty() const { return text_.empty(); }
///
- LyXLayout_ptr const & layout() const;
+ Layout_ptr const & layout() const;
///
- void layout(LyXLayout_ptr const & new_layout);
+ void layout(Layout_ptr const & new_layout);
/// This is the item depth, only used by enumerate and itemize
signed char itemdepth;
docstring const translateIfPossible(docstring const & label,
BufferParams const & bparams) const;
/// Expand the counters for the labelstring of \c layout
- docstring expandLabel(LyXLayout_ptr const &, BufferParams const &,
+ docstring expandLabel(Layout_ptr const &, BufferParams const &,
bool process_appendix = true) const;
/// Actual paragraph alignment used
char getAlign() const;
/// The maximal possible depth of a paragraph after this one
depth_type getMaxDepthAfter() const;
///
- void applyLayout(LyXLayout_ptr const & new_layout);
+ void applyLayout(Layout_ptr const & new_layout);
/// (logically) erase the char at pos; return true if it was actually erased
bool eraseChar(pos_type pos, bool trackChanges);
private:
///
- LyXLayout_ptr layout_;
+ Layout_ptr layout_;
/**
* Keeping this here instead of in the pimpl makes LyX >10% faster
* for average tasks as buffer loading/switching etc.