#include "insets/InsetCode.h"
-#include "support/docstring.h"
-// FIXME: would be nice to forward declare odocstream instead of
-// including this:
-#include "support/docstream.h"
+#include "support/strfwd.h"
+#include "support/types.h"
namespace lyx {
class OutputParams;
class PainterInfo;
class ParagraphParameters;
+class TextClass;
class TexRow;
///
InsetCode ownerCode() const;
///
- bool forceDefaultParagraphs() const;
-
+ bool forceEmptyLayout() const;
+ ///
+ bool allowParagraphCustomization() const;
+ ///
+ bool useEmptyLayout() const;
///
pos_type size() const;
///
///
LayoutPtr const & layout() const;
///
- void layout(LayoutPtr const & new_layout);
+ void setLayout(LayoutPtr const & layout);
+ ///
+ void setEmptyOrDefaultLayout(TextClass const & tc);
/// This is the item depth, only used by enumerate and itemize
signed char itemdepth;
void setBeginOfBody();
///
- docstring const & getLabelstring() const;
+ docstring const & labelString() const;
/// the next two functions are for the manual labels
docstring const getLabelWidthString() const;
///
void changeCase(BufferParams const & bparams, pos_type pos,
- pos_type right, TextCase action);
+ pos_type & right, TextCase action);
/// find \param str string inside Paragraph.
/// \return true if the specified string is at the specified position