]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetIndex.cpp
Routines for calculating numerical labels for BibTeX citations.
[lyx.git] / src / insets / InsetIndex.cpp
index 70a16f6e3c2e01c2877b371ab0887dcfee508ff0..4fdbfc502ef028667e99fbcf04f76d88be367bdd 100644 (file)
@@ -24,6 +24,7 @@
 #include "LaTeXFeatures.h"
 #include "Lexer.h"
 #include "MetricsInfo.h"
+#include "output_latex.h"
 #include "sgml.h"
 #include "TocBackend.h"
 
@@ -245,16 +246,6 @@ bool InsetIndex::getStatus(Cursor & cur, FuncRequest const & cmd,
 }
 
 
-docstring const InsetIndex::buttonLabel(BufferView const & bv) const
-{
-       docstring s = _("Idx");
-       if (decoration() == InsetLayout::CLASSIC)
-               return isOpen(bv) ? s : getNewLabel(s);
-       else
-               return getNewLabel(s);
-}
-
-
 ColorCode InsetIndex::labelColor() const
 {
        if (params_.index.empty() || params_.index == from_ascii("idx"))
@@ -560,7 +551,8 @@ bool InsetPrintIndex::hasSettings() const
        return buffer().masterBuffer()->params().use_indices;
 }
 
-docstring InsetPrintIndex::xhtml(odocstream &, OutputParams const &) const
+
+docstring InsetPrintIndex::xhtml(XHTMLStream &, OutputParams const &) const
 {
        return docstring();
 }