]> git.lyx.org Git - lyx.git/blob - src/exporter.h
Point fix, earlier forgotten
[lyx.git] / src / exporter.h
1 // -*- C++ -*-
2 /**
3  * \file exporter.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author Lars Gullik Bjønnes
8  * \author Jean-Marc Lasgouttes
9  *
10  * Full author contact details are available in file CREDITS.
11  */
12
13 #ifndef EXPORTER_H
14 #define EXPORTER_H
15
16 #include <vector>
17 #include "LString.h"
18
19 class Buffer;
20 class Format;
21
22 class Exporter {
23 public:
24         ///
25         static
26         bool Export(Buffer * buffer, string const & format,
27                     bool put_in_tempdir, string & result_file);
28         ///
29         static
30         bool Export(Buffer * buffer, string const & format,
31                     bool put_in_tempdir);
32         ///
33         static
34         bool Preview(Buffer * buffer, string const & format);
35         ///
36         static
37         bool IsExportable(Buffer const & buffer, string const & format);
38         ///
39         static
40         std::vector<Format const *> const
41         GetExportableFormats(Buffer const & buffer, bool only_viewable);
42         ///
43 };
44 #endif