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-jobs.h File Reference
#include <gio/gio.h>
#include <gtk/gtk.h>
#include <cairo.h>
#include <evince-document.h>
+ Include dependency graph for ev-jobs.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  _EvJob
 
struct  _EvJobClass
 
struct  _EvJobLinks
 
struct  _EvJobLinksClass
 
struct  _EvJobAttachments
 
struct  _EvJobAttachmentsClass
 
struct  _EvJobAnnots
 
struct  _EvJobAnnotsClass
 
struct  _EvJobRender
 
struct  _EvJobRenderClass
 
struct  _EvJobPageData
 
struct  _EvJobPageDataClass
 
struct  _EvJobThumbnail
 
struct  _EvJobThumbnailClass
 
struct  _EvJobFonts
 
struct  _EvJobFontsClass
 
struct  _EvJobLoad
 
struct  _EvJobLoadClass
 
struct  _EvJobLoadStream
 
struct  _EvJobLoadStreamClass
 
struct  _EvJobLoadGFile
 
struct  _EvJobLoadGFileClass
 
struct  _EvJobSave
 
struct  _EvJobSaveClass
 
struct  _EvJobFind
 
struct  _EvJobFindClass
 
struct  _EvJobLayers
 
struct  _EvJobLayersClass
 
struct  _EvJobExport
 
struct  _EvJobExportClass
 
struct  _EvJobPrint
 
struct  _EvJobPrintClass
 

Macros

#define EV_TYPE_JOB   (ev_job_get_type())
 
#define EV_JOB(obj)   (G_TYPE_CHECK_INSTANCE_CAST ((obj), EV_TYPE_JOB, EvJob))
 
#define EV_IS_JOB(obj)   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), EV_TYPE_JOB))
 
#define EV_JOB_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST ((klass), EV_TYPE_JOB, EvJobClass))
 
#define EV_IS_JOB_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), EV_TYPE_JOB))
 
#define EV_JOB_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), EV_TYPE_JOB, EvJobClass))
 
#define EV_TYPE_JOB_LINKS   (ev_job_links_get_type())
 
#define EV_JOB_LINKS(obj)   (G_TYPE_CHECK_INSTANCE_CAST ((obj), EV_TYPE_JOB_LINKS, EvJobLinks))
 
#define EV_IS_JOB_LINKS(obj)   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), EV_TYPE_JOB_LINKS))
 
#define EV_JOB_LINKS_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST ((klass), EV_TYPE_JOB_LINKS, EvJobLinksClass))
 
#define EV_IS_JOB_LINKS_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), EV_TYPE_JOB_LINKS))
 
#define EV_JOB_LINKS_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), EV_TYPE_JOB_LINKS, EvJobLinksClass))
 
#define EV_TYPE_JOB_ATTACHMENTS   (ev_job_attachments_get_type())
 
#define EV_JOB_ATTACHMENTS(obj)   (G_TYPE_CHECK_INSTANCE_CAST ((obj), EV_TYPE_JOB_ATTACHMENTS, EvJobAttachments))
 
#define EV_IS_JOB_ATTACHMENTS(obj)   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), EV_TYPE_JOB_ATTACHMENTS))
 
#define EV_JOB_ATTACHMENTS_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST ((klass), EV_TYPE_JOB_ATTACHMENTS, EvJobAttachmentsClass))
 
#define EV_IS_JOB_ATTACHMENTS_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), EV_TYPE_JOB_ATTACHMENTS))
 
#define EV_JOB_ATTACHMENTS_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), EV_TYPE_JOB_ATTACHMENTS, EvJobAttachmentsClass))
 
#define EV_TYPE_JOB_ANNOTS   (ev_job_annots_get_type())
 
#define EV_JOB_ANNOTS(obj)   (G_TYPE_CHECK_INSTANCE_CAST ((obj), EV_TYPE_JOB_ANNOTS, EvJobAnnots))
 
#define EV_IS_JOB_ANNOTS(obj)   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), EV_TYPE_JOB_ANNOTS))
 
#define EV_JOB_ANNOTS_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST ((klass), EV_TYPE_JOB_ANNOTS, EvJobAnnotsClass))
 
#define EV_IS_JOB_ANNOTS_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), EV_TYPE_JOB_ANNOTS))
 
#define EV_JOB_ANNOTS_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), EV_TYPE_JOB_ANNOTS, EvJobAnnotsClass))
 
#define EV_TYPE_JOB_RENDER   (ev_job_render_get_type())
 
#define EV_JOB_RENDER(obj)   (G_TYPE_CHECK_INSTANCE_CAST ((obj), EV_TYPE_JOB_RENDER, EvJobRender))
 
#define EV_IS_JOB_RENDER(obj)   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), EV_TYPE_JOB_RENDER))
 
#define EV_JOB_RENDER_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST ((klass), EV_TYPE_JOB_RENDER, EvJobRenderClass))
 
#define EV_IS_JOB_RENDER_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), EV_TYPE_JOB_RENDER))
 
#define EV_JOB_RENDER_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), EV_TYPE_JOB_RENDER, EvJobRenderClass))
 
#define EV_TYPE_JOB_PAGE_DATA   (ev_job_page_data_get_type())
 
#define EV_JOB_PAGE_DATA(obj)   (G_TYPE_CHECK_INSTANCE_CAST ((obj), EV_TYPE_JOB_PAGE_DATA, EvJobPageData))
 
#define EV_IS_JOB_PAGE_DATA(obj)   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), EV_TYPE_JOB_PAGE_DATA))
 
#define EV_JOB_PAGE_DATA_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST ((klass), EV_TYPE_JOB_PAGE_DATA, EvJobPageDataClass))
 
#define EV_IS_JOB_PAGE_DATA_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), EV_TYPE_JOB_PAGE_DATA))
 
#define EV_JOB_PAGE_DATA_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), EV_TYPE_JOB_PAGE_DATA, EvJobPageDataClass))
 
#define EV_TYPE_JOB_THUMBNAIL   (ev_job_thumbnail_get_type())
 
#define EV_JOB_THUMBNAIL(obj)   (G_TYPE_CHECK_INSTANCE_CAST ((obj), EV_TYPE_JOB_THUMBNAIL, EvJobThumbnail))
 
#define EV_IS_JOB_THUMBNAIL(obj)   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), EV_TYPE_JOB_THUMBNAIL))
 
#define EV_JOB_THUMBNAIL_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST ((klass), EV_TYPE_JOB_THUMBNAIL, EvJobThumbnailClass))
 
#define EV_IS_JOB_THUMBNAIL_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), EV_TYPE_JOB_THUMBNAIL))
 
#define EV_JOB_THUMBNAIL_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), EV_TYPE_JOB_THUMBNAIL, EvJobThumbnailClass))
 
#define EV_TYPE_JOB_FONTS   (ev_job_fonts_get_type())
 
#define EV_JOB_FONTS(obj)   (G_TYPE_CHECK_INSTANCE_CAST ((obj), EV_TYPE_JOB_FONTS, EvJobFonts))
 
#define EV_IS_JOB_FONTS(obj)   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), EV_TYPE_JOB_FONTS))
 
#define EV_JOB_FONTS_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST ((klass), EV_TYPE_JOB_FONTS, EvJobFontsClass))
 
#define EV_IS_JOB_FONTS_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), EV_TYPE_JOB_FONTS))
 
#define EV_JOB_FONTS_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), EV_TYPE_JOB_FONTS, EvJobFontsClass))
 
#define EV_TYPE_JOB_LOAD   (ev_job_load_get_type())
 
#define EV_JOB_LOAD(obj)   (G_TYPE_CHECK_INSTANCE_CAST ((obj), EV_TYPE_JOB_LOAD, EvJobLoad))
 
#define EV_IS_JOB_LOAD(obj)   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), EV_TYPE_JOB_LOAD))
 
#define EV_JOB_LOAD_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST ((klass), EV_TYPE_JOB_LOAD, EvJobLoadClass))
 
#define EV_IS_JOB_LOAD_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), EV_TYPE_JOB_LOAD))
 
#define EV_JOB_LOAD_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), EV_TYPE_JOB_LOAD, EvJobLoadClass))
 
#define EV_TYPE_JOB_LOAD_STREAM   (ev_job_load_stream_get_type())
 
#define EV_JOB_LOAD_STREAM(obj)   (G_TYPE_CHECK_INSTANCE_CAST ((obj), EV_TYPE_JOB_LOAD_STREAM, EvJobLoadStream))
 
#define EV_IS_JOB_LOAD_STREAM(obj)   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), EV_TYPE_JOB_LOAD_STREAM))
 
#define EV_JOB_LOAD_STREAM_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST ((klass), EV_TYPE_JOB_LOAD_STREAM, EvJobLoadStreamClass))
 
#define EV_IS_JOB_LOAD_STREAM_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), EV_TYPE_JOB_LOAD_STREAM))
 
#define EV_JOB_LOAD_STREAM_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), EV_TYPE_JOB_LOAD_STREAM, EvJobLoadStreamClass))
 
#define EV_TYPE_JOB_LOAD_GFILE   (ev_job_load_gfile_get_type())
 
#define EV_JOB_LOAD_GFILE(obj)   (G_TYPE_CHECK_INSTANCE_CAST ((obj), EV_TYPE_JOB_LOAD_GFILE, EvJobLoadGFile))
 
#define EV_IS_JOB_LOAD_GFILE(obj)   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), EV_TYPE_JOB_LOAD_GFILE))
 
#define EV_JOB_LOAD_GFILE_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST ((klass), EV_TYPE_JOB_LOAD_GFILE, EvJobLoadGFileClass))
 
#define EV_IS_JOB_LOAD_GFILE_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), EV_TYPE_JOB_LOAD_GFILE))
 
#define EV_JOB_LOAD_GFILE_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), EV_TYPE_JOB_LOAD_GFILE, EvJobLoadGFileClass))
 
#define EV_TYPE_JOB_SAVE   (ev_job_save_get_type())
 
#define EV_JOB_SAVE(obj)   (G_TYPE_CHECK_INSTANCE_CAST ((obj), EV_TYPE_JOB_SAVE, EvJobSave))
 
#define EV_IS_JOB_SAVE(obj)   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), EV_TYPE_JOB_SAVE))
 
#define EV_JOB_SAVE_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST ((klass), EV_TYPE_JOB_SAVE, EvJobSaveClass))
 
#define EV_IS_JOB_SAVE_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), EV_TYPE_JOB_SAVE))
 
#define EV_JOB_SAVE_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), EV_TYPE_JOB_SAVE, EvJobSaveClass))
 
#define EV_TYPE_JOB_FIND   (ev_job_find_get_type())
 
#define EV_JOB_FIND(obj)   (G_TYPE_CHECK_INSTANCE_CAST ((obj), EV_TYPE_JOB_FIND, EvJobFind))
 
#define EV_IS_JOB_FIND(obj)   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), EV_TYPE_JOB_FIND))
 
#define EV_JOB_FIND_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST ((klass), EV_TYPE_JOB_FIND, EvJobFindClass))
 
#define EV_IS_JOB_FIND_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), EV_TYPE_JOB_FIND))
 
#define EV_JOB_FIND_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), EV_TYPE_JOB_FIND, EvJobFindClass))
 
#define EV_TYPE_JOB_LAYERS   (ev_job_layers_get_type())
 
#define EV_JOB_LAYERS(obj)   (G_TYPE_CHECK_INSTANCE_CAST ((obj), EV_TYPE_JOB_LAYERS, EvJobLayers))
 
#define EV_IS_JOB_LAYERS(obj)   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), EV_TYPE_JOB_LAYERS))
 
#define EV_JOB_LAYERS_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST ((klass), EV_TYPE_JOB_LAYERS, EvJobLayersClass))
 
#define EV_IS_JOB_LAYERS_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), EV_TYPE_JOB_LAYERS))
 
#define EV_JOB_LAYERS_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), EV_TYPE_JOB_LAYERS, EvJobLayersClass))
 
#define EV_TYPE_JOB_EXPORT   (ev_job_export_get_type())
 
#define EV_JOB_EXPORT(obj)   (G_TYPE_CHECK_INSTANCE_CAST ((obj), EV_TYPE_JOB_EXPORT, EvJobExport))
 
#define EV_IS_JOB_EXPORT(obj)   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), EV_TYPE_JOB_EXPORT))
 
#define EV_JOB_EXPORT_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST ((klass), EV_TYPE_JOB_EXPORT, EvJobExportClass))
 
#define EV_IS_JOB_EXPORT_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), EV_TYPE_JOB_EXPORT))
 
#define EV_JOB_EXPORT_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), EV_TYPE_JOB_EXPORT, EvJobExportClass))
 
#define EV_TYPE_JOB_PRINT   (ev_job_print_get_type())
 
#define EV_JOB_PRINT(obj)   (G_TYPE_CHECK_INSTANCE_CAST ((obj), EV_TYPE_JOB_PRINT, EvJobPrint))
 
#define EV_IS_JOB_PRINT(obj)   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), EV_TYPE_JOB_PRINT))
 
#define EV_JOB_PRINT_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST ((klass), EV_TYPE_JOB_PRINT, EvJobPrintClass))
 
#define EV_IS_JOB_PRINT_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), EV_TYPE_JOB_PRINT))
 
#define EV_JOB_PRINT_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), EV_TYPE_JOB_PRINT, EvJobPrintClass))
 

Typedefs

typedef typedefG_BEGIN_DECLS
struct _EvJob 
EvJob
 
typedef struct _EvJobClass EvJobClass
 
typedef struct _EvJobRender EvJobRender
 
typedef struct _EvJobRenderClass EvJobRenderClass
 
typedef struct _EvJobPageData EvJobPageData
 
typedef struct _EvJobPageDataClass EvJobPageDataClass
 
typedef struct _EvJobThumbnail EvJobThumbnail
 
typedef struct _EvJobThumbnailClass EvJobThumbnailClass
 
typedef struct _EvJobLinks EvJobLinks
 
typedef struct _EvJobLinksClass EvJobLinksClass
 
typedef struct _EvJobAttachments EvJobAttachments
 
typedef struct
_EvJobAttachmentsClass 
EvJobAttachmentsClass
 
typedef struct _EvJobAnnots EvJobAnnots
 
typedef struct _EvJobAnnotsClass EvJobAnnotsClass
 
typedef struct _EvJobFonts EvJobFonts
 
typedef struct _EvJobFontsClass EvJobFontsClass
 
typedef struct _EvJobLoad EvJobLoad
 
typedef struct _EvJobLoadClass EvJobLoadClass
 
typedef struct _EvJobLoadStream EvJobLoadStream
 
typedef struct
_EvJobLoadStreamClass 
EvJobLoadStreamClass
 
typedef struct _EvJobLoadGFile EvJobLoadGFile
 
typedef struct _EvJobLoadGFileClass EvJobLoadGFileClass
 
typedef struct _EvJobSave EvJobSave
 
typedef struct _EvJobSaveClass EvJobSaveClass
 
typedef struct _EvJobFind EvJobFind
 
typedef struct _EvJobFindClass EvJobFindClass
 
typedef struct _EvJobLayers EvJobLayers
 
typedef struct _EvJobLayersClass EvJobLayersClass
 
typedef struct _EvJobExport EvJobExport
 
typedef struct _EvJobExportClass EvJobExportClass
 
typedef struct _EvJobPrint EvJobPrint
 
typedef struct _EvJobPrintClass EvJobPrintClass
 

Enumerations

enum  EvJobRunMode { EV_JOB_RUN_THREAD, EV_JOB_RUN_MAIN_LOOP }
 
enum  EvJobPageDataFlags {
  EV_PAGE_DATA_INCLUDE_NONE = 0, EV_PAGE_DATA_INCLUDE_LINKS = 1 << 0, EV_PAGE_DATA_INCLUDE_TEXT = 1 << 1, EV_PAGE_DATA_INCLUDE_TEXT_MAPPING = 1 << 2,
  EV_PAGE_DATA_INCLUDE_TEXT_LAYOUT = 1 << 3, EV_PAGE_DATA_INCLUDE_TEXT_ATTRS = 1 << 4, EV_PAGE_DATA_INCLUDE_TEXT_LOG_ATTRS = 1 << 5, EV_PAGE_DATA_INCLUDE_IMAGES = 1 << 6,
  EV_PAGE_DATA_INCLUDE_FORMS = 1 << 7, EV_PAGE_DATA_INCLUDE_ANNOTS = 1 << 8, EV_PAGE_DATA_INCLUDE_MEDIA = 1 << 9, EV_PAGE_DATA_INCLUDE_ALL = (1 << 10) - 1
}
 
enum  EvJobThumbnailFormat { EV_JOB_THUMBNAIL_PIXBUF, EV_JOB_THUMBNAIL_SURFACE }
 

Functions

GType ev_job_get_type (void) G_GNUC_CONST
 
gboolean ev_job_run (EvJob *job)
 
void ev_job_cancel (EvJob *job)
 
void ev_job_failed (EvJob *job, GQuark domain, gint code, const gchar *format,...) G_GNUC_PRINTF(4
 
void void ev_job_failed_from_error (EvJob *job, GError *error)
 
void ev_job_succeeded (EvJob *job)
 
gboolean ev_job_is_finished (EvJob *job)
 
gboolean ev_job_is_failed (EvJob *job)
 
EvJobRunMode ev_job_get_run_mode (EvJob *job)
 
void ev_job_set_run_mode (EvJob *job, EvJobRunMode run_mode)
 
GType ev_job_links_get_type (void) G_GNUC_CONST
 
EvJobev_job_links_new (EvDocument *document)
 
GtkTreeModel * ev_job_links_get_model (EvJobLinks *job)
 
GType ev_job_attachments_get_type (void) G_GNUC_CONST
 
EvJobev_job_attachments_new (EvDocument *document)
 
GType ev_job_annots_get_type (void) G_GNUC_CONST
 
EvJobev_job_annots_new (EvDocument *document)
 
GType ev_job_render_get_type (void) G_GNUC_CONST
 
EvJobev_job_render_new (EvDocument *document, gint page, gint rotation, gdouble scale, gint width, gint height)
 
void ev_job_render_set_selection_info (EvJobRender *job, EvRectangle *selection_points, EvSelectionStyle selection_style, GdkColor *text, GdkColor *base)
 
GType ev_job_page_data_get_type (void) G_GNUC_CONST
 
EvJobev_job_page_data_new (EvDocument *document, gint page, EvJobPageDataFlags flags)
 
GType ev_job_thumbnail_get_type (void) G_GNUC_CONST
 
EvJobev_job_thumbnail_new (EvDocument *document, gint page, gint rotation, gdouble scale)
 
EvJobev_job_thumbnail_new_with_target_size (EvDocument *document, gint page, gint rotation, gint target_width, gint target_height)
 
void ev_job_thumbnail_set_has_frame (EvJobThumbnail *job, gboolean has_frame)
 
void ev_job_thumbnail_set_output_format (EvJobThumbnail *job, EvJobThumbnailFormat format)
 
GType ev_job_fonts_get_type (void) G_GNUC_CONST
 
EvJobev_job_fonts_new (EvDocument *document)
 
GType ev_job_load_get_type (void) G_GNUC_CONST
 
EvJobev_job_load_new (const gchar *uri)
 
void ev_job_load_set_uri (EvJobLoad *load, const gchar *uri)
 
void ev_job_load_set_password (EvJobLoad *job, const gchar *password)
 
GType ev_job_load_stream_get_type (void) G_GNUC_CONST
 
EvJobev_job_load_stream_new (GInputStream *stream, EvDocumentLoadFlags flags)
 
void ev_job_load_stream_set_stream (EvJobLoadStream *job, GInputStream *stream)
 
void ev_job_load_stream_set_load_flags (EvJobLoadStream *job, EvDocumentLoadFlags flags)
 
void ev_job_load_stream_set_password (EvJobLoadStream *job, const gchar *password)
 
GType ev_job_load_gfile_get_type (void) G_GNUC_CONST
 
EvJobev_job_load_gfile_new (GFile *gfile, EvDocumentLoadFlags flags)
 
void ev_job_load_gfile_set_gfile (EvJobLoadGFile *job, GFile *gfile)
 
void ev_job_load_gfile_set_load_flags (EvJobLoadGFile *job, EvDocumentLoadFlags flags)
 
void ev_job_load_gfile_set_password (EvJobLoadGFile *job, const gchar *password)
 
GType ev_job_save_get_type (void) G_GNUC_CONST
 
EvJobev_job_save_new (EvDocument *document, const gchar *uri, const gchar *document_uri)
 
GType ev_job_find_get_type (void) G_GNUC_CONST
 
EvJobev_job_find_new (EvDocument *document, gint start_page, gint n_pages, const gchar *text, gboolean case_sensitive)
 
void ev_job_find_set_options (EvJobFind *job, EvFindOptions options)
 
EvFindOptions ev_job_find_get_options (EvJobFind *job)
 
gint ev_job_find_get_n_results (EvJobFind *job, gint pages)
 
gdouble ev_job_find_get_progress (EvJobFind *job)
 
gboolean ev_job_find_has_results (EvJobFind *job)
 
GList ** ev_job_find_get_results (EvJobFind *job)
 
GType ev_job_layers_get_type (void) G_GNUC_CONST
 
EvJobev_job_layers_new (EvDocument *document)
 
GType ev_job_export_get_type (void) G_GNUC_CONST
 
EvJobev_job_export_new (EvDocument *document)
 
void ev_job_export_set_page (EvJobExport *job, gint page)
 
GType ev_job_print_get_type (void) G_GNUC_CONST
 
EvJobev_job_print_new (EvDocument *document)
 
void ev_job_print_set_page (EvJobPrint *job, gint page)
 
void ev_job_print_set_cairo (EvJobPrint *job, cairo_t *cr)
 

Macro Definition Documentation

#define EV_IS_JOB (   obj)    (G_TYPE_CHECK_INSTANCE_TYPE ((obj), EV_TYPE_JOB))

Definition at line 86 of file ev-jobs.h.

#define EV_IS_JOB_ANNOTS (   obj)    (G_TYPE_CHECK_INSTANCE_TYPE ((obj), EV_TYPE_JOB_ANNOTS))

Definition at line 107 of file ev-jobs.h.

#define EV_IS_JOB_ANNOTS_CLASS (   klass)    (G_TYPE_CHECK_CLASS_TYPE ((klass), EV_TYPE_JOB_ANNOTS))

Definition at line 109 of file ev-jobs.h.

#define EV_IS_JOB_ATTACHMENTS (   obj)    (G_TYPE_CHECK_INSTANCE_TYPE ((obj), EV_TYPE_JOB_ATTACHMENTS))

Definition at line 100 of file ev-jobs.h.

#define EV_IS_JOB_ATTACHMENTS_CLASS (   klass)    (G_TYPE_CHECK_CLASS_TYPE ((klass), EV_TYPE_JOB_ATTACHMENTS))

Definition at line 102 of file ev-jobs.h.

#define EV_IS_JOB_CLASS (   klass)    (G_TYPE_CHECK_CLASS_TYPE ((klass), EV_TYPE_JOB))

Definition at line 88 of file ev-jobs.h.

#define EV_IS_JOB_EXPORT (   obj)    (G_TYPE_CHECK_INSTANCE_TYPE ((obj), EV_TYPE_JOB_EXPORT))

Definition at line 185 of file ev-jobs.h.

#define EV_IS_JOB_EXPORT_CLASS (   klass)    (G_TYPE_CHECK_CLASS_TYPE ((klass), EV_TYPE_JOB_EXPORT))

Definition at line 187 of file ev-jobs.h.

#define EV_IS_JOB_FIND (   obj)    (G_TYPE_CHECK_INSTANCE_TYPE ((obj), EV_TYPE_JOB_FIND))

Definition at line 171 of file ev-jobs.h.

#define EV_IS_JOB_FIND_CLASS (   klass)    (G_TYPE_CHECK_CLASS_TYPE ((klass), EV_TYPE_JOB_FIND))

Definition at line 173 of file ev-jobs.h.

#define EV_IS_JOB_FONTS (   obj)    (G_TYPE_CHECK_INSTANCE_TYPE ((obj), EV_TYPE_JOB_FONTS))

Definition at line 135 of file ev-jobs.h.

#define EV_IS_JOB_FONTS_CLASS (   klass)    (G_TYPE_CHECK_CLASS_TYPE ((klass), EV_TYPE_JOB_FONTS))

Definition at line 137 of file ev-jobs.h.

#define EV_IS_JOB_LAYERS (   obj)    (G_TYPE_CHECK_INSTANCE_TYPE ((obj), EV_TYPE_JOB_LAYERS))

Definition at line 178 of file ev-jobs.h.

#define EV_IS_JOB_LAYERS_CLASS (   klass)    (G_TYPE_CHECK_CLASS_TYPE ((klass), EV_TYPE_JOB_LAYERS))

Definition at line 180 of file ev-jobs.h.

#define EV_IS_JOB_LINKS (   obj)    (G_TYPE_CHECK_INSTANCE_TYPE ((obj), EV_TYPE_JOB_LINKS))

Definition at line 93 of file ev-jobs.h.

#define EV_IS_JOB_LINKS_CLASS (   klass)    (G_TYPE_CHECK_CLASS_TYPE ((klass), EV_TYPE_JOB_LINKS))

Definition at line 95 of file ev-jobs.h.

#define EV_IS_JOB_LOAD (   obj)    (G_TYPE_CHECK_INSTANCE_TYPE ((obj), EV_TYPE_JOB_LOAD))

Definition at line 143 of file ev-jobs.h.

#define EV_IS_JOB_LOAD_CLASS (   klass)    (G_TYPE_CHECK_CLASS_TYPE ((klass), EV_TYPE_JOB_LOAD))

Definition at line 145 of file ev-jobs.h.

#define EV_IS_JOB_LOAD_GFILE (   obj)    (G_TYPE_CHECK_INSTANCE_TYPE ((obj), EV_TYPE_JOB_LOAD_GFILE))

Definition at line 157 of file ev-jobs.h.

#define EV_IS_JOB_LOAD_GFILE_CLASS (   klass)    (G_TYPE_CHECK_CLASS_TYPE ((klass), EV_TYPE_JOB_LOAD_GFILE))

Definition at line 159 of file ev-jobs.h.

#define EV_IS_JOB_LOAD_STREAM (   obj)    (G_TYPE_CHECK_INSTANCE_TYPE ((obj), EV_TYPE_JOB_LOAD_STREAM))

Definition at line 150 of file ev-jobs.h.

#define EV_IS_JOB_LOAD_STREAM_CLASS (   klass)    (G_TYPE_CHECK_CLASS_TYPE ((klass), EV_TYPE_JOB_LOAD_STREAM))

Definition at line 152 of file ev-jobs.h.

#define EV_IS_JOB_PAGE_DATA (   obj)    (G_TYPE_CHECK_INSTANCE_TYPE ((obj), EV_TYPE_JOB_PAGE_DATA))

Definition at line 121 of file ev-jobs.h.

#define EV_IS_JOB_PAGE_DATA_CLASS (   klass)    (G_TYPE_CHECK_CLASS_TYPE ((klass), EV_TYPE_JOB_PAGE_DATA))

Definition at line 123 of file ev-jobs.h.

#define EV_IS_JOB_PRINT (   obj)    (G_TYPE_CHECK_INSTANCE_TYPE ((obj), EV_TYPE_JOB_PRINT))

Definition at line 192 of file ev-jobs.h.

#define EV_IS_JOB_PRINT_CLASS (   klass)    (G_TYPE_CHECK_CLASS_TYPE ((klass), EV_TYPE_JOB_PRINT))

Definition at line 194 of file ev-jobs.h.

#define EV_IS_JOB_RENDER (   obj)    (G_TYPE_CHECK_INSTANCE_TYPE ((obj), EV_TYPE_JOB_RENDER))

Definition at line 114 of file ev-jobs.h.

#define EV_IS_JOB_RENDER_CLASS (   klass)    (G_TYPE_CHECK_CLASS_TYPE ((klass), EV_TYPE_JOB_RENDER))

Definition at line 116 of file ev-jobs.h.

#define EV_IS_JOB_SAVE (   obj)    (G_TYPE_CHECK_INSTANCE_TYPE ((obj), EV_TYPE_JOB_SAVE))

Definition at line 164 of file ev-jobs.h.

#define EV_IS_JOB_SAVE_CLASS (   klass)    (G_TYPE_CHECK_CLASS_TYPE ((klass), EV_TYPE_JOB_SAVE))

Definition at line 166 of file ev-jobs.h.

#define EV_IS_JOB_THUMBNAIL (   obj)    (G_TYPE_CHECK_INSTANCE_TYPE ((obj), EV_TYPE_JOB_THUMBNAIL))

Definition at line 128 of file ev-jobs.h.

#define EV_IS_JOB_THUMBNAIL_CLASS (   klass)    (G_TYPE_CHECK_CLASS_TYPE ((klass), EV_TYPE_JOB_THUMBNAIL))

Definition at line 130 of file ev-jobs.h.

#define EV_JOB (   obj)    (G_TYPE_CHECK_INSTANCE_CAST ((obj), EV_TYPE_JOB, EvJob))

Definition at line 85 of file ev-jobs.h.

#define EV_JOB_ANNOTS (   obj)    (G_TYPE_CHECK_INSTANCE_CAST ((obj), EV_TYPE_JOB_ANNOTS, EvJobAnnots))

Definition at line 106 of file ev-jobs.h.

#define EV_JOB_ANNOTS_CLASS (   klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), EV_TYPE_JOB_ANNOTS, EvJobAnnotsClass))

Definition at line 108 of file ev-jobs.h.

#define EV_JOB_ANNOTS_GET_CLASS (   obj)    (G_TYPE_INSTANCE_GET_CLASS ((obj), EV_TYPE_JOB_ANNOTS, EvJobAnnotsClass))

Definition at line 110 of file ev-jobs.h.

#define EV_JOB_ATTACHMENTS (   obj)    (G_TYPE_CHECK_INSTANCE_CAST ((obj), EV_TYPE_JOB_ATTACHMENTS, EvJobAttachments))

Definition at line 99 of file ev-jobs.h.

#define EV_JOB_ATTACHMENTS_CLASS (   klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), EV_TYPE_JOB_ATTACHMENTS, EvJobAttachmentsClass))

Definition at line 101 of file ev-jobs.h.

#define EV_JOB_ATTACHMENTS_GET_CLASS (   obj)    (G_TYPE_INSTANCE_GET_CLASS ((obj), EV_TYPE_JOB_ATTACHMENTS, EvJobAttachmentsClass))

Definition at line 103 of file ev-jobs.h.

#define EV_JOB_CLASS (   klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), EV_TYPE_JOB, EvJobClass))

Definition at line 87 of file ev-jobs.h.

#define EV_JOB_EXPORT (   obj)    (G_TYPE_CHECK_INSTANCE_CAST ((obj), EV_TYPE_JOB_EXPORT, EvJobExport))

Definition at line 184 of file ev-jobs.h.

#define EV_JOB_EXPORT_CLASS (   klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), EV_TYPE_JOB_EXPORT, EvJobExportClass))

Definition at line 186 of file ev-jobs.h.

#define EV_JOB_EXPORT_GET_CLASS (   obj)    (G_TYPE_INSTANCE_GET_CLASS ((obj), EV_TYPE_JOB_EXPORT, EvJobExportClass))

Definition at line 188 of file ev-jobs.h.

#define EV_JOB_FIND (   obj)    (G_TYPE_CHECK_INSTANCE_CAST ((obj), EV_TYPE_JOB_FIND, EvJobFind))

Definition at line 170 of file ev-jobs.h.

#define EV_JOB_FIND_CLASS (   klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), EV_TYPE_JOB_FIND, EvJobFindClass))

Definition at line 172 of file ev-jobs.h.

#define EV_JOB_FIND_GET_CLASS (   obj)    (G_TYPE_INSTANCE_GET_CLASS ((obj), EV_TYPE_JOB_FIND, EvJobFindClass))

Definition at line 174 of file ev-jobs.h.

#define EV_JOB_FONTS (   obj)    (G_TYPE_CHECK_INSTANCE_CAST ((obj), EV_TYPE_JOB_FONTS, EvJobFonts))

Definition at line 134 of file ev-jobs.h.

#define EV_JOB_FONTS_CLASS (   klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), EV_TYPE_JOB_FONTS, EvJobFontsClass))

Definition at line 136 of file ev-jobs.h.

#define EV_JOB_FONTS_GET_CLASS (   obj)    (G_TYPE_INSTANCE_GET_CLASS ((obj), EV_TYPE_JOB_FONTS, EvJobFontsClass))

Definition at line 138 of file ev-jobs.h.

#define EV_JOB_GET_CLASS (   obj)    (G_TYPE_INSTANCE_GET_CLASS ((obj), EV_TYPE_JOB, EvJobClass))

Definition at line 89 of file ev-jobs.h.

#define EV_JOB_LAYERS (   obj)    (G_TYPE_CHECK_INSTANCE_CAST ((obj), EV_TYPE_JOB_LAYERS, EvJobLayers))

Definition at line 177 of file ev-jobs.h.

#define EV_JOB_LAYERS_CLASS (   klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), EV_TYPE_JOB_LAYERS, EvJobLayersClass))

Definition at line 179 of file ev-jobs.h.

#define EV_JOB_LAYERS_GET_CLASS (   obj)    (G_TYPE_INSTANCE_GET_CLASS ((obj), EV_TYPE_JOB_LAYERS, EvJobLayersClass))

Definition at line 181 of file ev-jobs.h.

#define EV_JOB_LINKS (   obj)    (G_TYPE_CHECK_INSTANCE_CAST ((obj), EV_TYPE_JOB_LINKS, EvJobLinks))

Definition at line 92 of file ev-jobs.h.

#define EV_JOB_LINKS_CLASS (   klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), EV_TYPE_JOB_LINKS, EvJobLinksClass))

Definition at line 94 of file ev-jobs.h.

#define EV_JOB_LINKS_GET_CLASS (   obj)    (G_TYPE_INSTANCE_GET_CLASS ((obj), EV_TYPE_JOB_LINKS, EvJobLinksClass))

Definition at line 96 of file ev-jobs.h.

#define EV_JOB_LOAD (   obj)    (G_TYPE_CHECK_INSTANCE_CAST ((obj), EV_TYPE_JOB_LOAD, EvJobLoad))

Definition at line 142 of file ev-jobs.h.

#define EV_JOB_LOAD_CLASS (   klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), EV_TYPE_JOB_LOAD, EvJobLoadClass))

Definition at line 144 of file ev-jobs.h.

#define EV_JOB_LOAD_GET_CLASS (   obj)    (G_TYPE_INSTANCE_GET_CLASS ((obj), EV_TYPE_JOB_LOAD, EvJobLoadClass))

Definition at line 146 of file ev-jobs.h.

#define EV_JOB_LOAD_GFILE (   obj)    (G_TYPE_CHECK_INSTANCE_CAST ((obj), EV_TYPE_JOB_LOAD_GFILE, EvJobLoadGFile))

Definition at line 156 of file ev-jobs.h.

#define EV_JOB_LOAD_GFILE_CLASS (   klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), EV_TYPE_JOB_LOAD_GFILE, EvJobLoadGFileClass))

Definition at line 158 of file ev-jobs.h.

#define EV_JOB_LOAD_GFILE_GET_CLASS (   obj)    (G_TYPE_INSTANCE_GET_CLASS ((obj), EV_TYPE_JOB_LOAD_GFILE, EvJobLoadGFileClass))

Definition at line 160 of file ev-jobs.h.

#define EV_JOB_LOAD_STREAM (   obj)    (G_TYPE_CHECK_INSTANCE_CAST ((obj), EV_TYPE_JOB_LOAD_STREAM, EvJobLoadStream))

Definition at line 149 of file ev-jobs.h.

#define EV_JOB_LOAD_STREAM_CLASS (   klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), EV_TYPE_JOB_LOAD_STREAM, EvJobLoadStreamClass))

Definition at line 151 of file ev-jobs.h.

#define EV_JOB_LOAD_STREAM_GET_CLASS (   obj)    (G_TYPE_INSTANCE_GET_CLASS ((obj), EV_TYPE_JOB_LOAD_STREAM, EvJobLoadStreamClass))

Definition at line 153 of file ev-jobs.h.

#define EV_JOB_PAGE_DATA (   obj)    (G_TYPE_CHECK_INSTANCE_CAST ((obj), EV_TYPE_JOB_PAGE_DATA, EvJobPageData))

Definition at line 120 of file ev-jobs.h.

#define EV_JOB_PAGE_DATA_CLASS (   klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), EV_TYPE_JOB_PAGE_DATA, EvJobPageDataClass))

Definition at line 122 of file ev-jobs.h.

#define EV_JOB_PAGE_DATA_GET_CLASS (   obj)    (G_TYPE_INSTANCE_GET_CLASS ((obj), EV_TYPE_JOB_PAGE_DATA, EvJobPageDataClass))

Definition at line 124 of file ev-jobs.h.

#define EV_JOB_PRINT (   obj)    (G_TYPE_CHECK_INSTANCE_CAST ((obj), EV_TYPE_JOB_PRINT, EvJobPrint))

Definition at line 191 of file ev-jobs.h.

#define EV_JOB_PRINT_CLASS (   klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), EV_TYPE_JOB_PRINT, EvJobPrintClass))

Definition at line 193 of file ev-jobs.h.

#define EV_JOB_PRINT_GET_CLASS (   obj)    (G_TYPE_INSTANCE_GET_CLASS ((obj), EV_TYPE_JOB_PRINT, EvJobPrintClass))

Definition at line 195 of file ev-jobs.h.

#define EV_JOB_RENDER (   obj)    (G_TYPE_CHECK_INSTANCE_CAST ((obj), EV_TYPE_JOB_RENDER, EvJobRender))

Definition at line 113 of file ev-jobs.h.

#define EV_JOB_RENDER_CLASS (   klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), EV_TYPE_JOB_RENDER, EvJobRenderClass))

Definition at line 115 of file ev-jobs.h.

#define EV_JOB_RENDER_GET_CLASS (   obj)    (G_TYPE_INSTANCE_GET_CLASS ((obj), EV_TYPE_JOB_RENDER, EvJobRenderClass))

Definition at line 117 of file ev-jobs.h.

#define EV_JOB_SAVE (   obj)    (G_TYPE_CHECK_INSTANCE_CAST ((obj), EV_TYPE_JOB_SAVE, EvJobSave))

Definition at line 163 of file ev-jobs.h.

#define EV_JOB_SAVE_CLASS (   klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), EV_TYPE_JOB_SAVE, EvJobSaveClass))

Definition at line 165 of file ev-jobs.h.

#define EV_JOB_SAVE_GET_CLASS (   obj)    (G_TYPE_INSTANCE_GET_CLASS ((obj), EV_TYPE_JOB_SAVE, EvJobSaveClass))

Definition at line 167 of file ev-jobs.h.

#define EV_JOB_THUMBNAIL (   obj)    (G_TYPE_CHECK_INSTANCE_CAST ((obj), EV_TYPE_JOB_THUMBNAIL, EvJobThumbnail))

Definition at line 127 of file ev-jobs.h.

#define EV_JOB_THUMBNAIL_CLASS (   klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), EV_TYPE_JOB_THUMBNAIL, EvJobThumbnailClass))

Definition at line 129 of file ev-jobs.h.

#define EV_JOB_THUMBNAIL_GET_CLASS (   obj)    (G_TYPE_INSTANCE_GET_CLASS ((obj), EV_TYPE_JOB_THUMBNAIL, EvJobThumbnailClass))

Definition at line 131 of file ev-jobs.h.

#define EV_TYPE_JOB   (ev_job_get_type())

Definition at line 84 of file ev-jobs.h.

#define EV_TYPE_JOB_ANNOTS   (ev_job_annots_get_type())

Definition at line 105 of file ev-jobs.h.

#define EV_TYPE_JOB_ATTACHMENTS   (ev_job_attachments_get_type())

Definition at line 98 of file ev-jobs.h.

#define EV_TYPE_JOB_EXPORT   (ev_job_export_get_type())

Definition at line 183 of file ev-jobs.h.

#define EV_TYPE_JOB_FIND   (ev_job_find_get_type())

Definition at line 169 of file ev-jobs.h.

#define EV_TYPE_JOB_FONTS   (ev_job_fonts_get_type())

Definition at line 133 of file ev-jobs.h.

#define EV_TYPE_JOB_LAYERS   (ev_job_layers_get_type())

Definition at line 176 of file ev-jobs.h.

#define EV_TYPE_JOB_LINKS   (ev_job_links_get_type())

Definition at line 91 of file ev-jobs.h.

#define EV_TYPE_JOB_LOAD   (ev_job_load_get_type())

Definition at line 141 of file ev-jobs.h.

#define EV_TYPE_JOB_LOAD_GFILE   (ev_job_load_gfile_get_type())

Definition at line 155 of file ev-jobs.h.

#define EV_TYPE_JOB_LOAD_STREAM   (ev_job_load_stream_get_type())

Definition at line 148 of file ev-jobs.h.

#define EV_TYPE_JOB_PAGE_DATA   (ev_job_page_data_get_type())

Definition at line 119 of file ev-jobs.h.

#define EV_TYPE_JOB_PRINT   (ev_job_print_get_type())

Definition at line 190 of file ev-jobs.h.

#define EV_TYPE_JOB_RENDER   (ev_job_render_get_type())

Definition at line 112 of file ev-jobs.h.

#define EV_TYPE_JOB_SAVE   (ev_job_save_get_type())

Definition at line 162 of file ev-jobs.h.

#define EV_TYPE_JOB_THUMBNAIL   (ev_job_thumbnail_get_type())

Definition at line 126 of file ev-jobs.h.

Typedef Documentation

typedef typedefG_BEGIN_DECLS struct _EvJob EvJob

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

typedef struct _EvJobAnnots EvJobAnnots

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

Definition at line 55 of file ev-jobs.h.

Definition at line 51 of file ev-jobs.h.

Definition at line 52 of file ev-jobs.h.

typedef struct _EvJobClass EvJobClass

Definition at line 37 of file ev-jobs.h.

typedef struct _EvJobExport EvJobExport

Definition at line 78 of file ev-jobs.h.

Definition at line 79 of file ev-jobs.h.

typedef struct _EvJobFind EvJobFind

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

Definition at line 73 of file ev-jobs.h.

typedef struct _EvJobFonts EvJobFonts

Definition at line 57 of file ev-jobs.h.

Definition at line 58 of file ev-jobs.h.

typedef struct _EvJobLayers EvJobLayers

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

Definition at line 76 of file ev-jobs.h.

typedef struct _EvJobLinks EvJobLinks

Definition at line 48 of file ev-jobs.h.

Definition at line 49 of file ev-jobs.h.

typedef struct _EvJobLoad EvJobLoad

Definition at line 60 of file ev-jobs.h.

Definition at line 61 of file ev-jobs.h.

Definition at line 66 of file ev-jobs.h.

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

Definition at line 63 of file ev-jobs.h.

Definition at line 64 of file ev-jobs.h.

typedef struct _EvJobPageData EvJobPageData

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

Definition at line 43 of file ev-jobs.h.

typedef struct _EvJobPrint EvJobPrint

Definition at line 81 of file ev-jobs.h.

Definition at line 82 of file ev-jobs.h.

typedef struct _EvJobRender EvJobRender

Definition at line 39 of file ev-jobs.h.

Definition at line 40 of file ev-jobs.h.

typedef struct _EvJobSave EvJobSave

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

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

Definition at line 45 of file ev-jobs.h.

Definition at line 46 of file ev-jobs.h.

Enumeration Type Documentation

Enumerator
EV_PAGE_DATA_INCLUDE_NONE 
EV_PAGE_DATA_INCLUDE_LINKS 
EV_PAGE_DATA_INCLUDE_TEXT 
EV_PAGE_DATA_INCLUDE_TEXT_MAPPING 
EV_PAGE_DATA_INCLUDE_TEXT_LAYOUT 
EV_PAGE_DATA_INCLUDE_TEXT_ATTRS 
EV_PAGE_DATA_INCLUDE_TEXT_LOG_ATTRS 
EV_PAGE_DATA_INCLUDE_IMAGES 
EV_PAGE_DATA_INCLUDE_FORMS 
EV_PAGE_DATA_INCLUDE_ANNOTS 
EV_PAGE_DATA_INCLUDE_MEDIA 
EV_PAGE_DATA_INCLUDE_ALL 

Definition at line 295 of file ev-jobs.h.

Enumerator
EV_JOB_RUN_THREAD 
EV_JOB_RUN_MAIN_LOOP 

Definition at line 197 of file ev-jobs.h.

197  {
200 } EvJobRunMode;
Enumerator
EV_JOB_THUMBNAIL_PIXBUF 
EV_JOB_THUMBNAIL_SURFACE 

Definition at line 336 of file ev-jobs.h.

Function Documentation

GType ev_job_annots_get_type ( void  )
EvJob* ev_job_annots_new ( EvDocument document)

Definition at line 571 of file ev-jobs.c.

572 {
573  EvJob *job;
574 
575  ev_debug_message (DEBUG_JOBS, NULL);
576 
577  job = g_object_new (EV_TYPE_JOB_ANNOTS, NULL);
578  job->document = g_object_ref (document);
579 
580  return job;
581 }

+ Here is the caller graph for this function:

GType ev_job_attachments_get_type ( void  )
EvJob* ev_job_attachments_new ( EvDocument document)

Definition at line 492 of file ev-jobs.c.

493 {
494  EvJob *job;
495 
496  ev_debug_message (DEBUG_JOBS, NULL);
497 
498  job = g_object_new (EV_TYPE_JOB_ATTACHMENTS, NULL);
499  job->document = g_object_ref (document);
500 
501  return job;
502 }

+ Here is the caller graph for this function:

void ev_job_cancel ( EvJob job)

Definition at line 220 of file ev-jobs.c.

221 {
222  if (job->cancelled)
223  return;
224 
225  ev_debug_message (DEBUG_JOBS, "job %s (%p) cancelled", EV_GET_TYPE_NAME (job), job);
226  ev_profiler_stop (EV_PROFILE_JOBS, "%s (%p)", EV_GET_TYPE_NAME (job), job);
227 
228  /* This should never be called from a thread */
229  job->cancelled = TRUE;
230  g_cancellable_cancel (job->cancellable);
231 
232  if (job->finished && job->idle_finished_id == 0)
233  return;
234 
235  g_signal_emit (job, job_signals[CANCELLED], 0);
236 }

+ Here is the caller graph for this function:

GType ev_job_export_get_type ( void  )
EvJob* ev_job_export_new ( EvDocument document)

Definition at line 1953 of file ev-jobs.c.

1954 {
1955  EvJob *job;
1956 
1957  ev_debug_message (DEBUG_JOBS, NULL);
1958 
1959  job = g_object_new (EV_TYPE_JOB_EXPORT, NULL);
1960  job->document = g_object_ref (document);
1961 
1962  return job;
1963 }
void ev_job_export_set_page ( EvJobExport job,
gint  page 
)

Definition at line 1966 of file ev-jobs.c.

1968 {
1969  job->page = page;
1970 }
void ev_job_failed ( EvJob job,
GQuark  domain,
gint  code,
const gchar *  format,
  ... 
)
void void ev_job_failed_from_error ( EvJob job,
GError *  error 
)

ev_job_failed_from_error: : an EvJob : a #GError

Rename to: ev_job_failed

Definition at line 273 of file ev-jobs.c.

275 {
276  if (job->failed || job->finished)
277  return;
278 
279  ev_debug_message (DEBUG_JOBS, "job %s (%p) failed", EV_GET_TYPE_NAME (job), job);
280 
281  job->failed = TRUE;
282  job->error = g_error_copy (error);
283 
284  ev_job_emit_finished (job);
285 }

+ Here is the caller graph for this function:

gint ev_job_find_get_n_results ( EvJobFind job,
gint  pages 
)

Definition at line 1776 of file ev-jobs.c.

1778 {
1779  return g_list_length (job->pages[page]);
1780 }

+ Here is the caller graph for this function:

EvFindOptions ev_job_find_get_options ( EvJobFind job)

ev_job_find_get_options: :

Returns: the job's find options

Since: 3.6

Definition at line 1770 of file ev-jobs.c.

1771 {
1772  return job->options;
1773 }
gdouble ev_job_find_get_progress ( EvJobFind job)

Definition at line 1783 of file ev-jobs.c.

1784 {
1785  gint pages_done;
1786 
1787  if (ev_job_is_finished (EV_JOB (job)))
1788  return 1.0;
1789 
1790  if (job->current_page > job->start_page) {
1791  pages_done = job->current_page - job->start_page + 1;
1792  } else if (job->current_page == job->start_page) {
1793  pages_done = job->n_pages;
1794  } else {
1795  pages_done = job->n_pages - job->start_page + job->current_page;
1796  }
1797 
1798  return pages_done / (gdouble) job->n_pages;
1799 }
GList** ev_job_find_get_results ( EvJobFind job)

ev_job_find_get_results: (skip) : an EvJobFind

Returns: a #GList of #GLists containing #EvRectangles

Definition at line 1814 of file ev-jobs.c.

1815 {
1816  return job->pages;
1817 }

+ Here is the caller graph for this function:

GType ev_job_find_get_type ( void  )
gboolean ev_job_find_has_results ( EvJobFind job)

Definition at line 1802 of file ev-jobs.c.

1803 {
1804  return job->has_results;
1805 }

+ Here is the caller graph for this function:

EvJob* ev_job_find_new ( EvDocument document,
gint  start_page,
gint  n_pages,
const gchar *  text,
gboolean  case_sensitive 
)

Definition at line 1718 of file ev-jobs.c.

1723 {
1724  EvJobFind *job;
1725 
1726  ev_debug_message (DEBUG_JOBS, NULL);
1727 
1728  job = g_object_new (EV_TYPE_JOB_FIND, NULL);
1729 
1730  EV_JOB (job)->document = g_object_ref (document);
1731  job->start_page = start_page;
1732  job->current_page = start_page;
1733  job->n_pages = n_pages;
1734  job->pages = g_new0 (GList *, n_pages);
1735  job->text = g_strdup (text);
1736  /* Keep for compatibility */
1737  job->case_sensitive = case_sensitive;
1738  job->has_results = FALSE;
1739  if (case_sensitive)
1741 
1742  return EV_JOB (job);
1743 }

+ Here is the caller graph for this function:

void ev_job_find_set_options ( EvJobFind job,
EvFindOptions  options 
)

ev_job_find_set_options: : :

Since: 3.6

Definition at line 1753 of file ev-jobs.c.

1755 {
1756  job->options = options;
1757  /* Keep compatibility */
1758  job->case_sensitive = options & EV_FIND_CASE_SENSITIVE;
1759 }

+ Here is the caller graph for this function:

GType ev_job_fonts_get_type ( void  )
EvJob* ev_job_fonts_new ( EvDocument document)

Definition at line 1050 of file ev-jobs.c.

1051 {
1052  EvJobFonts *job;
1053 
1054  ev_debug_message (DEBUG_JOBS, NULL);
1055 
1056  job = g_object_new (EV_TYPE_JOB_FONTS, NULL);
1057 
1058  EV_JOB (job)->document = g_object_ref (document);
1059 
1060  return EV_JOB (job);
1061 }

+ Here is the caller graph for this function:

EvJobRunMode ev_job_get_run_mode ( EvJob job)

Definition at line 312 of file ev-jobs.c.

313 {
314  return job->run_mode;
315 }

+ Here is the caller graph for this function:

GType ev_job_get_type ( void  )
gboolean ev_job_is_failed ( EvJob job)

Definition at line 306 of file ev-jobs.c.

307 {
308  return job->failed;
309 }

+ Here is the caller graph for this function:

gboolean ev_job_is_finished ( EvJob job)

Definition at line 300 of file ev-jobs.c.

301 {
302  return job->finished;
303 }

+ Here is the caller graph for this function:

GType ev_job_layers_get_type ( void  )
EvJob* ev_job_layers_new ( EvDocument document)

Definition at line 1871 of file ev-jobs.c.

1872 {
1873  EvJob *job;
1874 
1875  ev_debug_message (DEBUG_JOBS, NULL);
1876 
1877  job = g_object_new (EV_TYPE_JOB_LAYERS, NULL);
1878  job->document = g_object_ref (document);
1879 
1880  return job;
1881 }

+ Here is the caller graph for this function:

GtkTreeModel* ev_job_links_get_model ( EvJobLinks job)

ev_job_links_get_model: : EvJobLinks

Get a #GtkTreeModel loaded with the links

Return value: (transfer none): The #GtkTreeModel loaded

Since: 3.6

Definition at line 433 of file ev-jobs.c.

434 {
435  return job->model;
436 }
GType ev_job_links_get_type ( void  )
EvJob* ev_job_links_new ( EvDocument document)

Definition at line 410 of file ev-jobs.c.

411 {
412  EvJob *job;
413 
414  ev_debug_message (DEBUG_JOBS, NULL);
415 
416  job = g_object_new (EV_TYPE_JOB_LINKS, NULL);
417  job->document = g_object_ref (document);
418 
419  return job;
420 }

+ Here is the caller graph for this function:

GType ev_job_load_get_type ( void  )
GType ev_job_load_gfile_get_type ( void  )
EvJob* ev_job_load_gfile_new ( GFile *  gfile,
EvDocumentLoadFlags  flags 
)

Definition at line 1418 of file ev-jobs.c.

1420 {
1421  EvJobLoadGFile *job;
1422 
1423  job = g_object_new (EV_TYPE_JOB_LOAD_GFILE, NULL);
1424  ev_job_load_gfile_set_gfile (job, gfile);
1425  ev_job_load_gfile_set_load_flags (job, flags);
1426 
1427  return EV_JOB (job);
1428 }
void ev_job_load_gfile_set_gfile ( EvJobLoadGFile job,
GFile *  gfile 
)

Definition at line 1431 of file ev-jobs.c.

1433 {
1434  g_return_if_fail (EV_IS_JOB_LOAD_GFILE (job));
1435  g_return_if_fail (G_IS_FILE (gfile));
1436 
1437  g_object_ref (gfile);
1438  if (job->gfile)
1439  g_object_unref (job->gfile);
1440  job->gfile = gfile;
1441 }

+ Here is the caller graph for this function:

void ev_job_load_gfile_set_load_flags ( EvJobLoadGFile job,
EvDocumentLoadFlags  flags 
)

Definition at line 1444 of file ev-jobs.c.

1446 {
1447  g_return_if_fail (EV_IS_JOB_LOAD_GFILE (job));
1448 
1449  job->flags = flags;
1450 }

+ Here is the caller graph for this function:

void ev_job_load_gfile_set_password ( EvJobLoadGFile job,
const gchar *  password 
)
EvJob* ev_job_load_new ( const gchar *  uri)

Definition at line 1149 of file ev-jobs.c.

1150 {
1151  EvJobLoad *job;
1152 
1153  ev_debug_message (DEBUG_JOBS, "%s", uri);
1154 
1155  job = g_object_new (EV_TYPE_JOB_LOAD, NULL);
1156  job->uri = g_strdup (uri);
1157 
1158  return EV_JOB (job);
1159 }

+ Here is the caller graph for this function:

void ev_job_load_set_password ( EvJobLoad job,
const gchar *  password 
)

Definition at line 1172 of file ev-jobs.c.

1173 {
1174  ev_debug_message (DEBUG_JOBS, NULL);
1175 
1176  if (job->password)
1177  g_free (job->password);
1178  job->password = password ? g_strdup (password) : NULL;
1179 }

+ Here is the caller graph for this function:

void ev_job_load_set_uri ( EvJobLoad load,
const gchar *  uri 
)

Definition at line 1162 of file ev-jobs.c.

1163 {
1164  ev_debug_message (DEBUG_JOBS, "%s", uri);
1165 
1166  if (job->uri)
1167  g_free (job->uri);
1168  job->uri = g_strdup (uri);
1169 }

+ Here is the caller graph for this function:

GType ev_job_load_stream_get_type ( void  )
EvJob* ev_job_load_stream_new ( GInputStream *  stream,
EvDocumentLoadFlags  flags 
)

Definition at line 1276 of file ev-jobs.c.

1278 {
1279  EvJobLoadStream *job;
1280 
1281  job = g_object_new (EV_TYPE_JOB_LOAD_STREAM, NULL);
1282  ev_job_load_stream_set_stream (job, stream);
1283  ev_job_load_stream_set_load_flags (job, flags);
1284 
1285  return EV_JOB (job);
1286 }
void ev_job_load_stream_set_load_flags ( EvJobLoadStream job,
EvDocumentLoadFlags  flags 
)

Definition at line 1302 of file ev-jobs.c.

1304 {
1305  g_return_if_fail (EV_IS_JOB_LOAD_STREAM (job));
1306 
1307  job->flags = flags;
1308 }

+ Here is the caller graph for this function:

void ev_job_load_stream_set_password ( EvJobLoadStream job,
const gchar *  password 
)
void ev_job_load_stream_set_stream ( EvJobLoadStream job,
GInputStream *  stream 
)

Definition at line 1289 of file ev-jobs.c.

1291 {
1292  g_return_if_fail (EV_IS_JOB_LOAD_STREAM (job));
1293  g_return_if_fail (G_IS_INPUT_STREAM (stream));
1294 
1295  g_object_ref (stream);
1296  if (job->stream)
1297  g_object_unref (job->stream);
1298  job->stream = stream;
1299 }

+ Here is the caller graph for this function:

GType ev_job_page_data_get_type ( void  )
EvJob* ev_job_page_data_new ( EvDocument document,
gint  page,
EvJobPageDataFlags  flags 
)

Definition at line 817 of file ev-jobs.c.

820 {
821  EvJobPageData *job;
822 
823  ev_debug_message (DEBUG_JOBS, "%d", page);
824 
825  job = g_object_new (EV_TYPE_JOB_PAGE_DATA, NULL);
826 
827  EV_JOB (job)->document = g_object_ref (document);
828  job->page = page;
829  job->flags = flags;
830 
831  return EV_JOB (job);
832 }

+ Here is the caller graph for this function:

GType ev_job_print_get_type ( void  )
EvJob* ev_job_print_new ( EvDocument document)

Definition at line 2052 of file ev-jobs.c.

2053 {
2054  EvJob *job;
2055 
2056  ev_debug_message (DEBUG_JOBS, NULL);
2057 
2058  job = g_object_new (EV_TYPE_JOB_PRINT, NULL);
2059  job->document = g_object_ref (document);
2060 
2061  return job;
2062 }

+ Here is the caller graph for this function:

void ev_job_print_set_cairo ( EvJobPrint job,
cairo_t *  cr 
)

Definition at line 2072 of file ev-jobs.c.

2074 {
2075  if (job->cr == cr)
2076  return;
2077 
2078  if (job->cr)
2079  cairo_destroy (job->cr);
2080  job->cr = cr ? cairo_reference (cr) : NULL;
2081 }

+ Here is the caller graph for this function:

void ev_job_print_set_page ( EvJobPrint job,
gint  page 
)

Definition at line 2065 of file ev-jobs.c.

2067 {
2068  job->page = page;
2069 }

+ Here is the caller graph for this function:

GType ev_job_render_get_type ( void  )
EvJob* ev_job_render_new ( EvDocument document,
gint  page,
gint  rotation,
gdouble  scale,
gint  width,
gint  height 
)

Definition at line 702 of file ev-jobs.c.

708 {
709  EvJobRender *job;
710 
711  ev_debug_message (DEBUG_JOBS, "page: %d", page);
712 
713  job = g_object_new (EV_TYPE_JOB_RENDER, NULL);
714 
715  EV_JOB (job)->document = g_object_ref (document);
716  job->page = page;
717  job->rotation = rotation;
718  job->scale = scale;
719  job->target_width = width;
720  job->target_height = height;
721 
722  return EV_JOB (job);
723 }

+ Here is the caller graph for this function:

void ev_job_render_set_selection_info ( EvJobRender job,
EvRectangle selection_points,
EvSelectionStyle  selection_style,
GdkColor *  text,
GdkColor *  base 
)

Definition at line 726 of file ev-jobs.c.

731 {
732  job->include_selection = TRUE;
733 
734  job->selection_points = *selection_points;
735  job->selection_style = selection_style;
736  job->text = *text;
737  job->base = *base;
738 }

+ Here is the caller graph for this function:

gboolean ev_job_run ( EvJob job)

Definition at line 212 of file ev-jobs.c.

213 {
214  EvJobClass *class = EV_JOB_GET_CLASS (job);
215 
216  return class->run (job);
217 }

+ Here is the caller graph for this function:

GType ev_job_save_get_type ( void  )
EvJob* ev_job_save_new ( EvDocument document,
const gchar *  uri,
const gchar *  document_uri 
)

Definition at line 1603 of file ev-jobs.c.

1606 {
1607  EvJobSave *job;
1608 
1609  ev_debug_message (DEBUG_JOBS, "uri: %s, document_uri: %s", uri, document_uri);
1610 
1611  job = g_object_new (EV_TYPE_JOB_SAVE, NULL);
1612 
1613  EV_JOB (job)->document = g_object_ref (document);
1614  job->uri = g_strdup (uri);
1615  job->document_uri = g_strdup (document_uri);
1616 
1617  return EV_JOB (job);
1618 }

+ Here is the caller graph for this function:

void ev_job_set_run_mode ( EvJob job,
EvJobRunMode  run_mode 
)

Definition at line 318 of file ev-jobs.c.

320 {
321  job->run_mode = run_mode;
322 }
void ev_job_succeeded ( EvJob job)

Definition at line 288 of file ev-jobs.c.

289 {
290  if (job->finished)
291  return;
292 
293  ev_debug_message (DEBUG_JOBS, "job %s (%p) succeeded", EV_GET_TYPE_NAME (job), job);
294 
295  job->failed = FALSE;
296  ev_job_emit_finished (job);
297 }

+ Here is the caller graph for this function:

GType ev_job_thumbnail_get_type ( void  )
EvJob* ev_job_thumbnail_new ( EvDocument document,
gint  page,
gint  rotation,
gdouble  scale 
)

Definition at line 921 of file ev-jobs.c.

925 {
926  EvJobThumbnail *job;
927 
928  ev_debug_message (DEBUG_JOBS, "%d", page);
929 
930  job = g_object_new (EV_TYPE_JOB_THUMBNAIL, NULL);
931 
932  EV_JOB (job)->document = g_object_ref (document);
933  job->page = page;
934  job->rotation = rotation;
935  job->scale = scale;
936  job->has_frame = TRUE;
938  job->target_width = -1;
939  job->target_height = -1;
940 
941  return EV_JOB (job);
942 }

+ Here is the caller graph for this function:

EvJob* ev_job_thumbnail_new_with_target_size ( EvDocument document,
gint  page,
gint  rotation,
gint  target_width,
gint  target_height 
)

Definition at line 945 of file ev-jobs.c.

950 {
951  EvJob *job = ev_job_thumbnail_new (document, page, rotation, 1.);
952  EvJobThumbnail *job_thumb = EV_JOB_THUMBNAIL (job);
953 
954  job_thumb->target_width = target_width;
955  job_thumb->target_height = target_height;
956 
957  return job;
958 }

+ Here is the caller graph for this function:

void ev_job_thumbnail_set_has_frame ( EvJobThumbnail job,
gboolean  has_frame 
)

ev_job_thumbnail_set_has_frame: : :

Since: 3.8

Definition at line 968 of file ev-jobs.c.

970 {
971  job->has_frame = has_frame;
972 }

+ Here is the caller graph for this function:

void ev_job_thumbnail_set_output_format ( EvJobThumbnail job,
EvJobThumbnailFormat  format 
)

ev_job_thumbnail_set_output_format: : a EvJobThumbnail : a EvJobThumbnailFormat

Set the desired output format for the generated thumbnail

Since: 3.14

Definition at line 984 of file ev-jobs.c.

986 {
987  job->format = format;
988 }

+ Here is the caller graph for this function: