7 #include "insetindex.h"
8 #include "BufferView.h"
10 #include "frontends/Dialogs.h"
11 #include "LaTeXFeatures.h"
13 #include "support/LOstream.h"
17 InsetIndex::InsetIndex(InsetCommandParams const & p, bool)
22 string const InsetIndex::getScreenLabel(Buffer const *) const
28 void InsetIndex::edit(BufferView * bv, int, int, unsigned int)
30 bv->owner()->getDialogs()->showIndex(this);
34 void InsetIndex::edit(BufferView * bv, bool)
40 int InsetIndex::docbook(Buffer const *, ostream & os) const
42 os << "<indexterm><primary>" << getContents() << "</primary></indexterm>";
47 Inset::Code InsetIndex::lyxCode() const
49 return Inset::INDEX_CODE;
53 InsetPrintIndex::InsetPrintIndex(InsetCommandParams const & p, bool)
57 string const InsetPrintIndex::getScreenLabel(Buffer const *) const
63 void InsetPrintIndex::validate(LaTeXFeatures & features) const
65 features.require("makeidx");
69 Inset::Code InsetPrintIndex::lyxCode() const
71 return Inset::INDEX_PRINT_CODE;