X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fexporter.h;h=9944d6c47f43e9c1484c7e76772254948273d1c3;hb=98c966c64594611e469313314abd1e59524adb4a;hp=f8c9ac7d45eb49b76fd2e1abc4287b2ab5b82200;hpb=4255b4a1b7dcb4d092c26aaccf7a5b240c8d7786;p=lyx.git diff --git a/src/exporter.h b/src/exporter.h index f8c9ac7d45..9944d6c47f 100644 --- a/src/exporter.h +++ b/src/exporter.h @@ -1,11 +1,11 @@ // -*- C++ -*- /* This file is part of - * ====================================================== - * + * ====================================================== + * * LyX, The Document Processor - * + * * Copyright 1995 Matthias Ettrich - * Copyright 1995-2000 The LyX Team. + * Copyright 1995-2001 The LyX Team. * * ====================================================== */ @@ -20,14 +20,18 @@ #include "LString.h" class Buffer; -class FormatPair; +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