Pavel Sanda wrote:
Correct. You could add that the parameter corresponds to the
"lyxtype".

i was already looking what exactly lyxtype means, but the commentary in header file was not really helpful to determine
what the "lyxtype" is:
        ///
std::string lyxtype_;
This probably ought to be an enum, for pretty much this reason. Right now, there are four choices:
charstyle
custom
element
standard
The first one you know. The second is for things that (by default) look like a footnote. The third has to do with docbook. I'm not sure about the last. Anyway, this is only used (at present) to decide where to put them on the menus. See MenuDefinition::expandFlexInsert(), in frontends/qt4/Menus.cpp.

rh

Reply via email to