g_param_spec_string ("title",
"Document Title",
"The title of the document",
- NULL, 0));
+ NULL,
+ G_PARAM_READABLE));
}
gboolean
return iface->load (document, uri, error);
}
+gboolean
+ev_document_save (EvDocument *document,
+ const char *uri,
+ GError **error)
+{
+ EvDocumentIface *iface = EV_DOCUMENT_GET_IFACE (document);
+ return iface->save (document, uri, error);
+}
+
char *
ev_document_get_title (EvDocument *document)
{
iface->get_page_size (document, width, height);
}
+char *
+ev_document_get_text (EvDocument *document,
+ GdkRectangle *rect)
+{
+ EvDocumentIface *iface = EV_DOCUMENT_GET_IFACE (document);
+ return iface->get_text (document, rect);
+}
+
void
ev_document_render (EvDocument *document,
int clip_x,