21#ifndef SPECTRE_DOCUMENT_H
22#define SPECTRE_DOCUMENT_H
24#include <libspectre/spectre-macros.h>
46 const char *filename);
136 unsigned int page_index);
160 unsigned char **page_data,
176 unsigned char **page_data,
197 const char *filename);
205 const char *filename);
SPECTRE_PUBLIC void spectre_document_render(SpectreDocument *document, unsigned char **page_data, int *row_length)
Definition spectre-document.c:388
SPECTRE_PUBLIC const char * spectre_document_get_creation_date(SpectreDocument *document)
Definition spectre-document.c:239
SPECTRE_PUBLIC const char * spectre_document_get_format(SpectreDocument *document)
Definition spectre-document.c:252
SPECTRE_PUBLIC const char * spectre_document_get_for(SpectreDocument *document)
Definition spectre-document.c:226
SPECTRE_PUBLIC SpectreStatus spectre_document_status(SpectreDocument *document)
Definition spectre-document.c:151
SPECTRE_PUBLIC void spectre_document_render_full(SpectreDocument *document, SpectreRenderContext *rc, unsigned char **page_data, int *row_length)
Definition spectre-document.c:360
SPECTRE_PUBLIC const char * spectre_document_get_creator(SpectreDocument *document)
Definition spectre-document.c:213
SPECTRE_PUBLIC void spectre_document_get_page_size(SpectreDocument *document, int *width, int *height)
Definition spectre-document.c:402
SPECTRE_PUBLIC void spectre_document_save(SpectreDocument *document, const char *filename)
Definition spectre-document.c:432
SPECTRE_PUBLIC unsigned int spectre_document_get_language_level(SpectreDocument *document)
Definition spectre-document.c:278
SPECTRE_PUBLIC SpectreDocument * spectre_document_new(void)
Definition spectre-document.c:45
SPECTRE_PUBLIC void spectre_document_load(SpectreDocument *document, const char *filename)
Definition spectre-document.c:113
SPECTRE_PUBLIC unsigned int spectre_document_get_n_pages(SpectreDocument *document)
Definition spectre-document.c:159
SPECTRE_PUBLIC void spectre_document_save_to_pdf(SpectreDocument *document, const char *filename)
Definition spectre-document.c:474
SPECTRE_PUBLIC int spectre_document_is_eps(SpectreDocument *document)
Definition spectre-document.c:265
SPECTRE_PUBLIC const char * spectre_document_get_title(SpectreDocument *document)
Definition spectre-document.c:200
SPECTRE_PUBLIC SpectrePage * spectre_document_get_page(SpectreDocument *document, unsigned int page_index)
Definition spectre-document.c:291
SPECTRE_PUBLIC SpectreOrientation spectre_document_get_orientation(SpectreDocument *document)
Definition spectre-document.c:172
SPECTRE_PUBLIC void spectre_document_free(SpectreDocument *document)
Definition spectre-document.c:137
SPECTRE_PUBLIC SpectrePage * spectre_document_get_page_by_label(SpectreDocument *document, const char *label)
Definition spectre-document.c:326
SpectreOrientation
Definition spectre-page.h:30
struct SpectreRenderContext SpectreRenderContext
Definition spectre-render-context.h:29
enum _SpectreStatus SpectreStatus
Definition spectre-document.c:36
Definition spectre-page.c:31