Evince
Evince is a document viewer capable of displaying multiple and single page document formats like PDF and Postscript.
|
#include "config.h"
#include "ev-document-model.h"
#include "ev-view-type-builtins.h"
#include "ev-view-marshal.h"
Go to the source code of this file.
Data Structures | |
struct | _EvDocumentModel |
struct | _EvDocumentModelClass |
Macros | |
#define | DEFAULT_MIN_SCALE 0.25 |
#define | DEFAULT_MAX_SCALE 5.0 |
Enumerations | |
enum | { PROP_0, PROP_DOCUMENT, PROP_PAGE, PROP_ROTATION, PROP_INVERTED_COLORS, PROP_SCALE, PROP_SIZING_MODE, PROP_CONTINUOUS, PROP_DUAL_PAGE, PROP_DUAL_PAGE_ODD_LEFT, PROP_FULLSCREEN, PROP_MIN_SCALE, PROP_MAX_SCALE, PROP_PAGE_LAYOUT } |
enum | { PAGE_CHANGED, N_SIGNALS } |
Variables | |
static guint | signals [N_SIGNALS] = { 0 } |
#define DEFAULT_MAX_SCALE 5.0 |
Definition at line 87 of file ev-document-model.c.
#define DEFAULT_MIN_SCALE 0.25 |
Definition at line 86 of file ev-document-model.c.
anonymous enum |
Definition at line 59 of file ev-document-model.c.
anonymous enum |
Enumerator | |
---|---|
PAGE_CHANGED | |
N_SIGNALS |
Definition at line 76 of file ev-document-model.c.
|
static |
|
static |
Definition at line 209 of file ev-document-model.c.
|
static |
gboolean ev_document_model_get_continuous | ( | EvDocumentModel * | model) |
EvDocument* ev_document_model_get_document | ( | EvDocumentModel * | model) |
ev_document_model_get_document: : a EvDocumentModel
Returns the EvDocument referenced by the model.
Returns: (transfer none): a EvDocument
Definition at line 393 of file ev-document-model.c.
gboolean ev_document_model_get_dual_page | ( | EvDocumentModel * | model) |
ev_document_model_get_dual_page: : a EvDocumentModel
Returns: whether the document model's page layout is set to EV_PAGE_LAYOUT_DUAL.
Deprecated: 3.8: Use ev_document_model_get_page_layout() instead
Definition at line 702 of file ev-document-model.c.
gboolean ev_document_model_get_dual_page_odd_pages_left | ( | EvDocumentModel * | model) |
gboolean ev_document_model_get_fullscreen | ( | EvDocumentModel * | model) |
gboolean ev_document_model_get_inverted_colors | ( | EvDocumentModel * | model) |
gdouble ev_document_model_get_max_scale | ( | EvDocumentModel * | model) |
gdouble ev_document_model_get_min_scale | ( | EvDocumentModel * | model) |
gint ev_document_model_get_page | ( | EvDocumentModel * | model) |
EvPageLayout ev_document_model_get_page_layout | ( | EvDocumentModel * | model) |
ev_document_model_get_page_layout: : a EvDocumentModel
Returns: the document model's page layout
Since: 3.8
Definition at line 590 of file ev-document-model.c.
|
static |
gint ev_document_model_get_rotation | ( | EvDocumentModel * | model) |
gdouble ev_document_model_get_scale | ( | EvDocumentModel * | model) |
EvSizingMode ev_document_model_get_sizing_mode | ( | EvDocumentModel * | model) |
|
static |
Definition at line 338 of file ev-document-model.c.
EvDocumentModel* ev_document_model_new | ( | void | ) |
EvDocumentModel* ev_document_model_new_with_document | ( | EvDocument * | document) |
Definition at line 356 of file ev-document-model.c.
void ev_document_model_set_continuous | ( | EvDocumentModel * | model, |
gboolean | continuous | ||
) |
void ev_document_model_set_document | ( | EvDocumentModel * | model, |
EvDocument * | document | ||
) |
void ev_document_model_set_dual_page | ( | EvDocumentModel * | model, |
gboolean | dual_page | ||
) |
ev_document_model_set_dual_page: : a EvDocumentModel : whether to enable dual page mode
Sets the document model's page layout to EV_PAGE_LAYOUT_SINGLE or EV_PAGE_LAYOUT_DUAL.
Deprecated: 3.8: Use ev_document_model_set_page_layout() instead
Definition at line 681 of file ev-document-model.c.
void ev_document_model_set_dual_page_odd_pages_left | ( | EvDocumentModel * | model, |
gboolean | odd_left | ||
) |
void ev_document_model_set_fullscreen | ( | EvDocumentModel * | model, |
gboolean | fullscreen | ||
) |
void ev_document_model_set_inverted_colors | ( | EvDocumentModel * | model, |
gboolean | inverted_colors | ||
) |
void ev_document_model_set_max_scale | ( | EvDocumentModel * | model, |
gdouble | max_scale | ||
) |
void ev_document_model_set_min_scale | ( | EvDocumentModel * | model, |
gdouble | min_scale | ||
) |
void ev_document_model_set_page | ( | EvDocumentModel * | model, |
gint | page | ||
) |
void ev_document_model_set_page_by_label | ( | EvDocumentModel * | model, |
const gchar * | page_label | ||
) |
void ev_document_model_set_page_layout | ( | EvDocumentModel * | model, |
EvPageLayout | layout | ||
) |
ev_document_model_set_page_layout: : a EvDocumentModel : a EvPageLayout
Sets the document model's page layout to .
Since: 3.8
Definition at line 565 of file ev-document-model.c.
|
static |
void ev_document_model_set_rotation | ( | EvDocumentModel * | model, |
gint | rotation | ||
) |
void ev_document_model_set_scale | ( | EvDocumentModel * | model, |
gdouble | scale | ||
) |
void ev_document_model_set_sizing_mode | ( | EvDocumentModel * | model, |
EvSizingMode | mode | ||
) |
|
static |
Definition at line 82 of file ev-document-model.c.