#define INSET_INDEX_H
-#include "InsetCollapsable.h"
+#include "InsetCollapsible.h"
#include "InsetCommand.h"
/** Used to insert index labels
*/
-class InsetIndex : public InsetCollapsable {
+class InsetIndex : public InsetCollapsible {
public:
///
InsetIndex(Buffer *, InsetIndexParams const &);
///
void read(Lexer & lex);
///
- int docbook(odocstream &, OutputParams const &) const;
+ void docbook(XMLStream &, OutputParams const &) const;
///
- docstring xhtml(XHTMLStream &, OutputParams const &) const;
+ docstring xhtml(XMLStream &, OutputParams const &) const;
///
void latex(otexstream &, OutputParams const &) const;
///
bool getStatus(Cursor &, FuncRequest const &, FuncStatus &) const;
///
void doDispatch(Cursor & cur, FuncRequest & cmd);
- /// should paragraph indendation be omitted in any case?
+ /// should paragraph indentation be omitted in any case?
bool neverIndent() const { return true; }
///
- void addToToc(DocIterator const &) const;
+ void addToToc(DocIterator const & di, bool output_active,
+ UpdateType utype, TocBackend & backend) const;
///
docstring toolTip(BufferView const & bv, int x, int y) const;
///
/// Updates needed features for this inset.
void validate(LaTeXFeatures & features) const;
///
- docstring contextMenuName() const;
+ std::string contextMenuName() const;
///
Inset * clone() const { return new InsetIndex(*this); }
+ /// Is the content of this inset part of the immediate text sequence?
+ bool isPartOfTextSequence() const { return false; }
///
friend class InsetIndexParams;
///
void latex(otexstream &, OutputParams const &) const;
///
- docstring xhtml(XHTMLStream &, OutputParams const &) const;
+ docstring xhtml(XMLStream &, OutputParams const &) const;
///
void doDispatch(Cursor & cur, FuncRequest & cmd);
///
bool getStatus(Cursor &, FuncRequest const &, FuncStatus &) const;
///
- docstring contextMenuName() const;
+ void updateBuffer(ParIterator const & it, UpdateType, bool const deleted = false);
+ ///
+ std::string contextMenuName() const;
/// Updates needed features for this inset.
void validate(LaTeXFeatures & features) const;
///
bool hasSettings() const;
///
- DisplayType display() const { return AlignCenter; }
+ RowFlags rowFlags() const { return Display; }
//@}
/// \name Static public methods obligated for InsetCommand derived classes