Evince
Evince is a document viewer capable of displaying multiple and single page document formats like PDF and Postscript.
|
#include <config.h>
#include <string.h>
#include <glib.h>
#include <libdjvu/miniexp.h>
#include "djvu-document.h"
#include "djvu-links.h"
#include "djvu-document-private.h"
#include "ev-document-links.h"
#include "ev-mapping-list.h"
Go to the source code of this file.
Functions | |
static gboolean | number_from_miniexp (miniexp_t sexp, int *number) |
static gboolean | string_from_miniexp (miniexp_t sexp, const char **str) |
static gboolean | number_from_string_10 (const gchar *str, guint64 *number) |
static guint64 | get_djvu_link_page (const DjvuDocument *djvu_document, const gchar *link_name, int base_page) |
static EvLinkDest * | get_djvu_link_dest (const DjvuDocument *djvu_document, const gchar *link_name, int base_page) |
static EvLinkAction * | get_djvu_link_action (const DjvuDocument *djvu_document, const gchar *link_name, int base_page) |
static gchar * | str_to_utf8 (const gchar *text) |
static void | build_tree (const DjvuDocument *djvu_document, GtkTreeModel *model, GtkTreeIter *parent, miniexp_t iter) |
static gboolean | get_djvu_hyperlink_area (ddjvu_pageinfo_t *page_info, miniexp_t sexp, EvMapping *ev_link_mapping) |
static EvMapping * | get_djvu_hyperlink_mapping (DjvuDocument *djvu_document, int page, ddjvu_pageinfo_t *page_info, miniexp_t sexp) |
gboolean | djvu_links_has_document_links (EvDocumentLinks *document_links) |
EvMappingList * | djvu_links_get_links (EvDocumentLinks *document_links, gint page, double scale_factor) |
EvLinkDest * | djvu_links_find_link_dest (EvDocumentLinks *document_links, const gchar *link_name) |
gint | djvu_links_find_link_page (EvDocumentLinks *document_links, const gchar *link_name) |
GtkTreeModel * | djvu_links_get_links_model (EvDocumentLinks *document_links) |
|
static |
Builds the index GtkTreeModel from DjVu s-expr
(bookmarks ("title1" "dest1" ("title12" "dest12" ... ) ... ) ("title2" "dest2" ... ) ... )
Definition at line 183 of file djvu-links.c.
EvLinkDest* djvu_links_find_link_dest | ( | EvDocumentLinks * | document_links, |
const gchar * | link_name | ||
) |
gint djvu_links_find_link_page | ( | EvDocumentLinks * | document_links, |
const gchar * | link_name | ||
) |
EvMappingList* djvu_links_get_links | ( | EvDocumentLinks * | document_links, |
gint | page, | ||
double | scale_factor | ||
) |
Definition at line 385 of file djvu-links.c.
GtkTreeModel* djvu_links_get_links_model | ( | EvDocumentLinks * | document_links) |
gboolean djvu_links_has_document_links | ( | EvDocumentLinks * | document_links) |
|
static |
Definition at line 252 of file djvu-links.c.
|
static |
Definition at line 317 of file djvu-links.c.
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |