Evince
Evince is a document viewer capable of displaying multiple and single page document formats like PDF and Postscript.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
ev-document-fonts.h File Reference
#include <glib-object.h>
#include <glib.h>
#include <gtk/gtk.h>
#include "ev-document.h"
#include "ev-link.h"
+ Include dependency graph for ev-document-fonts.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  _EvDocumentFontsInterface
 

Macros

#define EV_TYPE_DOCUMENT_FONTS   (ev_document_fonts_get_type ())
 
#define EV_DOCUMENT_FONTS(o)   (G_TYPE_CHECK_INSTANCE_CAST ((o), EV_TYPE_DOCUMENT_FONTS, EvDocumentFonts))
 
#define EV_DOCUMENT_FONTS_IFACE(k)   (G_TYPE_CHECK_CLASS_CAST((k), EV_TYPE_DOCUMENT_FONTS, EvDocumentFontsInterface))
 
#define EV_IS_DOCUMENT_FONTS(o)   (G_TYPE_CHECK_INSTANCE_TYPE ((o), EV_TYPE_DOCUMENT_FONTS))
 
#define EV_IS_DOCUMENT_FONTS_IFACE(k)   (G_TYPE_CHECK_CLASS_TYPE ((k), EV_TYPE_DOCUMENT_FONTS))
 
#define EV_DOCUMENT_FONTS_GET_IFACE(inst)   (G_TYPE_INSTANCE_GET_INTERFACE ((inst), EV_TYPE_DOCUMENT_FONTS, EvDocumentFontsInterface))
 

Typedefs

typedef struct _EvDocumentFonts EvDocumentFonts
 
typedef struct
_EvDocumentFontsInterface 
EvDocumentFontsInterface
 

Enumerations

enum  { EV_DOCUMENT_FONTS_COLUMN_NAME, EV_DOCUMENT_FONTS_COLUMN_DETAILS, EV_DOCUMENT_FONTS_COLUMN_NUM_COLUMNS }
 

Functions

GType ev_document_fonts_get_type (void)
 
gboolean ev_document_fonts_scan (EvDocumentFonts *document_fonts, int n_pages)
 
double ev_document_fonts_get_progress (EvDocumentFonts *document_fonts)
 
void ev_document_fonts_fill_model (EvDocumentFonts *document_fonts, GtkTreeModel *model)
 
const gchar * ev_document_fonts_get_fonts_summary (EvDocumentFonts *document_fonts)
 

Macro Definition Documentation

#define EV_DOCUMENT_FONTS (   o)    (G_TYPE_CHECK_INSTANCE_CAST ((o), EV_TYPE_DOCUMENT_FONTS, EvDocumentFonts))

Definition at line 42 of file ev-document-fonts.h.

#define EV_DOCUMENT_FONTS_GET_IFACE (   inst)    (G_TYPE_INSTANCE_GET_INTERFACE ((inst), EV_TYPE_DOCUMENT_FONTS, EvDocumentFontsInterface))

Definition at line 46 of file ev-document-fonts.h.

#define EV_DOCUMENT_FONTS_IFACE (   k)    (G_TYPE_CHECK_CLASS_CAST((k), EV_TYPE_DOCUMENT_FONTS, EvDocumentFontsInterface))

Definition at line 43 of file ev-document-fonts.h.

#define EV_IS_DOCUMENT_FONTS (   o)    (G_TYPE_CHECK_INSTANCE_TYPE ((o), EV_TYPE_DOCUMENT_FONTS))

Definition at line 44 of file ev-document-fonts.h.

#define EV_IS_DOCUMENT_FONTS_IFACE (   k)    (G_TYPE_CHECK_CLASS_TYPE ((k), EV_TYPE_DOCUMENT_FONTS))

Definition at line 45 of file ev-document-fonts.h.

#define EV_TYPE_DOCUMENT_FONTS   (ev_document_fonts_get_type ())

Definition at line 41 of file ev-document-fonts.h.

Typedef Documentation

typedef struct _EvDocumentFonts EvDocumentFonts

Definition at line 48 of file ev-document-fonts.h.

Definition at line 49 of file ev-document-fonts.h.

Enumeration Type Documentation

anonymous enum
Enumerator
EV_DOCUMENT_FONTS_COLUMN_NAME 
EV_DOCUMENT_FONTS_COLUMN_DETAILS 
EV_DOCUMENT_FONTS_COLUMN_NUM_COLUMNS 

Definition at line 51 of file ev-document-fonts.h.

Function Documentation

void ev_document_fonts_fill_model ( EvDocumentFonts document_fonts,
GtkTreeModel *  model 
)

Definition at line 53 of file ev-document-fonts.c.

55 {
56  EvDocumentFontsInterface *iface = EV_DOCUMENT_FONTS_GET_IFACE (document_fonts);
57 
58  iface->fill_model (document_fonts, model);
59 }

+ Here is the caller graph for this function:

const gchar* ev_document_fonts_get_fonts_summary ( EvDocumentFonts document_fonts)

Definition at line 62 of file ev-document-fonts.c.

63 {
64  EvDocumentFontsInterface *iface = EV_DOCUMENT_FONTS_GET_IFACE (document_fonts);
65 
66  if (!iface->get_fonts_summary)
67  return NULL;
68 
69  return iface->get_fonts_summary (document_fonts);
70 }

+ Here is the caller graph for this function:

double ev_document_fonts_get_progress ( EvDocumentFonts document_fonts)

Definition at line 36 of file ev-document-fonts.c.

37 {
38  EvDocumentFontsInterface *iface = EV_DOCUMENT_FONTS_GET_IFACE (document_fonts);
39 
40  return iface->get_progress (document_fonts);
41 }

+ Here is the caller graph for this function:

GType ev_document_fonts_get_type ( void  )
gboolean ev_document_fonts_scan ( EvDocumentFonts document_fonts,
int  n_pages 
)

Definition at line 44 of file ev-document-fonts.c.

46 {
47  EvDocumentFontsInterface *iface = EV_DOCUMENT_FONTS_GET_IFACE (document_fonts);
48 
49  return iface->scan (document_fonts, n_pages);
50 }

+ Here is the caller graph for this function: