class BiblioInfo;
class Buffer;
-class BufferParams;
class BufferView;
class Change;
class CompletionList;
/// docbook output
virtual int docbook(odocstream & os, OutputParams const &) const;
/// LyX HTML output
- virtual int xhtml(odocstream & os, OutputParams const &) const;
+ virtual docstring xhtml(odocstream & os, OutputParams const &) const;
/// the string that is passed to the TOC
virtual void tocString(odocstream &) const {}
///
virtual docstring name() const;
///
- virtual InsetLayout const & getLayout(BufferParams const & bp) const;
+ virtual InsetLayout const & getLayout() const;
/// used to toggle insets
/// is the inset open?
/// should this inset be handled like a normal charater
enum mode_type {UNDECIDED_MODE, TEXT_MODE, MATH_MODE};
/// return text or mathmode if that is possible to determine
virtual mode_type currentMode() const { return UNDECIDED_MODE; }
+ /// returns whether changing mode during latex export is forbidden
+ virtual bool lockedMode() const { return false; }
/// returns whether this inset is allowed in other insets of given mode
virtual bool allowedIn(mode_type) const { return true; }
/**
/// set the change for the entire inset
virtual void setChange(Change const &) {}
/// accept the changes within the inset
- virtual void acceptChanges(BufferParams const &) {};
+ virtual void acceptChanges() {};
/// reject the changes within the inset
- virtual void rejectChanges(BufferParams const &) {};
+ virtual void rejectChanges() {};
///
virtual Dimension const dimension(BufferView const &) const;
///
virtual ColorCode backgroundColor() const;
///
+ virtual ColorCode labelColor() const;
+ ///
enum CollapseStatus {
Collapsed,
Open