libspectre  0.2.8
spectre-exporter.h
Go to the documentation of this file.
1 /* This file is part of Libspectre.
2  *
3  * Copyright (C) 2007 Albert Astals Cid <aacid@kde.org>
4  * Copyright (C) 2007 Carlos Garcia Campos <carlosgc@gnome.org>
5  *
6  * Libspectre is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; either version 2, or (at your option)
9  * any later version.
10  *
11  * Libspectre is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with this program; if not, write to the Free Software
18  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
19  */
20 
21 #ifndef SPECTRE_EXPORTER_H
22 #define SPECTRE_EXPORTER_H
23 
24 #include <libspectre/spectre-macros.h>
27 
28 SPECTRE_BEGIN_DECLS
29 
30 typedef enum {
34 
35 typedef struct SpectreExporter SpectreExporter;
36 
38  SpectreExporterFormat format);
39 void spectre_exporter_free (SpectreExporter *exporter);
41  const char *filename);
43  unsigned int page_index);
45 
46 
47 SPECTRE_END_DECLS
48 
49 #endif /* SPECTRE_EXPORTER_H */
spectre-document.h
spectre_exporter_free
void spectre_exporter_free(SpectreExporter *exporter)
Definition: spectre-exporter.c:48
spectre_exporter_do_page
SpectreStatus spectre_exporter_do_page(SpectreExporter *exporter, unsigned int page_index)
Definition: spectre-exporter.c:90
SpectreDocument
Definition: spectre-document.c:36
spectre_exporter_end
SpectreStatus spectre_exporter_end(SpectreExporter *exporter)
Definition: spectre-exporter.c:99
SpectreStatus
enum _SpectreStatus SpectreStatus
spectre_exporter_begin
SpectreStatus spectre_exporter_begin(SpectreExporter *exporter, const char *filename)
Definition: spectre-exporter.c:77
SpectreExporter
struct SpectreExporter SpectreExporter
Definition: spectre-exporter.h:35
spectre_exporter_new
SpectreExporter * spectre_exporter_new(SpectreDocument *document, SpectreExporterFormat format)
Definition: spectre-exporter.c:28
SPECTRE_EXPORTER_FORMAT_PS
@ SPECTRE_EXPORTER_FORMAT_PS
Definition: spectre-exporter.h:31
spectre-status.h
SPECTRE_EXPORTER_FORMAT_PDF
@ SPECTRE_EXPORTER_FORMAT_PDF
Definition: spectre-exporter.h:32
SpectreExporterFormat
SpectreExporterFormat
Definition: spectre-exporter.h:30