mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-11 13:46:43 +00:00
b9df4a9322
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1009 a592a061-630c-0410-9148-cb99ea01b6c8
50 lines
972 B
C++
50 lines
972 B
C++
// -*- 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 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
|
|
std::vector<std::pair<string, string> > const
|
|
GetExportableFormats(Buffer const * buffer);
|
|
///
|
|
static
|
|
std::vector<std::pair<string, string> > const
|
|
GetViewableFormats(Buffer const * buffer);
|
|
///
|
|
static
|
|
string const BufferExtension(Buffer const * buffer);
|
|
};
|
|
|
|
#define NEW_EXPORT 1
|
|
|
|
#endif
|