public:
///
- InsetPreview(Buffer *);
+ explicit InsetPreview(Buffer *);
///
~InsetPreview();
///
bool neverIndent() const { return true; }
+ bool inheritFont() const { return false; }
+
InsetCode lyxCode() const { return PREVIEW_CODE; }
docstring layoutName() const { return from_ascii("Preview"); }
protected:
/// Retrieves the preview state. Returns true if preview
- /// is enabled and the preview image is availabled.
+ /// is enabled and the preview image is available.
bool previewState(BufferView * bv) const;
/// Recreates the preview if preview is enabled.
void reloadPreview(DocIterator const & pos) const;