#define INSET_LISTINGS_H
#include "LaTeXFeatures.h"
-#include "InsetERT.h"
#include "InsetListingsParams.h"
{
public:
///
- InsetListings(Buffer const &, InsetListingsParams const & par = InsetListingsParams());
+ InsetListings(Buffer *, InsetListingsParams const & par = InsetListingsParams());
///
~InsetListings();
///
///
bool isLabeled() const { return true; }
///
+ bool noFontChange() const { return true; }
+ ///
InsetCode lyxCode() const { return LISTINGS_CODE; }
/// lstinline is inlined, normal listing is displayed
DisplayType display() const;
///
docstring name() const { return from_ascii("Listings"); }
// Update the counters of this inset and of its contents
- void updateLabels(ParIterator const &);
+ void updateLabels(ParIterator const &, bool);
///
void write(std::ostream & os) const;
///
void read(Lexer & lex);
///
- docstring editMessage() const;
- ///
int latex(odocstream &, OutputParams const &) const;
///
+ docstring xhtml(XHTMLStream &, OutputParams const &) const;
+ ///
void validate(LaTeXFeatures &) const;
///
bool showInsetDialog(BufferView *) const;
///
Inset * clone() const { return new InsetListings(*this); }
///
- void setButtonLabel();
+ docstring const buttonLabel(BufferView const & bv) const;
///
docstring getCaption(OutputParams const &) const;