]> git.lyx.org Git - lyx.git/blob - src/exporter.h
Remove the inset and view member functions from PreviewedInset.
[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 <string>
17 #include <vector>
18
19
20 class Buffer;
21 class Format;
22
23 class Exporter {
24 public:
25         ///
26         static
27         bool Export(Buffer * buffer, std::string const & format,
28                     bool put_in_tempdir, std::string & result_file);
29         ///
30         static
31         bool Export(Buffer * buffer, std::string const & format,
32                     bool put_in_tempdir);
33         ///
34         static
35         bool Preview(Buffer * buffer, std::string const & format);
36         ///
37         static
38         bool IsExportable(Buffer const & buffer, std::string const & format);
39         ///
40         static
41         std::vector<Format const *> const
42         GetExportableFormats(Buffer const & buffer, bool only_viewable);
43         ///
44 };
45 #endif