mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-24 02:35:20 +00:00
3508b30871
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7209 a592a061-630c-0410-9148-cb99ea01b6c8
44 lines
920 B
C++
44 lines
920 B
C++
// -*- C++ -*-
|
|
/* This file is part of
|
|
* ======================================================
|
|
*
|
|
* LyX, The Document Processor
|
|
*
|
|
* Copyright 1995 Matthias Ettrich
|
|
* Copyright 1995-2001 The LyX Team.
|
|
*
|
|
* ====================================================== */
|
|
|
|
#ifndef EXPORTER_H
|
|
#define EXPORTER_H
|
|
|
|
#include <vector>
|
|
#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);
|
|
///
|
|
static
|
|
bool Preview(Buffer * buffer, string const & format);
|
|
///
|
|
static
|
|
bool IsExportable(Buffer const * buffer, string const & format);
|
|
///
|
|
static
|
|
std::vector<Format const *> const
|
|
GetExportableFormats(Buffer const * buffer, bool only_viewable);
|
|
///
|
|
};
|
|
#endif
|