#include <glib-object.h>
#include <evince-document.h>
Go to the source code of this file.
|
GType | ev_document_model_get_type (void) G_GNUC_CONST |
|
EvDocumentModel * | ev_document_model_new (void) |
|
EvDocumentModel * | ev_document_model_new_with_document (EvDocument *document) |
|
void | ev_document_model_set_document (EvDocumentModel *model, EvDocument *document) |
|
EvDocument * | ev_document_model_get_document (EvDocumentModel *model) |
|
void | ev_document_model_set_page (EvDocumentModel *model, gint page) |
|
void | ev_document_model_set_page_by_label (EvDocumentModel *model, const gchar *page_label) |
|
gint | ev_document_model_get_page (EvDocumentModel *model) |
|
void | ev_document_model_set_scale (EvDocumentModel *model, gdouble scale) |
|
gdouble | ev_document_model_get_scale (EvDocumentModel *model) |
|
void | ev_document_model_set_max_scale (EvDocumentModel *model, gdouble max_scale) |
|
gdouble | ev_document_model_get_max_scale (EvDocumentModel *model) |
|
void | ev_document_model_set_min_scale (EvDocumentModel *model, gdouble min_scale) |
|
gdouble | ev_document_model_get_min_scale (EvDocumentModel *model) |
|
void | ev_document_model_set_sizing_mode (EvDocumentModel *model, EvSizingMode mode) |
|
EvSizingMode | ev_document_model_get_sizing_mode (EvDocumentModel *model) |
|
void | ev_document_model_set_page_layout (EvDocumentModel *model, EvPageLayout layout) |
|
EvPageLayout | ev_document_model_get_page_layout (EvDocumentModel *model) |
|
void | ev_document_model_set_rotation (EvDocumentModel *model, gint rotation) |
|
gint | ev_document_model_get_rotation (EvDocumentModel *model) |
|
void | ev_document_model_set_inverted_colors (EvDocumentModel *model, gboolean inverted_colors) |
|
gboolean | ev_document_model_get_inverted_colors (EvDocumentModel *model) |
|
void | ev_document_model_set_continuous (EvDocumentModel *model, gboolean continuous) |
|
gboolean | ev_document_model_get_continuous (EvDocumentModel *model) |
|
void | ev_document_model_set_dual_page_odd_pages_left (EvDocumentModel *model, gboolean odd_left) |
|
gboolean | ev_document_model_get_dual_page_odd_pages_left (EvDocumentModel *model) |
|
void | ev_document_model_set_fullscreen (EvDocumentModel *model, gboolean fullscreen) |
|
gboolean | ev_document_model_get_fullscreen (EvDocumentModel *model) |
|
void | ev_document_model_set_dual_page (EvDocumentModel *model, gboolean dual_page) |
|
gboolean | ev_document_model_get_dual_page (EvDocumentModel *model) |
|
Enumerator |
---|
EV_PAGE_LAYOUT_SINGLE |
|
EV_PAGE_LAYOUT_DUAL |
|
EV_PAGE_LAYOUT_AUTOMATIC |
|
Definition at line 55 of file ev-document-model.h.
EvSizingMode: : Since: 3.8 : Same as EV_SIZING_FIT_PAGE. Deprecated: : : : Since: 3.8
Enumerator |
---|
EV_SIZING_FIT_PAGE |
|
EV_SIZING_BEST_FIT |
|
EV_SIZING_FIT_WIDTH |
|
EV_SIZING_FREE |
|
EV_SIZING_AUTOMATIC |
|
Definition at line 47 of file ev-document-model.h.
gboolean ev_document_model_get_dual_page_odd_pages_left |
( |
EvDocumentModel * |
model) | |
|
GType ev_document_model_get_type |
( |
void |
) | |
|
void ev_document_model_set_continuous |
( |
EvDocumentModel * |
model, |
|
|
gboolean |
continuous |
|
) |
| |
Definition at line 647 of file ev-document-model.c.
652 continuous = continuous !=
FALSE;
659 g_object_notify (G_OBJECT (model),
"continuous");
Definition at line 364 of file ev-document-model.c.
375 model->
document = g_object_ref (document);
381 g_object_notify (G_OBJECT (model),
"document");
void ev_document_model_set_dual_page |
( |
EvDocumentModel * |
model, |
|
|
gboolean |
dual_page |
|
) |
| |
void ev_document_model_set_dual_page_odd_pages_left |
( |
EvDocumentModel * |
model, |
|
|
gboolean |
odd_left |
|
) |
| |
Definition at line 710 of file ev-document-model.c.
715 odd_left = odd_left !=
FALSE;
722 g_object_notify (G_OBJECT (model),
"dual-odd-left");
void ev_document_model_set_fullscreen |
( |
EvDocumentModel * |
model, |
|
|
gboolean |
fullscreen |
|
) |
| |
Definition at line 734 of file ev-document-model.c.
739 fullscreen = fullscreen !=
FALSE;
746 g_object_notify (G_OBJECT (model),
"fullscreen");
void ev_document_model_set_inverted_colors |
( |
EvDocumentModel * |
model, |
|
|
gboolean |
inverted_colors |
|
) |
| |
Definition at line 625 of file ev-document-model.c.
635 g_object_notify (G_OBJECT (model),
"inverted-colors");
void ev_document_model_set_max_scale |
( |
EvDocumentModel * |
model, |
|
|
gdouble |
max_scale |
|
) |
| |
Definition at line 468 of file ev-document-model.c.
478 if (model->
scale > max_scale)
481 g_object_notify (G_OBJECT (model),
"max-scale");
void ev_document_model_set_min_scale |
( |
EvDocumentModel * |
model, |
|
|
gdouble |
min_scale |
|
) |
| |
Definition at line 493 of file ev-document-model.c.
503 if (model->
scale < min_scale)
506 g_object_notify (G_OBJECT (model),
"min-scale");
Definition at line 401 of file ev-document-model.c.
408 if (model->
page == page)
413 old_page = model->
page;
417 g_object_notify (G_OBJECT (model),
"page");
void ev_document_model_set_page_by_label |
( |
EvDocumentModel * |
model, |
|
|
const gchar * |
page_label |
|
) |
| |
void ev_document_model_set_rotation |
( |
EvDocumentModel * |
model, |
|
|
gint |
rotation |
|
) |
| |
Definition at line 598 of file ev-document-model.c.
605 else if (rotation < 0)
613 g_object_notify (G_OBJECT (model),
"rotation");
void ev_document_model_set_scale |
( |
EvDocumentModel * |
model, |
|
|
gdouble |
scale |
|
) |
| |
Definition at line 442 of file ev-document-model.c.
447 scale = CLAMP (scale,
451 if (scale == model->
scale)
454 model->
scale = scale;
456 g_object_notify (G_OBJECT (model),
"scale");