-/* This file is part of
- * ======================================================
+/**
+ * \file insetexternal.C
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
*
- * LyX, The Document Processor
+ * \author Asger Alstrup Nielsen
*
- * Copyright 1995 Matthias Ettrich
- * Copyright 1995-2001 The LyX Team.
- *
- * ====================================================== */
+ * Full author contact details are available in file CREDITS
+ */
#include <config.h>
#include "LaTeXFeatures.h"
#include "gettext.h"
#include "debug.h"
+#include "lyxlex.h"
#include "frontends/Dialogs.h"
#include <utility>
-#ifndef CXX_GLOBAL_CSTD
-using std::difftime;
-#endif
-
using std::ostream;
using std::endl;
int /*x*/, int /*y*/, mouse_button::state)
{
view_ = bv;
- view_->owner()->getDialogs()->showExternal(this);
+ view_->owner()->getDialogs().showExternal(this);
}
}
-int InsetExternal::docbook(Buffer const * buf, ostream & os) const
+int InsetExternal::docbook(Buffer const * buf, ostream & os, bool) const
{
return write("DocBook", buf, os);
}
result = subst(result, "$$Basename", basename);
result = subst(result, "$$Parameters", params_.parameters);
result = subst(result, "$$FPath", filepath);
- result = ReplaceEnvironmentPath(result);
result = subst(result, "$$Tempname", tempname_);
result = subst(result, "$$Sysdir", system_lyxdir);