- InsetCommand::draw(pi, x + center_indent_, y);
-}
-
-
-dispatch_result InsetIndex::localDispatch(FuncRequest const & cmd)
-{
- switch (cmd.action) {
- case LFUN_INSET_EDIT:
- InsetCommandMailer("index", *this).showDialog(cmd.view());
- return DISPATCHED;
-
- default:
- return InsetCommand::localDispatch(cmd);
- }
-}
-
-
-int InsetIndex::docbook(Buffer const &, ostream & os, bool) const
-{
- os << "<indexterm><primary>" << getContents()