## ev-file-exporter ev-file-exporter — |

## Synopsis

    enum        EvFileExporterFormat;
    #define     EV_FILE_EXPORTER_IFACE          (k)
    #define     EV_IS_FILE_EXPORTER_IFACE       (k)
                EvFileExporter;
                EvFileExporterIface;
    gboolean    ev_file_exporter_format_supported
                                                (EvFileExporter *exporter,
                                                 EvFileExporterFormat format);
    void        ev_file_exporter_begin          (EvFileExporter *exporter,
                                                 EvFileExporterFormat format,
                                                 const gchar *filename,
                                                 gint first_page,
                                                 gint last_page,
                                                 gdouble paper_width,
                                                 gdouble paper_height,
                                                 gboolean duplex);
    void        ev_file_exporter_do_page        (EvFileExporter *exporter,
                                                 EvRenderContext *rc);
    void        ev_file_exporter_end            (EvFileExporter *exporter);

## Description

## Details

### enum EvFileExporterFormat

    typedef enum {
            EV_FILE_FORMAT_PS,
            EV_FILE_FORMAT_PDF,
            EV_FILE_FORMAT_UNKNOWN
    } EvFileExporterFormat;

### EV_FILE_EXPORTER_IFACE()

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

`k` : |

### EV_IS_FILE_EXPORTER_IFACE()

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

`k` : |

### EvFileExporter

    typedef struct _EvFileExporter EvFileExporter;

### EvFileExporterIface

    typedef struct {
            GTypeInterface base_iface;

            /* Methods  */
            gboolean   (* format_supported) (EvFileExporter      *exporter,
                                             EvFileExporterFormat format);
            void       (* begin)            (EvFileExporter      *exporter,
                                             EvFileExporterFormat format,
                                             const gchar         *filename,
                                             gint                 first_page,
                                             gint                 last_page,
                                             gdouble              paper_width,
                                             gdouble              paper_height,
                                             gboolean             duplex);
            void       (* do_page)          (EvFileExporter      *exporter,
                                             EvRenderContext     *rc);
            void       (* end)              (EvFileExporter      *exporter);
    } EvFileExporterIface;

### ev_file_exporter_format_supported ()

    gboolean    ev_file_exporter_format_supported
                                                (EvFileExporter *exporter,
                                                 EvFileExporterFormat format);

`exporter` : |
`format` : |
Returns : |

### ev_file_exporter_begin ()

    void        ev_file_exporter_begin          (EvFileExporter *exporter,
                                                 EvFileExporterFormat format,
                                                 const gchar *filename,
                                                 gint first_page,
                                                 gint last_page,
                                                 gdouble paper_width,
                                                 gdouble paper_height,
                                                 gboolean duplex);

`exporter` : |
`format` : |
`filename` : |
`first_page` : |
`last_page` : |
`paper_width` : |
`paper_height` : |
`duplex` : |

### ev_file_exporter_do_page ()

    void        ev_file_exporter_do_page        (EvFileExporter *exporter,
                                                 EvRenderContext *rc);

`exporter` : |
`rc` : |

### ev_file_exporter_end ()

    void        ev_file_exporter_end            (EvFileExporter *exporter);

`exporter` : |