X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fexporter.h;h=9944d6c47f43e9c1484c7e76772254948273d1c3;hb=a9c2dd92df8c538e6ab39bbd136c2da9a0315eb1;hp=fb286f7a2d29b333633cc300a65185bbabe6246e;hpb=2fa9fa22c453949e3f454add46f62958c4eec85b;p=lyx.git diff --git a/src/exporter.h b/src/exporter.h index fb286f7a2d..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,12 +20,16 @@ #include "LString.h" class Buffer; +class Format; -/// class Exporter { public: /// static + bool Export(Buffer * buffer, string const & format, + bool put_in_tempdir, string & result_file); + /// + static bool Export(Buffer * buffer, string const & format, bool put_in_tempdir); /// @@ -33,17 +37,17 @@ public: bool Preview(Buffer * buffer, string const & format); /// static - std::vector > const - GetExportableFormats(Buffer const * buffer); + bool IsExportable(Buffer const * buffer, string const & format); /// static - std::vector > const - GetViewableFormats(Buffer const * buffer); + std::vector const + GetExportableFormats(Buffer const * buffer, bool only_viewable); /// +private: static - string const BufferExtension(Buffer const * buffer); + string const BufferFormat(Buffer const * buffer); + /// + static + std::vector const Backends(Buffer const * buffer); }; - -#define NEW_EXPORT 1 - #endif