#include "layout.h"
#include "lyxrow.h"
#include "vspace.h"
+#include "Spacing.h"
#include "LColor.h"
class Buffer;
LyXFont const getFont(Buffer const *, Paragraph * par,
Paragraph::size_type pos) const;
///
+ LyXFont const getLayoutFont(Buffer const *, Paragraph * par) const;
+ ///
+ LyXFont const getLabelFont(Buffer const *, Paragraph * par) const;
+ ///
void setCharFont(Buffer const *, Paragraph * par,
Paragraph::size_type pos, LyXFont const & font);
void setCharFont(BufferView *, Paragraph * par,
/** Completes the insertion with a full rebreak.
Returns true if something was broken. */
- bool fullRebreak(BufferView *);
+ bool fullRebreak(BufferView *);
///
- Row * need_break_row;
+ mutable Row * need_break_row;
///
mutable int refresh_y;
///
/// give and set the LyXText status
text_status status() const;
+ ///
void status(BufferView *, text_status) const;
private:
/// need the selection cursor:
void setSelection(BufferView *);
///
- void clearSelection(BufferView *) const;
+ void clearSelection() const;
///
string const selectionAsString(Buffer const *) const;
///
void toggleInset(BufferView *);
///
- void cutSelection(BufferView *, bool = true);
+ void cutSelection(BufferView *, bool doclear = true, bool realcut = true);
///
void copySelection(BufferView *);
///
bool pagebreak_top, bool pagebreak_bottom,
VSpace const & space_top,
VSpace const & space_bottom,
+ Spacing const & spacing,
LyXAlignment align,
string labelwidthstring,
bool noindent);