lyx_mirror/src/exporter.h

50 lines
1010 B
C
Raw Normal View History

// -*- C++ -*-
/* This file is part of
* ======================================================
*
* LyX, The Document Processor
*
* Copyright 1995 Matthias Ettrich
* Copyright 1995-2000 The LyX Team.
*
* ====================================================== */
#ifndef EXPORTER_H
#define EXPORTER_H
#ifdef __GNUG__
#pragma interface
#endif
#include <vector>
#include "LString.h"
class Buffer;
class FormatPair;
class Exporter {
public:
///
static
bool Export(Buffer * buffer, string const & format,
bool put_in_tempdir, string * view_file = 0);
///
static
bool Preview(Buffer * buffer, string const & format);
///
static
bool IsExportable(Buffer const * buffer, string const & format);
///
static
std::vector<FormatPair> const
GetExportableFormats(Buffer const * buffer);
///
static
std::vector<FormatPair> const
GetViewableFormats(Buffer const * buffer);
///
static
string const BufferExtension(Buffer const * buffer);
};
#endif