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 contextMenuName() const
- { return from_ascii("context-preview"); }
+ std::string contextMenuName() const
+ { return "context-preview"; }
void metrics(MetricsInfo & mi, Dimension & dim) const;