namespace lyx {
class Dimension;
+class MacroNameSet;
class RenderPreview;
namespace graphics {
void edit(Cursor & cur, bool front, EntryDirection entry_from) override;
- bool canPaintChange(BufferView const &) const override { return true; };
+ bool canPaintChange(BufferView const &) const override { return true; }
//@}
protected:
};
+/// gathers the list of macro definitions used in the given inset
+MacroNameSet gatherMacroDefinitions(const Buffer* buffer, const Inset * inset);
+/// returns the LaTeX snippet to compute the preview of the given inset
+docstring insetToLaTeXSnippet(const Buffer* buffer, const Inset * inset);
+
+
} // namespace lyx