InsetCode lyxCode() const { return PREVIEW_CODE; }
- docstring name() const { return from_ascii("Preview"); }
+ docstring layoutName() const { return from_ascii("Preview"); }
bool descendable(BufferView const & /*bv*/) const { return true; }
- docstring contextMenu(BufferView const &, int, int) const
+ docstring contextMenuName() const
{ return from_ascii("context-preview"); }
void metrics(MetricsInfo & mi, Dimension & dim) const;