*/
class InsetRef : public InsetCommand {
public:
+ struct type_info {
+ ///
+ string latex_name;
+ ///
+ string gui_name;
+ ///
+ string short_gui_name;
+ };
+ static type_info types[];
///
- InsetRef(InsetCommandParams const &);
+ static int getType(string const & name);
///
- Inset * Clone() const { return new InsetRef(params()); }
+ static string const & getName(int type);
+
+ ///
+ InsetRef(InsetCommandParams const &, Buffer const &);
+ ///
+ Inset * Clone(Buffer const & buffer) const {
+ return new InsetRef(params(), buffer);
+ }
///
string const getScreenLabel() const;
///
private:
/// This function escapes 8-bit characters
string const escape(string const &) const;
+ ///
+ bool isLatex;
};
#endif