#include "OutputParams.h"
#include "ParagraphParameters.h"
#include "Paragraph.h"
-#include "TextClass.h"
+#include "support/docstream.h"
#include "support/gettext.h"
#include "support/lstrings.h"
+#include "support/TempFile.h"
#include <sstream>
}
+InsetERT::InsetERT(InsetERT const & old)
+ : InsetCollapsible(old)
+{}
+
+
void InsetERT::write(ostream & os) const
{
os << "ERT" << "\n";
FuncStatus & status) const
{
switch (cmd.action()) {
+ case LFUN_INSET_INSERT:
+ status.setEnabled(false);
+ return true;
case LFUN_INSET_MODIFY:
if (cmd.getArg(0) == "ert") {
status.setEnabled(true);
}
+
docstring const InsetERT::buttonLabel(BufferView const & bv) const
{
if (decoration() == InsetLayout::CLASSIC)
}
-docstring InsetERT::xhtml(XHTMLStream &, OutputParams const &) const
+docstring InsetERT::xhtml(XMLStream &, OutputParams const &) const
{
return docstring();
}