#ifndef EXTERNALSUPPORT_H
#define EXTERNALSUPPORT_H
-#include <iosfwd>
-#include <string>
+#include "support/docstream.h"
+
+namespace lyx {
class Buffer;
class ExportData;
class InsetExternalParams;
-namespace lyx {
namespace external {
class Template;
*/
std::string const doSubstitution(InsetExternalParams const & params,
Buffer const & buffer,
- std::string const & s,
- bool use_latex_path,
+ std::string const & s,
+ bool use_latex_path,
bool external_in_tmpdir = false,
- Substitute what = ALL);
+ Substitute what = ALL);
/** Write the output for a specific file format
int writeExternal(InsetExternalParams const &,
std::string const & format,
Buffer const &,
- std::ostream &,
+ odocstream &,
ExportData &,
- bool external_in_tmpdir = false);
+ bool external_in_tmpdir,
+ bool dryrun);
} // namespace external
} // namespace lyx