libspectre 0.2.12
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
28SPECTRE_BEGIN_DECLS
29
34
36
37SPECTRE_PUBLIC
40SPECTRE_PUBLIC
42SPECTRE_PUBLIC
44 const char *filename);
45SPECTRE_PUBLIC
47 unsigned int page_index);
48SPECTRE_PUBLIC
50
51SPECTRE_END_DECLS
52
53#endif /* SPECTRE_EXPORTER_H */
SPECTRE_PUBLIC SpectreStatus spectre_exporter_begin(SpectreExporter *exporter, const char *filename)
Definition spectre-exporter.c:77
SpectreExporterFormat
Definition spectre-exporter.h:30
@ SPECTRE_EXPORTER_FORMAT_PDF
Definition spectre-exporter.h:32
@ SPECTRE_EXPORTER_FORMAT_PS
Definition spectre-exporter.h:31
SPECTRE_PUBLIC SpectreStatus spectre_exporter_end(SpectreExporter *exporter)
Definition spectre-exporter.c:99
struct SpectreExporter SpectreExporter
Definition spectre-exporter.h:35
SPECTRE_PUBLIC void spectre_exporter_free(SpectreExporter *exporter)
Definition spectre-exporter.c:48
SPECTRE_PUBLIC SpectreExporter * spectre_exporter_new(SpectreDocument *document, SpectreExporterFormat format)
Definition spectre-exporter.c:28
SPECTRE_PUBLIC SpectreStatus spectre_exporter_do_page(SpectreExporter *exporter, unsigned int page_index)
Definition spectre-exporter.c:90
enum _SpectreStatus SpectreStatus
Definition spectre-document.c:36