X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FExternalSupport.h;h=9c282e8418c291af01fb9fc1515d9b54223cf20d;hb=d6f1915684328c6e3fe61c6eef8846b5cabec334;hp=9967c5dbad49b43eec664f41b7fb01248196ce71;hpb=821fc8dfb8ac68aa1de8f82560c697ed0888f6fe;p=lyx.git diff --git a/src/insets/ExternalSupport.h b/src/insets/ExternalSupport.h index 9967c5dbad..9c282e8418 100644 --- a/src/insets/ExternalSupport.h +++ b/src/insets/ExternalSupport.h @@ -13,14 +13,14 @@ #ifndef EXTERNALSUPPORT_H #define EXTERNALSUPPORT_H -#include -#include +#include "support/docstream.h" + +namespace lyx { class Buffer; class ExportData; class InsetExternalParams; -namespace lyx { namespace external { class Template; @@ -49,10 +49,10 @@ enum Substitute { */ 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 @@ -63,9 +63,10 @@ std::string const doSubstitution(InsetExternalParams const & params, 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