4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
7 * \author Alejandro Aguilar Sierra
9 * \author Lars Gullik Bjønnes
10 * \author Matthias Ettrich
12 * Full author contact details are available in file CREDITS.
22 /** This is not quite the correct place for this enum. I think
23 the correct would be to let each subclass of Inset declare
24 its own enum code. Actually the notion of an InsetCode
25 should be avoided, but I am not sure how this could be done
31 TOC_CODE, // do these insets really need a code? (ale)
127 COLLAPSABLE_CODE, // 50
130 /** returns the InsetCode corresponding to the \c name.
131 * Eg, insetCode("branch") == BRANCH_CODE
132 * Implemented in 'Inset.cpp'.
134 InsetCode insetCode(std::string const & name);
136 std::string insetName(InsetCode);