Top |
gboolean | continuous | Read / Write |
EvDocument * | document | Read / Write |
gboolean | dual-odd-left | Read / Write |
gboolean | dual-page | Read / Write |
gboolean | fullscreen | Read / Write |
gboolean | inverted-colors | Read / Write |
int | page | Read / Write |
EvPageLayout | page-layout | Read / Write |
int | rotation | Read / Write |
double | scale | Read / Write |
EvSizingMode | sizing-mode | Read / Write |
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
);
Returns the EvDocument referenced by the model.
void ev_document_model_set_page_by_label (EvDocumentModel *model
,const gchar *page_label
);
void ev_document_model_set_scale (EvDocumentModel *model
,gdouble scale
);
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_rotation (EvDocumentModel *model
,gint rotation
);
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 (EvDocumentModel *model
,gboolean dual_page
);
ev_document_model_set_dual_page
is deprecated and should not be used in newly-written code.
gboolean
ev_document_model_get_dual_page (EvDocumentModel *model
);
ev_document_model_get_dual_page
is deprecated and should not be used in newly-written code.
void ev_document_model_set_fullscreen (EvDocumentModel *model
,gboolean fullscreen
);
gboolean
ev_document_model_get_fullscreen (EvDocumentModel *model
);
“continuous”
property “continuous” gboolean
Whether document is displayed in continuous mode.
Owner: EvDocumentModel
Flags: Read / Write
Default value: TRUE
“document”
property “document” EvDocument *
The current document.
Owner: EvDocumentModel
Flags: Read / Write
“dual-odd-left”
property “dual-odd-left” gboolean
Whether odd pages are displayed on left side in dual mode.
Owner: EvDocumentModel
Flags: Read / Write
Default value: FALSE
“dual-page”
property “dual-page” gboolean
Whether document is displayed in dual page mode.
Owner: EvDocumentModel
Flags: Read / Write
Default value: FALSE
“fullscreen”
property “fullscreen” gboolean
Whether document is displayed in fullscreen mode.
Owner: EvDocumentModel
Flags: Read / Write
Default value: FALSE
“inverted-colors”
property “inverted-colors” gboolean
Whether document is displayed with inverted colors.
Owner: EvDocumentModel
Flags: Read / Write
Default value: FALSE
“page”
property “page” int
Current page.
Owner: EvDocumentModel
Flags: Read / Write
Allowed values: >= -1
Default value: -1
“page-layout”
property “page-layout” EvPageLayout
Current page layout.
Owner: EvDocumentModel
Flags: Read / Write
Default value: EV_PAGE_LAYOUT_SINGLE
“rotation”
property “rotation” int
Current rotation angle.
Owner: EvDocumentModel
Flags: Read / Write
Allowed values: [0,360]
Default value: 0
“scale”
property “scale” double
Current scale factor.
Owner: EvDocumentModel
Flags: Read / Write
Allowed values: >= 0
Default value: 1
“sizing-mode”
property“sizing-mode” EvSizingMode
Current sizing mode.
Owner: EvDocumentModel
Flags: Read / Write
Default value: EV_SIZING_FIT_WIDTH
“page-changed”
signalvoid user_function (EvDocumentModel *evdocumentmodel, int arg1, int arg2, gpointer user_data)
Flags: Run Last