5 #include "command_inset.h"
8 class RefInset : public CommandInset {
13 explicit RefInset(string const & data);
15 MathInset * clone() const;
17 //void write(WriteStream & os) const;
19 void infoize(std::ostream & os) const;
21 result_type dispatch(FuncRequest const & cmd, idx_type & idx, pos_type & pos);
23 string screenLabel() const;
25 void validate(LaTeXFeatures & features) const;
27 /// plain ascii output
28 int ascii(std::ostream & os, int) const;
30 int linuxdoc(std::ostream & os) const;
32 int docbook(std::ostream & os, bool) const;
35 struct ref_type_info {
41 string short_gui_name;
43 static ref_type_info types[];
45 static int getType(string const & name);
47 static string const & getName(int type);