Evince
Evince is a document viewer capable of displaying multiple and single page document formats like PDF and Postscript.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
ev-file-exporter.h File Reference
#include <glib-object.h>
#include "ev-render-context.h"
+ Include dependency graph for ev-file-exporter.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  _EvFileExporterContext
 
struct  _EvFileExporterInterface
 

Macros

#define EV_TYPE_FILE_EXPORTER   (ev_file_exporter_get_type ())
 
#define EV_FILE_EXPORTER(o)   (G_TYPE_CHECK_INSTANCE_CAST ((o), EV_TYPE_FILE_EXPORTER, EvFileExporter))
 
#define EV_FILE_EXPORTER_IFACE(k)   (G_TYPE_CHECK_CLASS_CAST((k), EV_TYPE_FILE_EXPORTER, EvFileExporterInterface))
 
#define EV_IS_FILE_EXPORTER(o)   (G_TYPE_CHECK_INSTANCE_TYPE ((o), EV_TYPE_FILE_EXPORTER))
 
#define EV_IS_FILE_EXPORTER_IFACE(k)   (G_TYPE_CHECK_CLASS_TYPE ((k), EV_TYPE_FILE_EXPORTER))
 
#define EV_FILE_EXPORTER_GET_IFACE(inst)   (G_TYPE_INSTANCE_GET_INTERFACE ((inst), EV_TYPE_FILE_EXPORTER, EvFileExporterInterface))
 

Typedefs

typedef struct
_EvFileExporterContext 
EvFileExporterContext
 
typedef struct _EvFileExporter EvFileExporter
 
typedef struct
_EvFileExporterInterface 
EvFileExporterInterface
 

Enumerations

enum  EvFileExporterFormat { EV_FILE_FORMAT_UNKNOWN, EV_FILE_FORMAT_PS, EV_FILE_FORMAT_PDF }
 
enum  EvFileExporterCapabilities {
  EV_FILE_EXPORTER_CAN_PAGE_SET = 1 << 0, EV_FILE_EXPORTER_CAN_COPIES = 1 << 1, EV_FILE_EXPORTER_CAN_COLLATE = 1 << 2, EV_FILE_EXPORTER_CAN_REVERSE = 1 << 3,
  EV_FILE_EXPORTER_CAN_SCALE = 1 << 4, EV_FILE_EXPORTER_CAN_GENERATE_PDF = 1 << 5, EV_FILE_EXPORTER_CAN_GENERATE_PS = 1 << 6, EV_FILE_EXPORTER_CAN_PREVIEW = 1 << 7,
  EV_FILE_EXPORTER_CAN_NUMBER_UP = 1 << 8
}
 

Functions

GType ev_file_exporter_get_type (void) G_GNUC_CONST
 
void ev_file_exporter_begin (EvFileExporter *exporter, EvFileExporterContext *fc)
 
void ev_file_exporter_begin_page (EvFileExporter *exporter)
 
void ev_file_exporter_do_page (EvFileExporter *exporter, EvRenderContext *rc)
 
void ev_file_exporter_end_page (EvFileExporter *exporter)
 
void ev_file_exporter_end (EvFileExporter *exporter)
 
EvFileExporterCapabilities ev_file_exporter_get_capabilities (EvFileExporter *exporter)
 

Macro Definition Documentation

#define EV_FILE_EXPORTER (   o)    (G_TYPE_CHECK_INSTANCE_CAST ((o), EV_TYPE_FILE_EXPORTER, EvFileExporter))

Definition at line 68 of file ev-file-exporter.h.

#define EV_FILE_EXPORTER_GET_IFACE (   inst)    (G_TYPE_INSTANCE_GET_INTERFACE ((inst), EV_TYPE_FILE_EXPORTER, EvFileExporterInterface))

Definition at line 72 of file ev-file-exporter.h.

#define EV_FILE_EXPORTER_IFACE (   k)    (G_TYPE_CHECK_CLASS_CAST((k), EV_TYPE_FILE_EXPORTER, EvFileExporterInterface))

Definition at line 69 of file ev-file-exporter.h.

#define EV_IS_FILE_EXPORTER (   o)    (G_TYPE_CHECK_INSTANCE_TYPE ((o), EV_TYPE_FILE_EXPORTER))

Definition at line 70 of file ev-file-exporter.h.

#define EV_IS_FILE_EXPORTER_IFACE (   k)    (G_TYPE_CHECK_CLASS_TYPE ((k), EV_TYPE_FILE_EXPORTER))

Definition at line 71 of file ev-file-exporter.h.

#define EV_TYPE_FILE_EXPORTER   (ev_file_exporter_get_type ())

Definition at line 67 of file ev-file-exporter.h.

Typedef Documentation

typedef struct _EvFileExporter EvFileExporter

Definition at line 74 of file ev-file-exporter.h.

Definition at line 54 of file ev-file-exporter.h.

Definition at line 75 of file ev-file-exporter.h.

Enumeration Type Documentation

Enumerator
EV_FILE_EXPORTER_CAN_PAGE_SET 
EV_FILE_EXPORTER_CAN_COPIES 
EV_FILE_EXPORTER_CAN_COLLATE 
EV_FILE_EXPORTER_CAN_REVERSE 
EV_FILE_EXPORTER_CAN_SCALE 
EV_FILE_EXPORTER_CAN_GENERATE_PDF 
EV_FILE_EXPORTER_CAN_GENERATE_PS 
EV_FILE_EXPORTER_CAN_PREVIEW 
EV_FILE_EXPORTER_CAN_NUMBER_UP 

Definition at line 42 of file ev-file-exporter.h.

Enumerator
EV_FILE_FORMAT_UNKNOWN 
EV_FILE_FORMAT_PS 
EV_FILE_FORMAT_PDF 

Definition at line 36 of file ev-file-exporter.h.

Function Documentation

void ev_file_exporter_begin ( EvFileExporter exporter,
EvFileExporterContext fc 
)

Definition at line 35 of file ev-file-exporter.c.

37 {
39 
40  iface->begin (exporter, fc);
41 }
void ev_file_exporter_begin_page ( EvFileExporter exporter)

Definition at line 44 of file ev-file-exporter.c.

45 {
47 
48  if (iface->begin_page)
49  iface->begin_page (exporter);
50 }
void ev_file_exporter_do_page ( EvFileExporter exporter,
EvRenderContext rc 
)

Definition at line 53 of file ev-file-exporter.c.

55 {
57 
58  iface->do_page (exporter, rc);
59 }

+ Here is the caller graph for this function:

void ev_file_exporter_end ( EvFileExporter exporter)

Definition at line 71 of file ev-file-exporter.c.

72 {
74 
75  iface->end (exporter);
76 }
void ev_file_exporter_end_page ( EvFileExporter exporter)

Definition at line 62 of file ev-file-exporter.c.

63 {
65 
66  if (iface->end_page)
67  iface->end_page (exporter);
68 }
EvFileExporterCapabilities ev_file_exporter_get_capabilities ( EvFileExporter exporter)

Definition at line 79 of file ev-file-exporter.c.

80 {
82 
83  return iface->get_capabilities (exporter);
84 }
GType ev_file_exporter_get_type ( void  )