///
static std::string params2string(InsetGraphicsParams const &,
Buffer const &);
- /// Saves the list of currently used groups in the document.
- static void getGraphicsGroups(Buffer const &, std::set<std::string> &);
- /// Returns parameters of a given graphics group (except filename).
- static std::string getGroupParams(Buffer const &,
- std::string const &);
- /** Synchronize all Graphics insets of the group.
- Both groupId and params are taken from argument.
- */
- static void unifyGraphicsGroups(Buffer const &, std::string const &);
/** Set the inset parameters, used by the GUIndependent dialog.
Return true of new params are different from what was so far.
///
bool getStatus(Cursor &, FuncRequest const &, FuncStatus &) const;
///
- void addToToc(ParConstIterator const &) const;
+ void addToToc(DocIterator const &);
///
docstring contextMenu(BufferView const & bv, int x, int y) const;
/// Force inset into LTR environment if surroundings are RTL?
boost::scoped_ptr<RenderGraphic> const graphic_;
};
+namespace graphics {
+
+ /// Saves the list of currently used groups in the document.
+ void getGraphicsGroups(Buffer const &, std::set<std::string> &);
+
+ /// Returns parameters of a given graphics group (except filename).
+ std::string getGroupParams(Buffer const &, std::string const &);
+
+ /** Synchronize all Graphics insets of the group.
+ Both groupId and params are taken from argument.
+ */
+ void unifyGraphicsGroups(Buffer const &, std::string const &);
+ InsetGraphics * getCurrentGraphicsInset(Cursor const &);
+
+}
+
} // namespace lyx
#endif // INSET_GRAPHICS_H