X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fexporter.h;h=6d95507d59df8803bc23cf88c7bb803776078128;hb=d4ee9c38b6aa45146f67658352623bcbc3e0ad9b;hp=26e1a5dad07ae815507ac9b8db949af71ecfcc56;hpb=41d36cfe2b06da08074f3793a3e427ccc6fcd83a;p=lyx.git diff --git a/src/exporter.h b/src/exporter.h index 26e1a5dad0..6d95507d59 100644 --- a/src/exporter.h +++ b/src/exporter.h @@ -20,14 +20,18 @@ #include "LString.h" class Buffer; +class Format; -/// class Exporter { public: /// static bool Export(Buffer * buffer, string const & format, - bool put_in_tempdir, string * view_file = 0); + bool put_in_tempdir, string & result_file); + /// + static + bool Export(Buffer * buffer, string const & format, + bool put_in_tempdir); /// static bool Preview(Buffer * buffer, string const & format); @@ -36,14 +40,14 @@ public: bool IsExportable(Buffer const * buffer, string const & format); /// static - std::vector > const - GetExportableFormats(Buffer const * buffer); + std::vector const + GetExportableFormats(Buffer const * buffer, bool only_viewable); /// +private: static - std::vector > const - GetViewableFormats(Buffer const * buffer); + string const BufferFormat(Buffer const * buffer); /// static - string const BufferExtension(Buffer const * buffer); + std::vector const Backends(Buffer const * buffer); }; #endif